Update feature guard for strdup/strndup in <bits/string2.h>
[glibc.git] / ChangeLog
blobccc05a387ba075951e67150cf3cb4698b8097aea
1 2014-06-16  Andreas Schwab  <schwab@suse.de>
3         * string/bits/string2.h (strdup, strndup): Update feature guard.
5 2014-06-14  David S. Miller  <davem@davemloft.net>
7         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12         that was previously under [RESET_PID].
13         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
18         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19         (__libc_vfork): New strong alias.
20         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
22 2014-06-14 Andi Kleen  <ak@linux.intel.com>
24         * sysdeps/generic/elide.h: New file.
26 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28         * Makefile (installed-headers): Adjust path of pthread.h header.
30 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37         * nptl/sysdeps/s390/Makefile: Moved ...
38         * sysdeps/s390/nptl/Makefile: ... here.
39         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
40         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
41         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
45         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
46         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
47         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48         * sysdeps/s390/nptl/pthreaddef.h: ... here.
49         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
51         * nptl/sysdeps/s390/tls.h: Moved ...
52         * sysdeps/s390/nptl/tls.h: ... here.
54         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
55         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
57 2014-06-13  David S. Miller  <davem@davemloft.net>
59         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
60         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
61         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
62         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
63         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
64         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
65         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
66         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
67         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
68         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
69         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
70         Remove RESET_PID cpp guards.
71         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
72         Remove RESET_PID cpp guards.
73         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
75 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
77         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
78         __sp to uintptr_t.
80 2014-06-13  Andi Kleen  <ak@linux.intel.com>
82         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
83         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
84         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
85         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
86         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
87         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
88         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
89         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
90         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
91         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
92         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
93         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
94         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
95         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
96         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
97         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
98         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
99         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
100         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
101         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
103 2014-06-13  Andi Kleen  <ak@linux.intel.com>
105         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
106         (pthread_rwlock_rdlock): Add elision.
107         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
108         (pthread_rwlock_wrlock): Add elision.
109         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
110         (pthread_rwlock_trywrlock): Add elision.
111         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
112         (pthread_rwlock_tryrdlock): Add elision.
113         * nptl/pthread_rwlock_unlock.c: Include elide.h.
114         (pthread_rwlock_tryrdlock): Add elision unlock.
115         * nptl/sysdeps/pthread/pthread.h:
116         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
117         (PTHREAD_RWLOCK_INITIALIZER,
118         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
119         Handle new elision field.
120         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
121         * sysdeps/arm/nptl/bits/pthreadtypes.h
122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
123         * sysdeps/sh/nptl/bits/pthreadtypes.h
124         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
125         * sysdeps/tile/nptl/bits/pthreadtypes.h
126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
127         * sysdeps/a/nptl/bits/pthreadtypes.h
128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
129         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
131         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
132         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
133         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
135         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
137         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
138         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
139         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
141         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
143         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
144         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
145         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
146         (elision_init): Set try_xbegin to zero when no RTM.
147         * sysdeps/x86/nptl/bits/pthreadtypes.h
148         (pthread_rwlock_t): Change __pad1 to __rwelision.
149         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
151 2014-06-13  Andi Kleen  <ak@linux.intel.com>
153         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
154         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
155         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
156         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
158 2014-06-13  Meador Inge  <meadori@codesourcery.com>
160         [BZ #16996]
161         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
162         that the cached result has been set before returning it.
164 2014-06-12  Roland McGrath  <roland@hack.frob.com>
166         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
167         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
168         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
169         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
170         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
171         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
173         * nptl/sysdeps/sparc/Makefile: Moved ...
174         * sysdeps/sparc/nptl/Makefile: ... here.
175         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
176         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
177         * nptl/sysdeps/sparc/tls.h: Moved ...
178         * sysdeps/sparc/nptl/tls.h: ... here.
179         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
180         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
181         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
182         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
183         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
184         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
185         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
186         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
187         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
188         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
189         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
190         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
191         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
192         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
193         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
194         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
195         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
196         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
197         Update #include.
198         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
200         Update #include.
201         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
203         Update #include.
204         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
206         Update #include.
208         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
210         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
211         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
213         * sysdeps/pthread/posix-timer.h: Include <list.h>.
214         (struct list_links): Type removed.
215         (struct thread_node, struct timer_node): Replace struct list_links
216         with struct list_head.
217         (list_unlink_ip): Likewise.
218         * sysdeps/pthread/timer_routines.c
219         (timer_free_list, thread_free_list, thread_active_list): Likewise.
220         (list_append, list_insbefore): Likewise.
221         (list_init): Function removed.
222         (thread_init, init_module): Use INIT_LIST_HEAD instead.
223         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
224         * sysdeps/pthread/Makefile: ... here, new file.
226         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
227         * sysdeps/nptl/Implies: ... here.
228         * sysdeps/unix/sysv/linux/Implies: Add nptl.
229         * nptl/sysdeps/pthread/list.h: Moved ...
230         * include/list.h: ... here.
231         * nptl/sysdeps/pthread/createthread.c: Moved ...
232         * nptl/createthread.c: ... here.
233         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
234         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
235         * nptl/pt-longjmp.c: ... here.
236         * nptl/sysdeps/pthread/Makefile: Moved ...
237         * sysdeps/nptl/Makefile: ... here.
238         * nptl/sysdeps/pthread/Subdirs: Moved ...
239         * sysdeps/nptl/Subdirs: ... here.
240         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
241         * sysdeps/nptl/aio_misc.h: ... here.
242         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
243         * sysdeps/nptl/bits/libc-lock.h: ... here.
244         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
245         * sysdeps/nptl/bits/libc-lockP.h: ... here.
246         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
247         * sysdeps/nptl/bits/stdio-lock.h: ... here.
248         * nptl/sysdeps/pthread/configure: Moved ...
249         * sysdeps/nptl/configure: ... here.
250         * nptl/sysdeps/pthread/configure.ac: Moved ...
251         * sysdeps/nptl/configure.ac: ... here.
252         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
253         * sysdeps/nptl/gai_misc.h: ... here.
254         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
255         * sysdeps/nptl/librt-cancellation.c: ... here.
256         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
257         * sysdeps/nptl/malloc-machine.h: ... here.
258         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
259         * sysdeps/nptl/pthread-functions.h: ... here.
260         * nptl/sysdeps/pthread/pthread.h: Moved ...
261         * sysdeps/nptl/pthread.h: ... here.
262         * nptl/sysdeps/pthread/setxid.h: Moved ...
263         * sysdeps/nptl/setxid.h: ... here.
264         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
265         * sysdeps/nptl/sigfillset.c: ... here.
266         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
267         * sysdeps/nptl/tcb-offsets.h: ... here.
268         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
269         * sysdeps/nptl/tst-mqueue8x.c: ... here.
270         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
271         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
272         * nptl/sysdeps/pthread/allocalim.h: Moved ...
273         * sysdeps/pthread/allocalim.h: ... here.
274         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
275         * sysdeps/pthread/bits/sigthread.h: ... here.
276         * nptl/sysdeps/pthread/flockfile.c: Moved ...
277         * sysdeps/pthread/flockfile.c: ... here.
278         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
279         * sysdeps/pthread/ftrylockfile.c: ... here.
280         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
281         * sysdeps/pthread/funlockfile.c: ... here.
282         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
283         * sysdeps/pthread/posix-timer.h: ... here.
284         * nptl/sysdeps/pthread/timer_create.c: Moved ...
285         * sysdeps/pthread/timer_create.c: ... here.
286         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
287         * sysdeps/pthread/timer_delete.c: ... here.
288         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
289         * sysdeps/pthread/timer_getoverr.c: ... here.
290         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
291         * sysdeps/pthread/timer_gettime.c: ... here.
292         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
293         * sysdeps/pthread/timer_routines.c: ... here.
294         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
295         * sysdeps/pthread/timer_settime.c: ... here.
296         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
297         * sysdeps/pthread/tst-timer.c: ... here.
298         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
299         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
301         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
302         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
304         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
305         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
306         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
307         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
308         Update #include target.
309         * nptl/sysdeps/i386/i686/Makefile: Moved ...
310         * sysdeps/i386/i686/nptl/Makefile: ... here.
311         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
312         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
313         Update #include target.
314         * nptl/sysdeps/i386/i686/tls.h: Moved ...
315         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
316         * nptl/sysdeps/i386/Makefile: Moved ...
317         * sysdeps/i386/nptl/Makefile: ... here.
318         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
319         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
320         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
321         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
322         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
323         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
324         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
325         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
326         * sysdeps/i386/nptl/pthreaddef.h: ... here.
327         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
328         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
329         * nptl/sysdeps/i386/tls.h: Moved ...
330         * sysdeps/i386/nptl/tls.h: ... here.
332         * sysdeps/sh/Makefile [$(subdir) = csu]
333         (gen-as-const-headers): Add tcb-offsets.sym.
334         * nptl/sysdeps/sh/Makefile: File removed.
335         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
336         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
337         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
338         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
339         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
340         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
341         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
342         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
343         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
344         * sysdeps/sh/nptl/pthreaddef.h: ... here.
345         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
346         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
347         * nptl/sysdeps/sh/tls.h: Moved ...
348         * sysdeps/sh/nptl/tls.h: ... here.
349         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
350         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
351         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
352         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
353         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
354         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
355         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
356         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
357         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
358         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
359         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
360         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
361         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
362         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
363         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
364         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
365         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
366         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
367         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
368         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
370         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
371         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
373         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
374         Moved ...
375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
377         Moved ...
378         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
380         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
381         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
382         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
383         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
384         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
385         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
386         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
387         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
388         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
389         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
390         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
391         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
392         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
393         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
394         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
395         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
396         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
398 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
400         * posix/spawn_faction_addopen.c: Include string.h.
402 2014-06-11  Roland McGrath  <roland@hack.frob.com>
404         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
405         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
406         * nptl/sysdeps/x86_64/Makefile: Moved ...
407         * sysdeps/x86_64/nptl/Makefile: ... here.
408         * nptl/sysdeps/x86_64/configure: Moved ...
409         * sysdeps/x86_64/nptl/configure: ... here.
410         * nptl/sysdeps/x86_64/configure.ac: Moved ...
411         * sysdeps/x86_64/nptl/configure.ac: ... here.
412         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
413         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
414         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
415         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
416         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
417         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
418         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
419         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
420         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
421         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
422         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
423         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
424         * nptl/sysdeps/x86_64/tls.h: Moved ...
425         * sysdeps/x86_64/nptl/tls.h: ... here.
426         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
427         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
428         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
429         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
431         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
433 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
437 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
439         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
440         type.
441         [POSIX] (off_t): Likewise.
442         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
443         [POSIX] (S_ISBLK): Require macro.
444         [POSIX] (S_ISCHR): Likewise.
445         [POSIX] (S_ISDIR): Likewise.
446         [POSIX] (S_ISFIFO): Likewise.
447         [POSIX] (S_ISREG): Likewise.
448         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
449         optional-macro.
450         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
451         type.
452         [POSIX] (time_t): Likewise.
453         [POSIX] (timer_t): Likewise.
455 2014-06-11  Florian Weimer  <fweimer@redhat.com>
457         [BZ #17048]
458         * posix/spawn_int.h (struct __spawn_action): Make the path string
459         non-const to support deallocation.
460         * posix/spawn_faction_addopen.c
461         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
462         * posix/spawn_faction_destroy.c
463         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
464         path in all spawn_do_open actions.
465         * posix/tst-spawn.c (do_test): Exercise the copy operation in
466         posix_spawn_file_actions_addopen.
468 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
470         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
471         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
472         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
473         conditional code always true.
474         (__libc_vfork): New alias.
476 2014-06-11  Roland McGrath  <roland@hack.frob.com>
478         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
479         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
481         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
483         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
484         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
486         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
487         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
489         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
490         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
492 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
494         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
495         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
496         multiarch strcmp for PPC64.
497         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
498         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
500         multiarch optimizations.
501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
502         (__libc_ifunc_impl_list): Likewise.
504 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
506         * benchtests/scripts/validate_benchout.py: New script.
507         * benchtests/Makefile (bench-func): Call it.
508         * benchtests/scripts/benchout.schema.json: New file.
510 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
512         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
513         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
514         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
515         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
516         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
517         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
518         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
519         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
520         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
521         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
522         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
523         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
524         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
525         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
526         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
527         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
529         Moved ...
530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
531         ... here.
532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
533         Moved ...
534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
536         Moved ...
537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
538         ... here.
539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
540         Moved ...
541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
542         ... here.
543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
544         Moved ...
545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
547         Moved ...
548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
549         ... here.
550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
551         Moved ...
552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
553         ... here.
554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
555         Moved ...
556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
558         Moved ...
559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
560         ... here.
561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
562         Moved ...
563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
564         ... here.
565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
566         Moved ...
567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
568         ... here.
569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
570         Moved ...
571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
573         Moved ...
574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
575         ... here.
576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
577         Moved ...
578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
579         ... here.
580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
581         Moved ...
582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
583         ... here.
584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
585         Moved ...
586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
588         Moved ...
589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
590         ... here.
591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
592         Moved ...
593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
594         ... here.
595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
596         Moved ...
597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
599         Moved ...
600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
601         ... here.
602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
603         Moved ...
604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
606         Moved ...
607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
609         Moved ...
610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
611         ... here.
612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
613         Moved ...
614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
615         ... here.
616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
617         Moved ...
618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
619         ... here.
620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
621         Moved ...
622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
624         Moved ...
625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
626         ... here.
627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
628         Moved ...
629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
630         ... here.
631         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
632         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
633         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
634         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
635         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
636         Moved ...
637         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
638         ... here.
639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
640         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
642         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
644         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
645         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
646         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
648         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
649         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
650         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
652         Moved ...
653         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
655         Moved ...
656         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
658         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
660         Moved ...
661         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
663         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
664         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
665         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
666         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
667         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
669 2014-06-10  Wilco  <wdijkstr@arm.com>
671         * math/test-fenv-return.c: New file.
672         * math/Makefile: Add new test test-fenv-return.
674 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
676         [BZ #17042]
677         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
678         when x - 1 is zero.
679         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
680         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
681         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
682         0.0L for an argument of 1.0L.
683         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
684         Likewise.
685         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
686         value when x - 1 is zero.
687         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
688         * sysdeps/i386/fpu/libm-test-ulps: Update.
689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
691 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
693         [BZ #15119]
694         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
696 2014-06-09  Roland McGrath  <roland@hack.frob.com>
698         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
699         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
701 2014-06-09  Roland McGrath  <roland@hack.frob.com>
703         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
704         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
706         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
707         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
709         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
710         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
712         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
713         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
715         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
716         if not already defined.
717         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
718         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
719         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
720         (TLS_INIT_TP): Use it.
721         (TLS_DEFINE_INIT_TP): New macro.
722         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
724 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
726         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
727         constant.
728         [POSIX] (IXANY): Likewise.
729         [POSIX] (OLCUC): Likewise.
730         [POSIX || POSIX2008] (CBAUD): Do not allow.
731         [POSIX || POSIX2008] (DEFECHO): Likewise.
732         [POSIX || POSIX2008] (ECHOCTL): Likewise.
733         [POSIX || POSIX2008] (ECHOKE): Likewise.
734         [POSIX || POSIX2008] (ECHOPRT): Likewise.
735         [POSIX || POSIX2008] (EXTA): Likewise.
736         [POSIX || POSIX2008] (EXTB): Likewise.
737         [POSIX || POSIX2008] (FLUSHO): Likewise.
738         [POSIX || POSIX2008] (LOBLK): Likewise.
739         [POSIX || POSIX2008] (PENDIN): Likewise.
740         [POSIX || POSIX2008] (SWTCH): Likewise.
741         [POSIX || POSIX2008] (VDISCARD): Likewise.
742         [POSIX || POSIX2008] (VDSUSP): Likewise.
743         [POSIX || POSIX2008] (VLNEXT): Likewise.
744         [POSIX || POSIX2008] (VREPRINT): Likewise.
745         [POSIX || POSIX2008] (VSTATUS): Likewise.
746         [POSIX || POSIX2008] (VWERASE): Likewise.
747         (B*): Change to B[0123456789]*.
748         * conform/data/time.h-data [POSIX || UNIX98]
749         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
750         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
751         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
752         [POSIX] (tm_*): Do not allow.
754 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
756         * Makefile (install): Don't set LANGUAGE.
757         * Makefile.in (install): Likewise.
758         * assert/Makefile (test-assert-ENV): Remove variable.
759         (test-assert-perr-ENV): Likewise.
760         * elf/Makefile (neededtest4-ENV): Likewise.
761         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
762         [$(cross-compiling) = no]: Don't set LANGUAGE.
763         * io/ftwtest-sh (LANG): Remove variable.
764         * libio/Makefile (tst-widetext-ENV): Likewise.
765         * manual/install.texi (Running make install): Don't refer to
766         environment settings for make install.
767         * INSTALL: Regenerated.
768         * nptl/tst-tls6.sh: Don't set LANG.
769         * posix/globtest.sh (LANG): Remove variable.
770         * string/Makefile (tester-ENV): Likewise.
771         (inl-tester-ENV): Likewise.
772         (noinl-tester-ENV): Likewise.
773         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
774         [$(cross-compiling) = no]: Don't set LANGUAGE.
775         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
776         without explicit environment settings.
778 2014-06-06  Roland McGrath  <roland@hack.frob.com>
780         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
781         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
782         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
783         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
785 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
787         * crypt/crypt-private.h [DOS]: Add some includes taken from the
788         other files in the crypt directory.
789         * crypt/crypt.c: Remove duplicate includes.
790         * crypt/crypt-entry.c: Likewise.
791         * crypt/crypt_util.c: Likewise.
793 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
795         * Makeconfig (run-program-env): New variable.
796         (run-program-prefix-before-env): Likewise.
797         (run-program-prefix-after-env): Likewise.
798         (run-program-prefix): Define in terms of new variables.
799         (built-program-cmd-before-env): New variable.
800         (built-program-cmd-after-env): Likewise.
801         (built-program-cmd): Define in terms of new variables.
802         (test-program-prefix-before-env): New variable.
803         (test-program-prefix-after-env): Likewise.
804         (test-program-prefix): Define in terms of new variables.
805         (test-program-cmd-before-env): New variable.
806         (test-program-cmd-after-env): Likewise.
807         (test-program-cmd): Define in terms of new variables.
808         * Rules (make-test-out): Use $(run-program-env).
809         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
810         (help): Do not mention environment variables.  Mention
811         --timeoutfactor option.
812         (timeoutfactor): New variable.
813         (blacklist_exports): Remove function.
814         (exports): Remove variable.
815         (command): Do not include ${exports}.
816         * manual/install.texi (Configuring and compiling): Do not mention
817         test wrappers preserving environment variables.  Mention that last
818         assignment to a variable must take precedence.
819         * INSTALL: Regenerated.
820         * benchtests/Makefile (run-bench): Use $(run-program-env).
821         * catgets/Makefile ($(objpfx)test1.cat): Use
822         $(built-program-cmd-before-env), $(run-program-env) and
823         $(built-program-cmd-after-env).
824         ($(objpfx)test2.cat): Do not specify environment variables
825         explicitly.
826         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
827         $(run-program-env) and $(built-program-cmd-after-env).
828         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
829         $(run-program-env) and $(test-program-cmd-after-env).
830         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
831         explicitly.
832         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
833         run_program_env and test_program_cmd_after_env arguments.
834         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
835         * elf/tst-pathopt.sh: Use run_program_env argument.
836         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
837         $(test-wrapper-env) and $(run-program-env).
838         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
839         run_program_env arguments.
840         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
841         * intl/Makefile ($(objpfx)tst-gettext.out): Use
842         $(test-program-prefix-before-env), $(run-program-env) and
843         $(test-program-prefix-after-env).
844         ($(objpfx)tst-gettext2.out): Likewise.
845         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
846         run_program_env and test_program_prefix_after_env arguments.
847         * intl/tst-gettext2.sh: Likewise.
848         * intl/tst-gettext4.sh: Do not set environment variables
849         explicitly.
850         * intl/tst-gettext6.sh: Likewise.
851         * intl/tst-translit.sh: Likewise.
852         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
853         $(test-program-prefix-before-env), $(run-program-env) and
854         $(test-program-prefix-after-env).
855         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
856         run_program_env and test_program_prefix_after_env arguments.
857         * math/Makefile (run-regen-ulps): Use $(run-program-env).
858         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
859         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
860         explicitly with each use of ${test_wrapper_env}.
861         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
862         $(test-program-prefix-before-env), $(run-program-env) and
863         $(test-program-prefix-after-env).
864         * posix/tst-getconf.sh: Do not set environment variables
865         explicitly.
866         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
867         run_program_env and test_program_prefix_after_env arguments.
868         * stdio-common/tst-printf.sh: Do not set environment variables
869         explicitly.
870         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
871         $(test-program-prefix-before-env), $(run-program-env) and
872         $(test-program-prefix-after-env).
873         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
874         run_program_env and test_program_prefix_after_env arguments.
875         Split $test calls into $test_pre and $test.
876         * timezone/Makefile (build-testdata): Use
877         $(built-program-cmd-before-env), $(run-program-env) and
878         $(built-program-cmd-after-env).
880 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
882         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
883         strlen for non SHARED builds.
885 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
887         * nptl/allocatestack.c (check_list): Inlined function...
888         (__reclaim_stacks): ... here.
890 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
892         [BZ #15698]
893         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
894         memory overrun.
896 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
898         * Rules (make-test-out): Include
899         LOCPATH=$(common-objpfx)localedata in default environment.
900         * debug/Makefile (tst-chk1-ENV): Remove variable.
901         (tst-chk2-ENV): Likewise.
902         (tst-chk3-ENV): Likewise.
903         (tst-chk4-ENV): Likewise.
904         (tst-chk5-ENV): Likewise.
905         (tst-chk6-ENV): Likewise.
906         (tst-lfschk1-ENV): Likewise.
907         (tst-lfschk2-ENV): Likewise.
908         (tst-lfschk3-ENV): Likewise.
909         (tst-lfschk4-ENV): Likewise.
910         (tst-lfschk5-ENV): Likewise.
911         (tst-lfschk6-ENV): Likewise.
912         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
913         (tst-iconv7-ENV): Likewise.
914         * intl/Makefile (LOCPATH-ENV): Likewise.
915         (tst-codeset-ENV): Likewise.
916         (tst-gettext3-ENV): Likewise.
917         (tst-gettext5-ENV): Likewise.
918         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
919         (tst-fopenloc-ENV): Likewise.
920         (tst-fgetws-ENV): Remove variable.
921         (tst-ungetwc1-ENV): Likewise.
922         (tst-ungetwc2-ENV): Likewise.
923         (bug-ungetwc2-ENV): Likewise.
924         (tst-swscanf-ENV): Likewise.
925         (bug-ftell-ENV): Likewise.
926         (tst-fgetwc-ENV): Likewise.
927         (tst-fseek-ENV): Likewise.
928         (tst-ftell-partial-wide-ENV): Likewise.
929         (tst-ftell-active-handler-ENV): Likewise.
930         (tst-ftell-append-ENV): Likewise.
931         * posix/Makefile (tst-fnmatch-ENV): Likewise.
932         (tst-regexloc-ENV): Likewise.
933         (bug-regex1-ENV): Likewise.
934         (tst-regex-ENV): Likewise.
935         (tst-regex2-ENV): Likewise.
936         (bug-regex5-ENV): Likewise.
937         (bug-regex6-ENV): Likewise.
938         (bug-regex17-ENV): Likewise.
939         (bug-regex18-ENV): Likewise.
940         (bug-regex19-ENV): Likewise.
941         (bug-regex20-ENV): Likewise.
942         (bug-regex22-ENV): Likewise.
943         (bug-regex23-ENV): Likewise.
944         (bug-regex25-ENV): Likewise.
945         (bug-regex26-ENV): Likewise.
946         (bug-regex30-ENV): Likewise.
947         (bug-regex32-ENV): Likewise.
948         (bug-regex33-ENV): Likewise.
949         (bug-regex34-ENV): Likewise.
950         (bug-regex35-ENV): Likewise.
951         (tst-rxspencer-ENV): Likewise.
952         (tst-rxspencer-no-utf8-ENV): Likewise.
953         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
954         (tst-sscanf-ENV): Likewise.
955         (tst-swprintf-ENV): Likewise.
956         (tst-swscanf-ENV): Likewise.
957         (test-vfprintf-ENV): Likewise.
958         (scanf13-ENV): Likewise.
959         (bug14-ENV): Likewise.
960         (tst-grouping-ENV): Likewise.
961         * stdlib/Makefile (tst-strtod-ENV): Likewise.
962         (tst-strtod3-ENV): Likewise.
963         (tst-strtod4-ENV): Likewise.
964         (tst-strtod5-ENV): Likewise.
965         (testmb2-ENV): Likewise./
966         * string/Makefile (tst-strxfrm-ENV): Likewise.
967         (tst-strxfrm2-ENV): Likewise.
968         (bug-strcoll1-ENV): Likewise.
969         (test-strcasecmp-ENV): Likewise.
970         (test-strncasecmp-ENV): Likewise.
971         * time/Makefile (tst-strptime-ENV): Likewise.
972         (tst-ftime_l-ENV): Likewise.
973         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
974         (tst-mbrtowc-ENV): Likewise.
975         (tst-wcrtomb-ENV): Likewise.
976         (tst-mbrtowc2-ENV): Likewise.
977         (tst-c16c32-1-ENV): Likewise.
978         (tst-mbsnrtowcs-ENV): Likewise.
980 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
982         * manual/resource.texi (How to get information about the memory
983         subsystem?): Fix typo.
984         Reported by Peon de la Parra Ivan <peon@keba.com>
986 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
988         [BZ #16882]
989         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
990         (pthread_spin_lock): Branch out of spin loop to proper location.
991         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
992         (pthread_spin_lock): Likewise.
994         * nptl/tst-spin4.c: New test.
995         * nptl/Makefile (tests): Add tst-spin4.
997 2014-06-03  Andreas Schwab  <schwab@suse.de>
999         [BZ #15946]
1000         * resolv/res_send.c (send_dg): Reload file descriptor after
1001         calling reopen.
1003 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1005         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1007 2014-06-03  Richard Henderson  <rth@redhat.com>
1009         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1010         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1011         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1012         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1013         in the SAVE_PID block.
1014         (__libc_vfork): New alias.
1015         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1017         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1018         child in registers, not on the stack.  Remove RESET_PID conditionals.
1019         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1021 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1023         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1025 2014-06-03  Wilco  <wdijkstr@arm.com>
1027         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1028         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1029         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1030         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1031         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1032         Likewise.
1034 2014-06-03  Wilco  <wdijkstr@arm.com>
1036         * sysdeps/aarch64/fpu/math_private.h
1037         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1038         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1039         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1040         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1041         Fix declarations.
1043 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1045         * crypt/crypt-private.h: Include ufc-crypt.h.
1046         (__b64_from_24bit): Declare extern.
1047         * crypt/crypt_util.c(__b64_from_24bit): New function.
1048         (b64t): New static const variable.
1049         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1050         (b64t): Remove variable.
1051         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1052         * crypt/sha256-crypt.c: Include crypt-private.h.
1053         (b64t): Remove variable.
1054         (__sha256_crypt_r): Remove b64_from_24bit and replace
1055         with __b64_from_24bit.
1056         * crypt/sha512-crypt.c: Likewise.
1058 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1060         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1061         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1062         Label the code __libc_vfork rather than __vfork.
1063         [!NOT_IN_libc] (vfork): Define as weak alias.
1064         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1065         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1066         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1068 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1070         * malloc/malloc.c (malloc_info): Fix format specifier for
1071         n_mmaps.
1073 2014-06-02  Wilco  <wdijkstr@arm.com>
1075         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1076         FPCR write.
1078 2014-06-02  Wilco  <wdijkstr@arm.com>
1080         [BZ #17009]
1081         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1082         Rewrite to reduce FPCR/FPSR accesses.
1084 2014-06-01  David S. Miller  <davem@davemloft.net>
1086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1088 2014-05-31  David S. Miller  <davem@davemloft.net>
1090         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1091         to occur in round to nearest mode when |x| >= 2.0
1093 2014-05-30  Richard Henderson  <rth@twiddle.net>
1095         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1096         (PSEUDO_RET_NOERRNO): Remove.
1097         (ret): Don't redefine.
1098         (ret_NOERRNO): Define in terms of ret.
1099         (ret_ERRVAL): Likewise.
1101         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1102         use of PSEUDO_RET; perform the error check directly.
1104 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1106         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1107         with __int128_t.
1109 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1111         * malloc/malloc (malloc_info): Fix formatting.
1113 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1114             Roland McGrath  <roland@hack.frob.com>
1116         * malloc/malloc (malloc_info): Also print mmapped statistics.
1118 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1120         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1121         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1123 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1125         * malloc/malloc.c (malloc_info): Inline mi_arena.
1127 2014-05-29  Richard Henderson  <rth@twiddle.net>
1129         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1130         Remove comma before expanding ASM_ARGS_##nr.
1131         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1132         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1133         of ASM_ARGS_##nr.
1134         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1135         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1136         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1137         (ASM_ARGS_1): Add leading comma.
1139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1140         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1141         to __errno_location.
1142         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1143         Remove the expected plt for __errno_location.
1145         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1146         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1147         call to __read_tp.
1149         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1150         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1151         it and break it down.
1152         (DOCARGS_0, DOCARGS_1): Do nothing.
1153         (DOCARGS_2): Update to store into the new stack frame.
1154         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1155         (UNDOCARGS_1): Update to restore from the new stack frame.
1156         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1157         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1159         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1160         (SINGLE_THREAD_P): New parameter for result regno.
1161         (PSEUDO): Update to match; use cbz instead of beq.
1163         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1164         Use ENTRY to define the _nocancel entry point.  Share the syscall
1165         and syscall error check paths with the cancel path.
1166         (PSEUDO_END): New.
1168         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1169         whitespace; tabs before and after asm mnemonics.
1171 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1173         [BZ #15132]
1174         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1175         Call fstat64 or stat64 internally, depending on arguments passed.
1176         Replace stat buffer argument with file descriptor argument.
1177         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1178         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1179         Pass fd to __internal_statvfs instead of calling fstat64.
1180         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1181         Pass fd to __internal_statvfs64 instead of calling fstat64.
1182         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1183         Pass -1 to __internal_statvfs instead of calling stat64.
1184         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1185         Pass -1 to __internal_statvfs64 instead of calling stat64.
1187 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1189         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1190         that was previously under [RESET_PID].
1191         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1193         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1194         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1196 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1198         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1200         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1201         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1203 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1205         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1207 2014-05-27  Andreas Schwab  <schwab@suse.de>
1209         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1210         TLS_INIT_TP macro.
1211         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1212         * elf/rtld.c (init_tls, dl_main): Likewise.
1213         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1214         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1215         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1216         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1217         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1218         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1219         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1220         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1221         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1222         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1223         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1224         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1225         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1226         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1227         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1228         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1229         * sysdeps/generic/tls.h: Update description.
1231 2014-05-27  Will Newton  <will.newton@linaro.org>
1233         [BZ #16990]
1234         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1235         and restore r2 rather than just restoring.
1237 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1239         [BZ #16724]
1240         * libio/tst-ftell-append.c: New test case.
1241         * libio/Makefile (tests): Add test case.
1242         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1243         append mode.
1244         * libio/wfileops.c (do_ftell_wide): Likewise.
1246 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1250         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1251         ...
1252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1254         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1255         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1256         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1257         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1258         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1259         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1261         Moved ...
1262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1264         Moved ...
1265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1266         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1267         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1268         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1269         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1270         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1271         ...
1272         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1273         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1274         Moved ...
1275         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1276         here.
1277         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1278         ...
1279         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1280         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1281         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1283         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1284         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1285         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1286         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1288         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1289         merge into ...
1290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1292         ...
1293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1295         ...
1296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1298         Moved ...
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1300         here.
1301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1302         Moved ...
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1305         Moved ...
1306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1309         conditional [RESET_PID].
1310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1312         removed.
1313         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1314         removed.
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1317         <tcb-offsets.h>.
1318         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1319         (__libc_vfork): New strong alias.
1320         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1321         removed.
1322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1323         Removed.
1325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1326         <tcb-offsets.h>.
1327         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1328         (__libc_vfork): New strong alias.
1329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1330         removed.
1331         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1332         removed.
1334 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1336         * malloc/malloc.c (mi_arena): New function.
1337         (malloc_info): Remove nested function mi_arena. Call non-nosted
1338         function mi_arena.
1340 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1342         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1343         by insrwi.
1344         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1345         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1346         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1347         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1348         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1349         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1350         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1352 2014-05-26  Andreas Schwab  <schwab@suse.de>
1354         [BZ #16984]
1355         * locale/programs/repertoire.c (repertoire_read): Add slash
1356         between I18NPATH element and file name.
1357         * locale/programs/locfile.c (locfile_read): Likewise.
1359 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1361         * nptl/pthread_mutexattr_settype.c
1362         (__pthread_mutexattr_settype):
1363         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1365 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1367         * nptl/tst-mutex5 (do_test):
1368         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1370 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1372         * benchtests/README: Document 'init' directive.
1373         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1374         BENCH_INIT.
1375         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1376         (parse_file): Recognize 'init' directive.
1378 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1380         [BZ #16796]
1381         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1382         alignment of struct pthread.
1384 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1386         [BZ #16878]
1387         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1388         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1389         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1390         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1392 2014-05-25  Richard Henderson  <rth@twiddle.net>
1394         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1395         (SINGLE_THREAD_P_PIC): Remove.
1396         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1397         (SINGLE_THREAD_P_PIC): Remove.
1399         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1400         branch to syscall error ...
1401         (PSEUDO): ... here.
1402         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1403         from __local_syscall_error to .Lsyscall_error.
1404         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1405         (SYSCALL_ERROR): Update label name.
1407         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1408         Do not use DOARGS/UNDOARGS.
1409         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1410         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1411         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1412         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1413         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1415         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1416         block comment.
1418         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1419         define if !NOT_IN_libc.
1420         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1421         define with non-default symbol versions.
1423 2014-05-23  Richard Henderson  <rth@twiddle.net>
1425         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1426         (vfork, __vfork): Define via compat_symbol.
1428         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1429         [!HAVE_IFUNC] (vfork_compat): Remove.
1430         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1432 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1434         [BZ #16978]
1435         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1436         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1437         variable.
1439 2014-05-23  Richard Henderson  <rth@twiddle.net>
1441         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1442         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1443         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1444         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1446         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1447         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1448         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1449         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1450         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1451         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1452         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1453         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1454         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1455         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1456         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1457         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1458         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1459         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1460         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1461         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1462         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1463         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1464         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1465         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1466         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1467         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1468         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1469         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1470         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1471         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1472         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1473         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1474         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1475         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1477         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1478         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1479         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1480         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1481         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1482         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1483         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1484         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1485         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1486         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1487         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1488         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1489         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1490         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1491         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1492         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1493         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1494         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1495         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1496         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1497         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1498         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1499         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1500         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1501         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1503         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1504         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1505         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1506         before exiting on error.
1507         (__libc_vfork): New strong alias.
1508         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1509         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1511         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1512         that was previously under [RESET_PID].
1513         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1515         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1517 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1519         [BZ #16977]
1520         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1521         value when x - 1 is zero.
1522         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1523         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1524         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1525         0.0L for an argument of 1.0L.
1526         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1527         Likewise.
1528         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1529         value when x - 1 is zero.
1530         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1531         * sysdeps/i386/fpu/libm-test-ulps: Update.
1532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1534 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1536         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1537         alphasort and versionsort.
1539 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1541         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1542         macro.
1543         [copysignf]: Likewise.
1545 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1547         * crypt/md5-crypt.c: Fix formatting.
1549 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1551         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1552         (b64_from_24bit): New function.
1554 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1556         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1557         libc_hidden_builtin_def to ifunc.
1558         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1559         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1561 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1563         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1564         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1566 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1568         * nscd/Depend (linuxthreads): Remove.
1569         (nptl): Add.
1570         * resolv/Depend (linuxthreads): Remove.
1571         * rt/Depend (linuxthreads): Remove.
1573         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1574         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1575         $(common-objpfx)elf/.
1576         (link-libc-before-gnulib): Likewise.
1577         (elfobjdir): Remove variable.
1578         * Makefile (install): Use $(elf-objpfx) instead of
1579         $(common-objpfx)elf/.
1580         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1581         $(elfobjdir)/.
1582         (link-libc-deps): Likewise.
1583         ($(common-objpfx)libc.so): Likewise.
1584         ($(common-objpfx)linkobj/libc.so): Likewise.
1585         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1586         instead of $(common-objpfx)elf/.
1587         (symbolic-link-list): Likewise.
1588         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1589         [$(cross-compiling) = no]: Likewise.
1590         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1591         $(elfobjdir)/.
1592         (static-gnulib-arch): Likewise.
1593         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1594         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1595         $(common-objpfx)elf/.
1597 2014-05-21  Richard Henderson  <rth@redhat.com>
1599         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1600         (SINGLE_THREAD_P): Use the correct width load.  Fold
1601         into the ldr offset.
1603         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1604         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1606 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1608         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1609         (libgcc_s_resume): Use __attribute_used__.
1610         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1611         Likewise.
1613 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1615         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1616         optimization when used with float constants.
1618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1620 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1622         [BZ #16915]
1623         * locale/nl_langinfo_l.c: Make direct reference to every
1624         _nl_current_CATEGORY symbol.
1625         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1626         (tests-static): Add tst-langinfo-static.
1627         (tests-special): Add tst-langinfo-static.out.
1628         ($(objpfx)tst-langinfo.out): Redirect output.
1629         ($(objpfx)tst-langinfo-static.out): New.
1630         * localedata/tst-langinfo.sh: Send output to stdout.
1631         * localedata/tst-langinfo-static.c: New file.
1633         [BZ #16965]
1634         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1635         when the shift amount is modulo the limb size.
1637 2014-05-20  Richard Henderson  <rth@redhat.com>
1639         [BZ #16967]
1640         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1641         Change type of sa_flags from unsigned int to int.
1643         [BZ #16966]
1644         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1646         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1648 2014-05-20  Will Newton  <will.newton@linaro.org>
1650         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1651         Test the return value of the system call in the nocancel case.
1653 2014-05-20  Will Newton  <will.newton@linaro.org>
1654             Yvan Roux  <yvan.roux@linaro.org>
1656         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1657         #include of asm/ptrace.h.
1658         (PTRACE_GET_THREAD_AREA): Remove #undef.
1659         (PTRACE_GETHBPREGS): Likewise.
1660         (PTRACE_SETHBPREGS): Likewise.
1661         (struct user_regs_struct): New structure.
1662         (struct user_fpsimd_struct): New structure.
1663         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1664         #include of asm/ptrace.h and second #include of sys/user.h.
1665         (PTRACE_GET_THREAD_AREA): Remove #undef.
1666         (PTRACE_GETHBPREGS): Likewise.
1667         (PTRACE_SETHBPREGS): Likewise.
1668         (ELF_NGREG): Use new struct user_regs_struct.
1669         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1671 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1673         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1674         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1676 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1678         [BZ #16958]
1679         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1680         membar to avoid block loads/stores to overlap previous stores.
1682 2014-05-17  Richard Henderson  <rth@redhat.com>
1684         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1685         Create the __##syscall_name##_nocancel entry point.
1686         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1687         Remove; let the sysdep-cancel.h code create it.
1689 2014-05-17  David S. Miller  <davem@davemloft.net>
1691         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1692         Protect with __USE_GNU.
1693         (TIOCSET_TEMPT): Likewise.
1694         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1695         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1696         these are already provided in bits/ioctl-types.h
1698 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1700         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1701         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1703         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1704         Use wait4 regardless of [__NR_waitpid].
1706 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1708         PR libgcc/60166
1709         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1710         (_FP_NANSIGN_Q): Set the quiet bit.
1712 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1714         * benchtests/Makefile
1715         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1716         not $(common-objpfx)math/libm.so.
1717         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1718         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1719         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1720         $(common-objpfx)dlfcn/libdl.so.
1721         ($(objpfx)tst-audit8): Depend on $(libm), not
1722         $(common-objpfx)math/libm.so.
1723         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1724         not $(common-objpfx)dlfcn/libdl.so.
1725         * math/Makefile
1726         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1727         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1728         [$(build-shared) = yes].
1729         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1730         $(common-objpfx)nptl/libpthread.so.
1731         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1732         $(common-objpfx)math/libm.so$(libm.so-version) or
1733         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1734         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1735         $(common-objpfx)dlfcn/libdl.so.
1736         * setjmp/Makefile (link-libm): Remove variable.
1737         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1738         * stdio-common/Makefile (link-libm): Remove variable.
1739         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1740         * stdlib/Makefile (link-libm): Remove variable.
1741         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1742         ($(objpfx)tst-strtod-round): Likewise.
1743         ($(objpfx)tst-tininess): Likewise.
1744         ($(objpfx)tst-strtod-underflow): Likewise.
1745         ($(objpfx)tst-strtod6): Likewise.
1746         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1747         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1748         $(common-objpfx)dlfcn/libdl.so.
1750 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1752         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1753         BSD terminal modes definitions.
1755 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1757         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1758         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1760         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1761         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1762         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1763         Don't do #include_next.
1764         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1765         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1766         Don't do #include_next.
1767         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1768         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1769         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1770         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1772 2014-05-16  Allan McRae  <allan@archlinux.org>
1774         * po/sv.po: Update Swedish translation from translation project.
1776         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1777         in sed expression.
1779 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1781         [BZ #16917]
1782         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1783         errno if the TIOCGPTN ioctl fails with an error different than
1784         EINVAL.
1785         * login/tst-ptsname.c: New file.
1786         * login/Makefile (tests): Add tst-ptsname.
1788         [BZ #16943]
1789         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1790         and prlimit64.
1792 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1794         [BZ #16849]
1795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1796         herrno to return EAI_AGAIN.
1798 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1800         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1801         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1802         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1803         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1804         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1805         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1806         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1807         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1808         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1809         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1810         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1811         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1812         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1813         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1814         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1815         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1816         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1817         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1818         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1819         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1820         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1821         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1822         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1823         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1824         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1825         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1826         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1827         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1828         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1829         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1831         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1833         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1835         Moved ...
1836         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1838         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1840         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1842         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1844         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1846         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1848         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1850         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1852         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1854         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1856         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1858         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1860         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1862         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1864         Moved ...
1865         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1867         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1868         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1869         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1870         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1871         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1873         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1875         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1877         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1879         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1881         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1883         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1885         Moved ...
1886         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1888         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1890         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1891         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1892         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1893         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1894         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1895         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1896         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1898         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1899         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1900         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1901         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1902         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1903         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1904         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1905         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1906         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1907         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1908         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1910         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1912         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1913         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1914         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1915         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1916         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1917         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1918         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1919         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1920         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1922         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1923         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1925         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1926         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1927         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1929         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1931         Moved ...
1932         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1933         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1934         Moved ...
1935         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1937         Moved ...
1938         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1939         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1940         Moved ...
1941         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1942         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1943         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1944         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1945         Moved ...
1946         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1947         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1948         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1949         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1950         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1951         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1952         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1953         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1954         Moved ...
1955         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1957         Moved ...
1958         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1959         ... here.
1960         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1961         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1963         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1964         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1965         Moved ...
1966         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1967         ... here.
1968         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1969         Moved ...
1970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1971         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1972         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1973         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1974         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1975         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1976         Moved ...
1977         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1978         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1979         Moved ...
1980         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1982         Moved ...
1983         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1985         Moved ...
1986         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1987         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1988         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1989         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1990         Moved ...
1991         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1992         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1993         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1994         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1995         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1996         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1997         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1998         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1999         Moved ...
2000         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2002         Moved ...
2003         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2004         ... here.
2005         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2006         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2008         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2009         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2010         Moved ...
2011         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2012         ... here.
2013         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2014         Moved ...
2015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2016         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2017         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2018         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2019         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2020         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2021         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2022         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2023         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2024         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2025         Moved ...
2026         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2028         Moved ...
2029         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2031         Moved ...
2032         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2034         Moved ...
2035         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2036         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2037         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2038         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2039         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2040         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2041         Moved ...
2042         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2043         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2044         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2045         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2046         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2047         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2048         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2049         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2050         Moved ...
2051         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2052         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2053         Moved ...
2054         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2055         ... here.
2056         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2057         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2059         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2060         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2061         Moved ...
2062         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2063         ... here.
2064         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2065         Moved ...
2066         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2067         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2068         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2069         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2070         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2071         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2072         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2073         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2074         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2075         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2076         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2078         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2079         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2081         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2082         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2084         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2085         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2086         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2087         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2088         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2089         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2090         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2091         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2092         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2093         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2094         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2095         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2096         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2097         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2098         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2099         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2100         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2101         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2102         Moved ...
2103         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2105         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2106         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2107         Moved ...
2108         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2110         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2112         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2113         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2114         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2115         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2116         Moved ...
2117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2119         Moved ...
2120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2122         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2124         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2125         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2126         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2127         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2128         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2129         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2130         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2131         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2132         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2133         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2134         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2135         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2136         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2138         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2139         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2140         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2141         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2142         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2144         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2145         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2146         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2147         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2148         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2149         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2150         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2151         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2152         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2153         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2155         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2158         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2159         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2160         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2161         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2162         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2163         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2164         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2165         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2166         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2167         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2168         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2169         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2170         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2171         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2173         Update #include.
2174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2175         Likewise.
2176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2177         Likewise.
2178         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2179         Likewise.
2180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2181         Likewise.
2182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2183         Likewise.
2184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2185         Likewise.
2186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2187         Likewise.
2188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2189         Likewise.
2190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2191         Likewise.
2192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2194         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2197         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2198         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2199         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2201         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2202         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2203         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2204         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2205         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2206         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2208         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2209         that was previously under [RESET_PID].
2210         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2211         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2212         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2214         * sysdeps/i386/nptl/Implies: New file.
2215         * sysdeps/x86_64/nptl/Implies: New file.
2216         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2217         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2218         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2219         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2221         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2222         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2223         (__libc_vfork): New strong alias.
2224         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2225         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2227         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2228         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2229         (__libc_vfork): New strong alias.
2230         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2231         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2233         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2234         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2235         (__libc_vfork): New strong alias.
2236         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2237         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2238         * nptl/pt-vfork.c: New file.
2239         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2240         (libpthread: GLIBC_2.20): New version set (empty).
2242 2014-05-14  Will Newton  <will.newton@linaro.org>
2244         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2245         rather than #if.
2247 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2249         [BZ #16564]
2250         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2251         arguments with exponent 65 or above.
2252         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2253         arguments 0x1p113L or above.
2254         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2255         to arguments 0x1p107L or above.
2256         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2257         positive arguments with exponent 65 or above.
2258         * math/auto-libm-test-in: Add more tests of log1p.
2259         * math/auto-libm-test-out: Regenerated.
2261         [BZ #16928]
2262         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2263         non-finite arguments is +0.
2264         * math/s_cacosf.c (__cacosf): Likewise.
2265         * math/s_cacosl.c (__cacosl): Likewise.
2266         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2267         * sysdeps/i386/fpu/libm-test-ulps: Update.
2268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270         [BZ #16927]
2271         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2272         value.
2273         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2274         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2275         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2276         for explicit high bit of mantissa when testing for argument equal
2277         to 1.
2278         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2279         * sysdeps/i386/fpu/libm-test-ulps: Update.
2280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2282         [BZ #16516]
2283         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2284         (__erf): Scale by 16 instead of 8 in potentially underflowing
2285         case.  Ensure exception if result actually underflows.
2286         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2287         (__erff): Scale by 16 instead of 8 in potentially underflowing
2288         case.  Ensure exception if result actually underflows.
2289         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2290         (efx8): Remove variable.
2291         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2292         case.  Ensure exception if result actually underflows.
2293         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2294         (efx8): Remove variable.
2295         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2296         case.  Ensure exception if result actually underflows.
2297         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2298         (efx8): Remove variable.
2299         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2300         case.  Ensure exception if result actually underflows.
2301         * math/auto-libm-test-in: Add more tests of erf.
2302         * math/auto-libm-test-out: Regenerated.
2304 2014-05-14  Andreas Schwab  <schwab@suse.de>
2306         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2307         Remove code conditionalized on USE___THREAD.
2309         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2310         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2311         not definedness.
2313 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2316         Define unconditionally.
2317         (__ASSUME_O_CLOEXEC): Likewise.
2318         (__ASSUME_SOCK_CLOEXEC): Likewise.
2319         (__ASSUME_IN_NONBLOCK): Likewise.
2320         (__ASSUME_PIPE2): Likewise.
2321         (__ASSUME_EVENTFD2): Likewise.
2322         (__ASSUME_SIGNALFD4): Likewise.
2323         (__ASSUME_DUP3): Likewise.
2324         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2325         (__ASSUME_DUP3): Do not define.
2326         (__ASSUME_EVENTFD2): Likewise.
2327         (__ASSUME_IN_NONBLOCK): Likewise.
2328         (__ASSUME_O_CLOEXEC): Likewise.
2329         (__ASSUME_PIPE2): Likewise.
2330         (__ASSUME_SIGNALFD4): Likewise.
2331         (__ASSUME_SOCK_CLOEXEC): Likewise.
2332         (__ASSUME_UTIMES): Undefine.
2333         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2334         (__ASSUME_UTIMES): Do not define.
2335         (__ASSUME_O_CLOEXEC): Likewise.
2336         (__ASSUME_SOCK_CLOEXEC): Likewise.
2337         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2338         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2339         0x020621].
2340         (__ASSUME_PIPE2): Likewise.
2341         (__ASSUME_EVENTFD2): Likewise.
2342         (__ASSUME_SIGNALFD4): Likewise.
2343         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2344         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2345         Do not define.
2346         (__ASSUME_EVENTFD2): Likewise.
2347         (__ASSUME_SIGNALFD4): Likewise.
2348         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2349         (__ASSUME_32BITUIDS): Likewise.
2350         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2351         (__ASSUME_IPC64): Likewise.
2352         (__ASSUME_ST_INO_64_BIT): Likewise.
2353         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2354         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2355         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2356         (__ASSUME_UTIMES): Do not define.
2357         (__ASSUME_PSELECT): Likewise.
2358         (__ASSUME_PPOLL): Likewise.
2359         (__ASSUME_O_CLOEXEC): Likewise.
2360         (__ASSUME_SOCK_CLOEXEC): Likewise.
2361         (__ASSUME_IN_NONBLOCK): Likewise.
2362         (__ASSUME_PIPE2): Likewise.
2363         (__ASSUME_EVENTFD2): Likewise.
2364         (__ASSUME_SIGNALFD4): Likewise.
2365         (__ASSUME_DUP3): Likewise.
2366         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2367         (__ASSUME_UTIMES): Likewise.
2368         (__ASSUME_O_CLOEXEC): Likewise.
2369         (__ASSUME_SOCK_CLOEXEC): Likewise.
2370         (__ASSUME_IN_NONBLOCK): Likewise.
2371         (__ASSUME_PIPE2): Likewise.
2372         (__ASSUME_EVENTFD2): Likewise.
2373         (__ASSUME_SIGNALFD4): Likewise.
2374         (__ASSUME_DUP3): Likewise.
2375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2376         (__ASSUME_UTIMES): Likewise.
2377         (__ASSUME_O_CLOEXEC): Likewise.
2378         (__ASSUME_SOCK_CLOEXEC): Likewise.
2379         (__ASSUME_IN_NONBLOCK): Likewise.
2380         (__ASSUME_PIPE2): Likewise.
2381         (__ASSUME_EVENTFD2): Likewise.
2382         (__ASSUME_SIGNALFD4): Likewise.
2383         (__ASSUME_DUP3): Likewise.
2384         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2385         Likewise.
2386         (__ASSUME_UTIMES): Likewise.
2387         (__ASSUME_EVENTFD2): Likewise.
2388         (__ASSUME_SIGNALFD4): Likewise.
2389         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2390         (__ASSUME_O_CLOEXEC): Likewise.
2391         (__ASSUME_SOCK_CLOEXEC): Likewise.
2392         (__ASSUME_IN_NONBLOCK): Likewise.
2393         (__ASSUME_PIPE2): Likewise.
2394         (__ASSUME_EVENTFD2): Likewise.
2395         (__ASSUME_SIGNALFD4): Likewise.
2396         (__ASSUME_DUP3): Likewise.
2397         (__ASSUME_UTIMES): Undefine.
2399         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2400         feclearexcept.  Remove symbol versioning code.
2401         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2402         symbol versioning code.
2403         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2404         symbol versioning code.
2405         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2406         feupdateenv.  Remove symbol versioning code.
2407         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2408         fegetexceptflag.  Remove symbol versioning code.
2409         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2410         fesetexceptflag.  Remove symbol versioning code.
2411         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2412         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2413         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2414         (__posix_fadvise64_l32): Remove prototype.
2415         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2416         code.
2418 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2420         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2421         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2422         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2423         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2425 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2427         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2428         current working directory
2430 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2432         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2433         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2434         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2435         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2436         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2437         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2438         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2439         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2440         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2441         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2442         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2443         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2444         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2445         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2446         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2447         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2449         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2450         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2451         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2452         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2453         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2454         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2455         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2456         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2457         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2458         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2459         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2460         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2461         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2462         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2463         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2464         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2465         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2466         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2467         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2468         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2469         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2470         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2471         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2472         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2473         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2475         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2476         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2478         * sysdeps/unix/sysv/linux/arm/Makefile
2479         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2480         Add rt-aeabi_unwind_cpp_pr1.
2481         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2482         Add nptl-aeabi_unwind_cpp_pr1.
2483         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2484         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2485         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2486         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2487         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2488         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2490         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2491         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2492         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2493         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2495         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2496         Deconditionalize the code that was previously under [RESET_PID].
2497         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2499         * sysdeps/generic/exit-thread.h: New file.
2500         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2501         * include/unistd.h (__exit_thread): Remove declaration.
2502         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2503         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2504         * csu/libc-start.c: Include <exit-thread.h>.
2505         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2506         * nptl/pthread_create.c: Include <exit-thread.h>.
2507         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2508         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2509         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2510         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2511         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2512         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2513         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2514         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2515         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2516         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2517         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2518         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2519         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2520         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2521         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2522         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2523         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2525 2014-05-13  Andreas Schwab  <schwab@suse.de>
2527         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2529 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2531         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2532         (__ASSUME_UTIMES): Do not condition on kernel version.
2533         (__ASSUME_PSELECT): Define unconditionally.
2534         (__ASSUME_PPOLL): Likewise.
2535         (__ASSUME_ATFCTS): Likewise.
2536         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2537         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2538         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2539         (__ASSUME_UTIMENSAT): Define unconditionally.
2540         (__ASSUME_PRIVATE_FUTEX): Likewise.
2541         (__ASSUME_FALLOCATE): Likewise.
2542         (__ASSUME_O_CLOEXEC): Likewise.
2543         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2544         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2545         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2546         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2547         (__ASSUME_IN_NONBLOCK): Likewise.
2548         (__ASSUME_PIPE2): Likewise.
2549         (__ASSUME_EVENTFD2): Likewise.
2550         (__ASSUME_SIGNALFD4): Likewise.
2551         (__ASSUME_DUP3): Likewise.
2552         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2553         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2554         (__ASSUME_AT_RANDOM): Likewise.
2555         (__ASSUME_PREADV): Likewise.
2556         (__ASSUME_PWRITEV): Likewise.
2557         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2558         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2559         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2560         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2561         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2562         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2563         (__ASSUME_O_CLOEXEC): Define unconditionally.
2564         (__ASSUME_PSELECT): Do not undefine conditionally.
2565         (__ASSUME_PPOLL): Likewise.
2566         (__ASSUME_ATFCTS): Likewise.
2567         (__ASSUME_SET_ROBUST_LIST): Likewise.
2568         (__ASSUME_UTIMENSAT): Likewise.
2569         (__ASSUME_FDATASYNC): Define unconditionally.
2570         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2571         (__ASSUME_SIGFRAME_V2): Likewise.
2572         )__ASSUME_EVENTFD2): Likewise.
2573         (__ASSUME_SIGNALFD4): Likewise.
2574         (__ASSUME_PSELECT): Do not undefine conditionally.
2575         (__ASSUME_PPOLL): Likewise.
2576         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2577         (__ASSUME_PSELECT): Define unconditionally.
2578         (__ASSUME_PPOLL): Likewise.
2579         (__ASSUME_O_CLOEXEC): Likewise.
2580         (__ASSUME_SOCK_CLOEXEC): Likewise.
2581         (__ASSUME_IN_NONBLOCK): Likewise.
2582         (__ASSUME_PIPE2): Likewise.
2583         (__ASSUME_EVENTFD2): Likewise.
2584         (__ASSUME_SIGNALFD4): Likewise.
2585         (__ASSUME_DUP3): Likewise.
2586         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2587         (__ASSUME_O_CLOEXEC): Likewise.
2588         (__ASSUME_SOCK_CLOEXEC): Likewise.
2589         (__ASSUME_IN_NONBLOCK): Likewise.
2590         (__ASSUME_PIPE2): Likewise.
2591         (__ASSUME_EVENTFD2): Likewise.
2592         (__ASSUME_SIGNALFD4): Likewise.
2593         (__ASSUME_DUP3): Likewise.
2594         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2595         (__ASSUME_EVENTFD2): Likewise.
2596         (__ASSUME_SIGNALFD4): Likewise.
2597         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2599 2014-05-12  Andreas Schwab  <schwab@suse.de>
2601         [BZ #16932]
2602         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2603         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2604         than maximum RPC packet size.
2605         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2606         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2607         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2608         (_nss_nis_getservbyport_r): Likewise.
2610 2014-05-12  Will Newton  <will.newton@linaro.org>
2612         * malloc/Makefile (tests): Add tst-mallopt.
2613         * malloc/tst-mallopt.c: New file.
2615 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2617         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2618         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2620 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2622         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2623         (tst-tlsmod6.so): Likewise.
2625 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2627         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2629 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2631         [BZ #16064]
2632         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2633         and <dl-procinfo.h>.
2634         (__fegetenv): Save SSE state in envp->__eip if supported.
2635         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2636         envp->__eip if supported.
2637         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2638         and <dl-procinfo.h>.
2639         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2640         __data_offset and __data_selector in environment to 0.  Set SSE
2641         state if supported.
2642         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2643         test-fenv-sse.
2644         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2645         -mfpmath=sse.
2646         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2648 2014-05-09  Will Newton  <will.newton@linaro.org>
2650         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2651         and libc_relro_required for ARM.
2652         * sysdeps/arm/preconfigure: Regenerate.
2654 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2655             Stefan Liebler  <stli@linux.vnet.ibm.com>
2657         * config.make.in (enable-lock-elision): New Makefile variable.
2658         * configure.ac: Likewise.
2659         * configure: Regenerate.
2660         * sysdeps/s390/configure.ac:
2661         Add check for gcc transactions support.
2662         * sysdeps/s390/configure: Regenerate.
2663         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2664         Build elision files if enabled.
2665         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2666         Add lock elision support for s390.
2667         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2668         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2669         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2670         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2671         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2672         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2673         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2674         Likewise.
2675         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2676         Likewise.
2677         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2678         Likewise.
2679         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2680         Likewise.
2681         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2682         (__lll_timedlock_elision, __lll_lock_elision)
2683         (__lll_unlock_elision, __lll_trylock_elision)
2684         (lll_timedlock_elision, lll_lock_elision)
2685         (lll_unlock_elision, lll_trylock_elision): Add.
2686         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2687         (pthread_mutex_t): Add lock elision support for s390.
2689 2014-05-14  Wilco  <wdijkstr@arm.com>
2691         * sysdeps/arm/fclrexcpt.c: Cleanup.
2692         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2693         * sysdeps/arm/feenablxcpt.c: Cleanup.
2694         * sysdeps/arm/fegetenv.c: Cleanup.
2695         * sysdeps/arm/fegetexcept.c: Cleanup.
2696         * sysdeps/arm/fegetround.c: Cleanup.
2697         * sysdeps/arm/feholdexcpt.c: Cleanup.
2698         * sysdeps/arm/fesetenv.c: Cleanup.
2699         * sysdeps/arm/fesetround.c: Cleanup.
2700         * sysdeps/arm/feupdateenv.c: Cleanup.
2701         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2702         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2703         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2704         * sysdeps/arm/ftestexcept.c: Cleanup.
2705         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2706         * sysdeps/arm/setfpucw.c: Cleanup.
2708 2014-05-09  Will Newton  <will.newton@linaro.org>
2710         * sysdeps/arm/armv7/strcmp.S: New file.
2711         * NEWS: Mention addition of ARMv7 optimized strcmp.
2713 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2715         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2716         look for %.ac rather than %.in.
2718         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2719         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2720         * sysdeps/mach/hurd/configure: Regenerated.
2721         * sysdeps/unix/sysv/linux/configure: Regenerated.
2723         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2725 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2727         [BZ# 16922]
2728         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2729         (LONG_SUB): Ditto.
2730         (PTR_SUB): Ditto.
2732 2014-05-07  Andreas Schwab  <schwab@suse.de>
2734         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2735         when skipping over non-matching result from nscd.
2737 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2739         [BZ #16876]
2740         * nptl/sockperf.c (client): Check socket return value.
2742         [BZ #16877]
2743         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2744         nscd security class.
2746 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2748         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2749         * sysdeps/arm/unwind.h: ... here.
2751 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2753         [BZ# 16916]
2754         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2755         Define.
2757 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2759         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2760         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2761         multiarch strncpy for PPC64.
2762         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2763         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2765         multiarch optimizations.
2766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2767         (__libc_ifunc_impl_list): Likewise.
2768         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2769         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2770         multiarch stpncpy for PPC64.
2771         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2772         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2774 2014-05-06  Andreas Schwab  <schwab@suse.de>
2776         [BZ #16912]
2777         * gmon/mcount.c (_MCOUNT_DECL): Use
2778         atomic_compare_and_exchange_bool_acq instead of
2779         catomic_compare_and_exchange_bool_acq.
2781 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2783         * elf/Makefile (others, install-bin): Remove pldd.
2784         (pldd-modules): Variable removed.
2785         ($(objpfx)pldd): Target removed.
2786         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2787         (others, install-bin): Append pldd here.
2788         ($(objpfx)pldd): New target.
2790         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2791         to 0, so the first #if test emitted later doesn't see it undefined.
2792         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2793         * sysdeps/gnu/errlist.c: Regenerated.
2795 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2798         [libc_hidden_builtin_def]: Define to empty value.
2799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2800         [libc_hidden_builtin_def]: Likewise.
2801         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2802         [libc_hidden_builtin_def]: Likewise.
2803         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2804         [libc_hidden_builtin_def]: Likewise.
2805         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2806         __redirect_memcpy and define ifunc as default hidden symbol.
2807         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2808         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2810 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2812         * locale/iso-4217.def: Reintroduce XDR currency.
2814 2014-05-04  Allan McRae  <allan@archlinux.org>
2816         * po/eo.po: Update Esperanto translation from translation project.
2818 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2820         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2821         and FEATURE_INDEX_MAX to 1.
2822         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2824 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2826         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2827         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2828         * iconvdata/big5.c (ONE_DIRECTION): Define.
2829         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2830         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2831         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2832         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2833         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2834         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2835         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2836         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2837         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2838         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2839         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2840         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2841         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2842         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2843         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2844         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2845         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2846         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2847         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2848         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2849         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2850         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2851         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2852         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2853         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2854         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2855         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2856         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2857         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2858         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2859         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2860         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2861         * iconvdata/johab.c (ONE_DIRECTION): Define.
2862         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2863         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2864         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2865         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2866         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2867         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2868         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2869         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2870         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2871         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2873 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2875         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2876         (_IO_JUMPS_OFFSET): Define to 0.
2878         * nptl/sysdeps/pthread/bits/libc-lock.h
2879         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2880         (__libc_lock_define_initialized_recursive): Always define using
2881         initializer.  Modern compilers treat uninitialized (implicit zero) and
2882         explicit zero initializers the same (i.e. put the datum in bss).
2884 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2886         * nscd/nscd-client.h: Include <string.h>.
2888 2014-05-01  David S. Miller  <davem@davemloft.net>
2890         [BZ #16885]
2891         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2892         multiple zero bytes exist at the end of a string.
2893         Reported by Aurelien Jarno <aurelien@aurel32.net>
2895         * string/test-strcmp.c (check): Add explicit test for situations where
2896         there are multiple zero bytes after the first.
2898 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2900         [BZ #16890]
2901         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2902         when compiling wprintf.
2903         * stdio-common/tstdiomisc.c (t3): New function.
2904         (main): Call it.
2906 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2908         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2909         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2910         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2911         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2913 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2915         * stdlib/longlong.h: Updated from GCC.
2917 2014-05-01  Will Newton  <will.newton@linaro.org>
2918             Bernard Ogden  <bernie.ogden@linaro.org>
2920         * NEWS: Update fixed bug list.
2922         [BZ #15119]
2923         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2925 2014-04-30  David S. Miller  <davem@davemloft.net>
2927         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2928         (libc_feholdexcept_setround_sparc_ctx): New function.
2929         (libc_fesetenv_sparc_ctx): Likewise.
2930         (libc_feupdateenv_sparc_ctx): Likewise.
2931         (libc_feholdsetround_sparc_ctx): Likewise.
2932         (libc_feholdexcept_setround_ctx): Define.
2933         (libc_feholdexcept_setroundf_ctx): Likewise.
2934         (libc_feholdexcept_setroundl_ctx): Likewise.
2935         (libc_fesetenv_ctx): Likewise.
2936         (libc_fesetenvf_ctx): Likewise.
2937         (libc_fesetenvl_ctx): Likewise.
2938         (libc_feupdateenv_ctx): Likewise.
2939         (libc_feupdateenvf_ctx): Likewise.
2940         (libc_feupdateenvl_ctx): Likewise.
2941         (libc_feresetround_ctx): Likewise.
2942         (libc_feresetroundf_ctx): Likewise.
2943         (libc_feresetroundl_ctx): Likewise.
2944         (libc_feholdsetround_ctx): Likewise.
2945         (libc_feholdsetroundf_ctx): Likewise.
2946         (libc_feholdsetroundl_ctx): Likewise.
2948         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2949         with __USE_GNU instead of XOPEN cpp guards.
2951         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2952         0.
2954         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2955         with XOPEN cpp guards.
2957 2014-04-30  Julian Brown  <julian@codesourcery.com>
2959         [BZ #16888]
2960         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2961         handling.
2963 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
2965         [BZ #9894]
2966         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2967         Change to 2.6.32.
2968         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2969         * sysdeps/unix/sysv/linux/configure: Regenerated.
2970         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2971         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2972         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2973         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2974         * README: Update reference to required Linux kernel version.
2975         * manual/install.texi (Linux): Update reference to required Linux
2976         kernel headers version.
2977         * INSTALL: Regenerated.
2979         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2980         header inclusion.
2981         [POSIX] (limits.h): Likewise.
2982         [POSIX] (math.h): Likewise.
2983         [POSIX] (sys/wait.h): Likewise.
2984         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2985         function.
2986         [POSIX] (stddef.h): Do not allow header inclusion.
2988 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2990         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2992 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
2994         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2995         Return immediately after lll_futex_wake.
2997 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2999         [BZ #16791]
3000         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3001         structure.
3002         (datahead_init_pos): Call datahead_init_common early.
3003         (datahead_init_neg): Likewise.
3005         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3006         datahead_init_neg): New functions.
3007         * nscd/aicache.c (addhstaiX): Use them.
3008         * nscd/grpcache.c (cache_addgr): Likewise.
3009         * nscd/hstcache.c (cache_addhst): Likewise.
3010         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3011         * nscd/netgroupcache.c (do_notfound): Likewise.
3012         (addgetnetgrentX): Likewise.
3013         (addinnetgrX): Likewise.
3014         * nscd/pwdcache.c (cache_addpw): Likewise.
3015         * nscd/servicescache.c (cache_addserv): Likewise.
3017 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3018             Atsushi Onoe  <atsushi@onoe.org>
3020         [BZ #14308]
3021         [BZ #12994]
3022         [BZ #13651]
3023         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3024         one response is valid.
3025         * resolv/res_send.c (send_dg): Check for validity of other
3026         response if the current response is a referral.
3028 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3030         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3032 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3034         [BZ #16823]
3035         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3036         Always divide by positive zero when computing -Inf result.
3037         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3038         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3040 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3042         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3043         FPSCR if value do not change.
3044         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3045         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3046         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3047         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3048         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3049         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3050         function.
3052 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3054         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3055         * sysdeps/unix/sysv/linux/hppa: Move directory from
3056         ports/systeps/unix/sysv/linux/hppa.
3057         * README: Update listing for hppa-*-linux-gnu.
3059 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3061         [BZ #16754]
3062         * manual/stdio.texi (Hook functions): Fix types of stream hook
3063         functions.
3064         [BZ #16854]
3065         * socket/sys/socket.h: Fix typo in comment.
3067 2014-04-28  Wilco  <wdijkstr@arm.com>
3069         * sysdeps/arm/fenv_private.h: New file.
3070         * sysdeps/arm/math_private.h: New file.
3071         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3073 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3075         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3076         with __int128_t.
3077         (La_x86_64_retval): Likewise.
3079 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3081         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3082         fpsr if value didn't change.
3083         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3084         to fpcr if value didn't change.
3085         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3086         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3087         fpsr or fpcr if value didn't change.
3088         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3089         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3090         fpcr if value didn't change.
3091         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3092         to fpsr if value didn't change.
3094 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3096         * nptl/tst-sem3.c: Use test-skeleton.c
3097         (main): Rename to do_test.  Use return instead of
3098         exit.
3099         * nptl/tst-sem4.c: Use test-skeleton.c
3100         (main): Rename to do_test.
3102 2014-04-22  David S. Miller  <davem@davemloft.net>
3104         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3105         (struct sigaction): New struct member __glibc_reserved0, change
3106         type of sa_flags to int.
3108 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3110         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3111         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3113 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3115         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3116         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3118 2014-04-22  Will Newton  <will.newton@linaro.org>
3119             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3121         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3122         (__longjmp): Add longjmp and longjmp_target SystemTap
3123         probes.
3124         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3125         (__sigsetjmp): Add setjmp SystemTap probe.
3127 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3129         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3130         match manual order.
3132 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3134         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3136         * sysdeps/powerpc/fpu/fenv_private.h
3137         (libc_feholdexcept_setroundl_ctx): Define to
3138         libc_feholdexcept_setround_ppc_ctx.
3139         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3140         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3141         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3142         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3144 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3146         * sysdeps/aarch64/math-tests.h: New file.
3148 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3150         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3151         New.
3152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3153         Check and set bit_AVX2_Usable.
3154         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3155         macro.
3156         (bit_AVX2): Likewise.
3157         (index_AVX2_Usable): Likewise.
3158         (CPUID_AVX2): Likewise.
3159         (HAS_AVX2): Likewise.
3161 2014-04-17  Will Newton  <will.newton@linaro.org>
3163         * manual/setjmp.texi (System V contexts): Add note that
3164         calling setcontext on a context created by a call to a
3165         signal handler is undefined.  Update text to note that
3166         setcontext from a signal handler is possible but not
3167         recommended.
3169         [BZ #16629]
3170         * stdlib/tst-setcontext.c: Include signal.h.
3171         (main): Check that the signal stack before and
3172         after swapcontext is the same.
3174         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3175         Re-implement to restore registers in user code and avoid
3176         rt_sigreturn system call.
3178 2014-04-17  Wilco  <wdijkstr@arm.com>
3180         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3181         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3182         * math/test-fenv.c: Skip exception trap tests on targets which only
3183         support non-stop mode.
3185 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3186             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3188         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3189         (libc_feholdsetround_aarch64_ctx)
3190         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3191         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3192         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3193         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3194         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3195         (libc_feresetround_noexl_ctx): Define.
3197 2014-04-16  Richard Henderson  <rth@redhat.com>
3199         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3201         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3202         unwind tables.
3204         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3205         const from the non-libc, non-ldso copy.
3207         * sysdeps/alpha/libm-test-ulps: Regenerate.
3209 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3210             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3212         * sysdeps/aarch64/fpu/math_private.h: New file.
3214 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3216         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3218 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3220         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3221         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3222         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3223         Intel MPX bound registers before _dl_profile_fixup.
3224         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3225         registers after _dl_profile_fixup.  Save and restore bound
3226         registers bnd0/bnd1 when calling _dl_call_pltexit.
3227         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3228         (LR_BND_OFFSET): Likewise.
3229         (LRV_BND0_OFFSET): Likewise.
3230         (LRV_BND1_OFFSET): Likewise.
3232 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3234         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3235         to...
3236         * sysdeps/mach/hurd/i386/tls.h: ... here.
3237         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3238         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3239         fields.
3241 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3243         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3245 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3247         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3249 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3251         [BZ #14770]
3252         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3253         * sysdeps/s390/configure: Regenerate.
3255         [BZ #16824]
3256         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3257         Set round-to-nearest internally to reduce error accumulation.
3259 2014-04-16  Alan Modra  <amodra@gmail.com>
3261         [BZ #16740]
3262         [BZ #16619]
3263         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3264         * math/libm-test.inc (frexp_test_data): Add tests.
3265         * NEWS: Update fixed bug list.
3267 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3269         * benchtests/Makefile: Depend on libraries in build directory.
3270         (bench-math): Separate out math tests.
3271         (bench-pthread): Separate out pthread tests.
3272         (bench): Include math and pthread tests.
3274 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3276         [BZ #16831]
3277         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3278         _dl_debug_initialize.
3280         * configure.ac: Remove SELinux header check.
3281         * configure: Regenerate.
3282         * nscd/selinux.c (perms): Array of const char* to permission names.
3283         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3284         default policy. Call string_to_security_class and string_to_av_perm to
3285         translate strings. Enforce default policy and call avs_has_perm with
3286         results of translated strings.
3288 2014-04-13  David S. Miller  <davem@davemloft.net>
3290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3292 2014-04-12  Allan McRae  <allan@archlinux.org>
3294         [BZ #16838]
3295         * manual/string.texi (Collation Functions): Fix qsort argument
3296         order in example.
3297         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3299 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3301         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3302         Make the test a no-op if there are no exceptions defined.
3304 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3306         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3307         enable-hardcoded-path-in-tests
3309 2014-04-11  Will Newton  <will.newton@linaro.org>
3311         * benchtests/Makefile (extra-objs): Add json-lib.o.
3312         (bench-func): Tidy up JSON output.
3313         * benchtests/bench-skeleton.c: Include json-lib.h.
3314         (main): Use JSON library functions to do output of
3315         benchmark results.
3316         * benchtests/bench-timing-type.c (main): Output the
3317         timing type simply, leaving formatting to the user.
3318         * benchtests/json-lib.c: New file.
3319         * benchtests/json-lib.h: Likewise.
3321 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3323         [BZ #15215]
3324         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3325         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3326         memory barriers.  Add comments.
3327         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3328         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3329         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3330         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3331         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3332         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3334 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3336         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3337         * sysdeps/s390/s390-64/configure.ac: ... this ...
3338         * sysdeps/s390/configure.ac: ... to here.
3339         * sysdeps/s390/s390-32/configure: Delete file.
3340         * sysdeps/s390/s390-64/configure: Delete file.
3341         * sysdeps/s390/configure: Regenerate.
3343 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3345         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3347 2014-04-11  Will Newton  <will.newton@linaro.org>
3349         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3350         to zero if it is not defined elsewhere.  (mtrim): Test
3351         the value of MALLOC_DEBUG with #if rather than #ifdef.
3353 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3355         * benchtests/pthread_once-inputs: New file.
3356         * benchtests/pthread_once-source.c: New file.
3357         * benchtests/README: Update documentation.
3359 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3360             H.J. Lu  <hongjiu.lu@intel.com>
3362         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3363         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3364         * sysdeps/x86_64/configure: Regenerated.
3365         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3366         macro.
3367         (REGISTER_SAVE_RAX): Likewise.
3368         (REGISTER_SAVE_RCX): Likewise.
3369         (REGISTER_SAVE_RDX): Likewise.
3370         (REGISTER_SAVE_RSI): Likewise.
3371         (REGISTER_SAVE_RDI): Likewise.
3372         (REGISTER_SAVE_R8): Likewise.
3373         (REGISTER_SAVE_R9): Likewise.
3374         (REGISTER_SAVE_BND0): Likewise.
3375         (REGISTER_SAVE_BND1): Likewise.
3376         (REGISTER_SAVE_BND2): Likewise.
3377         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3378         bound registers when calling _dl_fixup.
3380 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3382         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3383         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3384         of its definition.
3385         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3386         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3387         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3388         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3389         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3390         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3391         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3393 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3395         [BZ #15514]
3396         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3397         pathconf(_PC_NAME_MAX).
3399 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3401         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3402         Remove macro usage.
3403         (__PTHREAD_SPINS): Move definition to ...
3404         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3405         (__PTHREAD_SPINS): ... here.
3406         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3407         (__PTHREAD_SPIN): Likewise.
3408         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3409         (__PTHREAD_SPIN): Likewise.
3410         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3411         (__PTHREAD_SPIN): Likewise.
3412         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3413         (__PTHREAD_SPIN): Likewise.
3414         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3415         (__PTHREAD_SPIN): Likewise.
3416         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3417         (__PTHREAD_SPIN): Likewise.
3418         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3419         (__PTHREAD_SPIN): Likewise.
3420         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3421         (__PTHREAD_SPIN): Likewise.
3422         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3423         (__PTHREAD_SPIN): Likewise.
3424         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3425         (__PTHREAD_SPIN): Likewise.
3426         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3427         (__PTHREAD_SPIN): Likewise.
3428         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3429         (__PTHREAD_SPIN): Likewise.
3431         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3432         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3433         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3434         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3435         imply folder.
3436         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3437         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3438         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3439         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3440         correct imply path.
3441         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3442         strlen symbol for non multi-arch builds.
3443         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3444         missing hidden_def and weak_alias.
3446 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3448         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3450 2014-04-07  Will Newton  <will.newton@linaro.org>
3452         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3453         and contents.  [!_LIBC] Remove #ifndef and contents.
3454         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3455         * string/memccpy.c (__memccpy): Use ANSI prototype.
3456         * string/memfrob.c (memfrob): Likewise.
3457         * string/strcoll.c (STRCOLL): Likewise.
3458         * string/strlen.c (strlen): Likewise.
3459         * string/strtok.c (STRTOK): Likewise.
3460         * string/strcat.c: Remove unused #include of memcopy.h.
3461         (strcat): Use ANSI prototype.
3462         * string/strchr.c: Remove unused #include of memcopy.h.
3463         (strchr): Use ANSI prototype.
3464         * string/strcmp.c: Remove unused #include of memcopy.h.
3465         (strcmp): Use ANSI prototype.
3466         * string/strcpy.c: Remove unused #include of memcopy.h.
3467         (strcpy): Use ANSI prototype.
3469 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3471         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3472         * config.make.in (config-extra-cppflags): Set it from
3473         libc_extra_cppflags.
3474         * configure.ac (libc_extra_cflags): Make it accumulate over
3475         configure fragments.
3476         (libc_extra_cppflags): New flag.
3477         * configure. Regenerate.
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3479         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3480         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3483         [BZ #16815]
3484         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3485         result for FE_DOWNWARD rounding mode.
3486         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3487         Likewise.
3488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3490 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3492         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3493         in function argument name.
3495 2014-04-03  David Svoboda  <svoboda@cert.org>
3497         [BZ #5666]
3498         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3499         explicitly.
3501 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3503         * elf/dl-unmap-segments.h: New file.
3504         * sysdeps/generic/ldsodefs.h
3505         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3506         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3507         * elf/dl-fptr.c: Likewise.
3508         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3509         * sysdeps/aarch64/tlsdesc.c: Likewise.
3510         * sysdeps/arm/tlsdesc.c: Likewise.
3511         * sysdeps/i386/tlsdesc.c: Likewise.
3512         * sysdeps/tile/dl-runtime.c: Likewise.
3513         * sysdeps/x86_64/tlsdesc.c: Likewise.
3514         * elf/dl-load.h: New file.
3515         * elf/dl-load.c: Include it.
3516         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3517         Macros moved to dl-load.h.
3518         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3519         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3520         Use _dl_unmap_segments in place of __munmap.
3521         Break out segment-mapping loop into ...
3522         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3524 2014-04-03  Will Newton  <will.newton@linaro.org>
3526         * elf/dl-lookup.c (do_lookup_x): Remove comment
3527         referring to nested function and move variable
3528         declarations down to before first use.
3530 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #16799]
3533         [BZ #16800]
3534         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3535         with 0 numerator.
3536         * math/s_catanf.c (__catanf): Likewise.
3537         * math/s_catanh.c (__catanh): Likewise.
3538         * math/s_catanhf.c (__catanhf): Likewise.
3539         * math/s_catanhl.c (__catanhl): Likewise.
3540         * math/s_catanl.c (__catanl): Likewise.
3541         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3542         by positive zero when computing -Inf result.
3543         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3544         (catanh_test): Likewise.
3545         * sysdeps/i386/fpu/libm-test-ulps: Update.
3546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3548         [BZ #16789]
3549         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3550         instead of using underflowing value in computing result.
3551         * math/s_clog10.c (__clog10): Likewise.
3552         * math/s_clog10f.c (__clog10f): Likewise.
3553         * math/s_clog10l.c (__clog10l): Likewise.
3554         * math/s_clogf.c (__clogf): Likewise.
3555         * math/s_clogl.c (__clogl): Likewise.
3556         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3557         (clog10_test): Likewise.
3558         * sysdeps/i386/fpu/libm-test-ulps: Update.
3559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3561 2014-04-02  Alan Modra  <amodra@gmail.com>
3563         [BZ #16739]
3564         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3565         output when value is near a power of two.  Use int64_t for lx and
3566         remove casts.  Use decimal rather than hex exponent constants.
3567         Don't use long double multiplication when double will suffice.
3568         * math/libm-test.inc (nextafter_test_data): Add tests.
3569         * NEWS: Add 16739 and 16786 to bug list.
3571         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3573         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3575 2014-04-01  Will Newton  <will.newton@linaro.org>
3577         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3578         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3580 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3582         [BZ #13347]
3583         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3584         * nptl/tst-setuid2.c: New file.
3585         * nptl/Makefile (xtests): Add tst-setuid2.
3587 2014-04-01  Alan Modra  <amodra@gmail.com>
3589         [BZ #16786]
3590         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3592 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3594         [BZ #6803]
3595         [BZ #6804]
3596         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3597         set errno as appropriate.
3598         * math/w_scalbf.c (__scalbf): Likewise.
3599         * math/w_scalbl.c (__scalbl): Likewise.
3600         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3601         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3602         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3603         Add more NaN tests.
3605         [BZ #16349]
3606         * math/w_atan2.c: Include <errno.h>.
3607         (__atan2): Set errno for result underflowing to zero.
3608         * math/w_atan2f.c: Include <errno.h>.
3609         (__atan2f): Set errno for result underflowing to zero.
3610         * math/w_atan2l.c: Include <errno.h>.
3611         (__atan2l): Set errno for result underflowing to zero.
3612         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3613         tests.
3614         * math/auto-libm-test-out: Regenerated.
3616 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3618         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3619         Encode instruction correctly in little endian.
3620         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3621         Likewise.
3622         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3623         Likewise.
3624         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3625         Likewise.
3626         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3627         Likewise.
3629 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3631         [BZ #9894]
3632         * sysdeps/unix/sysv/linux/kernel-features.h
3633         [__sparc__ && !__arch64__ && !__sparc_v9__]
3634         (__ASSUME_SET_ROBUST_LIST): Do not define.
3635         [__sparc__ && !__arch64__ && !__sparc_v9__]
3636         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3637         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3638         Likewise.
3639         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3640         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3641         (__ASSUME_REQUEUE_PI): Likewise.
3642         (__ASSUME_SET_ROBUST_LIST): Likewise.
3643         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3644         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3645         Undefine.
3646         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3647         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3648         Likewise.
3649         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3650         Likewise.
3651         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3652         Likewise.
3653         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3654         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3655         Undefine.
3656         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3657         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3658         Likewise.
3660         [BZ #16648]
3661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3663         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3665 2014-03-31  Will Newton  <will.newton@linaro.org>
3667         * benchtests/Makefile (bench): Add ffs and ffsll to list
3668         of tests.
3669         * benchtests/ffs-inputs: New file.
3670         * benchtests/ffsll-inputs: Likewise.
3672 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3674         [BZ #16770]
3675         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3676         too large before casting to int.
3677         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3678         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3679         * math/libm-test.inc (scalb_test_data): Add more tests.
3681 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3683         * benchtests/Makefile (DETAILED_OPT): New make option.
3684         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3685         set.
3686         * benchtests/bench-skeleton.c: Include stdbool.h.
3687         (main): Store and print timings per input.
3688         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3689         member to each argument value.
3690         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3691         (_print_arg_data): Initialize per-input timing to 0.
3693         * benchtests/Makefile (timing-type): New binary.
3694         (bench-clean): Also remove bench-timing-type.
3695         (bench): New target for timing-type.
3696         (bench-func): Print output in JSON format.
3697         * benchtests/bench-skeleton.c (main): Print output in JSON
3698         format.
3699         * benchtests/bench-timing-type.c: New file.
3700         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3701         (TIMING_PRINT_STATS): Remove.
3702         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3703         name separately.
3705         * benchtests/bench-modf.c: Remove.
3706         * benchtests/modf-inputs: New inputs file.
3708 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3710         [BZ #16362]
3711         * math/s_clog10.c (M_PI_LOG10E): New macro.
3712         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3713         imaginary parts are 0.
3714         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3715         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3716         imaginary parts are 0.
3717         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3718         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3719         imaginary parts are 0.
3720         * math/libm-test.inc (clog10_test_data): Update expected results
3721         for when real and imaginary parts are 0.
3723 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3725         * elf/dl-load.c: Finish conversion of __builtin_expect into
3726         __glibc_{un}likely.
3728 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3730         [BZ #16348]
3731         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3732         1+x for argument with exponent below -67.
3733         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3734         Likewise.
3735         * math/auto-libm-test-in: Add more tests of exp.
3736         * math/auto-libm-test-out: Regenerated.
3738 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3740         [BZ #16759]
3741         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3742         (nscd_getnetgrent): Use it.
3744         [BZ #16760]
3745         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3746         of stpcpy.
3748 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3750         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3751         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3752         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3753         (lll_robust_unlock): Remove out of line section. Use cfi
3754         intrinsics.
3755         (LLL_STUB_UNWIND_INFO*): Remove.
3756         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3757         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3758         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3759         (lll_robust_unlock): Remove out of line section. Use cfi
3760         intrinsics.
3761         (LLL_STUB_UNWIND_INFO*): Remove.
3763 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3765         [BZ #16758]
3766         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3767         blank values.
3769 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3771         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3773 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3775         [BZ #16198]
3776         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3777         fnstenv.
3778         * math/test-fenv-preserve.c: New file.
3779         * math/Makefile (tests): Add test-fenv-preserve.
3781 2014-03-26  Will Newton <will.newton@linaro.org>
3783         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3785 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3787         * scripts/versionlist.awk: Partition the version sets and emit all
3788         GLIBC_* (sorted) before all others (sorted).
3790 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3792         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3793         GLIBC_2.2.5 version.
3795 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3797         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3798         calls.
3800         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3801         previous change.
3803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3805 2014-03-25  Andreas Schwab  <schwab@suse.de>
3807         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3808         label to be used after in6ailist is initialized.
3810 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3812         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3813         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3815 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3817         [BZ #16357]
3818         [BZ #16599]
3819         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3820         min_plus_half.
3821         (fp_formats): Update initializers.
3822         (init_fp_formats): Initialize new field.
3823         (output_for_one_input_case): Allow underflow for results up to
3824         min_plus_half.
3825         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3826         * math/auto-libm-test-in: Don't mark some underflows from asin and
3827         atanh as spurious.
3828         * math/auto-libm-test-out: Regenerated.
3829         * sysdeps/i386/fpu/libm-test-ulps: Update.
3830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3832 2014-03-25  Andreas Schwab  <schwab@suse.de>
3834         * libio/Makefile (tst-ftell-partial-wide-ENV)
3835         (tst-ftell-active-handler-ENV): Define.
3837 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3839         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3841 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3843         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3845 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3847         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3848         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3849         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3851 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3853         [BZ #16634]
3854         * elf/dl-load.c (open_verify): Add mode parameter.
3855         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3856         (open_path): Change from boolean 'secure' to complete flag 'mode'
3857         (_dl_map_object): Adjust.
3858         * elf/Makefile (tests): Add tst-dlopen-aout.
3859         * elf/tst-dlopen-aout.c: New test.
3861 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3863         [BZ #16714]
3864         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3865         (struct stat): Rename member pad0 to __glibc_reserved0.
3867         [BZ #16712]
3868         * sysdeps/s390/s390-32/bits/wordsize.h
3869         (__WORDSIZE32_SIZE_ULONG): New define.
3870         * sysdeps/s390/s390-64/bits/wordsize.h
3871         (__WORDSIZE32_SIZE_ULONG): Likewise.
3872         * sysdeps/generic/stdint.h (SIZE_MAX):
3873         Define as UL if __WORDSIZE32_SIZE_ULONG.
3875         [BZ #16713]
3876         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3877         (__glibc_reserved0): New variable.
3878         (sa_flags): Change type to int.
3880         * posix/Makefile (before-compile): Use += before-compile instead
3881         of a :=.
3883         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3884         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3886 2014-03-20  Andreas Schwab  <schwab@suse.de>
3888         [BZ #16743]
3889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3890         non-matching result from nscd.
3892 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3894         * scripts/bench.py: Moved to ...
3895         * benchtests/scripts/bench.py: ... here.
3896         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3898 2014-03-24  Andreas Schwab  <schwab@suse.de>
3900         [BZ #16002]
3901         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3902         alloca_account and account alloca use for struct in6ailist.
3904 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3906         [BZ #16284]
3907         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3908         rounding mode to recompute results that overflow to infinity or
3909         underflow to zero.
3910         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3911         bug 16284.
3912         * math/auto-libm-test-out: Regenerated.
3913         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3914         (ccosh_test): Likewise.
3915         (csin_test_data): Use plus_oflow.
3916         (csin_test): Use ALL_RM_TEST.
3917         (csinh_test_data): Use plus_oflow.
3918         (csinh_test): Use ALL_RM_TEST.
3919         * sysdeps/i386/fpu/libm-test-ulps: Update.
3920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3922 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3924         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3925         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3926         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3928         [BZ #16731]
3929         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3930         when x - 1 is zero.
3931         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3932         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3933         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3934         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3935         argument is 1.
3936         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3937         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3938         zero.
3939         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3940         * sysdeps/i386/fpu/libm-test-ulps: Update.
3941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3943 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3945         * scripts/bench.pl: Remove file.
3946         * scripts/bench.py: New benchmark script.
3947         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3948         * benchtests/README: Mention python dependency.
3949         * scripts/pylintrc: New file.
3950         * scripts/pylint: New file.
3952         * bits/mathdef.h: Use #ifdef instead of #if.
3953         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3954         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3955         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3956         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3957         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3958         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3960 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3961             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3963         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3965         and strpbrk-ppc64 objects.
3966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3967         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3968         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3969         multiarch strpbrk for POWER7.
3970         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3971         multiarch strpbrk for PPC64.
3972         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3973         ifunc selector.
3974         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3975         strpbrk for POWER7.
3977 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3979         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3980         (atan_test): Likewise.
3981         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3982         (atanh_test): Use ALL_RM_TEST.
3983         (atan2_test_data): Likewise.
3984         (cabs_test): Likewise.
3985         (cacosh_test): Likewise.
3986         (carg_test): Likewise.
3987         (casin_test): Likewise.
3988         (casinh_test): Likewise.
3989         (cbrt_test): Likewise.
3990         (csqrt_test): Likewise.
3991         (erf_test): Likewise.
3992         (erfc_test): Likewise.
3993         (pow10_test): Likewise.
3994         (exp2_test): Likewise.
3995         (hypot_test): Likewise.
3996         (j0_test): Likewise.
3997         (j1_test): Likewise.
3998         (lgamma_test): Likewise.
3999         (gamma_test): Likewise.
4000         (sincos_test): Likewise.
4001         (tanh_test): Likewise.
4002         (y0_test): Likewise.
4003         (y1_test): Likewise.
4004         * sysdeps/i386/fpu/libm-test-ulps: Update.
4005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4007 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4009         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4011         and strcspn-ppc64 objects.
4012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4013         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4014         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4015         multiarch strcspn for POWER7.
4016         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4017         multiarch strcspn for PPC64.
4018         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4019         ifunc selector.
4020         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4021         strcspn for POWER7.
4023 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4025         * math/gen-libm-test.pl (generate_testfile): Expect only function
4026         name as argument to AUTO_TESTS_* and pass results for all rounding
4027         modes to parse_args.
4028         (parse_auto_input): Separate inputs of automatic tests from
4029         outputs before storing in %auto_tests.
4030         * math/libm-test.inc (acos_test_data): Update call to
4031         AUTO_TESTS_f_f.
4032         (acos_test): Use ALL_RM_TEST.
4033         (acos_tonearest_test_data): Remove.
4034         (acos_test_tonearest): Likewise.
4035         (acos_towardzero_test_data): Likewise.
4036         (acos_test_towardzero): Likewise.
4037         (acos_downward_test_data): Likewise.
4038         (acos_test_downward): Likewise.
4039         (acos_upward_test_data): Likewise.
4040         (acos_test_upward): Likewise.
4041         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4042         (asin_test_data): Likewise.
4043         (asin_test): Use ALL_RM_TEST.
4044         (asin_tonearest_test_data): Remove.
4045         (asin_test_tonearest): Likewise.
4046         (asin_towardzero_test_data): Likewise.
4047         (asin_test_towardzero): Likewise.
4048         (asin_downward_test_data): Likewise.
4049         (asin_test_downward): Likewise.
4050         (asin_upward_test_data): Likewise.
4051         (asin_test_upward): Likewise.
4052         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4053         (atan_test_data): Likewise.
4054         (atanh_test_data): Likewise.
4055         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4056         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4057         (carg_test_data): Likewise.
4058         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4059         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4060         (ccosh_test_data): Likewise.
4061         (cexp_test_data): Likewise.
4062         (clog_test_data): Likewise.
4063         (clog10_test_data): Likewise.
4064         (cos_test_data): Update call to AUTO_TESTS_f_f.
4065         (cos_test): Use ALL_RM_TEST.
4066         (cos_tonearest_test_data): Remove.
4067         (cos_test_tonearest): Likewise.
4068         (cos_towardzero_test_data): Likewise.
4069         (cos_test_towardzero): Likewise.
4070         (cos_downward_test_data): Likewise.
4071         (cos_test_downward): Likewise.
4072         (cos_upward_test_data): Likewise.
4073         (cos_test_upward): Likewise.
4074         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4075         (cosh_test): Use ALL_RM_TEST.
4076         (cosh_tonearest_test_data): Remove.
4077         (cosh_test_tonearest): Likewise.
4078         (cosh_towardzero_test_data): Likewise.
4079         (cosh_test_towardzero): Likewise.
4080         (cosh_downward_test_data): Likewise.
4081         (cosh_test_downward): Likewise.
4082         (cosh_upward_test_data): Likewise.
4083         (cosh_test_upward): Likewise.
4084         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4085         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4086         (ctan_test_data): Likewise.
4087         (ctan_test): Use ALL_RM_TEST.
4088         (ctan_tonearest_test_data): Remove.
4089         (ctan_test_tonearest): Likewise.
4090         (ctan_towardzero_test_data): Likewise.
4091         (ctan_test_towardzero): Likewise.
4092         (ctan_downward_test_data): Likewise.
4093         (ctan_test_downward): Likewise.
4094         (ctan_upward_test_data): Likewise.
4095         (ctan_test_upward): Likewise.
4096         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4097         (ctanh_test): Use ALL_RM_TEST.
4098         (ctanh_tonearest_test_data): Remove.
4099         (ctanh_test_tonearest): Likewise.
4100         (ctanh_towardzero_test_data): Likewise.
4101         (ctanh_test_towardzero): Likewise.
4102         (ctanh_downward_test_data): Likewise.
4103         (ctanh_test_downward): Likewise.
4104         (ctanh_upward_test_data): Likewise.
4105         (ctanh_test_upward): Likewise.
4106         (erf_test_data): Update call to AUTO_TESTS_f_f.
4107         (erfc_test_data): Likewise.
4108         (exp_test_data): Likewise.
4109         (exp_test): Use ALL_RM_TEST.
4110         (exp_tonearest_test_data): Remove.
4111         (exp_test_tonearest): Likewise.
4112         (exp_towardzero_test_data): Likewise.
4113         (exp_test_towardzero): Likewise.
4114         (exp_downward_test_data): Likewise.
4115         (exp_test_downward): Likewise.
4116         (exp_upward_test_data): Likewise.
4117         (exp_test_upward): Likewise.
4118         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4119         (exp10_test): Use ALL_RM_TEST.
4120         (exp10_tonearest_test_data): Remove.
4121         (exp10_test_tonearest): Likewise.
4122         (exp10_towardzero_test_data): Likewise.
4123         (exp10_test_towardzero): Likewise.
4124         (exp10_downward_test_data): Likewise.
4125         (exp10_test_downward): Likewise.
4126         (exp10_upward_test_data): Likewise.
4127         (exp10_test_upward): Likewise.
4128         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4129         (expm1_test_data): Likewise.
4130         (expm1_test): Use ALL_RM_TEST.
4131         (expm1_tonearest_test_data): Remove.
4132         (expm1_test_tonearest): Likewise.
4133         (expm1_towardzero_test_data): Likewise.
4134         (expm1_test_towardzero): Likewise.
4135         (expm1_downward_test_data): Likewise.
4136         (expm1_test_downward): Likewise.
4137         (expm1_upward_test_data): Likewise.
4138         (expm1_test_upward): Likewise.
4139         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4140         (fma_test): Use ALL_RM_TEST.
4141         (fma_towardzero_test_data): Remove.
4142         (fma_test_towardzero): Likewise.
4143         (fma_downward_test_data): Likewise.
4144         (fma_test_downward): Likewise.
4145         (fma_upward_test_data): Likewise.
4146         (fma_test_upward): Likewise.
4147         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4148         (j0_test_data): Update call to AUTO_TESTS_f_f.
4149         (j1_test_data): Likewise.
4150         (jn_test_data): Update call to AUTO_TESTS_if_f.
4151         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4152         (log_test_data): Update call to AUTO_TESTS_f_f.
4153         (log10_test_data): Likewise.
4154         (log1p_test_data): Likewise.
4155         (log2_test_data): Likewise.
4156         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4157         (pow_tonearest_test_data): Likewise.
4158         (sin_test_data): Update call to AUTO_TESTS_f_f.
4159         (sin_test): Use ALL_RM_TEST.
4160         (sin_tonearest_test_data): Remove.
4161         (sin_test_tonearest): Likewise.
4162         (sin_towardzero_test_data): Likewise.
4163         (sin_test_towardzero): Likewise.
4164         (sin_downward_test_data): Likewise.
4165         (sin_test_downward): Likewise.
4166         (sin_upward_test_data): Likewise.
4167         (sin_test_upward): Likewise.
4168         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4169         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4170         (sinh_test): Use ALL_RM_TEST.
4171         (sinh_tonearest_test_data): Remove.
4172         (sinh_test_tonearest): Likewise.
4173         (sinh_towardzero_test_data): Likewise.
4174         (sinh_test_towardzero): Likewise.
4175         (sinh_downward_test_data): Likewise.
4176         (sinh_test_downward): Likewise.
4177         (sinh_upward_test_data): Likewise.
4178         (sinh_test_upward): Likewise.
4179         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4180         (sqrt_test): Use ALL_RM_TEST.
4181         (sqrt_tonearest_test_data): Remove.
4182         (sqrt_test_tonearest): Likewise.
4183         (sqrt_towardzero_test_data): Likewise.
4184         (sqrt_test_towardzero): Likewise.
4185         (sqrt_downward_test_data): Likewise.
4186         (sqrt_test_downward): Likewise.
4187         (sqrt_upward_test_data): Likewise.
4188         (sqrt_test_upward): Likewise.
4189         (tan_test_data): Update call to AUTO_TESTS_f_f.
4190         (tan_test): Use ALL_RM_TEST.
4191         (tan_tonearest_test_data): Remove.
4192         (tan_test_tonearest): Likewise.
4193         (tan_towardzero_test_data): Likewise.
4194         (tan_test_towardzero): Likewise.
4195         (tan_downward_test_data): Likewise.
4196         (tan_test_downward): Likewise.
4197         (tan_upward_test_data): Likewise.
4198         (tan_test_upward): Likewise.
4199         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4200         (tgamma_test_data): Likewise.
4201         (y0_test_data): Likewise.
4202         (y1_test_data): Likewise.
4203         (yn_test_data): Update call to AUTO_TESTS_if_f.
4204         (main): Do not call removed functions.
4206 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4208         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4209         (ldexp_test_data): Remove.
4210         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4211         scalbn_test_data.
4212         (scalb_test): Use ALL_RM_TEST.
4214 2014-03-19  Andreas Schwab  <schwab@suse.de>
4216         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4218 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4220         [BZ #16649]
4221         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4222         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4223         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4224         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4225         (__ASSUME_PREADV): Undefine.
4226         (__ASSUME_PWRITEV): Likewise.
4228 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4230         * bits/mman-linux.h: Add comment about non-Linux use.
4231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4232         bits/mman-linux.h resting place.
4234         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4235         * bits/mman-linux.h: ... here.
4237 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4239         * conform/conformtest.pl: Add standard definition when calling C
4240         preprocessor on data files.
4241         (checknamespace): Remove unused variable.
4243 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4245         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4246         minus_oflow, plus_uflow and minus_uflow in expected results.
4247         * math/libm-test.inc (scalbn_test_data): Add more tests of
4248         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4249         minus_uflow.
4250         (scalbn_test): Use ALL_RM_TEST.
4251         (scalbln_test_data): Add more tests of negative arguments.  Use
4252         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4253         (scalbln_test): Use ALL_RM_TEST.
4255 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4257         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4259 2014-03-18  Will Newton  <will.newton@linaro.org>
4261         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4262         inaccurate comment.
4264 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4266         * Makerules [!subdir] (check-abi): Exit with error status if a
4267         test failed.
4269 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4271         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4272         for rint.  Include results for all rounding modes.
4273         (nearbyint_test): Use ALL_RM_TEST.
4274         (rint_test_data): Include all tests used for nearbyint.
4276 2014-03-17  Will Newton  <will.newton@linaro.org>
4278         * nptl/sysdeps/pthread/pthread.h: Revert previous
4279         change.
4281         * sysdeps/generic/ldsodefs.h: Revert previous
4282         change.
4284         * libio/genops.c: Revert previous change.
4285         * libio/libioP.h: Likewise.
4286         * stdio-common/vfprintf.c: Likewise.
4288         * sysdeps/generic/math_private.h: Revert previous
4289         change.
4291         * sysdeps/generic/math_private.h: Check whether
4292         HAVE_RM_CTX is defined with #ifdef rather
4293         than #if.
4295         * argp/argp-fmtstream.h: Check whether
4296         __STRICT_ANSI__ is defined with #ifdef rather
4297         than #if.
4298         * argp/argp.h: Likewise.
4300         * libio/genops.c: Check whether
4301         _IO_JUMPS_OFFSET is defined with #ifdef rather
4302         than #if.
4303         * libio/libioP.h: Likewise.
4304         * stdio-common/vfprintf.c: Likewise.
4306         * sysdeps/generic/ldsodefs.h: Check whether
4307         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4308         than #if.
4310         * nptl/sysdeps/pthread/pthread.h: Check
4311         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4312         its value.
4314 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4316         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4317         setting O_APPEND.
4318         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4319         test case.
4321         [BZ #16680]
4322         * libio/fileops.c (_IO_file_open): Seek to end of file but
4323         don't cache the offset.
4324         (get_file_offset): Remove function.
4325         (do_ftell): Use cached offset when available.
4326         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4327         don't cache the offset.
4328         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4329         case.
4330         (do_one_test): Call it.
4331         (do_ftell_test): Fix up expected old offset for a+ mode.
4332         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4333         available.
4335         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4336         up test status with function return status.
4337         (do_write_test): Likewise.
4338         (do_append_test): Likewise.
4340         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4341         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4342         Remove.
4344 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4346         * math/gen-libm-test.pl (parse_args): Handle results specified for
4347         each rounding mode separately.
4348         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4349         tests and results from lrint_tonearest_test_data,
4350         lrint_towardzero_test_data, lrint_downward_test_data and
4351         lrint_upward_test_data.
4352         (lrint_test): Use ALL_RM_TEST.
4353         (lrint_tonearest_test_data): Remove.
4354         (lrint_test_tonearest): Likewise.
4355         (lrint_towardzero_test_data): Likewise.
4356         (lrint_test_towardzero): Likewise.
4357         (lrint_downward_test_data): Likewise.
4358         (lrint_test_downward): Likewise.
4359         (lrint_upward_test_data): Likewise.
4360         (lrint_test_upward): Likewise.
4361         (llrint_test_data): Merge in per-rounding-mode tests and results
4362         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4363         llrint_downward_test_data and llrint_upward_test_data.
4364         (llrint_test): Use ALL_RM_TEST.
4365         (llrint_tonearest_test_data): Remove.
4366         (llrint_test_tonearest): Likewise.
4367         (llrint_towardzero_test_data): Likewise.
4368         (llrint_test_towardzero): Likewise.
4369         (llrint_downward_test_data): Likewise.
4370         (llrint_test_downward): Likewise.
4371         (llrint_upward_test_data): Likewise.
4372         (llrint_test_upward): Likewise.
4373         (rint_test_data): Merge in per-rounding-mode tests and results
4374         from rint_tonearest_test_data, rint_towardzero_test_data,
4375         rint_downward_test_data and rint_upward_test_data.  Add
4376         per-rounding-mode results for tests not in those arrays.
4377         (rint_test): Use ALL_RM_TEST.
4378         (rint_tonearest_test_data): Remove.
4379         (rint_test_tonearest): Likewise.
4380         (rint_towardzero_test_data): Likewise.
4381         (rint_test_towardzero): Likewise.
4382         (rint_downward_test_data): Likewise.
4383         (rint_test_downward): Likewise.
4384         (rint_upward_test_data): Likewise.
4385         (rint_test_upward): Likewise.
4386         (main): Don't call removed functions.
4388 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4390         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4391         "Compiled on ..." crapola.  It is anti-useful.
4393 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4395         * scripts/evaluate-test.sh: Handle fourth argument to determine
4396         whether test run should stop on failure.
4397         * Makeconfig (stop-on-test-failure): New variable.
4398         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4399         $(stop-on-test-failure).
4400         * Makefile (tests): Give a summary of results from testing and
4401         exit with failure status if they include an ERROR or FAIL.
4402         (xtests): Likewise.
4403         * manual/install.texi (Configuring and compiling): Mention
4404         stop-on-test-failure=y.
4405         * INSTALL: Regenerated.
4407 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4409         * scripts/versionlist.awk: New file.
4410         * Makerules [$(build-shared) = yes]
4411         (postclean-generated): Add Versions.def, not Versions.def.v and
4412         Versions.def.v.i.
4413         ($(common-objpfx)Versions.def.v.i): Target removed.
4414         ($(common-objpfx)Versions.def): New target.
4415         ($(common-objpfx)Versions.all): Depend on that rather that
4416         $(common-objpfx)Versions.def.v.
4417         * Versions.def: File removed.
4419         * Makeconfig (+gccwarn): Add -Wundef.
4420         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4421         a dl-sysdep.h breaking its contract.
4422         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4423         * include/stackinfo.h: New file.
4424         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4425         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4426         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4427         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4428         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4429         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4430         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4431         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4432         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4433         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4434         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4435         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4436         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4437         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4438         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4440 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4442         [BZ #16707]
4443         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4444         implementation.
4445         * math/libm-test.inc (round_test_data): Add more tests.
4447         [BZ #16706]
4448         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4449         implementation.
4450         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4452         [BZ #16701]
4453         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4454         implementation.
4455         * math/libm-test.inc (ceil_test_data): Add more tests.
4457         * math/libm-test.inc (trunc_test_data): Add more tests related to
4458         BZ#16414.
4460 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4462         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4463         with #if rather than #ifdef.
4464         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4466 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4468         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4469         first.  Disable AVX-512 GCC support if assembler doesn't support
4470         it.
4471         * sysdeps/x86_64/configure: Regenerated.
4473 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4475         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4476         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4477         (__old_pthread_attr_setstack): Likewise.
4478         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4479         [!_STACK_GROWS_DOWN]: Likewise.
4481 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4483         * config.make.in (have-bash2): Delete.
4484         * configure.ac (libc_cv_have_bash2): Delete.
4485         * configure: Regenerate.
4486         * elf/Makefile (common-ldd-rewrite): Rename to ...
4487         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4488         (sh-ldd-rewrite): Delete.
4489         (bash-ldd-rewrite): Delete.
4490         (have-bash2): Delete checks.
4491         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4492         ldd-rewrite.
4494         * config.make.in (have-ksh): Delete.
4495         (KSH): Delete.
4496         * configure.ac (libc_cv_have_ksh): Delete.
4497         * configure: Regenerate.
4499         * elf/Makefile: Delete $(have-ksh) check.
4500         ($(objpfx)sotruss): Change KSH to BASH.
4501         * elf/sotruss.ksh: Rename to ...
4502         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4503         function style to match POSIX.  Drop ksh vim mode setting.
4505         * manual/time.texi (Specifying the Time Zone with TZ): Change
4506         Tuesday to Thursday.
4508         * debug/tst-longjmp_chk2.c: Update header comment.
4509         (stackoverflow_handler): Add comment.  Call assert on pass value.
4511 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4513         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4514         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4515         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4516         (La_x86_64_vector): Add zmm.
4517         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4518         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4519         ($(objpfx)tst-audit10): New target.
4520         ($(objpfx)tst-audit10.out): Likewise.
4521         (tst-audit10-ENV): New.
4522         (AVX512-CFLAGS): Likewise.
4523         (CFLAGS-tst-audit10.c): Likewise.
4524         (CFLAGS-tst-auditmod10a.c): Likewise.
4525         (CFLAGS-tst-auditmod10b.c): Likewise.
4526         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4527         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4528         * sysdeps/x86_64/configure: Regenerated.
4529         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4530         AVX-512 zmm register support.
4531         (_dl_x86_64_save_sse): Likewise.
4532         (_dl_x86_64_restore_sse): Likewise.
4533         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4534         size vector registers.
4535         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4536         (ZMM_SIZE): Likewise.
4537         * sysdeps/x86_64/tst-audit10.c: New file.
4538         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4539         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4541 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4543         * configure.ac (HAVE_EHDR_START): New check.
4544         * configure: Regenerated.
4545         * config.h.in (HAVE_EHDR_START): New #undef.
4546         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4547         assuming the lowest-addressed segment maps the start of the file.
4549 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4551         * INSTALL: Regenerated.
4553 2014-03-13  Will Newton  <will.newton@linaro.org>
4555         * manual/setjmp.texi (System V contexts): Improve
4556         clarity and grammar of documentation.
4558 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4560         [BZ #16381]
4561         * elf/Makefile (tests): Add tst-pie2.
4562         (tests-pie): Add tst-pie2.
4563         * elf/tst-pie2.c: New file.
4564         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4565         for ET_EXEC.
4566         * elf/rtld.c (map_doit): Load executable as lt_executable.
4567         (dl_main): Likewise.
4569 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4571         [BZ #16642]
4572         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4573         (__ASSUME_PSELECT): Undefine.
4575 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4577         [BZ #16689]
4578         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4579         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4580         static build.
4581         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4582         selector for static builds.
4584 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4586         [BZ #16695]
4587         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4588         key in the buffer.
4590 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4592         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4593         IFUNC selector for static builds.
4595 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4597         * sysdeps/mips/math_private.h [__mips_hard_float]
4598         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4599         libc_feresetround_mips_ctx.
4600         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4601         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4602         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4604         [BZ #16677]
4605         * math/s_nextafter.c (__nextafter): Do not return value from
4606         overflowing computation.
4607         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4608         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4609         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4610         Likewise.
4611         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4612         Likewise.
4613         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4614         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4616 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4618         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4619         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4620         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4621         the new mov targetting sp.
4623 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4625         [BZ #16683]
4626         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4627         Define it for static builds as well.
4628         (NO_BZERO_IMPL): Likewise.
4630 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4632         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4633         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4634         multiarch strspn for PPC64.
4635         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4636         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4638         (__libc_ifunc_impl_list): Likewise.
4639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4640         multiarch optimizations
4641         * string/strspn.c (strspn): Using macro to redefine symbol name.
4643 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4644             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4646         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4647         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4648         multiarch strncat for PPC64.
4649         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4650         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4652         (__libc_ifunc_impl_list): Likewise.
4653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4654         multiarch optimizations
4656 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4658         [BZ #16639]
4659         * nscd/nscd.service: Make service type forking.
4661 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4663         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4664         sign in non default rounding modes.
4665         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4667 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4669         * math/libm-test.inc (ALL_RM_TEST): New macro.
4670         (ceil_test): Use ALL_RM_TEST.
4671         (cimag_test): Likewise.
4672         (conj_test): Likewise.
4673         (copysign_test): Likewise.
4674         (cproj_test): Likewise.
4675         (creal_test): Likewise.
4676         (fabs_test): Likewise.
4677         (floor_test): Likewise.
4678         (fmax_test): Likewise.
4679         (fmin_test): Likewise.
4680         (fmod_test): Likewise.
4681         (fpclassify_test): Likewise.
4682         (frexp_test): Likewise.
4683         (ilogb_test): Likewise.
4684         (isfinite_test): Likewise.
4685         (finite_test): Likewise.
4686         (isgreater_test): Likewise.
4687         (isgreaterequal_test): Likewise.
4688         (isinf_test): Likewise.
4689         (isless_test): Likewise.
4690         (islessequal_test): Likewise.
4691         (islessgreater_test): Likewise.
4692         (isnan_test): Likewise.
4693         (isnormal_test): Likewise.
4694         (issignaling_test): Likewise.
4695         (isunordered_test): Likewise.
4696         (logb_test): Likewise.
4697         (logb_downward_test_data): Remove.
4698         (logb_test_downward): Likewise.
4699         (lround_test): Use ALL_RM_TEST.
4700         (llround_test): Likewise.
4701         (modf_test): Likewise.
4702         (nexttoward_test): Likewise.
4703         (remainder_test): Likewise.
4704         (drem_test): Likewise.
4705         (remainder_tonearest_test_data): Likewise.
4706         (remainder_test_tonearest): Likewise.
4707         (drem_test_tonearest): Likewise.
4708         (remainder_towardzero_test_data): Likewise.
4709         (remainder_test_towardzero): Likewise.
4710         (drem_test_towardzero): Likewise.
4711         (remainder_downward_test_data): Likewise.
4712         (remainder_test_downward): Likewise.
4713         (drem_test_downward): Likewise.
4714         (remainder_upward_test_data): Likewise.
4715         (remainder_test_upward): Likewise.
4716         (drem_test_upward): Likewise.
4717         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4718         (round_test): Use ALL_RM_TEST.
4719         (signbit_test): Likewise.
4720         (trunc_test): Likewise.
4721         (significand_test): Likewise.
4722         (main): Don't call removed functions.
4724 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4726         [BZ #16674]
4727         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4728         || __USE_XOPEN2K8].
4729         (ILL_ILLOPN): Likewise.
4730         (ILL_ILLADR): Likewise.
4731         (ILL_ILLTRP): Likewise.
4732         (ILL_PRVOPC): Likewise.
4733         (ILL_PRVREG): Likewise.
4734         (ILL_COPROC): Likewise.
4735         (ILL_BADSTK): Likewise.
4736         (FPE_INTDIV): Likewise.
4737         (FPE_INTOVF): Likewise.
4738         (FPE_FLTDIV): Likewise.
4739         (FPE_FLTOVF): Likewise.
4740         (FPE_FLTUND): Likewise.
4741         (FPE_FLTRES): Likewise.
4742         (FPE_FLTINV): Likewise.
4743         (FPE_FLTSUB): Likewise.
4744         (SEGV_MAPERR): Likewise.
4745         (SEGV_ACCERR): Likewise.
4746         (BUS_ADRALN): Likewise.
4747         (BUS_ADRERR): Likewise.
4748         (BUS_OBJERR): Likewise.
4749         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4750         (TRAP_TRACE): Likewise.
4751         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4752         __USE_XOPEN2K8].
4753         (CLD_KILLED): Likewise.
4754         (CLD_DUMPED): Likewise.
4755         (CLD_TRAPPED): Likewise.
4756         (CLD_STOPPED): Likewise.
4757         (CLD_CONTINUED): Likewise.
4758         (POLL_IN): Likewise.
4759         (POLL_OUT): Likewise.
4760         (POLL_MSG): Likewise.
4761         (POLL_ERR): Likewise.
4762         (POLL_PRI): Likewise.
4763         (POLL_HUP): Likewise.
4764         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4765         Likewise.
4766         (ILL_ILLOPN): Likewise.
4767         (ILL_ILLADR): Likewise.
4768         (ILL_ILLTRP): Likewise.
4769         (ILL_PRVOPC): Likewise.
4770         (ILL_PRVREG): Likewise.
4771         (ILL_COPROC): Likewise.
4772         (ILL_BADSTK): Likewise.
4773         (FPE_INTDIV): Likewise.
4774         (FPE_INTOVF): Likewise.
4775         (FPE_FLTDIV): Likewise.
4776         (FPE_FLTOVF): Likewise.
4777         (FPE_FLTUND): Likewise.
4778         (FPE_FLTRES): Likewise.
4779         (FPE_FLTINV): Likewise.
4780         (FPE_FLTSUB): Likewise.
4781         (SEGV_MAPERR): Likewise.
4782         (SEGV_ACCERR): Likewise.
4783         (BUS_ADRALN): Likewise.
4784         (BUS_ADRERR): Likewise.
4785         (BUS_OBJERR): Likewise.
4786         (BUS_MCEERR_AR): Likewise.
4787         (BUS_MCEERR_AO): Likewise.
4788         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4789         (TRAP_TRACE): Likewise.
4790         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4791         __USE_XOPEN2K8].
4792         (CLD_KILLED): Likewise.
4793         (CLD_DUMPED): Likewise.
4794         (CLD_TRAPPED): Likewise.
4795         (CLD_STOPPED): Likewise.
4796         (CLD_CONTINUED): Likewise.
4797         (POLL_IN): Likewise.
4798         (POLL_OUT): Likewise.
4799         (POLL_MSG): Likewise.
4800         (POLL_ERR): Likewise.
4801         (POLL_PRI): Likewise.
4802         (POLL_HUP): Likewise.
4803         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4804         (ILL_ILLOPN): Likewise.
4805         (ILL_ILLADR): Likewise.
4806         (ILL_ILLTRP): Likewise.
4807         (ILL_PRVOPC): Likewise.
4808         (ILL_PRVREG): Likewise.
4809         (ILL_COPROC): Likewise.
4810         (ILL_BADSTK): Likewise.
4811         (FPE_INTDIV): Likewise.
4812         (FPE_INTOVF): Likewise.
4813         (FPE_FLTDIV): Likewise.
4814         (FPE_FLTOVF): Likewise.
4815         (FPE_FLTUND): Likewise.
4816         (FPE_FLTRES): Likewise.
4817         (FPE_FLTINV): Likewise.
4818         (FPE_FLTSUB): Likewise.
4819         (SEGV_MAPERR): Likewise.
4820         (SEGV_ACCERR): Likewise.
4821         (BUS_ADRALN): Likewise.
4822         (BUS_ADRERR): Likewise.
4823         (BUS_OBJERR): Likewise.
4824         (BUS_MCEERR_AR): Likewise.
4825         (BUS_MCEERR_AO): Likewise.
4826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4827         (TRAP_TRACE): Likewise.
4828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4829         __USE_XOPEN2K8].
4830         (CLD_KILLED): Likewise.
4831         (CLD_DUMPED): Likewise.
4832         (CLD_TRAPPED): Likewise.
4833         (CLD_STOPPED): Likewise.
4834         (CLD_CONTINUED): Likewise.
4835         (POLL_IN): Likewise.
4836         (POLL_OUT): Likewise.
4837         (POLL_MSG): Likewise.
4838         (POLL_ERR): Likewise.
4839         (POLL_PRI): Likewise.
4840         (POLL_HUP): Likewise.
4841         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4842         Likewise.
4843         (ILL_ILLOPN): Likewise.
4844         (ILL_ILLADR): Likewise.
4845         (ILL_ILLTRP): Likewise.
4846         (ILL_PRVOPC): Likewise.
4847         (ILL_PRVREG): Likewise.
4848         (ILL_COPROC): Likewise.
4849         (ILL_BADSTK): Likewise.
4850         (ILL_BADIADDR): Likewise.
4851         (ILL_BREAK): Likewise.
4852         (FPE_INTDIV): Likewise.
4853         (FPE_INTOVF): Likewise.
4854         (FPE_FLTDIV): Likewise.
4855         (FPE_FLTOVF): Likewise.
4856         (FPE_FLTUND): Likewise.
4857         (FPE_FLTRES): Likewise.
4858         (FPE_FLTINV): Likewise.
4859         (FPE_FLTSUB): Likewise.
4860         (FPE_DECOVF): Likewise.
4861         (FPE_DECDIV): Likewise.
4862         (FPE_DECERR): Likewise.
4863         (FPE_INVASC): Likewise.
4864         (FPE_INVDEC): Likewise.
4865         (SEGV_MAPERR): Likewise.
4866         (SEGV_ACCERR): Likewise.
4867         (SEGV_PSTKOVF): Likewise.
4868         (BUS_ADRALN): Likewise.
4869         (BUS_ADRERR): Likewise.
4870         (BUS_OBJERR): Likewise.
4871         (BUS_MCEERR_AR): Likewise.
4872         (BUS_MCEERR_AO): Likewise.
4873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4874         (TRAP_TRACE): Likewise.
4875         (TRAP_BRANCH): Likewise.
4876         (TRAP_HWBKPT): Likewise.
4877         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4878         __USE_XOPEN2K8].
4879         (CLD_KILLED): Likewise.
4880         (CLD_DUMPED): Likewise.
4881         (CLD_TRAPPED): Likewise.
4882         (CLD_STOPPED): Likewise.
4883         (CLD_CONTINUED): Likewise.
4884         (POLL_IN): Likewise.
4885         (POLL_OUT): Likewise.
4886         (POLL_MSG): Likewise.
4887         (POLL_ERR): Likewise.
4888         (POLL_PRI): Likewise.
4889         (POLL_HUP): Likewise.
4890         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4891         (ILL_ILLOPN): Likewise.
4892         (ILL_ILLADR): Likewise.
4893         (ILL_ILLTRP): Likewise.
4894         (ILL_PRVOPC): Likewise.
4895         (ILL_PRVREG): Likewise.
4896         (ILL_COPROC): Likewise.
4897         (ILL_BADSTK): Likewise.
4898         (FPE_INTDIV): Likewise.
4899         (FPE_INTOVF): Likewise.
4900         (FPE_FLTDIV): Likewise.
4901         (FPE_FLTOVF): Likewise.
4902         (FPE_FLTUND): Likewise.
4903         (FPE_FLTRES): Likewise.
4904         (FPE_FLTINV): Likewise.
4905         (FPE_FLTSUB): Likewise.
4906         (SEGV_MAPERR): Likewise.
4907         (SEGV_ACCERR): Likewise.
4908         (BUS_ADRALN): Likewise.
4909         (BUS_ADRERR): Likewise.
4910         (BUS_OBJERR): Likewise.
4911         (BUS_MCEERR_AR): Likewise.
4912         (BUS_MCEERR_AO): Likewise.
4913         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4914         (TRAP_TRACE): Likewise.
4915         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4916         __USE_XOPEN2K8].
4917         (CLD_KILLED): Likewise.
4918         (CLD_DUMPED): Likewise.
4919         (CLD_TRAPPED): Likewise.
4920         (CLD_STOPPED): Likewise.
4921         (CLD_CONTINUED): Likewise.
4922         (POLL_IN): Likewise.
4923         (POLL_OUT): Likewise.
4924         (POLL_MSG): Likewise.
4925         (POLL_ERR): Likewise.
4926         (POLL_PRI): Likewise.
4927         (POLL_HUP): Likewise.
4928         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4929         (ILL_ILLOPN): Likewise.
4930         (ILL_ILLADR): Likewise.
4931         (ILL_ILLTRP): Likewise.
4932         (ILL_PRVOPC): Likewise.
4933         (ILL_PRVREG): Likewise.
4934         (ILL_COPROC): Likewise.
4935         (ILL_BADSTK): Likewise.
4936         (FPE_INTDIV): Likewise.
4937         (FPE_INTOVF): Likewise.
4938         (FPE_FLTDIV): Likewise.
4939         (FPE_FLTOVF): Likewise.
4940         (FPE_FLTUND): Likewise.
4941         (FPE_FLTRES): Likewise.
4942         (FPE_FLTINV): Likewise.
4943         (FPE_FLTSUB): Likewise.
4944         (SEGV_MAPERR): Likewise.
4945         (SEGV_ACCERR): Likewise.
4946         (BUS_ADRALN): Likewise.
4947         (BUS_ADRERR): Likewise.
4948         (BUS_OBJERR): Likewise.
4949         (BUS_MCEERR_AR): Likewise.
4950         (BUS_MCEERR_AO): Likewise.
4951         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4952         (TRAP_TRACE): Likewise.
4953         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4954         __USE_XOPEN2K8].
4955         (CLD_KILLED): Likewise.
4956         (CLD_DUMPED): Likewise.
4957         (CLD_TRAPPED): Likewise.
4958         (CLD_STOPPED): Likewise.
4959         (CLD_CONTINUED): Likewise.
4960         (POLL_IN): Likewise.
4961         (POLL_OUT): Likewise.
4962         (POLL_MSG): Likewise.
4963         (POLL_ERR): Likewise.
4964         (POLL_PRI): Likewise.
4965         (POLL_HUP): Likewise.
4966         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4967         (ILL_ILLOPN): Likewise.
4968         (ILL_ILLADR): Likewise.
4969         (ILL_ILLTRP): Likewise.
4970         (ILL_PRVOPC): Likewise.
4971         (ILL_PRVREG): Likewise.
4972         (ILL_COPROC): Likewise.
4973         (ILL_BADSTK): Likewise.
4974         (FPE_INTDIV): Likewise.
4975         (FPE_INTOVF): Likewise.
4976         (FPE_FLTDIV): Likewise.
4977         (FPE_FLTOVF): Likewise.
4978         (FPE_FLTUND): Likewise.
4979         (FPE_FLTRES): Likewise.
4980         (FPE_FLTINV): Likewise.
4981         (FPE_FLTSUB): Likewise.
4982         (SEGV_MAPERR): Likewise.
4983         (SEGV_ACCERR): Likewise.
4984         (BUS_ADRALN): Likewise.
4985         (BUS_ADRERR): Likewise.
4986         (BUS_OBJERR): Likewise.
4987         (BUS_MCEERR_AR): Likewise.
4988         (BUS_MCEERR_AO): Likewise.
4989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4990         (TRAP_TRACE): Likewise.
4991         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4992         __USE_XOPEN2K8].
4993         (CLD_KILLED): Likewise.
4994         (CLD_DUMPED): Likewise.
4995         (CLD_TRAPPED): Likewise.
4996         (CLD_STOPPED): Likewise.
4997         (CLD_CONTINUED): Likewise.
4998         (POLL_IN): Likewise.
4999         (POLL_OUT): Likewise.
5000         (POLL_MSG): Likewise.
5001         (POLL_ERR): Likewise.
5002         (POLL_PRI): Likewise.
5003         (POLL_HUP): Likewise.
5004         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5005         (ILL_ILLOPN): Likewise.
5006         (ILL_ILLADR): Likewise.
5007         (ILL_ILLTRP): Likewise.
5008         (ILL_PRVOPC): Likewise.
5009         (ILL_PRVREG): Likewise.
5010         (ILL_COPROC): Likewise.
5011         (ILL_BADSTK): Likewise.
5012         (ILL_DBLFLT): Likewise.
5013         (ILL_HARDWALL): Likewise.
5014         (FPE_INTDIV): Likewise.
5015         (FPE_INTOVF): Likewise.
5016         (FPE_FLTDIV): Likewise.
5017         (FPE_FLTOVF): Likewise.
5018         (FPE_FLTUND): Likewise.
5019         (FPE_FLTRES): Likewise.
5020         (FPE_FLTINV): Likewise.
5021         (FPE_FLTSUB): Likewise.
5022         (SEGV_MAPERR): Likewise.
5023         (SEGV_ACCERR): Likewise.
5024         (BUS_ADRALN): Likewise.
5025         (BUS_ADRERR): Likewise.
5026         (BUS_OBJERR): Likewise.
5027         (BUS_MCEERR_AR): Likewise.
5028         (BUS_MCEERR_AO): Likewise.
5029         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5030         (TRAP_TRACE): Likewise.
5031         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5032         __USE_XOPEN2K8].
5033         (CLD_KILLED): Likewise.
5034         (CLD_DUMPED): Likewise.
5035         (CLD_TRAPPED): Likewise.
5036         (CLD_STOPPED): Likewise.
5037         (CLD_CONTINUED): Likewise.
5038         (POLL_IN): Likewise.
5039         (POLL_OUT): Likewise.
5040         (POLL_MSG): Likewise.
5041         (POLL_ERR): Likewise.
5042         (POLL_PRI): Likewise.
5043         (POLL_HUP): Likewise.
5044         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5045         (ILL_ILLOPN): Likewise.
5046         (ILL_ILLADR): Likewise.
5047         (ILL_ILLTRP): Likewise.
5048         (ILL_PRVOPC): Likewise.
5049         (ILL_PRVREG): Likewise.
5050         (ILL_COPROC): Likewise.
5051         (ILL_BADSTK): Likewise.
5052         (FPE_INTDIV): Likewise.
5053         (FPE_INTOVF): Likewise.
5054         (FPE_FLTDIV): Likewise.
5055         (FPE_FLTOVF): Likewise.
5056         (FPE_FLTUND): Likewise.
5057         (FPE_FLTRES): Likewise.
5058         (FPE_FLTINV): Likewise.
5059         (FPE_FLTSUB): Likewise.
5060         (SEGV_MAPERR): Likewise.
5061         (SEGV_ACCERR): Likewise.
5062         (BUS_ADRALN): Likewise.
5063         (BUS_ADRERR): Likewise.
5064         (BUS_OBJERR): Likewise.
5065         (BUS_MCEERR_AR): Likewise.
5066         (BUS_MCEERR_AO): Likewise.
5067         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5068         (TRAP_TRACE): Likewise.
5069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5070         __USE_XOPEN2K8].
5071         (CLD_KILLED): Likewise.
5072         (CLD_DUMPED): Likewise.
5073         (CLD_TRAPPED): Likewise.
5074         (CLD_STOPPED): Likewise.
5075         (CLD_CONTINUED): Likewise.
5076         (POLL_IN): Likewise.
5077         (POLL_OUT): Likewise.
5078         (POLL_MSG): Likewise.
5079         (POLL_ERR): Likewise.
5080         (POLL_PRI): Likewise.
5081         (POLL_HUP): Likewise.
5082         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5083         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5085         [BZ #16670]
5086         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5087         before #include of <time.h>.
5088         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5089         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5090         (test-xfail-UNIX98/sched.h/conform): Likewise.
5092 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5094         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5095         error absence of trapping exception support.
5096         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5098 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5100         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5101         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5102         * timezone/Makefile (testdata): Move definition above include of
5103         Rules.
5104         (test-zones): New variable.
5105         (tests-special): Add zone files.
5106         (build-testdata): Use $(evaluate-test).
5108         * elf/Makefile (tests-special): Rename tests to end with .out.
5109         ($(objpfx)noload-mem): Likewise.
5110         ($(objpfx)tst-leaks1-mem): Likewise.
5111         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5112         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5113         $(objpfx)test-iconvconfig.out.
5114         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5115         set -e inside subshell and redirect output to file.
5116         * iconvdata/Makefile (generated): Rename tests to end with .out.
5117         Correct type.
5118         (tests-special): Rename tests to end with .out.
5119         ($(objpfx)mtrace-tst-loading): Likewise.
5120         * intl/Makefile (generated): Likewise.
5121         (tests-special): Likewise.
5122         ($(objpfx)mtrace-tst-gettext): Likewise.
5123         * misc/Makefile (generated): Likewise.
5124         (tests-special): Likewise.
5125         ($(objpfx)tst-error1-mem): Likewise.
5126         * nptl/Makefile (tests-special): Likewise.
5127         ($(objpfx)tst-stack3-mem): Likewise.
5128         (generated): Likewise.
5129         * posix/Makefile (generated): Likewise.
5130         (tests-special): Likewise.
5131         (xtests-special): Likewise.
5132         ($(objpfx)tst-fnmatch-mem): Likewise.
5133         ($(objpfx)bug-regex2-mem): Likewise.
5134         ($(objpfx)bug-regex14-mem): Likewise.
5135         ($(objpfx)bug-regex21-mem): Likewise.
5136         ($(objpfx)bug-regex31-mem): Likewise.
5137         ($(objpfx)tst-vfork3-mem): Likewise.
5138         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5139         ($(objpfx)tst-pcre-mem): Likewise.
5140         ($(objpfx)tst-boost-mem): Likewise.
5141         ($(objpfx)bug-ga2-mem): Likewise.
5142         ($(objpfx)bug-glob2-mem): Likewise.
5143         * resolv/Makefile (generate): Likewise.
5144         (tests-special): Likewise.
5145         (xtests-special): Likewise.
5146         (generated): Likewise.
5147         ($(objpfx)mtrace-tst-leaks): Likewise.
5148         ($(objpfx)mtrace-tst-leaks2): Likewise.
5150         * scripts/merge-test-results.sh: New file.
5151         * Makefile (tests-special-notdir): New variable.
5152         (tests): Run merge-test-results.sh.
5153         (xtests): Likewise.
5154         * Rules (tests-special-notdir): New variable.
5155         (xtests-special-notdir): Likewise.
5156         (tests): Run merge-test-results.sh
5157         (xtests): Likewise.
5159         * Makeconfig (test-xfail-name): New variable.
5160         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5161         compute variable name for expected failures.
5162         * conform/Makefile (conformtest-headers-data): New variable.
5163         (conformtest-standards): Likewise.
5164         (conformtest-headers-ISO): Likewise.
5165         (conformtest-headers-ISO99): Likewise.
5166         (conformtest-headers-ISO11): Likewise.
5167         (conformtest-headers-POSIX): Likewise.
5168         (conformtest-headers-XPG3): Likewise.
5169         (conformtest-headers-XPG4): Likewise.
5170         (conformtest-headers-UNIX98): Likewise.
5171         (conformtest-headers-XOPEN2K): Likewise.
5172         (conformtest-headers-POSIX2008): Likewise.
5173         (conformtest-headers-XOPEN2K8): Likewise.
5174         (conformtest-header-list-base): Likewise.
5175         (conformtest-header-list-tests): Likewise.
5176         (conformtest-header-base): Likewise.
5177         (conformtest-header-tests): Likewise.
5178         (tests-special): Add $(conformtest-header-list-tests).  If
5179         [$(fast-check) && !$(cross-compiling)], add
5180         $(conformtest-header-tests) instead of
5181         $(objpfx)run-conformtest.out.
5182         (generated): Add $(conformtest-header-list-base).  If
5183         [$(fast-check) && !$(cross-compiling)], add
5184         $(conformtest-header-base).  Remove previous setting.
5185         ($(conformtest-header-list-tests)): New target.
5186         (test-xfail-run-conformtest): Remove variable.
5187         ($(objpfx)run-conformtest.out): Remove target.
5188         (test-xfail-ISO11/complex.h/conform): New variable.
5189         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5190         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5191         (test-xfail-XPG3/varargs.h/conform): Likewise.
5192         (test-xfail-XPG4/varargs.h/conform): Likewise.
5193         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5194         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5195         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5196         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5197         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5198         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5199         (test-xfail-XPG3/ftw.h/conform): Likewise.
5200         (test-xfail-XPG3/grp.h/conform): Likewise.
5201         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5202         (test-xfail-XPG3/limits.h/conform): Likewise.
5203         (test-xfail-XPG3/pwd.h/conform): Likewise.
5204         (test-xfail-XPG3/search.h/conform): Likewise.
5205         (test-xfail-XPG3/signal.h/conform): Likewise.
5206         (test-xfail-XPG3/stdio.h/conform): Likewise.
5207         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5208         (test-xfail-XPG3/string.h/conform): Likewise.
5209         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5210         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5211         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5212         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5213         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5214         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5215         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5216         (test-xfail-XPG3/termios.h/conform): Likewise.
5217         (test-xfail-XPG3/time.h/conform): Likewise.
5218         (test-xfail-XPG3/unistd.h/conform): Likewise.
5219         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5220         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5221         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5222         (test-xfail-XPG4/netdb.h/conform): Likewise.
5223         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5224         (test-xfail-XPG4/signal.h/conform): Likewise.
5225         (test-xfail-XPG4/stdio.h/conform): Likewise.
5226         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5227         (test-xfail-XPG4/stropts.h/conform): Likewise.
5228         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5229         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5230         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5231         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5232         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5233         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5234         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5235         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5236         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5237         (test-xfail-XPG4/termios.h/conform): Likewise.
5238         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5239         (test-xfail-XPG4/unistd.h/conform): Likewise.
5240         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5241         (test-xfail-POSIX/sched.h/conform): Likewise.
5242         (test-xfail-POSIX/signal.h/conform): Likewise.
5243         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5244         (test-xfail-POSIX/tar.h/conform): Likewise.
5245         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5246         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5247         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5248         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5249         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5250         (test-xfail-UNIX98/sched.h/conform): Likewise.
5251         (test-xfail-UNIX98/signal.h/conform): Likewise.
5252         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5253         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5254         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5255         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5256         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5257         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5258         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5259         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5260         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5261         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5262         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5263         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5264         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5265         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5266         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5267         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5268         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5269         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5270         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5271         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5272         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5273         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5274         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5275         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5276         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5277         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5278         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5279         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5280         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5281         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5282         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5283         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5284         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5285         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5286         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5287         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5288         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5289         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5290         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5291         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5292         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5293         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5294         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5295         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5296         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5297         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5298         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5299         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5300         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5301         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5302         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5303         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5304         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5305         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5306         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5307         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5308         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5309         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5310         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5311         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5312         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5313         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5314         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5315         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5316         (conformtest-cc-flags): Likewise.
5317         ($(conformtest-header-tests): New target.
5318         * conform/check-header-lists.sh: New file.
5319         * conform/run-conformtest.sh: Remove.
5321         * conform/conformtest.pl: Allow ' and \ in values given for
5322         constants.
5323         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5324         inclusion.
5325         [POSIX] (sys/types.h): Likewise.
5326         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5327         inclusion.
5328         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5329         inclusion.
5330         * conform/data/signal.h-data (SIGIO): Remove expectation.
5331         [XPG3] (SIGBUS): Do not expect.
5332         [POSIX || XPG3] (SIGPOLL): Likewise.
5333         [POSIX || XPG3] (SIGPROF): Likewise.
5334         [POSIX || XPG3] (SIGSYS): Likewise.
5335         [XPG3] (SIGTRAP): Likewise.
5336         [POSIX || XPG3] (SIGURG): Likewise.
5337         [POSIX || XPG3] (SIGVTALRM): Likewise.
5338         [POSIX || XPG3] (SIGXCPU): Likewise.
5339         [POSIX || XPG3] (SIGXFSZ): Likewise.
5340         [POSIX] (SA_SIGINFO): Expect.
5341         [XPG3] (siginfo_t): Do not expect type or contents.
5342         [POSIX] (si_pid): Do not expect element.
5343         [POSIX] (si_uid): Likewise.
5344         [POSIX] (si_addr): Likewise.
5345         [POSIX] (si_status): Likewise.
5346         [POSIX] (si_band): Likewise.
5347         [XPG4] (si_value): Likewise.
5348         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5349         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5350         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5351         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5352         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5353         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5354         [POSIX || XPG3] (ILL_COPROC): Likewise.
5355         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5356         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5357         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5358         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5359         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5360         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5361         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5362         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5363         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5364         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5365         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5366         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5367         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5368         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5369         [POSIX || XPG3] (CLD_EXITED): Likewise.
5370         [POSIX || XPG3] (CLD_KILLED): Likewise.
5371         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5372         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5373         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5374         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5375         [POSIX || XPG3] (POLL_IN): Likewise.
5376         [POSIX || XPG3] (POLL_OUT): Likewise.
5377         [POSIX || XPG3] (POLL_MSG): Likewise.
5378         [POSIX || XPG3] (POLL_ERR): Likewise.
5379         [POSIX || XPG3] (POLL_PRI): Likewise.
5380         [POSIX || XPG3] (POLL_HUP): Likewise.
5381         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5382         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5383         (SIG*): Do not allow.
5384         [XPG3] (si_*): Likewise.
5385         [XPG3] (SI_*): Likewise.
5386         [XPG3 || XPG4] (sigev_*): Likewise.
5387         [XPG3 || XPG4] (SIGEV_*): Likewise.
5388         [XPG3 || XPG4] (sival_*): Likewise.
5389         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5390         [POSIX || XPG3] (BUS_*): Likewise.
5391         [POSIX || XPG3] (CLD_*): Likewise.
5392         [POSIX || XPG3] (FPE_*): Likewise.
5393         [POSIX || XPG3] (ILL_*): Likewise.
5394         [POSIX || XPG3] (POLL_*): Likewise.
5395         [POSIX || XPG3] (SEGV_*): Likewise.
5396         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5397         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5398         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5399         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5400         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5401         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5402         Specify type and value.
5403         (TVERSLEN): Likewise.
5404         (REGTYPE): Likewise.
5405         (AREGTYPE): Likewise.
5406         (LNKTYPE): Likewise.
5407         (SYMTYPE): Likewise.
5408         (CHRTYPE): Likewise.
5409         (BLKTYPE): Likewise.
5410         (DIRTYPE): Likewise.
5411         (FIFOTYPE): Likewise.
5412         (CONTTYPE): Likewise.
5413         (TSUID): Likewise.
5414         (TSGID): Likewise.
5415         (TSVTX): Likewise.
5416         (TUREAD): Likewise.
5417         (TUWRITE): Likewise.
5418         (TUEXEC): Likewise.
5419         (TGREAD): Likewise.
5420         (TGWRITE): Likewise.
5421         (TGEXEC): Likewise.
5422         (TOREAD): Likewise.
5423         (TOWRITE): Likewise.
5424         (TOEXEC): Likewise.
5425         [POSIX] (TSVTX): Expect constant.
5427 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5429         * Makefile (tests): Change dependencies to ....
5430         (tests-special): ... additions to this variable.
5431         (tests): Depend on $(tests-special).
5432         * Makerules (check-abi-list): New variable.
5433         (check-abi): Depend on $(check-abi-list).
5434         [$(subdir) = elf] (tests-special): Add
5435         $(objpfx)check-abi-libc.out.
5436         [$(build-shared) = yes && subdir] (tests-special): Add
5437         $(check-abi-list).
5438         [$(build-shared) = yes && subdir] (tests): Do not depend on
5439         check-abi.
5440         * Rules (tests): Depend on $(tests-special).
5441         (xtests): Depend on $(xtests-special).
5442         * catgets/Makefile (tests): Change dependencies to ....
5443         (tests-special): ... additions to this variable.
5444         * conform/Makefile (tests): Change dependencies to ....
5445         (tests-special): ... additions to this variable.
5446         * elf/Makefile (tests): Change dependencies to ....
5447         (tests-special): ... additions to this variable.
5448         * grp/Makefile (tests): Change dependencies to ....
5449         (tests-special): ... additions to this variable.
5450         * iconv/Makefile (xtests): Change dependencies to ....
5451         (xtests-special): ... additions to this variable.
5452         * iconvdata/Makefile (tests): Change dependencies to ....
5453         (tests-special): ... additions to this variable.
5454         * intl/Makefile (tests): Change dependencies to ....
5455         (tests-special): ... additions to this variable.  Also add
5456         $(objpfx)tst-gettext.out.
5457         * io/Makefile (tests): Change dependencies to ....
5458         (tests-special): ... additions to this variable.
5459         * libio/Makefile (tests): Change dependencies to ....
5460         (tests-special): ... additions to this variable.
5461         * malloc/Makefile (tests): Change dependencies to ....
5462         (tests-special): ... additions to this variable.
5463         * misc/Makefile (tests): Change dependencies to ....
5464         (tests-special): ... additions to this variable.
5465         * nptl/Makefile (tests): Change dependencies to ....
5466         (tests-special): ... additions to this variable.
5467         * nptl_db/Makefile (tests): Change dependencies to ....
5468         (tests-special): ... additions to this variable.
5469         * posix/Makefile (tests): Change dependencies to ....
5470         (tests-special): ... additions to this variable.
5471         (xtests): Change dependencies to ....
5472         (xtests-special): ... additions to this variable.
5473         * resolv/Makefile (tests): Change dependencies to ....
5474         (tests-special): ... additions to this variable.
5475         (xtests): Change dependencies to ....
5476         (xtests-special): ... additions to this variable.
5477         * stdio-common/Makefile (tests): Change dependencies to ....
5478         (tests-special): ... additions to this variable.
5479         (do-tst-unbputc): Remove target.
5480         (do-tst-printf): Likewise.
5481         * stdlib/Makefile (tests): Change dependencies to ....
5482         (tests-special): ... additions to this variable.
5483         * string/Makefile (tests): Change dependencies to ....
5484         (tests-special): ... additions to this variable.
5485         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5486         (tests-special): ... additions to this variable.
5488         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5489         whole file.
5490         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5491         whole file.
5492         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5493         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5495         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5496         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5497         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5498         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5499         * conform/data/libgen.h-data [XPG3]: Likewise.
5500         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5501         * conform/data/ndbm.h-data [XPG3]: Likewise.
5502         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5503         * conform/data/netdb.h-data [XPG3]: Likewise.
5504         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5505         * conform/data/poll.h-data [XPG3]: Likewise.
5506         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5507         * conform/data/strings.h-data [XPG3]: Likewise.
5508         * conform/data/stropts.h-data [XPG3]: Likewise.
5509         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5510         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5511         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5512         Likewise.
5513         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5514         * conform/data/sys/time.h-data [XPG3]: Likewise.
5515         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5516         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5517         * conform/data/sys/un.h-data [XPG3]: Likewise.
5518         * conform/data/syslog.h-data [XPG3]: Likewise.
5519         * conform/data/ucontext.h-data [XPG3]: Likewise.
5520         * conform/data/utmpx.h-data [XPG3]: Likewise.
5521         * conform/data/varargs.h-data [UNIX98]: Enable file.
5523         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5525         * math/libm-test.inc (struct test_f_f_data): Move expected results
5526         into structure for each rounding mode.
5527         (struct test_ff_f_data): Likewise.
5528         (struct test_ff_f_data_nexttoward): Likewise.
5529         (struct test_fi_f_data): Likewise.
5530         (struct test_fl_f_data): Likewise.
5531         (struct test_if_f_data): Likewise.
5532         (struct test_fff_f_data): Likewise.
5533         (struct test_c_f_data): Likewise.
5534         (struct test_f_f1_data): Likewise.
5535         (struct test_fF_f1_data): Likewise.
5536         (struct test_ffI_f1_data): Likewise.
5537         (struct test_c_c_data): Likewise.
5538         (struct test_cc_c_data): Likewise.
5539         (struct test_f_i_data): Likewise.
5540         (struct test_ff_i_data): Likewise.
5541         (struct test_f_l_data): Likewise.
5542         (struct test_f_L_data): Likewise.
5543         (struct test_fFF_11_data): Likewise.
5544         (RM_): New macro.
5545         (RM_FE_DOWNWARD): Likewise.
5546         (RM_FE_TONEAREST): Likewise.
5547         (RM_FE_TOWARDZERO): Likewise.
5548         (RM_FE_UPWARD): Likewise.
5549         (RUN_TEST_LOOP_f_f): Update references to expected results.
5550         (RUN_TEST_LOOP_2_f): Likewise.
5551         (RUN_TEST_LOOP_fff_f): Likewise.
5552         (RUN_TEST_LOOP_c_f): Likewise.
5553         (RUN_TEST_LOOP_f_f1): Likewise.
5554         (RUN_TEST_LOOP_fF_f1): Likewise.
5555         (RUN_TEST_LOOP_fI_f1): Likewise.
5556         (RUN_TEST_LOOP_ffI_f1): Likewise.
5557         (RUN_TEST_LOOP_c_c): Likewise.
5558         (RUN_TEST_LOOP_cc_c): Likewise.
5559         (RUN_TEST_LOOP_f_i): Likewise.
5560         (RUN_TEST_LOOP_f_i_tg): Likewise.
5561         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5562         (RUN_TEST_LOOP_f_b): Likewise.
5563         (RUN_TEST_LOOP_f_b_tg): Likewise.
5564         (RUN_TEST_LOOP_f_l): Likewise.
5565         (RUN_TEST_LOOP_f_L): Likewise.
5566         (RUN_TEST_LOOP_fFF_11): Likewise.
5567         * math/gen-libm-test.pl (parse_args): Output four copies of
5568         expected results for each test.
5570         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5571         (__ASSUME_UTIMES): Remove.
5572         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5573         (__ASSUME_UTIMES): Likewise.
5575         * math/gen-auto-libm-tests.c: Update comment on output format.
5576         (output_for_one_input_case): Generate before-rounding and
5577         after-rounding information as conditions on output flags not
5578         floating-point format.
5579         * math/auto-libm-test-out: Regenerated.
5580         * math/gen-libm-test.pl (cond_value): New function.
5581         (or_cond_value): Use cond_value.
5582         (generate_testfile): Handle conditional exceptions.
5584 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5586         * math/libm-test.inc (max_valid_error): New variable.
5587         (init_max_error): Take new argument specifying whether function
5588         results are exactly determined.  Set max_valid_error and bound
5589         other variables for errors based on this argument.
5590         (set_max_error): Do not record results above max_valid_error.
5591         (check_float_internal): Only accept errors of up to 0.5ulps if
5592         also at most max_valid_error.
5593         (START): Take new argument EXACT and pass it to init_max_error.
5594         (acos_test): Update call to START.
5595         (acos_test_tonearest): Likewise.
5596         (acos_test_towardzero): Likewise.
5597         (acos_test_downward): Likewise.
5598         (acos_test_upward): Likewise.
5599         (acosh_test): Likewise.
5600         (asin_test): Likewise.
5601         (asin_test_tonearest): Likewise.
5602         (asin_test_towardzero): Likewise.
5603         (asin_test_downward): Likewise.
5604         (asin_test_upward): Likewise.
5605         (asinh_test): Likewise.
5606         (atan_test): Likewise.
5607         (atanh_test): Likewise.
5608         (atan2_test): Likewise.
5609         (cabs_test): Likewise.
5610         (cacos_test): Likewise.
5611         (cacosh_test): Likewise.
5612         (carg_test): Likewise.
5613         (casin_test): Likewise.
5614         (casinh_test): Likewise.
5615         (catan_test): Likewise.
5616         (catanh_test): Likewise.
5617         (cbrt_test): Likewise.
5618         (ccos_test): Likewise.
5619         (ccosh_test): Likewise.
5620         (ceil_test): Likewise.
5621         (cexp_test): Likewise.
5622         (cimag_test): Likewise.
5623         (clog_test): Likewise.
5624         (clog10_test): Likewise.
5625         (conj_test): Likewise.
5626         (copysign_test): Likewise.
5627         (cos_test): Likewise.
5628         (cos_test_tonearest): Likewise.
5629         (cos_test_towardzero): Likewise.
5630         (cos_test_downward): Likewise.
5631         (cos_test_upward): Likewise.
5632         (cosh_test): Likewise.
5633         (cosh_test_tonearest): Likewise.
5634         (cosh_test_towardzero): Likewise.
5635         (cosh_test_downward): Likewise.
5636         (cosh_test_upward): Likewise.
5637         (cpow_test): Likewise.
5638         (cproj_test): Likewise.
5639         (creal_test): Likewise.
5640         (csin_test): Likewise.
5641         (csinh_test): Likewise.
5642         (csqrt_test): Likewise.
5643         (ctan_test): Likewise.
5644         (ctan_test_tonearest): Likewise.
5645         (ctan_test_towardzero): Likewise.
5646         (ctan_test_downward): Likewise.
5647         (ctan_test_upward): Likewise.
5648         (ctanh_test): Likewise.
5649         (ctanh_test_tonearest): Likewise.
5650         (ctanh_test_towardzero): Likewise.
5651         (ctanh_test_downward): Likewise.
5652         (ctanh_test_upward): Likewise.
5653         (erf_test): Likewise.
5654         (erfc_test): Likewise.
5655         (exp_test): Likewise.
5656         (exp_test_tonearest): Likewise.
5657         (exp_test_towardzero): Likewise.
5658         (exp_test_downward): Likewise.
5659         (exp_test_upward): Likewise.
5660         (exp10_test): Likewise.
5661         (exp10_test_tonearest): Likewise.
5662         (exp10_test_towardzero): Likewise.
5663         (exp10_test_downward): Likewise.
5664         (exp10_test_upward): Likewise.
5665         (pow10_test): Likewise.
5666         (exp2_test): Likewise.
5667         (expm1_test): Likewise.
5668         (expm1_test_tonearest): Likewise.
5669         (expm1_test_towardzero): Likewise.
5670         (expm1_test_downward): Likewise.
5671         (expm1_test_upward): Likewise.
5672         (fabs_test): Likewise.
5673         (fdim_test): Likewise.
5674         (floor_test): Likewise.
5675         (fma_test): Likewise.
5676         (fma_test_towardzero): Likewise.
5677         (fma_test_downward): Likewise.
5678         (fma_test_upward): Likewise.
5679         (fmax_test): Likewise.
5680         (fmin_test): Likewise.
5681         (fmod_test): Likewise.
5682         (fpclassify_test): Likewise.
5683         (frexp_test): Likewise.
5684         (hypot_test): Likewise.
5685         (ilogb_test): Likewise.
5686         (isfinite_test): Likewise.
5687         (finite_test): Likewise.
5688         (isgreater_test): Likewise.
5689         (isgreaterequal_test): Likewise.
5690         (isinf_test): Likewise.
5691         (isless_test): Likewise.
5692         (islessequal_test): Likewise.
5693         (islessgreater_test): Likewise.
5694         (isnan_test): Likewise.
5695         (isnormal_test): Likewise.
5696         (issignaling_test): Likewise.
5697         (isunordered_test): Likewise.
5698         (j0_test): Likewise.
5699         (j1_test): Likewise.
5700         (jn_test): Likewise.
5701         (ldexp_test): Likewise.
5702         (lgamma_test): Likewise.
5703         (gamma_test): Likewise.
5704         (lrint_test): Likewise.
5705         (lrint_test_tonearest): Likewise.
5706         (lrint_test_towardzero): Likewise.
5707         (lrint_test_downward): Likewise.
5708         (lrint_test_upward): Likewise.
5709         (llrint_test): Likewise.
5710         (llrint_test_tonearest): Likewise.
5711         (llrint_test_towardzero): Likewise.
5712         (llrint_test_downward): Likewise.
5713         (llrint_test_upward): Likewise.
5714         (log_test): Likewise.
5715         (log10_test): Likewise.
5716         (log1p_test): Likewise.
5717         (log2_test): Likewise.
5718         (logb_test): Likewise.
5719         (logb_test_downward): Likewise.
5720         (lround_test): Likewise.
5721         (llround_test): Likewise.
5722         (modf_test): Likewise.
5723         (nearbyint_test): Likewise.
5724         (nextafter_test): Likewise.
5725         (nexttoward_test): Likewise.
5726         (pow_test): Likewise.
5727         (pow_test_tonearest): Likewise.
5728         (pow_test_towardzero): Likewise.
5729         (pow_test_downward): Likewise.
5730         (pow_test_upward): Likewise.
5731         (remainder_test): Likewise.
5732         (drem_test): Likewise.
5733         (remainder_test_tonearest): Likewise.
5734         (drem_test_tonearest): Likewise.
5735         (remainder_test_towardzero): Likewise.
5736         (drem_test_towardzero): Likewise.
5737         (remainder_test_downward): Likewise.
5738         (drem_test_downward): Likewise.
5739         (remainder_test_upward): Likewise.
5740         (drem_test_upward): Likewise.
5741         (remquo_test): Likewise.
5742         (rint_test): Likewise.
5743         (rint_test_tonearest): Likewise.
5744         (rint_test_towardzero): Likewise.
5745         (rint_test_downward): Likewise.
5746         (rint_test_upward): Likewise.
5747         (round_test): Likewise.
5748         (scalb_test): Likewise.
5749         (scalbn_test): Likewise.
5750         (scalbln_test): Likewise.
5751         (signbit_test): Likewise.
5752         (sin_test): Likewise.
5753         (sin_test_tonearest): Likewise.
5754         (sin_test_towardzero): Likewise.
5755         (sin_test_downward): Likewise.
5756         (sin_test_upward): Likewise.
5757         (sincos_test): Likewise.
5758         (sinh_test): Likewise.
5759         (sinh_test_tonearest): Likewise.
5760         (sinh_test_towardzero): Likewise.
5761         (sinh_test_downward): Likewise.
5762         (sinh_test_upward): Likewise.
5763         (sqrt_test): Likewise.
5764         (sqrt_test_tonearest): Likewise.
5765         (sqrt_test_towardzero): Likewise.
5766         (sqrt_test_downward): Likewise.
5767         (sqrt_test_upward): Likewise.
5768         (tan_test): Likewise.
5769         (tan_test_tonearest): Likewise.
5770         (tan_test_towardzero): Likewise.
5771         (tan_test_downward): Likewise.
5772         (tan_test_upward): Likewise.
5773         (tanh_test): Likewise.
5774         (tgamma_test): Likewise.
5775         (trunc_test): Likewise.
5776         (y0_test): Likewise.
5777         (y1_test): Likewise.
5778         (yn_test): Likewise.
5779         (significand_test): Likewise.
5781         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5782         individual tests in comment.
5783         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5784         (prev_max_error): New variable.
5785         (prev_real_max_error): Likewise.
5786         (prev_imag_max_error): Likewise.
5787         (compare_ulp_data): Don't refer to test names in comment.
5788         (find_test_ulps): Remove function.
5789         (find_function_ulps): Likewise.
5790         (find_complex_function_ulps): Likewise.
5791         (init_max_error): Take function name as argument.  Look up ulps
5792         for that function.
5793         (print_ulps): Remove function.
5794         (print_max_error): Use prev_max_error instead of calling
5795         find_function_ulps.
5796         (print_complex_max_error): Use prev_real_max_error and
5797         prev_imag_max_error instead of calling find_complex_function_ulps.
5798         (check_float_internal): Take max_ulp parameter instead of calling
5799         find_test_ulps.  Don't call print_ulps.
5800         (check_float): Update call to check_float_internal.
5801         (check_complex): Update calls to check_float_internal.
5802         (START): Pass argument to init_max_error.
5803         * math/gen-libm-test.pl (%results): Don't include "kind"
5804         information.
5805         (parse_ulps): Don't handle ulps of individual tests.
5806         (print_ulps_file): Likewise.
5807         (output_ulps): Likewise.
5808         * math/README.libm-test: Update.
5809         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5810         individual tests.
5811         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5812         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5813         * sysdeps/arm/libm-test-ulps: Likewise.
5814         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5815         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5816         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5817         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5818         * sysdeps/microblaze/libm-test-ulps: Likewise.
5819         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5820         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5821         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5822         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5823         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5824         * sysdeps/sh/libm-test-ulps: Likewise.
5825         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5826         * sysdeps/tile/libm-test-ulps: Likewise.
5827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5829 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5831         * math/libm-test.inc (print_complex_max_error): Check separately
5832         whether real and imaginary errors are within allowed range and
5833         pass 0 to print_complex_function_ulps instead of value within
5834         allowed range.
5836 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5838         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5839         formatting.
5840         (get_handles_fopen): Likewise.
5841         (do_write_test): Likewise.
5843         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5845         * libio/fileops.c (do_ftell): Use cached offset when
5846         available.
5847         * libio/iofwide.c (do_ftell_wide): Likewise.
5848         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5849         _IO_file_attach.
5850         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5852         [BZ #16532]
5853         * libio/libioP.h (get_file_offset): New function.
5854         * libio/fileops.c (get_file_offset): Likewise.
5855         (do_ftell): Likewise.
5856         (_IO_new_file_seekoff): Split out ftell logic.
5857         * libio/wfileops.c (do_ftell_wide): Likewise.
5858         (_IO_wfile_seekoff): Split out ftell logic.
5859         * libio/tst-ftell-active-handler.c: New test case.
5860         * libio/Makefile (tests): Add it.
5862 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5864         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5865         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5867 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5869         [BZ #16639]
5870         * nscd/connections.c (nscd_init): Call do_exit.
5871         (start_threads): Call do_exit and notify_parent.
5872         (begin_drop_privileges): Call do_exit.
5873         (finish_drop_privileges): Likewise.
5874         * nscd/selinux.c (preserve_capabilities): Likewise.
5875         (install_real_capabilities): Likewise.
5876         (nscd_selinux_enabled): Likewise.
5877         (avc_create_thread): Likewise.
5878         (avc_alloc_lock): Likewise.
5879         (nscd_avc_init): Likewise.
5880         * nscd/nscd.c (parent_fd): New static variable.
5881         (main): Create a pipe between parent and child processes.
5882         Skip closing parent_fd.
5883         (monitor_child): New function.
5884         (do_exit): Likewise.
5885         (notify_parent): Likewise.
5886         * nscd/nscd.h (notify_parent): Likewise.
5887         (do_exit): Likewise.
5889 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5891         * malloc/malloc.c (__libc_calloc): Revert last change.
5893 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5897 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5899         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5901         implementation.
5902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5903         (__libc_ifunc_impl_list): Likewise.
5904         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5905         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5906         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5907         * string/strrchr.c: Define STRRCHR.
5909 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5911         * benchtest/bench-strtok.c (simple_strtok): Delete.
5912         (strtok_string): Use as benchmark.
5913         * string/strtok (STRTOK): New macro.
5915 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5917         * manual/threads.texi: Add header and standard comments to all
5918         functions.
5920         * elf/dl-lookup.c (check_match): New function.
5921         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5922         (do_lookup_x): Remove nested function check_match. Use non-nested
5923         function check_match.
5925 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5927         * csu/Makefile (generated, before-compile): Use += rather than =.
5928         * catgets/Makefile (generated, generated-dirs): Likewise.
5929         * debug/Makefile (generated): Likewise.
5930         * dlfcn/Makefile (generated): Likewise.
5931         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5932         * iconvdata/Makefile (before-compile, generated): Likewise.
5933         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5934         * libio/Makefile (generated): Likewise.
5935         * malloc/Makefile (generated): Likewise.
5936         * manual/Makefile (generated, generated-dirs): Likewise.
5937         * misc/Makefile (generated): Likewise.
5938         * posix/Makefile (generated): Likewise.
5939         * resolv/Makefile (generated): Likewise.
5940         * sunrpc/Makefile (generated, generated-dirs): Likewise.
5941         * timezone/Makefile (generated, generated-dirs): Likewise.
5943         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5945 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5948         power8 implementation.
5949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5950         file: POWER8 llround ifunc implementation.
5951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5952         (__lllround): Add POWER8 implementation.
5953         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5954         POWER8 llround implementation.
5956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5957         power8 implementation.
5958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5959         file: POWER8 llrint ifunc implementation.
5960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5961         Add POWER8 implementation.
5962         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5963         POWER8 llrint implementation.
5965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5966         power8 implementation.
5967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5968         file: POWER8 finite ifunc implementation.
5969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5970         Add POWER8 implementation.
5971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5972         Likewise.
5973         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5974         POWER8 finite implementation.
5975         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5978         power8 implementation.
5979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5980         file: POWER8 isinf ifunc implementation.
5981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5982         POWER8 implementation.
5983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5984         Likewise.
5985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5986         isinf implementation.
5987         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5989         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5990         (INIT_ARCH): Add hwcap2 initialization.
5991         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5992         power8 implementation.
5993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5994         file: POWER8 isnan ifunc implementation.
5995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5996         POWER8 implementation.
5997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5998         Likewise.
5999         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6000         isnan implementation.
6001         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6003 2014-02-27  Joey Ye  <joey.ye@arm.com>
6005         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6006         (_FP_NANFRAC_Q): Set to zero.
6008 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6010         [BZ #16623]
6011         * math/auto-libm-test-in: New test inputs.
6012         * math/auto-libm-test-out: Regenerate.
6013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6014         and DA.
6015         (__cos): Likewise.
6016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6018 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6020         * scripts/evaluate-test.sh: Take new argument indicating whether
6021         failure is expected.
6022         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6023         indicating whether failure is expected.
6024         * conform/Makefile (test-xfail-run-conformtest): New variable.
6025         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6026         level.
6027         * posix/Makefile (test-xfail-annexc): New variable.
6028         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6030 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6032         * argp/Makefile: Include Makeconfig immediately after defining
6033         subdir.
6034         * assert/Makefile: Likewise.
6035         * benchtests/Makefile: Likewise.
6036         * catgets/Makefile: Likewise.
6037         * conform/Makefile: Likewise.
6038         * crypt/Makefile: Likewise.
6039         * csu/Makefile: Likewise.
6040         (all): Remove target.
6041         * ctype/Makefile: Include Makeconfig immediately after defining
6042         subdir.
6043         * debug/Makefile: Likewise.
6044         * dirent/Makefile: Likewise.
6045         * dlfcn/Makefile: Likewise.
6046         * gmon/Makefile: Likewise.
6047         * gnulib/Makefile: Likewise.
6048         * grp/Makefile: Likewise.
6049         * gshadow/Makefile: Likewise.
6050         * hesiod/Makefile: Likewise.
6051         * hurd/Makefile: Likewise.
6052         (all): Remove target.
6053         * iconvdata/Makefile: Include Makeconfig immediately after
6054         defining subdir.
6055         * inet/Makefile: Likewise.
6056         * intl/Makefile: Likewise.
6057         * io/Makefile: Likewise.
6058         * libio/Makefile: Likewise.
6059         (all): Remove target.
6060         * locale/Makefile: Include Makeconfig immediately after defining
6061         subdir.
6062         * login/Makefile: Likewise.
6063         * mach/Makefile: Likewise.
6064         (all): Remove target.
6065         * malloc/Makefile: Include Makeconfig immediately after defining
6066         subdir.
6067         (all): Remove target.
6068         * manual/Makefile: Include Makeconfig immediately after defining
6069         subdir.
6070         * math/Makefile: Likewise.
6071         * misc/Makefile: Likewise.
6072         * nis/Makefile: Likewise.
6073         * nss/Makefile: Likewise.
6074         * po/Makefile: Likewise.
6075         (all): Remove target.
6076         * posix/Makefile: Include Makeconfig immediately after defining
6077         subdir.
6078         * pwd/Makefile: Likewise.
6079         * resolv/Makefile: Likewise.
6080         * resource/Makefile: Likewise.
6081         * rt/Makefile: Likewise.
6082         * setjmp/Makefile: Likewise.
6083         * shadow/Makefile: Likewise.
6084         * signal/Makefile: Likewise.
6085         * socket/Makefile: Likewise.
6086         * soft-fp/Makefile: Likewise.
6087         * stdio-common/Makefile: Likewise.
6088         * stdlib/Makefile: Likewise.
6089         * streams/Makefile: Likewise.
6090         * string/Makefile: Likewise.
6091         * sunrpc/Makefile: Likewise.
6092         (all): Remove target.
6093         * sysvipc/Makefile: Include Makeconfig immediately after defining
6094         subdir.
6095         * termios/Makefile: Likewise.
6096         * time/Makefile: Likewise.
6097         * timezone/Makefile: Likewise.
6098         (all): Remove target.
6099         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6100         subdir.
6101         * wctype/Makefile: Likewise.
6103 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6105         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6106         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6107         (libc_feholdexcept_setround_mips): Ditto.
6108         (libc_feholdsetround): New.
6109         (libc_feholdsetroundf): New.
6110         (libc_feholdsetroundl): New.
6111         (libc_feupdateenv_test_mips): New.
6112         (libc_feupdateenv_test): New.
6113         (libc_feupdateenv_testf): New.
6114         (libc_feupdateenv_testl): New.
6115         (libc_feresetround): New.
6116         (libc_feresetroundf): New.
6117         (libc_feresetroundl): New.
6118         (libc_fetestexcept_mips): New.
6119         (libc_fetestexcept): New.
6120         (libc_fetestexceptf): New.
6121         (libc_fetestexceptl): New.
6122         (HAVE_RM_CTX): New.
6123         (libc_feholdexcept_setround_mips_ctx): New.
6124         (libc_feholdexcept_setround_ctx): New.
6125         (libc_feholdexcept_setroundf_ctx): New.
6126         (libc_feholdexcept_setroundl_ctx): New.
6127         (libc_fesetenv_mips_ctx): New.
6128         (libc_fesetenv_ctx): New.
6129         (libc_fesetenv_ctxf): New.
6130         (libc_fesetenv_ctxl): New.
6131         (libc_feupdateenv_mips_ctx): New.
6132         (libc_feupdateenv_ctx): New.
6133         (libc_feupdateenvf_ctx): New.
6134         (libc_feupdateenvl_ctx): New.
6135         (libc_feholdsetround_mips_ctx): New.
6136         (libc_feholdsetround_ctx): New.
6137         (libc_feholdsetroundf_ctx): New.
6138         (libc_feholdsetroundl_ctx): New.
6139         (libc_feresetround_mips_ctx): New.
6140         (libc_feresetround_ctx): New.
6141         (libc_feresetroundf_ctx): New.
6142         (libc_feresetroundl_ctx): New.
6144 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6146         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6148         * manual/ipc.texi: New file.
6149         * manual/Makefile (chapters): Add ipc.
6150         * manual/job.texi: Add "Inter-Process Communication" to next.
6151         * manual/process.texi: Add "Inter-Process Communication" to prev.
6153 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6157 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6159         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6161         * manual/arith.texi: Fix spaces after sentences.
6162         * manual/charset.texi: Likewise.
6163         * manual/errno.texi: Likewise.
6164         * manual/install.texi: Likewise.
6165         * manual/llio.texi: Likewise.
6166         * manual/locale.texi: Likewise.
6167         * manual/maint.texi: Likewise.
6168         * manual/math.texi: Likewise.
6169         * manual/memory.texi: Likewise.
6170         * manual/message.texi: Likewise.
6171         * manual/probes.texi: Likewise.
6172         * manual/resource.texi: Likewise.
6173         * manual/signal.texi: Likewise.
6174         * manual/socket.texi: Likewise.
6175         * manual/stdio.texi: Likewise.
6176         * manual/string.texi: Likewise.
6177         * manual/time.texi: Likewise.
6178         * manual/users.texi: Likewise.
6180 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6182         [BZ #16632]
6183         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6184         _DEFAULT_SOURCE is defined.
6186 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6187             Carlos O'Donell  <carlos@redhat.com>
6189         [BZ #16613]
6190         * elf/dl-tls.c (_dl_count_modids): New function.
6191         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6192         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6193         audit library and increment generation counter.
6194         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6195         * elf/tst-audit9.c: New file.
6196         * elf/tst-auditmod9a.c: New file.
6197         * elf/tst-auditmod9b.c: New file.
6198         * elf/Makefile: Add rules to build and run tst-audit9.
6200 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6202         [BZ #15347]
6203         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6205 2014-02-25  Will Newton  <will.newton@linaro.org>
6207         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6208         (__longjmp): Restore sp and lr before restoring callee
6209         saved registers.  Add longjmp and longjmp_target
6210         SystemTap probe point.
6211         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6212         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6213         Define to zero to match jmpbuf layout.
6214         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6215         (__sigsetjmp): Save sp and lr before saving callee
6216         saved registers.  Add setjmp SystemTap probe point.
6218 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6220         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6222 2014-02-24  Andreas Schwab  <schwab@suse.de>
6224         [BZ #15804]
6225         * elf/pldd.c (wait_for_ptrace_stop): New function.
6226         (main): Call it after attaching.
6228 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6230         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6231         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6232         Versions files is now verboten.
6233         * hurd/Versions (libc: GLIBC_2.0):
6234         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6235         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6236         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6237         * mach/Versions: Likewise.
6239         * csu/Versions: Remove unused %include.
6240         * resolv/Versions: Likewise.
6242 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6244         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6245         ($(objpfx)check-local-headers.out): Likewise.
6246         ($(objpfx)begin-end-check.out): Likewise.
6247         * Makerules (check-abi-%.out): Likewise.
6248         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6249         ($(objpfx)test2.cat): Likewise.
6250         ($(objpfx)de/libc.cat): Likewise.
6251         ($(objpfx)test-gencat.out): Likewise.
6252         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6253         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6254         ($(objpfx)noload-mem): Likewise.
6255         ($(objpfx)tst-pathopt.out): Likewise.
6256         ($(objpfx)tst-rtld-load-self.out): Likewise.
6257         ($(objpfx)tst-array1-cmp.out): Likewise.
6258         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6259         ($(objpfx)tst-array2-cmp.out): Likewise.
6260         ($(objpfx)tst-array3-cmp.out): Likewise.
6261         ($(objpfx)tst-array4-cmp.out): Likewise.
6262         ($(objpfx)tst-array5-cmp.out): Likewise.
6263         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6264         ($(objpfx)check-textrel.out): Likewise.
6265         ($(objpfx)check-execstack.out): Likewise.
6266         ($(objpfx)check-localplt.out): Likewise.
6267         ($(objpfx)order2-cmp.out): Likewise.
6268         ($(objpfx)tst-leaks1-mem): Likewise.
6269         ($(objpfx)tst-leaks1-static-mem): Likewise.
6270         ($(objpfx)tst-initorder-cmp.out): Likewise.
6271         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6272         ($(objpfx)tst-unused-dep.out): Likewise.
6273         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6274         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6275         * iconv/Makefile (test-iconvconfig): Likewise.
6276         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6277         ($(objpfx)iconv-test.out): Likewise.
6278         ($(objpfx)tst-tables.out): Likewise.
6279         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6280         ($(objpfx)tst-gettext.out): Likewise.
6281         ($(objpfx)tst-translit.out): Likewise.
6282         ($(objpfx)tst-gettext2.out): Likewise.
6283         ($(objpfx)tst-gettext4.out): Likewise.
6284         ($(objpfx)tst-gettext6.out): Likewise.
6285         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6286         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6287         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6288         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6289         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6290         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6291         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6292         ($(objpfx)wordexp-tst.out): Likewise.
6293         ($(objpfx)annexc.out): Likewise.
6294         ($(objpfx)tst-fnmatch-mem): Likewise.
6295         ($(objpfx)bug-regex2-mem): Likewise.
6296         ($(objpfx)bug-regex14-mem): Likewise.
6297         ($(objpfx)bug-regex21-mem): Likewise.
6298         ($(objpfx)bug-regex31-mem): Likewise.
6299         ($(objpfx)tst-vfork3-mem): Likewise.
6300         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6301         ($(objpfx)tst-pcre-mem): Likewise.
6302         ($(objpfx)tst-boost-mem): Likewise.
6303         ($(objpfx)tst-getconf.out): Likewise.
6304         ($(objpfx)bug-ga2-mem): Likewise.
6305         ($(objpfx)bug-glob2-mem): Likewise.
6306         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6307         ($(objpfx)mtrace-tst-leaks2): Likewise.
6308         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6309         ($(objpfx)tst-printf.out): Likewise.
6310         ($(objpfx)tst-setvbuf1.out): Likewise.
6311         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6312         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6313         ($(objpfx)tst-fmtmsg.out): Likewise.
6314         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6315         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6317         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6318         * bits/sigaction.h [__USE_MISC]: Likewise.
6319         * bits/waitstatus.h: Update #endif comments.
6320         * ctype/ctype.h: Likewise.
6321         * dirent/dirent.h: Likewise.
6322         [__USE_MISC]: Remove redundant conditionals.
6323         * grp/grp.h: Update #endif comments.
6324         [__USE_GNU]: Remove redundant conditionals.
6325         [__USE_MISC]: Likewise.
6326         * inet/netinet/in.h [__USE_GNU]: Likewise.
6327         * io/sys/stat.h [__USE_MISC]: Likewise.
6328         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6329         * libio/bits/stdio.h: Update #endif comments.
6330         [__USE_MISC]: Remove redundant conditionals.
6331         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6332         * libio/stdio.h: Update #endif comments.
6333         [__USE_MISC]: Remove redundant conditionals.
6334         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6335         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6336         * math/math.h: Update #else and #endif comments.
6337         [__USE_MISC]: Remove redundant conditionals.
6338         * misc/sys/uio.h: Update #endif comments.
6339         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6340         * posix/glob.h [__USE_MISC]: Likewise.
6341         * posix/sys/types.h: Update #endif comments.
6342         [__USE_MISC]: Remove redundant conditionals.
6343         * posix/sys/wait.h: Update #endif comments.
6344         [__USE_MISC]: Remove redundant conditionals.
6345         * posix/unistd.h: Update #endif comments.
6346         [__USE_MISC]: Remove redundant conditionals.
6347         * pwd/pwd.h [__USE_GNU]: Likewise.
6348         [__USE_MISC]: Likewise.
6349         * resolv/netdb.h [__USE_GNU]: Likewise.
6350         * signal/signal.h: Update #endif comments.
6351         [__USE_MISC]: Remove redundant conditionals.
6352         * stdlib/stdlib.h: Update #else and #endif comments.
6353         [__USE_MISC]: Remove redundant conditionals.
6354         [__USE_GNU]: Likewise.
6355         * string/bits/string2.h [__USE_MISC]: Likewise.
6356         * string/string.h: Update #endif comments.
6357         [__USE_MISC]: Remove redundant conditionals.
6358         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6359         Likewise.
6360         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6361         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6362         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6363         Likewise.
6364         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6365         Likewise.
6366         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6367         comments.
6368         [__USE_MISC]: Remove redundant conditionals.
6369         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6370         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6371         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6372         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6373         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6374         Likewise.
6375         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6376         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6377         Likewise.
6378         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6379         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6380         Likewise.
6381         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6382         Likewise.
6383         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6384         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6385         Likewise.
6386         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6387         Likewise.
6388         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6389         * sysdeps/x86/bits/string.h: Update #endif comments.
6390         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6391         conditionals.
6392         * time/sys/time.h: Update #endif comments.
6393         * time/time.h: Likewise.
6394         [__USE_MISC]: Remove redundant conditionals.
6396 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6398         [BZ #16600]
6399         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6401 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6403         * Versions.def (librt): Add GLIBC_2.17.
6405 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6407         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6408         synonym for _SYS_AUXV_H to allow direct inclusion.
6409         * sysdeps/sparc/bits/hwcap.h: Likewise.
6410         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6411         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6412         * sysdeps/sparc/sysdep.h: Likewise.
6414 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6416         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6418 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6420         * benchtests/bench-strrchr.c: Print length instead of position.
6422 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6424         [BZ #16611]
6425         * sysdeps/unix/sysv/linux/kernel-features.h
6426         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6427         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6428         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6429         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6430         Likewise.
6431         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6432         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6433         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6434         (__ASSUME_SENDMMSG): Define instead of using previous
6435         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6437         (__ASSUME_SENDMMSG_SYSCALL): Define.
6438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6439         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6440         Likewise.
6441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6442         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6443         Likewise.
6444         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6445         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6446         Likewise.
6447         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6448         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6449         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6450         [__ASSUME_SENDMMSG]: Change conditionals to
6451         [__ASSUME_SENDMMSG_SOCKETCALL].
6452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6453         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6454         Define.
6455         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6456         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6457         Likewise.
6458         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6459         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6460         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6461         [!__ASSUME_SENDMMSG]: Change conditional to
6462         [!__ASSUME_SENDMMSG_SOCKETCALL].
6463         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6464         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6465         Define.
6467         [BZ #16610]
6468         * sysdeps/unix/sysv/linux/kernel-features.h
6469         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6470         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6471         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6472         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6473         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6474         [__i386__ || __sparc__]
6475         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6476         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6477         (__ASSUME_RECVMMSG): Define instead of using previous
6478         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6479         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6480         (__ASSUME_RECVMMSG_SYSCALL): Define.
6481         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6482         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6483         Likewise.
6484         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6485         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6486         Likewise.
6487         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6489         Likewise.
6490         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6491         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6492         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6493         [__ASSUME_RECVMMSG]: Change condition to
6494         [__ASSUME_RECVMMSG_SOCKETCALL].
6495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6496         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6497         Define.
6498         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6499         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6500         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6501         Likewise.
6502         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6503         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6504         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6505         [!__ASSUME_RECVMMSG]: Change condition to
6506         [!__ASSUME_RECVMMSG_SOCKETCALL].
6507         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6508         (__ASSUME_RECVMMSG_SYSCALL): Define.
6510         [BZ #16609]
6511         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6512         __powerpc__ || __s390__ || __sh__ || __sparc__]
6513         (__ASSUME_SOCKETCALL): Define.
6514         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6515         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6516         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6517         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6518         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6519         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6520         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6521         (__ASSUME_ACCEPT4): Define instead of using previous
6522         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6523         __powerpc__ || __sparc__ || __s390__)] condition.
6524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6525         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6526         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6527         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6528         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6529         [!__ASSUME_ACCEPT4]: Change condition to
6530         [!__ASSUME_ACCEPT4_SOCKETCALL].
6531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6532         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6533         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6535         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6536         __ASSUME_ACCEPT4_SYSCALL.
6537         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6538         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6539         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6540         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6541         __ASSUME_ACCEPT4_SYSCALL.
6542         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6543         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6544         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6545         [__ASSUME_ACCEPT4]: Change condition to
6546         [__ASSUME_ACCEPT4_SOCKETCALL].
6547         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6548         (__ASSUME_SOCKETCALL): Define.
6549         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6550         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6551         (__ASSUME_SOCKETCALL): Define.
6552         (__ASSUME_ACCEPT4): Remove.
6553         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6554         Define.
6555         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6556         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6557         Likewise.
6558         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6559         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6561         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6562         macro.
6563         (HWCAP_ARM_LPAE): Likewise.
6564         (HWCAP_ARM_EVTSTRM): Likewise.
6565         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6566         Add vpfd32, lpae and evtstrm.
6567         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6568         Increase to 22.
6570 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6572         * math/auto-libm-test-in: Add tests of clog10.
6573         * math/auto-libm-test-out: Regenerated.
6574         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6575         * sysdeps/i386/fpu/libm-test-ulps: Update.
6576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6578 2014-02-18  Andreas Schwab  <schwab@suse.de>
6580         [BZ #16574]
6581         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6582         Store non-zero if the second buffer was newly allocated.
6583         (send_dg): Likewise.
6584         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6585         to send_vc and send_dg.
6586         (res_nsend): Pass NULL for ansp2_malloced.
6587         * resolv/res_query.c (__libc_res_nquery): Add parameter
6588         answerp2_malloced and pass it down to __libc_res_nsend.
6589         (res_nquery): Pass additional NULL to __libc_res_nquery.
6590         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6591         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6592         second answer buffer if answerp2_malloced was set.
6593         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6594         (__libc_res_nquerydomain): Add parameter
6595         answerp2_malloced and pass it down to __libc_res_nquery.
6596         (res_nquerydomain): Pass additional NULL to
6597         __libc_res_nquerydomain.
6598         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6599         additional NULL to __libc_res_nsend and __libc_res_nquery.
6600         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6601         additional NULL to __libc_res_nsearch.
6602         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6603         parameter of __libc_res_nsearch to check for separately allocated
6604         second buffer.
6605         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6606         __libc_res_nquery.
6607         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6608         additional NULL to __libc_res_nquery.
6609         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6610         __libc_res_nsearch.
6611         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6612         * include/resolv.h: Update prototypes of __libc_res_nquery,
6613         __libc_res_nsearch, __libc_res_nsend.
6615 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6617         * math/auto-libm-test-in: Add tests of fma.
6618         * math/auto-libm-test-out: Regenerated.
6619         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6620         (fma_towardzero_test_data): Likewise.
6621         (fma_downward_test_data): Likewise.
6622         (fma_upward_test_data): Likewise.
6623         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6624         mpc_mode.
6625         (rounding_modes): Add values for new field.
6626         (func_calc_method): Add value mpfr_fff_f.
6627         (func_calc_desc): Add mpfr_fff_f union field.
6628         (test_function): Add field exact_args.
6629         (FUNC): Add macro argument EXACT_ARGS.
6630         (FUNC_mpfr_f_f): Update call to FUNC.
6631         (FUNC_mpfr_f_f): Likewise.
6632         (FUNC_mpfr_ff_f): Likewise.
6633         (FUNC_mpfr_if_f): Likewise.
6634         (FUNC_mpc_c_f): Likewise.
6635         (FUNC_mpc_c_c): Likewise.
6636         (test_functions): Add fma.  Update calls to FUNC.
6637         (handle_input_arg): Add argument exact_args.
6638         (add_test): Update call to handle_input_arg.
6639         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6640         (output_for_one_input_case): Update call to calc_generic_results.
6641         Recalculate exact zero results in each rounding mode.
6643         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6644         non-negative before setting low bit.
6645         * math/auto-libm-test-in: Mark one asin test possibly having
6646         spurious underflow.
6647         * math/auto-libm-test-out: Regenerated.
6648         * sysdeps/i386/fpu/libm-test-ulps: Update.
6649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6651 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6653         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6654         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6655         ports/sysdeps/unix/sysv/linux/microblaze.
6656         * README: Add missing listing for microblaze*-*-linux-gnu.
6658 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6660         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6661         * sysdeps/unix/sysv/linux/ia64: Move directory from
6662         ports/sysdeps/unix/sysv/linux/ia64.
6663         * README: Update listing for ia64-*-linux-gnu.
6665 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6666             Joseph Myers  <joseph@codesourcery.com>
6668         * Makeconfig (test-name): New variable.
6669         (evaluate-test): Likewise.
6670         * Makerules (do-test-clean): Remove .test-result files.
6671         (common-mostlyclean): Likewise.
6672         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6673         * scripts/evaluate-test.sh: New file.
6675 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6677         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6678         separate $(objpfx)tst-fopenloc-cmp.out and
6679         $(objpfx)tst-fopenloc-mem.out targets.
6680         (tests): Update dependencies.
6681         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6682         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6683         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6684         (tst-rxspencer-no-utf8-ARGS): New variable.
6685         (tst-rxspencer-no-utf8-ENV): Likewise.
6686         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6687         instead of $(objpfx)tst-rxspencer-mem.
6688         ($(objpfx)tst-rxspencer-mem): Change target to
6689         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6690         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6691         * posix/tst-rxspencer-no-utf8.c: New file.
6693         * elf/Makefile ($(objpfx)order.out): Remove rule.
6694         [$(run-built-tests) = yes] (tests): Depend on
6695         $(objpfx)order-cmp.out.
6696         ($(objpfx)order-cmp.out): New rule.
6697         [$(run-built-tests) = yes] (tests): Depend on
6698         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6699         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6700         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6701         $(objpfx)tst-array5-static-cmp.out.
6702         ($(objpfx)tst-array1.out): Remove rule.
6703         ($(objpfx)tst-array1-cmp.out): New rule.
6704         ($(objpfx)tst-array1-static.out): Remove rule.
6705         ($(objpfx)tst-array1-static-cmp.out): New rule.
6706         ($(objpfx)tst-array2.out): Remove rule.
6707         ($(objpfx)tst-array2-cmp.out): New rule.
6708         ($(objpfx)tst-array3.out): Remove rule.
6709         ($(objpfx)tst-array3-cmp.out): New rule.
6710         ($(objpfx)tst-array4.out): Remove rule.
6711         ($(objpfx)tst-array4-cmp.out): New rule.
6712         ($(objpfx)tst-array5.out): Remove rule.
6713         ($(objpfx)tst-array5-cmp.out): New rule.
6714         ($(objpfx)tst-array5-static.out): Remove rule.
6715         ($(objpfx)tst-array5-static-cmp.out): New rule.
6716         [$(run-built-tests) = yes] (tests): Depend on
6717         $(objpfx)order2-cmp.out.
6718         ($(objpfx)order2.out): Remove rule.
6719         ($(objpfx)order2-cmp.out): New rule.
6720         ($(objpfx)tst-initorder.out): Remove rule.
6721         [$(run-built-tests) = yes] (tests): Depend on
6722         $(objpfx)tst-initorder-cmp.out.
6723         ($(objpfx)tst-initorder-cmp.out): New rule.
6724         ($(objpfx)tst-initorder2.out): Remove rule.
6725         [$(run-built-tests) = yes] (tests): Depend on
6726         $(objpfx)tst-initorder2-cmp.out.
6727         ($(objpfx)tst-initorder2-cmp.out): New rule.
6728         [$(run-built-tests) = yes] (tests): Depend on
6729         $(objpfx)tst-unused-dep-cmp.out.
6730         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6731         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6732         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6733         on $(objpfx)tst-setvbuf1-cmp.out.
6734         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6735         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6736         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6737         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6738         ($(objpfx)tst-svc.out): Remove rule.
6739         ($(objpfx)tst-svc-cmp.out): New rule.
6741 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6743         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6744         * ctype/ctype.h [__USE_MISC]: Likewise.
6745         * dirent/dirent.h [__USE_MISC]: Likewise.
6746         * grp/grp.h [__USE_MISC]: Likewise.
6747         * io/fcntl.h [__USE_MISC]: Likewise.
6748         * io/sys/stat.h [__USE_MISC]: Likewise.
6749         * libio/stdio.h [__USE_MISC]: Likewise.
6750         * posix/unistd.h [__USE_MISC]: Likewise.
6751         * pwd/pwd.h [__USE_MISC]: Likewise.
6752         * stdlib.h [__USE_MISC]: Likewise.
6753         * string/bits/string2.h [__USE_MISC]: Likewise.
6754         * string/string.h [__USE_MISC]: Likewise.
6755         * time/time.h [__USE_MISC]: Likewise.
6757 2014-02-13  Andreas Schwab  <schwab@suse.de>
6759         [BZ #16574]
6760         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6761         second answer buffer if it was separately allocated.
6763 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6765         * sysdeps/mips/math-tests.h: Include <features.h>.
6766         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6767         (ROUNDING_TESTS_long_double): Do not define.
6768         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6769         (EXCEPTION_TESTS_long_double): Likewise.
6770         * sysdeps/mips/mips64/libm-test-ulps: Update.
6772         * include/features.h (__USE_BSD): Remove macro definitions.
6773         (__USE_SVID): Likewise.
6774         (_BSD_SOURCE): Likewise.
6775         (_SVID_SOURCE): Likewise.
6776         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6777         from definition of _DEFAULT_SOURCE.
6778         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6779         [_DEFAULT_SOURCE].
6780         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6781         * bits/mman.h [__USE_BSD]: Likewise.
6782         * bits/termios.h [__USE_BSD]: Likewise.
6783         * bits/waitstatus.h [__USE_BSD]: Likewise.
6784         * ctype/ctype.h [__USE_SVID]: Likewise.
6785         * dirent/dirent.h [__USE_BSD]: Likewise.
6786         * grp/grp.h [__USE_SVID]: Likewise.
6787         [__USE_BSD]: Likewise.
6788         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6789         * io/fcntl.h [__USE_BSD]: Likewise.
6790         * io/ftw.h [__USE_BSD]: Likewise.
6791         * io/sys/stat.h [__USE_BSD]: Likewise.
6792         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6793         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6794         * libio/stdio.h [__USE_SVID]: Likewise.
6795         [__USE_BSD]: Likewise.
6796         * math/math.h [__USE_SVID]: Likewise.
6797         [__USE_BSD]: Likewise.
6798         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6799         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6800         * misc/search.h [__USE_SVID]: Likewise.
6801         * misc/sys/mman.h [__USE_BSD]: Likewise.
6802         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6803         * misc/sys/uio.h [__USE_BSD]: Likewise.
6804         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6805         * posix/glob.h [__USE_BSD]: Likewise.
6806         * posix/regex.h [__USE_BSD]: Likewise.
6807         * posix/sys/types.h [__USE_BSD]: Likewise.
6808         [__USE_SVID]: Likewise.
6809         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6810         * posix/sys/wait.h [__USE_BSD]: Likewise.
6811         [__USE_SVID]: Likewise.
6812         * posix/unistd.h [__USE_BSD]: Likewise.
6813         [__USE_SVID]: Likewise.
6814         * pwd/pwd.h [__USE_SVID]: Likewise.
6815         * resolv/netdb.h [__USE_BSD]: Likewise.
6816         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6817         * signal/signal.h [__USE_BSD]: Likewise.
6818         [__USE_SVID]: Likewise.
6819         * socket/sys/socket.h [__USE_BSD]: Likewise.
6820         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6821         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6822         [__USE_SVID]: Likewise.
6823         * string/bits/string2.h [__USE_BSD]: Likewise.
6824         [__USE_SVID]: Likewise.
6825         * string/bits/string3.h [__USE_BSD]: Likewise.
6826         * string/endian.h [__USE_BSD]: Likewise.
6827         * string/string.h [__USE_SVID]: Likewise.
6828         [__USE_BSD]: Likewise.
6829         * string/strings.h [__USE_BSD]: Likewise.
6830         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6831         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6832         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6833         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6834         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6835         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6836         Likewise.
6837         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6838         Likewise.
6839         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6840         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6841         Likewise.
6842         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6843         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6844         Likewise.
6845         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6846         Likewise.
6847         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6848         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6849         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6852         Likewise.
6853         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6854         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6855         * termios/termios.h [__USE_BSD]: Likewise.
6856         * time/sys/time.h [__USE_BSD]: Likewise.
6857         * time/time.h [__USE_BSD]: Likewise.
6858         [__USE_SVID]: Likewise.
6860         * Makefile (subdir_targets): Remove subdir_lint.out.
6862         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6863         (do-tst-printf): Likewise.
6864         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6865         $(objpfx)tst-printf.out.
6867         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6869         * Makerules (check-abi-%): Change target to
6870         $(objpfx)check-abi-%.out.
6871         (check-abi target): Update dependencies.
6872         (check-abi-pattern variable): Redirect output of diff to $@.
6873         (check-abi variable): Likewise.
6874         * elf/Makefile (check-abi): Update dependencies.
6876         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6877         unused.
6878         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6879         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6880         subnormal range.
6881         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6882         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6883         value has largest subnormal exponent.
6884         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6885         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6886         * sysdeps/aarch64/soft-fp/sfp-machine.h
6887         (_FP_TININESS_AFTER_ROUNDING): New macro.
6888         * sysdeps/alpha/soft-fp/sfp-machine.h
6889         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6890         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6891         Likewise.
6892         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6893         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6894         * sysdeps/mips/soft-fp/sfp-machine.h
6895         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6896         * sysdeps/powerpc/soft-fp/sfp-machine.h
6897         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6898         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6899         Likewise.
6900         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6901         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6902         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6903         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6904         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6905         Likewise.
6907 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6909         [BZ #16545]
6910         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6911         model 1.
6913 2014-02-12  Richard Henderson  <rth@redhat.com>
6915         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6916         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6917         * sysdeps/unix/sysv/linux/alpha: Move directory from
6918         ports/sysdeps/unix/sysv/linux/alpha.
6919         * README: Update listing for alpha-*-linux-gnu.
6921 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6923         * include/features.h: Update comment documenting feature test
6924         macros.
6925         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6926         _DEFAULT_SOURCE.
6927         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6928         (_SVID_SOURCE): Likewise.
6929         (_DEFAULT_SOURCE): Update description of default features.
6930         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6931         with _GNU_SOURCE.
6932         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6933         (S_ISVTX): Likewise.
6934         * manual/math.texi (Mathematical Constants): Likewise.
6935         * manual/signal.texi (Interrupted Primitives): Likewise.
6936         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6937         * math/test-matherr.c (_SVID_SOURCE): Do not define.
6938         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6939         Don't refer to _SVID_SOURCE in warning text.
6941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6943         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6944         already defined.
6945         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6946         * sysdeps/mips/dl-lookup.c: Remove.
6947         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6949 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6951         [BZ #16447]
6952         * math/auto-libm-test-in: Add testcase for expl.
6953         * math/auto-libm-test-out: Regenerate.
6954         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6955         calculation of unsafe.
6956         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6958 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6960         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6961         * sysdeps/unix/sysv/linux/aarch64: Move directory from
6962         ports/sysdeps/unix/sysv/linux/aarch64.
6963         * README: Update listing for aarch64*-*-linux-gnu.
6965 2014-02-11  Will Newton  <will.newton@linaro.org>
6967         * manual/probes.texi (Mathematical Function Probes): Use
6968         "triggered" instead of "hit".
6970         * manual/probes.texi (Internal Probes): Add documentation
6971         of setjmp, longjmp and longjmp_target probes.
6973         * include/stap-probe.h: Add comment about probe argument
6974         format.
6976         * malloc/mtrace.c (attribute_hidden): Remove unused macro
6977         definition.  (tr_where, tr_freehook, tr_mallochook,
6978         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6980 2014-02-11  David S. Miller  <davem@davemloft.net>
6982         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6983         processing int_tests.
6985 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6987         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6988         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6989         * sysdeps/unix/sysv/linux/mips: Move directory from
6990         ports/sysdeps/unix/sysv/linux/mips.
6991         * README: Update listing for mips-*-linux-gnu and
6992         mips64-*-linux-gnu.
6994 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
6996         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6997         * sysdeps/unix/sysv/linux/m68k: Move directory from
6998         ports/sysdeps/unix/sysv/linux/m68k.
6999         * README: Update listing for m68k-*-linux-gnu.
7001 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7003         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7004         * sysdeps/unix/sysv/linux/generic: Move directory from
7005         ports/sysdeps/unix/sysv/linux/generic.
7006         * sysdeps/unix/sysv/linux/tile: Move directory from
7007         ports/sysdeps/unix/sysv/linux/tile.
7008         * README: Update listing for tile*-*-linux-gnu.
7010 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7012         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7013         __builtin_expect.
7014         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7015         * catgets/open_catalog.c (__open_catalog): Likewise.
7016         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7017         * debug/confstr_chk.c: Likewise.
7018         * debug/fread_chk.c (__fread_chk): Likewise.
7019         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7020         * debug/getgroups_chk.c: Likewise.
7021         * debug/mbsnrtowcs_chk.c: Likewise.
7022         * debug/mbsrtowcs_chk.c: Likewise.
7023         * debug/mbstowcs_chk.c: Likewise.
7024         * debug/memcpy_chk.c: Likewise.
7025         * debug/memmove_chk.c: Likewise.
7026         * debug/mempcpy_chk.c: Likewise.
7027         * debug/memset_chk.c: Likewise.
7028         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7029         * debug/strcat_chk.c (__strcat_chk): Likewise.
7030         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7031         * debug/strncat_chk.c (__strncat_chk): Likewise.
7032         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7033         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7034         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7035         * debug/wcpncpy_chk.c: Likewise.
7036         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7037         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7038         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7039         * debug/wcsncpy_chk.c: Likewise.
7040         * debug/wcsnrtombs_chk.c: Likewise.
7041         * debug/wcsrtombs_chk.c: Likewise.
7042         * debug/wcstombs_chk.c: Likewise.
7043         * debug/wmemcpy_chk.c: Likewise.
7044         * debug/wmemmove_chk.c: Likewise.
7045         * debug/wmempcpy_chk.c: Likewise.
7046         * debug/wmemset_chk.c: Likewise.
7047         * dirent/scandirat.c (SCANDIRAT): Likewise.
7048         * dlfcn/dladdr1.c (dladdr1): Likewise.
7049         * dlfcn/dladdr.c (dladdr): Likewise.
7050         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7051         * dlfcn/dlerror.c (__dlerror): Likewise.
7052         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7053         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7054         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7055         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7056         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7057         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7058         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7059         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7060         Likewise.
7061         * elf/dl-conflict.c: Likewise.
7062         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7063         * elf/dl-dst.h: Likewise.
7064         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7065         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7066         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7067         * elf/dl-init.c (call_init, _dl_init): Likewise.
7068         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7069         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7070         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7071         Likewise.
7072         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7073         Likewise.
7074         * elf/dl-minimal.c (__libc_memalign): Likewise.
7075         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7076         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7077         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7078         * elf/dl-sym.c (do_sym): Likewise.
7079         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7080         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7081         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7082         * elf/dl-writev.h (_dl_writev): Likewise.
7083         * elf/ldconfig.c (search_dir): Likewise.
7084         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7085         (dl_main): Likewise.
7086         * elf/setup-vdso.h (setup_vdso): Likewise.
7087         * grp/compat-initgroups.c (compat_call): Likewise.
7088         * grp/fgetgrent.c (fgetgrent): Likewise.
7089         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7090         * grp/putgrent.c (putgrent): Likewise.
7091         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7092         Likewise.
7093         * hurd/hurdinit.c: Likewise.
7094         * iconvdata/8bit-gap.c (struct): Likewise.
7095         * iconvdata/ansi_x3.110.c : Likewise.
7096         * iconvdata/big5.c : Likewise.
7097         * iconvdata/big5hkscs.c : Likewise.
7098         * iconvdata/cp1255.c: Likewise.
7099         * iconvdata/cp1258.c : Likewise.
7100         * iconvdata/cp932.c : Likewise.
7101         * iconvdata/euc-cn.c: Likewise.
7102         * iconvdata/euc-jisx0213.c : Likewise.
7103         * iconvdata/euc-jp.c: Likewise.
7104         * iconvdata/euc-jp-ms.c : Likewise.
7105         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7106         * iconvdata/gb18030.c : Likewise.
7107         * iconvdata/gbbig5.c (const): Likewise.
7108         * iconvdata/gbgbk.c: Likewise.
7109         * iconvdata/gbk.c : Likewise.
7110         * iconvdata/ibm1364.c : Likewise.
7111         * iconvdata/ibm930.c : Likewise.
7112         * iconvdata/ibm932.c: Likewise.
7113         * iconvdata/ibm933.c : Likewise.
7114         * iconvdata/ibm935.c : Likewise.
7115         * iconvdata/ibm937.c : Likewise.
7116         * iconvdata/ibm939.c : Likewise.
7117         * iconvdata/ibm943.c: Likewise.
7118         * iconvdata/iso_11548-1.c: Likewise.
7119         * iconvdata/iso-2022-cn.c : Likewise.
7120         * iconvdata/iso-2022-cn-ext.c : Likewise.
7121         * iconvdata/iso-2022-jp-3.c: Likewise.
7122         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7123         * iconvdata/iso-2022-kr.c : Likewise.
7124         * iconvdata/iso646.c (gconv_end): Likewise.
7125         * iconvdata/iso_6937-2.c : Likewise.
7126         * iconvdata/iso_6937.c : Likewise.
7127         * iconvdata/iso8859-1.c: Likewise.
7128         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7129         * iconvdata/shift_jisx0213.c : Likewise.
7130         * iconvdata/sjis.c : Likewise.
7131         * iconvdata/t.61.c : Likewise.
7132         * iconvdata/tcvn5712-1.c : Likewise.
7133         * iconvdata/tscii.c: Likewise.
7134         * iconvdata/uhc.c : Likewise.
7135         * iconvdata/unicode.c (gconv_end): Likewise.
7136         * iconvdata/utf-16.c (gconv_end): Likewise.
7137         * iconvdata/utf-32.c (gconv_end): Likewise.
7138         * iconvdata/utf-7.c (base64): Likewise.
7139         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7140         * iconv/gconv_close.c (__gconv_close): Likewise.
7141         * iconv/gconv_open.c (__gconv_open): Likewise.
7142         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7143         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7144         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7145         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7146         (ucs4le_internal_loop_single): Likewise.
7147         * iconv/iconv.c (iconv): Likewise.
7148         * iconv/iconv_close.c: Likewise.
7149         * iconv/loop.c (SINGLE): Likewise.
7150         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7151         * include/atomic.h: Likewise.
7152         * inet/inet6_option.c (option_alloc): Likewise.
7153         * intl/bindtextdom.c (set_binding_values): Likewise.
7154         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7155         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7156         * intl/localealias.c (read_alias_file): Likewise.
7157         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7158         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7159         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7160         * libio/fmemopen.c (fmemopen): Likewise.
7161         * libio/iofgets.c (_IO_fgets): Likewise.
7162         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7163         * libio/iofgetws.c (fgetws): Likewise.
7164         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7165         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7166         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7167         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7168         * locale/findlocale.c (_nl_find_locale): Likewise.
7169         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7170         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7171         Likewise.
7172         * locale/setlocale.c (setlocale): Likewise.
7173         * login/programs/pt_chown.c (main): Likewise.
7174         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7175         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7176         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7177         (mmap, mmap64, mremap, munmap): Likewise.
7178         * math/e_exp2l.c: Likewise.
7179         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7180         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7181         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7182         * math/s_catan.c (__catan): Likewise.
7183         * math/s_catanf.c (__catanf): Likewise.
7184         * math/s_catanh.c (__catanh): Likewise.
7185         * math/s_catanhf.c (__catanhf): Likewise.
7186         * math/s_catanhl.c (__catanhl): Likewise.
7187         * math/s_catanl.c (__catanl): Likewise.
7188         * math/s_ccosh.c (__ccosh): Likewise.
7189         * math/s_ccoshf.c (__ccoshf): Likewise.
7190         * math/s_ccoshl.c (__ccoshl): Likewise.
7191         * math/s_cexp.c (__cexp): Likewise.
7192         * math/s_cexpf.c (__cexpf): Likewise.
7193         * math/s_cexpl.c (__cexpl): Likewise.
7194         * math/s_clog10.c (__clog10): Likewise.
7195         * math/s_clog10f.c (__clog10f): Likewise.
7196         * math/s_clog10l.c (__clog10l): Likewise.
7197         * math/s_clog.c (__clog): Likewise.
7198         * math/s_clogf.c (__clogf): Likewise.
7199         * math/s_clogl.c (__clogl): Likewise.
7200         * math/s_csin.c (__csin): Likewise.
7201         * math/s_csinf.c (__csinf): Likewise.
7202         * math/s_csinh.c (__csinh): Likewise.
7203         * math/s_csinhf.c (__csinhf): Likewise.
7204         * math/s_csinhl.c (__csinhl): Likewise.
7205         * math/s_csinl.c (__csinl): Likewise.
7206         * math/s_csqrt.c (__csqrt): Likewise.
7207         * math/s_csqrtf.c (__csqrtf): Likewise.
7208         * math/s_csqrtl.c (__csqrtl): Likewise.
7209         * math/s_ctan.c (__ctan): Likewise.
7210         * math/s_ctanf.c (__ctanf): Likewise.
7211         * math/s_ctanh.c (__ctanh): Likewise.
7212         * math/s_ctanhf.c (__ctanhf): Likewise.
7213         * math/s_ctanhl.c (__ctanhl): Likewise.
7214         * math/s_ctanl.c (__ctanl): Likewise.
7215         * math/w_pow.c: Likewise.
7216         * math/w_powf.c: Likewise.
7217         * math/w_powl.c: Likewise.
7218         * math/w_scalb.c (sysv_scalb): Likewise.
7219         * math/w_scalbf.c (sysv_scalbf): Likewise.
7220         * math/w_scalbl.c (sysv_scalbl): Likewise.
7221         * misc/error.c (error_tail): Likewise.
7222         * misc/pselect.c (__pselect): Likewise.
7223         * nis/nis_callback.c (__nis_create_callback): Likewise.
7224         * nis/nis_call.c (__nisfind_server): Likewise.
7225         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7226         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7227         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7228         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7229         * nis/nis_lookup.c (nis_lookup): Likewise.
7230         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7231         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7232         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7233         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7234         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7235         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7236         * nis/nss_compat/compat-initgroups.c (add_group)
7237         (internal_getgrent_r): Likewise.
7238         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7239         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7240         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7241         (internal_getspnam_r): Likewise.
7242         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7243         (_nss_nis_getaliasbyname_r): Likewise.
7244         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7245         (_nss_nis_getntohost_r): Likewise.
7246         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7247         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7248         (_nss_nis_getgrgid_r): Likewise.
7249         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7250         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7251         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7252         (_nss_nis_gethostbyname4_r): Likewise.
7253         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7254         (initgroups_netid): Likewise.
7255         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7256         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7257         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7258         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7259         (_nss_nis_getprotobynumber_r): Likewise.
7260         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7261         (_nss_nis_getsecretkey): Likewise.
7262         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7263         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7264         (_nss_nis_getpwuid_r): Likewise.
7265         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7266         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7267         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7268         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7269         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7270         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7271         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7272         Likewise.
7273         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7274         (_nss_nisplus_getntohost_r): Likewise.
7275         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7276         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7277         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7278         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7279         Likewise.
7280         * nis/nss_nisplus/nisplus-initgroups.c
7281         (_nss_nisplus_initgroups_dyn): Likewise.
7282         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7283         (_nss_nisplus_getnetbyaddr_r): Likewise.
7284         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7285         (_nss_nisplus_getprotobynumber_r): Likewise.
7286         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7287         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7288         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7289         Likewise.
7290         * nis/nss_nisplus/nisplus-service.c
7291         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7292         (_nss_nisplus_getservbyport_r): Likewise.
7293         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7294         (_nss_nisplus_getspnam_r): Likewise.
7295         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7296         Likewise.
7297         * nscd/aicache.c (addhstaiX): Likewise.
7298         * nscd/cache.c (cache_search, prune_cache): Likewise.
7299         * nscd/connections.c (register_traced_file, send_ro_fd)
7300         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7301         (main_loop_epoll): Likewise.
7302         * nscd/grpcache.c (addgrbyX): Likewise.
7303         * nscd/hstcache.c (addhstbyX): Likewise.
7304         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7305         * nscd/mem.c (gc, mempool_alloc): Likewise.
7306         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7307         (addinnetgrX): Likewise.
7308         * nscd/nscd-client.h (__nscd_acquire_maplock)
7309         (__nscd_drop_map_ref): Likewise.
7310         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7311         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7312         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7313         Likewise.
7314         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7315         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7316         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7317         (__nscd_get_map_ref): Likewise.
7318         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7319         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7320         Likewise.
7321         * nscd/pwdcache.c (addpwbyX): Likewise.
7322         * nscd/selinux.c (preserve_capabilities): Likewise.
7323         * nscd/servicescache.c (addservbyX): Likewise.
7324         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7325         * posix/fnmatch.c (fnmatch): Likewise.
7326         * posix/getopt.c (_getopt_internal_r): Likewise.
7327         * posix/glob.c (glob, glob_in_dir): Likewise.
7328         * posix/wordexp.c (exec_comm_child): Likewise.
7329         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7330         (getanswer_r, gaih_getanswer_slice): Likewise.
7331         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7332         * resolv/res_init.c: Likewise.
7333         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7334         * resolv/res_query.c (__libc_res_nquery): Likewise.
7335         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7336         Likewise.
7337         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7338         * stdio-common/perror.c (perror): Likewise.
7339         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7340         * stdio-common/tmpnam.c (tmpnam): Likewise.
7341         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7342         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7343         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7344         Likewise.
7345         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7346         * stdlib/putenv.c (putenv): Likewise.
7347         * stdlib/setenv.c (__add_to_environ): Likewise.
7348         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7349         * stdlib/strtol_l.c (INTERNAL): Likewise.
7350         * string/memmem.c (memmem): Likewise.
7351         * string/strerror.c (strerror): Likewise.
7352         * string/strnlen.c (__strnlen): Likewise.
7353         * string/test-memmem.c (simple_memmem): Likewise.
7354         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7355         * sunrpc/pm_getport.c (__get_socket): Likewise.
7356         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7357         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7358         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7359         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7360         Likewise.
7361         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7362         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7363         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7364         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7365         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7366         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7367         Likewise.
7368         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7369         Likewise.
7370         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7371         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7372         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7373         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7374         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7376         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7377         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7378         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7379         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7380         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7381         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7382         Likewise.
7383         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7384         Likewise.
7385         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7386         Likewise.
7387         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7388         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7389         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7390         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7391         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7392         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7393         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7394         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7396         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7397         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7398         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7399         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7400         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7401         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7402         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7403         Likewise.
7404         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7405         Likewise.
7406         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7407         Likewise.
7408         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7409         Likewise.
7410         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7411         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7412         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7413         Likewise.
7414         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7415         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7416         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7417         * sysdeps/posix/sleep.c: Likewise.
7418         * sysdeps/posix/tempname.c: Likewise.
7419         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7420         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7421         Likewise.
7422         * sysdeps/powerpc/powerpc32/dl-machine.h
7423         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7424         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7425         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7426         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7427         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7428         Likewise.
7429         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7430         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7431         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7432         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7433         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7434         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7435         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7436         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7437         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7438         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7439         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7440         (elf_machine_lazy_rel): Likewise.
7441         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7442         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7443         (elf_machine_lazy_rel): Likewise.
7444         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7445         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7446         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7447         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7448         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7449         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7450         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7451         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7452         Likewise.
7453         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7454         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7455         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7456         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7457         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7458         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7459         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7460         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7461         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7462         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7463         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7464         Likewise.
7465         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7466         (__posix_fallocate64_l64): Likewise.
7467         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7468         (posix_fallocate): Likewise.
7469         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7470         Likewise.
7471         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7472         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7473         (getifaddrs_internal): Likewise.
7474         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7475         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7476         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7477         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7478         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7479         (__posix_fallocate64_l64): Likewise.
7480         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7481         Likewise.
7482         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7483         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7484         (__get_clockfreq): Likewise.
7485         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7486         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7487         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7488         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7490         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7491         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7492         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7493         Likewise.
7494         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7495         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7496         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7497         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7498         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7499         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7500         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7501         Likewise.
7502         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7503         (posix_fallocate): Likewise.
7504         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7505         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7506         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7507         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7508         (elf_machine_rela, elf_machine_rela_relative)
7509         (elf_machine_lazy_rel): Likewise.
7510         * time/asctime.c (asctime_internal): Likewise.
7511         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7512         * time/tzset.c (__tzset_parse_tz): Likewise.
7513         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7514         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7515         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7516         * wcsmbs/wcsmbsload.h: Likewise.
7518         [BZ #15894]
7519         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7521         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7522         (arena_get2): Remove THREAD_STATS conditionals.
7523         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7524         (__malloc_stats, int): Likewise.
7526 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7528         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7529         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7531         * manual/setjmp.texi: Fix typos/grammar errors.
7533         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7534         Only return early when n is <= 0.  Delete unused return statement.
7536         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7537         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7538         * debug/tst-longjmp_chk3.c: New file.
7540         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7541         (test_main): Replace code with set_fortify_handler call.
7542         * debug/test-strcpy_chk.c: Likewise.
7543         * debug/tst-chk1.c: Likewise.
7544         * debug/tst-longjmp_chk.c: Likewise.
7545         * test-skeleton.c: Include fcntl.h & paths.h
7546         (set_fortify_handler): Define.
7548         * debug/tst-longjmp_chk.c: Add header comment and include
7549         ../test-skeleton.c.
7550         (do_test): Mark static.
7551         (TEST_FUNCTION): Define.
7553         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7554         (IP_PMTUDISC_INTERFACE): Likewise.
7555         (IP_MULTICAST_IF): Likewise.
7556         (IP_MULTICAST_TTL): Likewise.
7557         (IP_MULTICAST_LOOP): Likewise.
7558         (IP_ADD_MEMBERSHIP): Likewise.
7559         (IP_DROP_MEMBERSHIP): Likewise.
7560         (IP_UNBLOCK_SOURCE): Likewise.
7561         (IP_BLOCK_SOURCE): Likewise.
7562         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7563         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7564         (IP_MSFILTER): Likewise.
7565         (MCAST_JOIN_GROUP): Likewise.
7566         (MCAST_BLOCK_SOURCE): Likewise.
7567         (MCAST_UNBLOCK_SOURCE): Likewise.
7568         (MCAST_LEAVE_GROUP): Likewise.
7569         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7570         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7571         (MCAST_MSFILTER): Likewise.
7572         (IP_MULTICAST_ALL): Likewise.
7573         (IP_UNICAST_IF): Likewise.
7575         * timezone/Makefile: Delete $(have-ksh) check.
7576         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7577         * timezone/tzselect.ksh: Add +x mode bits.
7579         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7580         (ANON_INODE_FS_MAGIC): Likewise.
7581         (BDEVFS_MAGIC): Likewise.
7582         (BINFMTFS_MAGIC): Likewise.
7583         (BTRFS_TEST_MAGIC): Likewise.
7584         (CRAMFS_MAGIC_WEND): Likewise.
7585         (DEBUGFS_MAGIC): Likewise.
7586         (ECRYPTFS_SUPER_MAGIC): Likewise.
7587         (EXT3_SUPER_MAGIC): Likewise.
7588         (EXT4_SUPER_MAGIC): Likewise.
7589         (FUTEXFS_SUPER_MAGIC): Likewise.
7590         (HOSTFS_SUPER_MAGIC): Likewise.
7591         (HUGETLBFS_MAGIC): Likewise.
7592         (MINIX3_SUPER_MAGIC): Likewise.
7593         (MTD_INODE_FS_MAGIC): Likewise.
7594         (NILFS_SUPER_MAGIC): Likewise.
7595         (OPENPROM_SUPER_MAGIC): Likewise.
7596         (PIPEFS_MAGIC): Likewise.
7597         (PSTOREFS_MAGIC): Likewise.
7598         (QNX6_SUPER_MAGIC): Likewise.
7599         (RAMFS_MAGIC): Likewise.
7600         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7601         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7602         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7603         (SECURITYFS_MAGIC): Likewise.
7604         (SELINUX_MAGIC): Likewise.
7605         (SMACK_MAGIC): Likewise.
7606         (SOCKFS_MAGIC): Likewise.
7607         (SQUASHFS_MAGIC): Likewise.
7608         (STACK_END_MAGIC): Likewise.
7609         (TMPFS_MAGIC): Likewise.
7610         (USBDEVICE_SUPER_MAGIC): Likewise.
7611         (V9FS_MAGIC): Likewise.
7612         (XENFS_SUPER_MAGIC): Likewise.
7613         (CRAMFS_MAGIC): Fix typo in comment.
7614         (EXT2_SUPER_MAGIC): Update comment.
7615         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7617 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7619         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7620         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7621         * sysdeps/unix/sysv/linux/arm: Move directory from
7622         ports/sysdeps/unix/sysv/linux/arm.
7623         * README: Update listing for arm-*-linux-gnueabi.
7625         * README: Remove mention of am33.
7627 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7629         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7630         than the comma operator, to avoid "rhs of comma has no effect"
7631         compiler warnings.
7632         (__sigfillset, __sigandset, __sigorset): Likewise.
7633         * include/signal.h (__sigemptyset): Likewise.
7634         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7636 2014-02-07  Allan McRae  <allan@archlinux.org>
7638         * version.h (RELEASE): Set to "development".
7639         (VERSION): Set to "2.19.90"
7640         * NEWS: Add 2.20 section.
7642 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7644         [BZ #16529]
7645         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7647 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7649         * manual/contrib.texi: Update entry for Carlos O'Donell,
7650         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7652 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7654         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7656         * sysdeps/unix/sysv/linux/kernel-features.h
7657         [__LINUX_KERNEL_VERSION >= 0x020621]
7658         (__ASSUME_PROC_PID_TASK_COMM): Define.
7660 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7662         [BZ #16398]
7663         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7664         conversion when destination buffer does not have enough space.
7665         * libio/tst-ftell-partial-wide.c: New test case.
7666         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7668         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7669         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7670         Leonard and Allan McRae.
7672 2014-02-04  David S. Miller  <davem@davemloft.net>
7674         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7675         32-bit.
7677 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7680         New file
7681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7682         New file
7683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7684         New file.
7685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7686         New file.
7687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7688         New file.
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7690         New file.
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7692         New file.
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7694         New file.
7695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7696         New file.
7697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7698         New file.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7700         New file.
7701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7702         New file.
7703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7704         New file.
7706 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7708         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7709         * shlib-versions: Likewise.
7711 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7712             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7714         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7715         (abilist-pattern): New variable, set to %-le.abilist.
7717         * Makerules (abilist-pattern): New variable.
7718         (vpath): Use $(abilist-pattern) in place of %.abilist.
7719         (check-abi-% pattern rule): Likewise.
7720         (check-abi, update-abi): Likewise.
7722 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7726 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7728         * manual/startup.texi: Add next, previous, and top entries for
7729         the `Program Arguments' and `Environment Variables' nodes.
7731 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7733         * manual/macros.texi: Add comments before MTASC-safety macros.
7735         * manual/users.texi: Document MTASC-safety properties.
7737         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7738         (pthread_getspecific, pthread_setspecific): Format with
7739         @deftypefun, and add @safety note.
7740         * manual/signal.texi: Move comments that analyze the above
7741         functions to their home place.
7743 2014-02-03  Allan McRae  <allan@archlinux.org>
7745         * po/sl.po: Update Slovenian translation from translation project.
7747 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7749         * manual/time.texi (timegm): Add missing blank after @c.
7750         Reported by Joseph Myers <joseph@codesourcery.com>.
7752 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7754         * manual/check-safety.sh: New.
7755         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7757         * manual/terminal.texi: Document MTASC-safety properties.
7759         * manual/filesys.texi: Document MTASC-safety properties.
7761         * manual/errno.texi: Document MTASC-safety properties.
7763         * manual/intro.texi: Document safety identifiers and
7764         conditionals.
7766         * manual/string.texi (wcstok): Fix prototype.
7767         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7769         * manual/time.texi: Document MTASC-safety properties.
7771         * manual/string.texi: Document MTASC-safety properties.
7773         * manual/threads.texi: Document MTASC-safety properties.
7775         * manual/stdio.texi: Document MTASC-safety properties.
7777         * manual/syslog.texi: Document MTASC-safety properties.
7779         * manual/sysinfo.texi: Document MTASC-safety properties.
7781         * manual/startup.texi: Document MTASC-safety properties.
7783         * manual/socket.texi: Document MTASC-safety properties.
7785         * manual/signal.texi: Document MTASC-safety properties.
7787 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7789         * manual/setjmp.texi: Document MTASC-safety properties.
7791         * manual/search.texi: Document MTASC-safety properties.
7793         * manual/resource.texi: Document MTASC-safety properties.
7795         * manual/process.texi: Document MTASC-safety properties.
7797         * manual/platform.texi: Document MTASC-safety properties.
7799         * manual/pipe.texi: Document MTASC-safety properties.
7801         * manual/pattern.texi: Document MTASC-safety properties.
7803         * manual/message.texi: Document MTASC-safety properties.
7805         [BZ #12751]
7806         * manual/memory.texi: Document MTASC-safety properties.
7808         * manual/math.texi: Document MTASC-safety properties.
7810         * manual/locale.texi: Document MTASC-safety properties.
7812         * manual/llio.texi: Document MTASC-safety properties.
7814         * manual/libdl.texi: New.
7816         * manual/lang.texi: Document MTASC-safety properties.
7818         * manual/job.texi: Document MTASC-safety properties.
7820         * manual/getopt.texi: Document MTASC-safety properties.
7822         * manual/ctype.texi: Document MTASC-safety properties.
7824 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7826         [BZ #16046]
7827         * csu/libc-tls.c (static_map): Remove variable.
7828         (__libc_setup_tls): Use main executable's link map for TLS data.
7829         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7830         casing for LM_ID_BASE and GL(dl_nns).
7831         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7832         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7833         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7834         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7835         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7836         member.
7837         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7838         l_phnum members.
7840 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7842         * manual/debug.texi: Document MTASC-safety properties.
7844 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7846         [BZ #16510]
7847         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7848         of __x86_64__ when disabling x87 inline functions.
7850 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7852         * manual/charset.texi: Document MTASC-safety properties.
7854         * manual/crypt.texi: Document MTASC-safety properties.
7856         * manual/conf.texi: Document MTASC-safety properties.
7858         * manual/arith.texi: Document MTASC-safety properties.
7860         * manual/argp.texi: Document MTASC-safety properties.
7862         * manual/macros.texi: Introduce macros to document multi
7863         thread, asynchronous signal and asynchronous cancellation
7864         safety properties.
7865         * manual/intro.texi: Introduce the properties themselves.
7867 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7869         * sysdeps/sh/sh4/Makefile: New file.
7871 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7873         * math/gen-libm-test.pl ($srcdir): New variable.
7874         ($auto_input): Use it.
7876 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7878         [BZ #16506]
7879         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7880         access beyond array bounds when parsing netgroups file.
7882         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7883         the old buffer before realloc.
7885 2014-01-27  Allan McRae  <allan@archlinux.org>
7887         * po/fr.po: Update French translation from translation project.
7889 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7891         * sysdeps/sh/libm-test-ulps: Regenerate.
7893 2014-01-24  David S. Miller  <davem@davemloft.net>
7895         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7897 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7899         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7900         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7902 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7904         [BZ #16474]
7905         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7906         string pointers after reallocation.
7908 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7910         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7911         __SH4A__ instead of __SH_FPU_ANY__.
7913 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7915         * sysdeps/sh/fpu_control.h: New file.
7916         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7917         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7918         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7919         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7920         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7921         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7922         * sysdeps/sh/sys/ucontext.h: Remove.
7923         * sysdeps/sh/sys: Remove directory.
7925 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7927         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7928         s390/sys/ucontext.h.
7929         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7930         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7932 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
7934         [BZ #15605]
7935         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7937 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7939         [BZ#16431]
7940         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7941         Adjust the vDSO correctly for internal calls.
7942         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7944 2014-01-20  Allan McRae  <allan@archlinux.org>
7946         * po/ca.po: Update Catalan translation from translation project.
7948 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
7950         * sysdeps/s390/sotruss-lib.c: New file.
7952 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7954         [BZ#16430]
7955         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7956         (__GI___gettimeofday): Alias for a different internal symbol to avoid
7957         local calls issues by not having a PLT stub required for IFUNC calls.
7958         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7960 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
7962         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7963         * math/test-fpucw-static.c: Likewise.
7965 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7967         [BZ #16453]
7968         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7970 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7972         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7973         implementation for powerpc.
7975 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
7977         [BZ #14782]
7978         * sysdeps/posix/system.c (__libc_system): Do not enable
7979         asynchronous cancellation.
7981 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7983         [BZ #16427]
7984         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7985         handling only for numbers special also in the IEEE case.
7987 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7989         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7991 2014-01-11  Allan McRae  <allan@archlinux.org>
7993         * po/bg.po: Update Bulgarian translation from translation project.
7995         * po/de.po: Update German translation from translation project.
7997 2014-01-10  Roland McGrath  <roland@hack.frob.com>
7999         * sysdeps/generic/gcc-compat.h: New file.
8001 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8003         * benchtests/asin-inputs: Correct slow inputs.
8004         * benchtests/acos-inputs: Likewise.
8006 2014-01-10  Allan McRae  <allan@archlinux.org>
8008         * po:sv.po: Update Swedish translation from translation project.
8010         * po/vi.po: Update Vietnamese translation from translation project.
8012         * po/eo.po: Update Esperanto translation from translation project.
8014         * po/cs.po: Update Czech translation from translation project.
8016         * po/nl.po: Update Dutch translation from translation project.
8018         * po/pl.po: Update Polish translation from translation project.
8020         * po/ru.po: Update Russian translation from translation project.
8022         * po/uk.po: Update Ukrainian translation from translation project.
8024 2014-01-08  Brooks Moses  <bmoses@google.com>
8026         * elf/dl-load.c: Fix comment typo.
8028 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8030         * po/header.pot: Rename to...
8031         * po/pot.header: ... this.
8032         * po/Makefile: Use pot.header.
8034 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8035             Maxim Kuvyrkov  <maxim@kugelworks.com>
8037         [BZ #16394]
8038         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8039         SRC and DEST against LEN.
8041 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8043         [BZ #16414]
8044         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8045         implementation.
8046         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8048 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8052 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8054         [BZ #16408]
8055         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8056         for large positive arguments.
8058 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8060         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8062         * math/auto-libm-test-in: Mark various tests with
8063         xfail-rounding:ldbl-128ibm.
8064         * math/auto-libm-test-out: Regenerated.
8066         [BZ #16407]
8067         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8068         Increase overflow threshold.
8070 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8072         [BZ #14286]
8073         * stdio-common/vfprintf.c: Check for integer overflow.
8075 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8077         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8078         the first argument and return value of __tls_get_addr_internal.
8080 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8082         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8083         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8085 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8087         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8088         * sysdeps/s390/rtld-global-offsets.sym: New file.
8089         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8090         GLIBC_2.19 symbol.
8091         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8092         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8093         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8094         ... this.
8095         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8096         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8097         ... this.
8098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8099         Regenerate.
8100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8101         Regenerate.
8102         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8103         halfs of GPRs for high_gprs contexts.
8104         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8105         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8106         field.
8107         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8108         uc_flags field.
8109         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8110         64 bit versions:
8111         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8112         for high GPRs (uc_high_gprs) and for future extensions
8113         (__reserved).
8114         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8115         for future extensions (__reserved).
8116         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8117         64 bit versions:
8118         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8119         SC_HIGHGPRS offset definition.
8120         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8121         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8123         * Versions.def: Add GLIBC_2.19 for libpthread.
8124         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8125         siglongjmp for libpthread with GLIBC_2.19 symver.
8126         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8127         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8128         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8129         * sysdeps/s390/__longjmp.c: New file.
8130         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8131         * sysdeps/s390/longjmp.c: New file.
8132         * sysdeps/s390/setjmp.S: New file.
8133         * sysdeps/s390/sigjmp.S: New file.
8134         * sysdeps/s390/v1-longjmp.c: New file.
8135         * sysdeps/s390/v1-setjmp.h: New file.
8136         * sysdeps/s390/v1-sigjmp.c: New file.
8137         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8138         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8139         GLIBC_2.19 version.
8140         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8141         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8142         versioned symbols for ____longjmp_chk.
8143         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8144         Likewise.
8145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8146         Regenerate.
8147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8148         Regenerate.
8149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8150         Regenerate.
8151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8152         Regenerate.
8153         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8154         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8155         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8156         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8157         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8158         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8159         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8160         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8161         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8162         * sysdeps/s390/rtld-__longjmp.c: New file.
8163         * sysdeps/s390/rtld-setjmp.S: New file.
8165 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8167         [BZ #16400]
8168         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8169         Return -__logl (x) for small positive arguments without evaluating
8170         a polynomial.
8172 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8174         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8175         Rename to ...
8176         (__ptrace_peeksiginfo_args): ... this.
8177         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8178         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8179         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8181 2014-01-06  Allan McRae  <allan@archlinux.org>
8183         * inet/netinet/in.h: Fix typo in comment.
8185 2014-01-05  Andreas Jaeger  <aj@suse.de>
8187         * sysdeps/i386/fpu/libm-test-ulps: Update.
8189 2014-01-05  Allan McRae  <allan@archlinux.org>
8191         * po/libc.pot: Regenerated.
8193         * malloc/memusagestat.c: Fix gettext call formatting.
8195 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8197         * nscd/nscd.c: Improve usage() output.
8199 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8201         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8202         * sysdeps/unix/sysv/linux/configure: Regenerated.
8203         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8204         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8206 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8208         [BZ #16390]
8209         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8210         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8212 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8214         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8215         extra tokens at end of #undef directive.
8216         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8217         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8218         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8220 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8222         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8224         * math/auto-libm-test-in: Mark various tests with
8225         xfail-rounding:ldbl-128ibm.
8226         * math/auto-libm-test-out: Regenerated.
8228 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8230         [BZ #16386]
8231         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8232         numbers with subnormal high part when calculating exponent.
8234         [BZ #16385]
8235         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8236         fabs.
8238         [BZ #16384]
8239         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8240         M_LN2l.
8241         (__ieee754_acoshl): Use __log1pl not __log1p.
8243 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8245         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8246         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8247         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8248         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8249         (reused_arena, arena_get2): Convert to GNU style.
8250         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8251         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8252         (memalign_check, __malloc_set_state): Likewise.
8253         * malloc/mallocbug.c (main): Likewise.
8254         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8255         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8256         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8257         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8258         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8259         (__posix_memalign, malloc_info): Likewise.
8260         * malloc/malloc.h: Likewise.
8261         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8262         (mallochook, memalignhook, reallochook, mabort): Likewise.
8263         * malloc/mcheck.h: Likewise.
8264         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8265         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8266         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8267         * malloc/morecore.c (__default_morecore): Likewise.
8268         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8269         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8270         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8271         (print_and_abort): Likewise.
8272         * malloc/obstack.h: Likewise.
8273         * malloc/set-freeres.c (__libc_freeres): Likewise.
8274         * malloc/tst-mallocstate.c (main): Likewise.
8275         * malloc/tst-mtrace.c (main): Likewise.
8276         * malloc/tst-realloc.c (do_test): Likewise.
8278 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8280         [BZ #16366]
8281         * nscd/netgroupcache.c (do_notfound): New function.
8282         (addgetnetgrentX): Use it.
8284         [BZ # 16365]
8285         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8286         NSS_STATUS_NOTFOUND.
8288 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8290         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8293 2014-01-01  Allan McRae  <allan@archlinux.org>
8295         * scripts/update-copyrights: Update configure input file suffix.
8297         * NEWS: Update copyright year.
8298         * catgets/gencat.c: Likewise.
8299         * csu/version.c: Likewise.
8300         * debug/catchsegv.sh: Likewise.
8301         * debug/pcprofiledump.c: Likewise.
8302         * debug/xtrace.sh: Likewise.
8303         * elf/ldconfig.c: Likewise.
8304         * elf/ldd.bash.in: Likewise.
8305         * elf/pldd.c: Likewise.
8306         * elf/sotruss.ksh: Likewise.
8307         * elf/sprof.c: Likewise.
8308         * iconv/iconv_prog.c: Likewise.
8309         * iconv/iconvconfig.c: Likewise.
8310         * locale/programs/locale.c: Likewise.
8311         * locale/programs/localedef.c: Likewise.
8312         * login/programs/pt_chown.c: Likewise.
8313         * malloc/memusage.sh: Likewise.
8314         * malloc/memusagestat.c: Likewise.
8315         * malloc/mtrace.pl: Likewise.
8316         * manual/libc.texinfo: Likewise.
8317         * nscd/nscd.c: Likewise.
8318         * nss/getent.c: Likewise.
8319         * nss/makedb.c: Likewise.
8320         * posix/getconf.c: Likewise.
8321         * scripts/test-installation.pl: Likewise.
8323         * All files with FSF copyright notices: Update copyright dates
8324         using scripts/update-copyrights.
8325         * intl/plural.c: Regenerated.
8326         * locale/programs/charmap-kw.h: Likewise.
8327         * locale/programs/locfile-kw.h: Likewise.
8329 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8331         * sysdeps/unix/sysv/linux/configure: Regenerated.
8332         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8333         the linux/fanotify.h header.
8334         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8335         HAVE_LINUX_FANOTIFY_H is defined.
8337 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8339         * benchtests/cos-inputs: New inputs.
8340         * benchtests/sin-inputs: Likewise.
8342         * benchtests/atan-inputs: New inputs. Fix name of multiple
8343         precision fallback inputs.
8345         * benchtests/atanh-inputs: New inputs.
8346         * benchtests/tanh-inputs: Likewise.
8348         * benchtests/acosh-inputs: New inputs.
8349         * benchtests/asinh-inputs: Likewise.
8351         * benchtests/cosh-inputs: New inputs.
8352         * benchtests/sinh-inputs: Likewise.
8354         * benchtests/acos-inputs: Add more inputs.
8355         * benchtests/asin-inputs: Likewise.
8357 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8359         [BZ #16375]
8360         * manual/arith.texi: Fix spelling.
8361         * manual/charset.texi: Likewise.
8362         * manual/errno.texi: Likewise.
8363         * manual/filesys.texi: Likewise.
8364         * manual/lang.texi: Likewise.
8365         * manual/llio.texi: Likewise.
8366         * manual/locale.texi: Likewise.
8367         * manual/message.texi: Likewise.
8368         * manual/resource.texi: Likewise.
8369         * manual/search.texi: Likewise.
8370         * manual/setjmp.texi: Likewise.
8371         * manual/stdio.texi: Likewise.
8372         * manual/string.texi: Likewise.
8373         * manual/sysinfo.texi: Likewise.
8374         * manual/time.texi: Likewise.
8376 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8378         * po/sl.po: New file.
8380 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8382         * .gitignore: Add core/.gdbinit/.gdb_history.
8384 2013-12-27  Allan McRae  <allan@archlinux.org>
8386         [BZ #16369]
8387         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8388         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8390 2013-12-24  Brooks Moses  <bmoses@google.com>
8392         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8393         all compilers that claim C++98 compliance, not just GCC.
8394         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8395         Likewise.
8397 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8399         * NEWS: Restore accidentally deleted bug-fix entries.
8401 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8402             Ondřej Bílka  <neleai@seznam.cz>
8404         [BZ #15073]
8405         * malloc/malloc.c (_int_free): Perform sanity check only if we
8406         have_lock.
8408 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8410         [BZ #12986]
8411         * manual/stdio.texi (String Input Conversions): Clarify that character
8412         classes are not supported.
8414 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8418 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8420         [BZ #16337]
8421         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8422         Calculate results for small negative arguments directly rather
8423         than using reflection formula with special underflow handling.
8425         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8426         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8427         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8428         (fchflags): Likewise.
8429         (revoke): Likewise.
8430         (setlogin): Likewise.
8431         (sigaltstack): Likewise.
8432         (wait4): Likewise.
8433         (sigblock): Remove.
8434         (sigsetmask): Likewise.
8435         (wait3): Likewise.
8436         (waitpid): Likewise.
8437         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8438         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8439         file.
8440         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8441         * sysdeps/unix/bsd/Makefile: ... here.
8442         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8443         * sysdeps/unix/bsd/Versions: ... here.
8444         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8445         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8446         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8447         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8448         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8449         * sysdeps/unix/bsd/sigblock.c: ... here.
8450         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8451         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8452         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8453         * sysdeps/unix/bsd/sigvec.c: ... here.
8454         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8455         * sysdeps/unix/bsd/tcdrain.c: ... here.
8456         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8457         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8458         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8459         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8460         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8461         * sysdeps/unix/bsd/wait.c: ... here.
8462         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8463         * sysdeps/unix/bsd/wait3.c: ... here.
8464         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8465         * sysdeps/unix/bsd/waitpid.c: ... here.
8467 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8469         [BZ #16356]
8470         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8471         round-to-nearest for [!USE_AS_EXPM1L].
8472         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8473         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8474         more tests of exp and exp10.  Expect some exp10 tests to miss
8475         exceptions or fail in directed rounding modes.
8476         * math/auto-libm-test-out: Regenerated.
8477         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8478         (exp10_test_tonearest): New function.
8479         (exp10_towardzero_test_data): New array.
8480         (exp10_test_towardzero): New function.
8481         (exp10_downward_test_data): New array.
8482         (exp10_test_downward): New function.
8483         (exp10_upward_test_data): New array.
8484         (exp10_test_upward): New function.
8485         (main): Call the new functions.
8486         * sysdeps/i386/fpu/libm-test-ulps: Update.
8487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8489 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8491         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8492         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8493         * math/auto-libm-test-out: Regenerated.
8494         * math/libm-test.inc (acosh_test_data): Add more tests.
8495         (atanh_test_data): Likewise.
8496         (ceil_test_data): Likewise.
8497         (copysign_test_data): Likewise.
8498         * sysdeps/i386/fpu/libm-test-ulps: Update.
8499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8501         * timezone/checktab.awk: Update from tzcode 2013i.
8502         * timezone/private.h: Likewise.
8503         * timezone/scheck.c: Likewise.
8504         * timezone/tzfile.h: Likewise.
8505         * timezone/tzselect.ksh: Likewise.
8506         * timezone/zdump.c: Likewise.
8507         * timezone/zic.c: Likewise.
8509         * math/auto-libm-test-in: Add tests of cpow.
8510         * math/auto-libm-test-out: Regenerated.
8511         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8512         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8513         mpc_cc_c.
8514         (func_calc_desc): Add mpc_cc_c union field.
8515         (test_functions): Add cpow.
8516         (special_fill_2pi): New function.
8517         (special_real_inputs): Add 2pi.
8518         (calc_generic_results): Handle mpc_cc_c.
8519         * sysdeps/i386/fpu/libm-test-ulps: Update.
8520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8522         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8523         csqrt, ctan and ctanh.
8524         * math/auto-libm-test-out: Regenerated.
8525         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8526         (TEST_COND_x86): Likewise.
8527         (ccos_test_data): Use AUTO_TESTS_c_c.
8528         (ccosh_test_data): Likewise.
8529         (cexp_test_data): Likewise.
8530         (clog_test_data): Likewise.
8531         (csqrt_test_data): Likewise.
8532         (ctan_test_data): Likewise.
8533         (ctan_tonearest_test_data): Likewise.
8534         (ctan_towardzero_test_data): Likewise.
8535         (ctan_downward_test_data): Likewise.
8536         (ctan_upward_test_data): Likewise.
8537         (ctanh_test_data): Likewise.
8538         (ctanh_tonearest_test_data): Likewise.
8539         (ctanh_towardzero_test_data): Likewise.
8540         (ctanh_downward_test_data): Likewise.
8541         (ctanh_upward_test_data): Likewise.
8542         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8543         mpc_c_c.
8544         (func_calc_desc): Add mpc_c_c union field.
8545         (FUNC_mpc_c_c): New macro.
8546         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8547         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8548         ctanh.
8549         (special_fill_min_subnorm_p120): New function.
8550         (special_real_inputs): Add min_subnorm_p120.
8551         (calc_generic_results): Handle mpc_c_c.
8552         * sysdeps/i386/fpu/libm-test-ulps: Update.
8553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8555 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8557         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8558         (do_sin_slow): New functions.
8559         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8560         (cslow2, csloww1, csloww2): Use the new functions.
8562         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8563         Use M to change sign of result instead of X.  Assume X is
8564         positive.
8565         (csloww1): Likewise.
8566         (__sin): Adjust.
8567         (__cos): Adjust.
8569         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8570         arguments A and DA.
8571         (__sin): Adjust.
8572         (__cos): Likewise.
8574         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8575         (__cos): Likewise.
8576         (sloww1): Don't adjust sign of DX.
8577         (csloww1): Likewise.
8578         (sloww2): Use X directly and don't adjust sign of DX.
8579         (csloww2): Likewise.
8581 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8583         * math/auto-libm-test-in: Add tests of cabs and carg.
8584         * math/auto-libm-test-out: Regenerated.
8585         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8586         (carg_test_data): Likewise.
8587         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8588         mpc_c_f.
8589         (func_calc_desc): Add mpc_c_f union field.
8590         (test_functions): Add cabs and carg.
8591         (calc_generic_results): Handle mpc_c_f.
8593         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8594         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8595         as a macro and a compat symbol.
8596         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8597         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8598         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8599         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8600         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8601         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8602         not use .hidden.
8603         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8604         Likewise.
8605         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8606         Likewise.
8607         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8608         Likewise.
8609         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8610         Likewise.
8611         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8612         Likewise.
8613         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8614         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8615         from GLIBC_2.3.2.
8617 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8621 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8623         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8624         trailing whitespace removed.
8625         * scripts/config.guess: Update to version 2013-11-29.
8626         * scripts/config.sub: Update to version 2013-10-01.
8628         * math/auto-libm-test-in: Add tests of sincos.
8629         * math/auto-libm-test-out: Regenerated.
8630         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8631         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8632         mpfr_f_11.
8633         (func_calc_desc): Add mpfr_f_11 union field.
8634         (test_functions): Add sincos.
8635         (calc_generic_results): Handle mpfr_f_11.
8636         * sysdeps/i386/fpu/libm-test-ulps: Update.
8637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8639 2013-12-19  Andreas Schwab  <schwab@suse.de>
8641         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8642         CALL_MCOUNT.
8643         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8644         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8645         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8647 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8649         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8650         * sysdeps/i386/fpu/libm-test-ulps: Update.
8651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8653         [BZ #16293]
8654         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8655         round-to-nearest mode when using frndint.
8656         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8657         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8658         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8659         Likewise.
8660         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8661         sinh test to fail.
8662         * math/auto-libm-test-out: Regenerated.
8663         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8664         (TEST_COND_x86): Likewise.
8665         (expm1_tonearest_test_data): New array.
8666         (expm1_test_tonearest): New function.
8667         (expm1_towardzero_test_data): New array.
8668         (expm1_test_towardzero): New function.
8669         (expm1_downward_test_data): New array.
8670         (expm1_test_downward): New function.
8671         (expm1_upward_test_data): New array.
8672         (expm1_test_upward): New function.
8673         (main): Run the new test functions.
8674         * sysdeps/i386/fpu/libm-test-ulps: Update.
8675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8677         * include/features.h: Update comment documenting feature test
8678         macros.  Mention _DEFAULT_SOURCE in comment.
8679         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8680         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8681         _BSD_SOURCE and _SVID_SOURCE.
8682         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8683         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8684         !_SVID_SOURCE]: Likewise.
8685         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8686         (__USE_POSIX_IMPLICITLY): Define.
8687         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8688         (_POSIX_SOURCE): Undefine and redefine.
8689         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8690         (_POSIX_C_SOURCE): Likewise.
8691         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8692         (Feature Test Macros): Update documentation of default features.
8694 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8696         * benchtests/Makefile: Add bench-strtok.
8697         * benchtests/bench-strtok.c: New file: strtok benchtest.
8699 2013-12-19  Allan McRae  <allan@archlinux.org>
8701         * manual/install.texi: Suppress menu for plain text output.
8702         * INSTALL: Regenerated.
8704 2013-12-18  Brooks Moses  <bmoses@google.com>
8706         [BZ #15846]
8707         * misc/getauxval.c: Include errno.h.
8708         (__getauxval): Set errno to ENOENT if the requested type is not
8709         found.
8710         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8711         don't declare with __attribute_const__.
8712         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8713         * manual/startup.texi: Document that getauxval sets errno.
8715 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8717         * math/auto-libm-test-in: Add tests of jn and yn.
8718         * math/auto-libm-test-out: Regenerated.
8719         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8720         (yn_test_data): Likewise.
8721         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8722         mpfr_if_f.
8723         (func_calc_desc): Add mpfr_if_f union field.
8724         (FUNC_mpfr_if_f): New macro.
8725         (test_functions): Add jn and yn.
8726         (calc_generic_results): Assert type of second input for
8727         mpfr_ff_f.  Handle mpfr_if_f.
8728         (output_for_one_input_case): Disable all checking for arguments
8729         fitting floating-point types in case of an integer argument.
8730         * sysdeps/i386/fpu/libm-test-ulps: Update.
8731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8734         Don't expect fegetround reference in libm.so.
8736 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8738         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8739         $(config-cflags-nofma).
8741 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8743         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8744         * math/auto-libm-test-out: Regenerated.
8746         [BZ #16338]
8747         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8748         to determine exponent and adjust argument to have exponent of -1.
8749         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8750         log2.
8751         * math/auto-libm-test-out: Regenerated.
8752         * sysdeps/i386/fpu/libm-test-ulps: Update.
8753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8757         * manual/probes.texi: Remove cases when per-thread arenas are
8758         disabled.
8760 2013-12-18  Andreas Schwab  <schwab@suse.de>
8762         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8763         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8764         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8765         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8766         * sysdeps/i386/i686/multiarch/Makefile: Update.
8767         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8769 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8771         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8772         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8774 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8776         [BZ #15968]
8777         Support TZ transition times < 00:00:00.
8778         This is needed for version-3 tz-format files; it supports time
8779         stamps past 2037 for America/Godthab (the only entry in the tz
8780         database for which this change is relevant).
8781         * manual/time.texi (TZ Variable): Document transition times
8782         from -167:59:59 through -00:00:01.
8783         * time/tzset.c (tz_rule): Time of day is now signed.
8784         (__tzset_parse_tz): Parse negative time of day.
8786         Document TZ transition times >= 25:00:00.
8787         * manual/time.texi (TZ Variable): Document transition times from
8788         25:00:00 through 167:59:59.  These are already supported, and this
8789         support will help with version-3 tz-format files.
8791         * manual/time.texi (TZ Variable): Modernize North America example
8792         to reflect current (i.e., 2007-and-later) daylight saving rules.
8794         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8796 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8798         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8799         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8801         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8802         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8803         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8804         * sysdeps/unix/bsd/clock.c: Likewise.
8805         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8806         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8807         * sysdeps/unix/bsd/init-posix.c: Likewise.
8808         * sysdeps/unix/bsd/poll.c: Likewise.
8809         * sysdeps/unix/bsd/ptsname.c: Likewise.
8810         * sysdeps/unix/bsd/seekdir.c: Likewise.
8811         * sysdeps/unix/bsd/setegid.c: Likewise.
8812         * sysdeps/unix/bsd/seteuid.c: Likewise.
8813         * sysdeps/unix/bsd/setgid.c: Likewise.
8814         * sysdeps/unix/bsd/setrgid.c: Likewise.
8815         * sysdeps/unix/bsd/setruid.c: Likewise.
8816         * sysdeps/unix/bsd/setsid.c: Likewise.
8817         * sysdeps/unix/bsd/setuid.c: Likewise.
8818         * sysdeps/unix/bsd/sigaction.c: Likewise.
8819         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8820         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8821         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8822         * sysdeps/unix/bsd/telldir.c: Likewise.
8823         * sysdeps/unix/bsd/times.c: Likewise.
8824         * sysdeps/unix/bsd/usleep.c: Likewise.
8826         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8827         ($(objpfx)libbsd-compat.a): Remove rule.
8829         * include/features.h (__FAVOR_BSD): Do not define.
8830         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8831         features conflicting with POSIX.
8832         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8833         (_BSD_SOURCE): Remove description of not being a subset of other
8834         feature test macros.
8835         * manual/job.texi (getpgrp): Do not document BSD version.
8836         (getpgid): Do not document by reference to BSD getpgrp.
8837         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8838         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8839         * signal/signal.h [__FAVOR_BSD]: Likewise.
8840         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8841         instead of making contents conditional on [__FAVOR_BSD].
8842         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8844 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8846         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8848 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8850         [BZ #16314]
8851         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8852         values below 2**-450, not 2**-500.
8853         * math/auto-libm-test-in: Don't allow spurious underflow from
8854         hypot.
8855         * math/auto-libm-test-out: Regenerated.
8857         [BZ #16316]
8858         [BZ #16330]
8859         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8860         values of ha and hb and sort them after adjusting subnormal
8861         arguments.
8862         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8863         Likewise.
8864         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8865         values of ea and eb and sort them after adjusting subnormal
8866         arguments.
8867         * math/auto-libm-test-in: Do not expect some hypot tests of
8868         subnormals to fail.  Add more hypot tests.
8869         * math/auto-libm-test-out: Regenerated.
8871 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8873         [BZ #13304]
8874         * sysdeps/sh/s_fma.c: New file.
8875         * sysdeps/sh/s_fmaf.c: New file.
8876         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8877         version.
8878         * sysdeps/sh/Implies: Add sh/soft-fp.
8880 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8882         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8883         level of indirection to members `objname', `errstring', `malloced'.
8884         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8885         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8886         it as the __longjmp argument (just pass 1 instead).
8887         (_dl_catch_error): Initialize C with argument pointers and address of
8888         volatile local ERRCODE rather than copying values out of C at return.
8890 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8892         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8893         * math/auto-libm-test-out: Regenerated.
8894         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8895         (hypot_test_data): Likewise.
8896         (pow_test_data): Likewise.
8897         (pow_tonearest_test_data): Likewise.
8898         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8899         mpfr_ff_f.
8900         (func_calc_desc): Add mpfr_ff_f union field.
8901         (FUNC_mpfr_ff_f): New macro.
8902         (test_functions): Add atan2, hypot and pow.
8903         (special_fill_min): New function.
8904         (special_fill_minus_min): Likewise.
8905         (special_fill_min_subnorm): Likewise.
8906         (special_fill_minus_min_subnorm): Likewise.
8907         (special_real_inputs): Add min, -min, min_subnorm and
8908         -min_subnorm.
8909         (calc_generic_results): Handle mpfr_ff_f.
8910         * sysdeps/i386/fpu/libm-test-ulps: Update.
8911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8913 2013-12-16  Will Newton  <will.newton@linaro.org>
8915         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8916         (Aligned Memory Blocks): Add documentation for aligned_alloc
8917         and suggest it as an alternative to posix_memalign.
8918         (Hooks for Malloc): Document __memalign_hook is also called
8919         for aligned_alloc.  (Summary of Malloc): Add summary for
8920         aligned alloc.  Document __memalign_hook is also called
8921         for aligned_alloc.
8923 2013-12-16  Will Newton  <will.newton@linaro.org>
8925         * manual/memory.texi (Malloc Examples): Clarify default
8926         alignment documentation.  Suggest posix_memalign rather
8927         than memalign or valloc.
8928         (Aligned Memory Blocks): Remove suggestion to use memalign
8929         or valloc.  Remove obsolete comment about BSD.
8930         Document memalign errno values and mark the function obsolete.
8931         Document posix_memalign returned error codes.  Mark valloc
8932         as obsolete.  (Hooks for Malloc): __memalign_hook is also
8933         called for posix_memalign and valloc.
8934         (Summary of Malloc): Add posix_memalign to function summary.
8935         __memalign_hook is also called for posix_memalign and valloc.
8937 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8939         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8940         TAYLOR_SIN.
8941         (__sin): Adjust.
8942         (__cos): Likewise.
8943         (sloww): Use mynumber union.  Expand ternary operator into
8944         if-else statements.
8945         (cslow): use mynumber union.
8947 2013-12-16  Allan McRae  <allan@archlinux.org>
8949         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8950         * configure: Regenerated.
8952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8954         [BZ #14120]
8955         * configure.ac: Added --enable-maintainer-mode. Check for
8956         autoconf when enabled.
8957         * configure: Regenerated.
8959         * nscd/nscd.service: New file.
8960         * nscd/nscd.tmpfiles: New file.
8962 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
8964         [BZ #12100]
8965         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8966         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8967         * sysdeps/x86_64/multiarch/strstr.c: ... here.
8968         (strstr): Add __strstr_sse2_unaligned ifunc.
8969         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8970         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8971         (strcasestr): Remove __strcasestr_sse42 ifunc.
8972         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8976 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8978         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8979         * sysdeps/sh/bits/fenv.h: ... here.
8980         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8982 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8984         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8986         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8987         hypotf multiarch implementations.
8988         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8989         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8990         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8991         multiarch hypot for PPC64.
8992         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8993         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8994         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8995         multiarch hypotf for PPC64.
8997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8998         modff multiarch implementations.
8999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9002         multiarch modf for PPC64.
9003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9006         multiarch modff for PPC64.
9008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9009         and logl multiarch implementations.
9010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9013         multiarch logb for PPC64.
9014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9017         multiarch logb for PPC64.
9018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9021         multiarch logb for PPC64.
9023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9024         isinff multiarch implementation.
9025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9026         file.
9027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9029         multiarch isinf for PPC64.
9030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9031         file.
9032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9033         multiarch isinff for PPC64.
9035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9036         finitef multiarch implementation.
9037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9038         file.
9039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9041         multiarch finite for PPC64.
9042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9043         file.
9044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9045         multiarch finitef for PPC64.
9047         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9048         lrint multiarch implementation.
9049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9050         file.
9051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9053         multiarch llrint for PPC64.
9054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9055         multiarch lrint for PPC64.
9057         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9058         copysignf multiarch implementation.
9059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9060         file.
9061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9062         file.
9063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9064         multiarch copysign for PPC64.
9065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9066         multiarch copysignf for PPC64.
9068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9069         multiarch implementation.
9070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9071         file.
9072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9073         file.
9074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9075         file.
9076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9077         file.
9078         multiarch llround for PPC64.
9079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9080         multiarch trunc for PPC64.
9081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9082         multiarch truncf for PPC64.
9084         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9085         multiarch implementation.
9086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9087         file.
9088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9089         file.
9090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9091         file.
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9093         file.
9094         multiarch llround for PPC64.
9095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9096         multiarch round for PPC64.
9097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9098         multiarch roundf for PPC64.
9100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9101         multiarch implementation.
9102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9103         file.
9104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9105         file.
9106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9107         file.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9109         file.
9110         multiarch llround for PPC64.
9111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9112         multiarch floor for PPC64.
9113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9114         multiarch floorf for PPC64.
9116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9117         multiarch implementation.
9118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9119         file.
9120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9121         file.
9122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9123         file.
9124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9125         file.
9126         multiarch llround for PPC64.
9127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9128         multiarch ceil for PPC64.
9129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9130         multiarch ceilf for PPC64.
9132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9133         multiarch implementation.
9134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9135         file.
9136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9137         file.
9138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9139         file.
9140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9141         multiarch llround for PPC64.
9142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9143         multiarch lround for PPC64.
9145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9146         multiarch implementation.
9147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9150         file.
9151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9154         multiarch isnan for PPC64.
9155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9156         multiarch isnanf for PPC64.
9158         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9159         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9160         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9161         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9162         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9165         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9166         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9167         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9168         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9171         multiarch implementations.
9172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9173         (__libc_ifunc_impl_list): Likewise.
9174         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9175         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9176         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9177         multiarch stpcpy for PPC64.
9179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9180         multiarch implementations.
9181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9182         (__libc_ifunc_impl_list): Likewise.
9183         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9184         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9185         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9186         multiarch strcpy for PPC64.
9188         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9189         redefine function name.
9190         (_wordcopy_fwd_dest_aligned): Likewise.
9191         (_wordcopy_bwd_aligned): Likewise.
9192         (_wordcopy_bwd_dest_aligned): Likewise.
9193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9194         multiarch implementations.
9195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9196         (__libc_ifunc_impl_list): Likewise.
9197         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9198         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9199         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9201         multiarch wcscpy for PPC64.
9203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9204         multiarch implementations.
9205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9206         (__libc_ifunc_impl_list): Likewise.
9207         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9208         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9209         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9210         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9211         multiarch wcscpy for PPC64.
9213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9214         multiarch implementations.
9215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9216         (__libc_ifunc_impl_list): Likewise.
9217         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9218         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9219         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9220         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9221         multiarch wcsrchr for PPC64.
9223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9224         multiarch implementations.
9225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9226         (__libc_ifunc_impl_list): Likewise.
9227         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9228         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9229         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9230         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9231         multiarch wcschr for PPC64.
9233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9234         multiarch implementations.
9235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9236         (__libc_ifunc_impl_list): Likewise.
9237         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9238         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9239         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9240         multiarch strchrnul for PPC64.
9242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9243         implementations.
9244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9245         (__libc_ifunc_impl_list): Likewise.
9246         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9247         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9248         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9249         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9250         strchr for PPC64.
9252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9253         implementations.
9254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9255         (__libc_ifunc_impl_list): Likewise.
9256         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9257         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9258         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9259         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9260         strncmp for PPC64.
9262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9263         multiarch implementations.
9264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9265         (__libc_ifunc_impl_list): Likewise.
9266         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9267         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9268         strncasecmp for PPC64.
9269         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9270         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9271         multiarch strncasecmp_l for PPC64.
9273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9274         multiarch implementations.
9275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9276         (__libc_ifunc_impl_list): Likewise.
9277         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9278         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9279         multiarch strcasecmp for PPC64.
9280         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9281         file.
9282         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9283         multiarch strcasecmp_l for PPC64.
9285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9286         implementations.
9287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9288         (__libc_ifunc_impl_list): Likewise.
9289         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9290         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9291         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9292         strnlen for PPC64.
9294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9295         implementations.
9296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9297         (__libc_ifunc_impl_list): Likewise.
9298         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9299         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9300         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9301         strlen for PPC64.
9303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9304         implementations.
9305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9306         (__libc_ifunc_impl_list): Likewise.
9307         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9308         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9309         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9310         rawmemrchr for PPC64.
9312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9313         implementation.
9314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9315         (__libc_ifunc_impl_list): Likewise.
9316         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9317         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9318         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9319         memrchr for PPC64.
9321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9322         implementation.
9323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9324         (__libc_ifunc_impl_list): Likewise.
9325         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9326         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9327         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9328         memchr for PPC64.
9330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9331         implementation.
9332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9333         (__libc_ifunc_impl_list): Likewise.
9334         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9335         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9336         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9337         mempcpy for PPC64.
9339         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9340         avoid cretion of __bzero symbol.
9341         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9342         Likewise.
9343         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9344         Likewise.
9345         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9346         Likewise.
9347         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9348         multiarch implementations.
9349         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9350         (__libc_ifunc_impl_list): Likewise.
9351         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9352         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9353         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9354         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9355         bzero for PPC32.
9356         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9357         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9358         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9359         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9360         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9361         memset for PPC64.
9362         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9364         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9366         implementations.
9367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9368         (__libc_ifunc_impl_list): Likewise.
9369         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9370         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9371         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9372         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9373         memcmp for PPC64.
9375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9376         multiarch for POWER/PPC64.
9377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9378         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9379         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9380         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9381         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9382         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9383         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9384         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9385         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9386         memcpy for PPC64.
9388         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9389         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9390         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9391         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9392         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9393         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9394         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9395         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9396         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9397         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9398         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9399         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9400         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9401         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9402         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9411 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9413         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9415 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9417         * benchtests/Makefile (bench): Add exp2 and log2.
9418         (LDLIBS-bench-exp2): Add -lm.
9419         (LDLIBS-bench-log2): Likewise.
9420         * benchtests/exp2-inputs: New inputs file.
9421         * benchtests/log2-inputs: New inputs file.
9422         * benchtests/log-inputs: Add new inputs.
9423         * benchtests/tan-inputs: Likewise.
9425 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9427         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9428         definition...
9429         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9430         (csloww2): ... from here.
9432         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9433         instead of structures.
9434         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9435         (POLYNOMIAL): Likewise.
9436         (TAYLOR_SLOW): Likewise.
9437         (__sin): Likewise.
9438         (__cos): Likewise.
9439         (slow1): Likewise.
9440         (slow2): Likewise.
9441         (sloww): Likewise.
9442         (sloww1); Likewise.
9443         (sloww2): Likewise.
9444         (bsloww1): Likewise.
9445         (bsloww2): Likewise.
9446         (cslow2): Likewise.
9447         (csloww): Likewise.
9448         (csloww1): Likewise.
9449         (csloww2): Likewise.
9451 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9453         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9454         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9455         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9456         * malloc/hooks.c (realloc_check): Likewise.
9458         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9459         * malloc/arena.c: Remove PER_THREAD conditional.
9460         [!PER_THREAD]: Remove code.
9461         (ptmalloc_unlock_all2): Likewise.
9462         (ptmalloc_init): Likewise.
9463         (_int_new_arena): Likewise.
9464         (arena_get2): Likewise.
9465         * malloc/hooks.c (__malloc_get_state): Likewise.
9466         (__malloc_set_state): Likewise.
9467         * malloc/malloc.c: Likewise.
9468         (struct malloc_state): Likewise.
9469         (struct malloc_par): Likewise.
9470         (__libc_realloc): Likewise.
9471         (__libc_mallopt): Likewise.
9473 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9475         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9477 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9479         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9480         macro to a function.  Check for zero perturb_byte.
9481         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9483         * malloc/malloc.c: (force_reg): Remove.
9484         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9485         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9486         force_reg by atomic_forced_read.
9487         * malloc/arena.c (ptmalloc_init): Likewise.
9488         * malloc/hooks.c (top_check): Likewise.
9490 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9494 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9498 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9500         * math/auto-libm-test-in: Add tests of lgamma.
9501         * math/auto-libm-test-out: Regenerated.
9502         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9503         (M_LOG_2_SQRT_PIl): Likewise.
9504         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9505         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9506         mpfr_f_f1.
9507         (func_calc_desc): Add mpfr_f_f1 union field.
9508         (ARGS1): New macro.
9509         (ARGS2): Likewise.
9510         (ARGS3): Likewise.
9511         (ARGS4): Likewise.
9512         (RET1): Likewise.
9513         (RET2): Likewise.
9514         (CALC): Likewise.
9515         (FUNC): Likewise.
9516         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9517         (test_functions): Add lgamma.
9518         (calc_generic_results): Handle mpfr_f_f1.
9519         * sysdeps/i386/fpu/libm-test-ulps: Update.
9520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9522 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9524         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9525         __mpn_add_n for PowerPC64/POWER7.
9526         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9527         __mpn_sub_n for PowerPC64/POWER7.
9529         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9530         __mpn_addmul_1 for PowerPC64.
9531         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9532         __mpn_submul_1 for PowerPC64.
9533         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9534         for PowerPC64.
9535         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9536         for PowerPC64.
9538 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9540         [BZ #15089]
9541         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9543 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9545         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9547         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9548         add multiarch folders.
9549         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9550         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9551         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9552         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9553         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9554         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9555         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9556         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9557         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9558         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9559         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9568         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9570         New file.
9571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9572         New file.
9573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9574         multiarch __ieee754_hypot for PowerPC32.
9575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9576         New file.
9577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9578         New file.
9579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9580         multiarch __ieee754_hypotf for PowerPC32.
9582         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9583         long_double_symbol only if __logbl is defined.
9584         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9585         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9586         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9587         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9588         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9589         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9590         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9591         path for implementation.
9592         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9593         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9595         logb, and logbl multiarch implementations for PowerPC32.
9596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9597         file.
9598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9599         file.
9600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9601         multiarch logb for PowerPC32.
9602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9603         file.
9604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9605         file.
9606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9607         multiarch logbf for PowerPC32.
9608         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9610         file.
9611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9612         multiarch logbl implementation for PowerPC32.
9614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9615         and modff multiarch implementations.
9616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9617         New file.
9618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9619         New file.
9620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9621         multiarch modf for PowerPC32.
9622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9623         New file.
9624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9625         New file.
9626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9627         multiarch modff for PowerPC32.
9629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9630         and lrintf multiarch implementations.
9631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9632         New file.
9633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9634         New file.
9635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9636         multiarch lrint for PowerPC32.
9637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9638         file: multiarch lrintf for PowerPC32.
9640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9641         and lroundf multiarch implementations.
9642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9643         New file.
9644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9645         New file.
9646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9647         New file.
9648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9649         multiarch lround for PowerPC32.
9650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9651         file: multiarch lroundf for PowerPC32.
9653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9654         copysign and copysignf multiarch implementations.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9656         New file.
9657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9658         New file.
9659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9660         file: multiarch copysign for PowerPC32.
9661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9662         file: multiarch copysignf for PowerPC32.
9664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9665         and truncf multiarch implementations.
9666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9667         New file.
9668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9669         file.
9670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9671         multiarch trunc for PowerPC32.
9672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9673         New file.
9674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9675         New file.
9676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9677         multiarch truncf for PowerPC32.
9679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9680         and roundf multiarch implementations.
9681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9682         New file.
9683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9684         file.
9685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9686         multiarch round for PowerPC32.
9687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9688         New file.
9689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9690         New file.
9691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9692         multiarch roundf for PowerPC32.
9694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9695         and floorf multiarch implementations.
9696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9697         New file.
9698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9699         file.
9700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9701         multiarch floor for PowerPC32.
9702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9703         New file.
9704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9705         New file.
9706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9707         multiarch floorf for PowerPC32.
9709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9710         and ceilf multiarch implementations.
9711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9712         New file.
9713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9714         file.
9715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9716         multiarch ceil for PowerPC32.
9717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9718         New file.
9719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9720         file.
9721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9722         multiarch ceilf for PowerPC32.
9724         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9725         is defined.
9726         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9727         FINITEF is defined.
9728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9729         and finitef multiarch implementations.
9730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9731         New file.
9732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9733         file.
9734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9735         multiarch finite for PowerPC32.
9736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9737         New file.
9738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9739         file: multiarch finitef for PowerPC32.
9741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9742         and isinff multiarch implementations.
9743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9744         file.
9745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9746         file.
9747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9748         multiarch isinf for PowerPC32.
9749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9750         New file.
9751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9752         multiarch isinff for PowerPC32.
9754         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9755         alias when __isnan is defined.
9756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9757         and isnanf multiarch implementations.
9758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9759         file.
9760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9761         file.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9763         file.
9764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9765         file.
9766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9767         multiarch isnan for PowerPC32.
9768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9769         New file.
9770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9771         New file.
9772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9773         multiarch isnanf for PowerPC32.
9775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9776         and sqrtf multiarch implementations.
9777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9778         file.
9779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9780         file.
9781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9782         multiarch sqrt for PowerPC32.
9783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9784         file.
9785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9786         file.
9787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9788         multiarch sqrtf for PowerPC32.
9790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9791         and llroundf multiarch implementations.
9792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9793         New file.
9794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9795         New file.
9796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9797         New file.
9798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9799         file: multiarch llround for PowerPC32.
9800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9801         file: multiarch llroundf for PowerPC32.
9803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9804         multiarch PowerPC32 fpu implementations.
9805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9806         New file.
9807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9808         New file.
9809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9810         multiarch llrint for PowerPC32.
9811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9812         New file.
9813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9814         New file.
9815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9816         file.
9818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9820         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9821         file.
9822         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9823         file.
9824         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9825         file.
9826         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9827         multiarch wordcopy for PPC32.
9828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9829         wordcopy objects.
9830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9831         (__libc_ifunc_impl_list): Likewise.
9832         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9833         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9834         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9835         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9836         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9837         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9839         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9840         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9841         file.
9842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9843         file.
9844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9845         file.
9846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9847         multiarch wcscpy for PPC32.
9848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9849         multiarch objects.
9850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9851         (__libc_ifunc_impl_list): Likewise.
9852         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9853         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9854         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9855         sysdeps/powerpc/power6/wcscpy.c.
9857         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9859         file.
9860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9861         file.
9862         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9863         file.
9864         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9865         multiarch wcsrchr for PPC32.
9866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9867         multiarch objects.
9868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9869         (__libc_ifunc_impl_list): Likewise.
9870         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9871         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9872         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9873         sysdeps/powerpc/power6/wcsrchr.c.
9875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9876         file.
9877         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9878         file.
9879         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9881         multiarch wcschr for PPc32.
9882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9883         multiarch objects.
9884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9885         (__libc_ifunc_impl_list): Likewise.
9886         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9887         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9888         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9889         sysdeps/powerpc/power6/wcschr.c.
9891         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9892         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9893         file.
9894         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9895         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9896         file: multiarch strchr for PPC32.
9897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9898         multiarch objects.
9899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9900         (__libc_ifunc_impl_list): Likewise.
9902         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9903         name.
9904         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9905         file.
9906         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9907         file.
9908         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9909         multiarch strchrnul for PPC32.
9910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9911         multiarch objects.
9912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9913         (__libc_ifunc_impl_list): Likewise.
9915         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9916         file.
9917         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9918         multiarch strncasecmp for PPC32.
9919         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9920         file.
9921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9922         multiarch strncasecmp_l for PPC32.
9923         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9924         strncasecmp multiarch objects.
9925         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9926         (__libc_ifunc_impl_list): Likewise.
9928         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9929         file.
9930         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9931         multiarch strncasecmp for PPC32.
9932         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9933         New file.
9934         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9935         multiarch strcasecmp_l for PPC32.
9936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9937         multiarch objects.
9938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9939         (__libc_ifunc_impl_list): Likewise.
9941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9942         file.
9943         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9944         file.
9945         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9946         multiarch strncmp for PPC32.
9947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9948         multiarch objects.
9949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9950         (__libc_ifunc_impl_list): Likewise.
9952         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9953         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9954         file.
9955         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9956         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9958         multiarch objects.
9959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9960         (__libc_ifunc_impl_list): Likewise.
9962         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9963         file.
9964         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9965         file.
9966         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9967         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9968         multiarch objects.
9969         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9970         (__libc_ifunc_impl_list): Likewise.
9972         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9973         file.
9974         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9975         file.
9976         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9977         multiarch rawmemchr for PPC32.
9978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9979         multiarch objects.
9980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9981         (__libc_ifunc_impl_list): Likewise.
9983         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9984         file.
9985         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9986         file.
9987         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9988         file: memrchr multiarch for PPC32.
9989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9990         multiarch objects.
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9992         (__libc_ifunc_impl_list): Likewise.
9994         * string/memchr.c (__memchr): Using macro to redefine symbol name.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9996         file.
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9998         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9999         multiarch memchr for PPC32.
10000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10001         multiarch objects.
10002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10003         (__libc_ifunc_impl_list): Likewise.
10005         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10006         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10007         file.
10008         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10009         file.
10010         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10011         file: multiarch mempcpy for PPC32.
10012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10013         multiarch objects.
10014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10015         (__libc_ifunc_impl_list): Likewise.
10017         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10018         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10019         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10020         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10021         multiarch bzero for PPC32.
10022         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10023         file.
10024         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10025         file.
10026         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10027         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10028         file: multiarch memset for PPC32.
10029         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10031         memset multiarch objects.
10032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10033         (__libc_ifunc_impl_list): Likewise.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10036         file.
10037         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10038         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10039         memcmp for PPC32.
10040         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10042         multiarch objects.
10043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10044         (__libc_ifunc_impl_list): Likewise.
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10047         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10049         file.
10050         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10051         file.
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10053         file.
10054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10055         multiarch memcpy for PPC32.
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10057         multiarch objects.
10058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10059         (__libc_ifunc_impl_list): Likewise.
10061         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10062         support multiarch for POWER/PPC32.
10063         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10064         Likewise.
10065         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10067         Implies file to make multiarch folder appers before the fpu and
10068         default folder for power4 configuration.
10070 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10072         * scripts/bench.pl: Append volatile keyword to type.
10074 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10076         * sysdeps/sh/sotruss-lib.c: New file.
10077         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10079 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10083 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10085         [BZ #6810]
10086         * math/w_tgamma.c: Include <errno.h>.
10087         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10088         * math/w_tgammaf.c: Include <errno.h>.
10089         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10090         * math/w_tgammal.c: Include <errno.h>.
10091         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10092         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10093         underflow.  Add more tgamma tests.
10094         * math/auto-libm-test-out: Regenerated.
10095         * sysdeps/i386/fpu/libm-test-ulps: Update.
10096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10098         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10099         sin, sinh, tan, tanh, tgamma, y0 and y1.
10100         * math/auto-libm-test-out: Regenerated.
10101         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10102         (TEST_COND_x86): Likewise.
10103         (M_E2l): Remove macro.
10104         (M_E3l): Likewise.
10105         (M_2_SQRT_PIl): Likewise.
10106         (M_SQRT_PIl): Likewise.
10107         (M_1_DIV_El): Likewise.
10108         (log_test_data): Use AUTO_TESTS_f_f.
10109         (log10_test_data): Likewise.
10110         (log1p_test_data): Likewise.
10111         (log2_test_data): Likewise.
10112         (sin_test_data): Likewise.
10113         (sin_tonearest_test_data): Likewise.
10114         (sin_towardzero_test_data): Likewise.
10115         (sin_downward_test_data): Likewise.
10116         (sin_upward_test_data): Likewise.
10117         (sinh_test_data): Likewise.
10118         (sinh_tonearest_test_data): Likewise.
10119         (sinh_towardzero_test_data): Likewise.
10120         (sinh_downward_test_data): Likewise.
10121         (sinh_upward_test_data): Likewise.
10122         (tan_test_data): Likewise.
10123         (tan_tonearest_test_data): Likewise.
10124         (tan_towardzero_test_data): Likewise.
10125         (tan_downward_test_data): Likewise.
10126         (tan_upward_test_data): Likewise.
10127         (tanh_test_data): Likewise.
10128         (tgamma_test_data): Likewise.
10129         (y0_test_data): Likewise.
10130         (y1_test_data): Likewise.
10131         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10132         (special_real_inputs): Add pi/4.
10133         * sysdeps/i386/fpu/libm-test-ulps: Update.
10134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10136 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10138         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10139         "longjmp_target" static probes.
10140         (__longjmp): Rename to __longjmp_symbol.
10141         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10142         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10143         on which longjmp to generate.
10144         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10146         probe.
10147         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10148         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10149         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10150         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10151         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10152         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10154         __longjmp_symbol based on which __longjmp to generate.
10155         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10156         probe.
10157         (setjmp): Rename to setjmp_symbol.
10158         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10159         (_setjmp): Rename to _setjmp_symbol.
10160         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10161         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10162         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10163         which setjmp to generate.
10164         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10165         "longjmp_target" static probes.
10167 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10169         * benchtests/README: Add note about output arguments.
10170         * benchtests/bench-sincos.c: Remove file.
10171         * benchtests/sincos-inputs: New file.
10172         * scripts/bench.pl: Identify output arguments and define
10173         static variables for them.
10175         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10177         [BZ #15941]
10178         * Makefile (INSTALL): Add install-plain.texi as the primary
10179         dependency.
10180         * manual/install-plain.texi: New file.
10181         * manual/install.texi: Include node directive only for
10182         non-plaintext output.
10184 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10186         * stdlib/longlong.h: Update from GCC.
10188         [BZ #6807]
10189         [BZ #15901]
10190         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10191         * math/w_j0f.c (y0f): Likewise.
10192         * math/w_j0l.c (__y0l): Likewise.
10193         * math/w_j1.c (y1): Likewise.
10194         * math/w_j1f.c (y1f): Likewise.
10195         * math/w_j1l.c (__y1l): Likewise
10196         * math/w_jn.c (yn): Likewise.
10197         * math/w_jnf.c (ynf): Likewise.
10198         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10199         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10200         value for Bessel function domain errors outside _SVID_ mode.
10201         Adjust sign of return value for yn (negative integer, 0).
10202         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10203         by zero in return for negative x and set sign appropriately for
10204         negative n.
10205         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10206         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10207         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10208         expectations in error cases.
10209         (y1_test_data): Likewise.
10210         (yn_test_data): Likewise.
10211         * sysdeps/i386/fpu/libm-test-ulps: Update.
10212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10216         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10217         "64" to "64-v1".  Add "64-v2".
10218         (abi-64-options): Rename to ...
10219         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10220         (abi-64-condition): Rename to ...
10221         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10222         (abi-64-ld-soname): Rename to ...
10223         (abi-64-v1-ld-soname): ... this.
10224         (abi-64-v2-options): Define.
10225         (abi-64-v2-condition): Likewise.
10226         (abi-64-v2-ld-soname): Likewise.
10227         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10228         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10233 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10234             Alan Modra  <amodra@gmail.com>
10236         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10237         New versions for use with the ELFv2 ABI.
10238         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10239         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10240         declaration.
10241         (struct La_ppc64v2_retval): Likewise.
10242         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10243         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10244         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10245         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10246         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10247         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10248         Do not save or restore CR.
10249         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10250         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10251         return values for ELFv2 ABI.  Fix location of FPR return registers.
10252         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10253         updated values for _CALL_ELF == 2.
10254         (La_regs, La_retval, int_retval): Likewise.
10256 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10258         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10259         (FRAME_MIN_SIZE_PARM): Likewise.
10260         (FRAME_BACKCHAIN): Likewise.
10261         (FRAME_CR_SAVE): Likewise.
10262         (FRAME_LR_SAVE): Likewise.
10263         (FRAME_TOC_SAVE): Likewise.
10264         (FRAME_PARM_SAVE): Likewise.
10265         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10266         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10267         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10268         (call_mcount_parm_offset): New macro.
10269         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10270         (PROF): Use symbolic stack frame offsets.
10271         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10272         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10273         Redefine in terms of FRAME_MIN_SIZE.
10274         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10275         (_dl_profile_resolve): Likewise.  Update comment.
10276         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10277         symbols stack frame offsets.
10278         (__sigsetjmp): Likewise.
10279         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10280         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10281         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10282         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10285         (FRAME_BACKCHAIN): Remove.
10286         (FRAME_CR_SAVE): Likewise.
10287         (FRAME_LR_SAVE): Likewise.
10288         (FRAME_COMPILER_DW): Likewise.
10289         (FRAME_LINKER_DW): Likewise.
10290         (FRAME_TOC_SAVE): Likewise.
10291         (FRAME_PARM_SAVE): Likewise.
10292         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10293         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10294         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10296         (CHECK_SP): Use symbolic stack frame offsets.
10297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10298         zone" instead of caller's parameter save area for temp storage.
10299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10300         Likewise.  Also, use symbolic stack frame offsets.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10302         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10303         our own stack frame instead of the caller's.
10304         (__socket): Use symbolic stack frame offsets.
10306 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10307             Alan Modra  <amodra@gmail.com>
10309         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10310         Define.
10311         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10312         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10313         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10314         New function.
10315         (elf_machine_fixup_plt): Call it.
10316         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10317         reloc arguments.
10318         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10319         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10320         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10321         r2 before calling target.
10323 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10324             Alan Modra  <amodra@gmail.com>
10326         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10327         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10328         versions of macros to support ELFv2 ABI.
10329         (LOCALENTRY): New macro.
10330         (ENTRY, EALIGN): Use it.
10331         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10332         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10333         fall through into ENTRY entry point.
10334         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10335         Only define if _CALL_ELF != 2.
10337         (elf_machine_matches_host): Verify ABI version matches.
10338         (RTLD_START): Use LOCALENTRY.
10339         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10340         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10341         (PLT_ENTRY_WORDS): New macro.
10342         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10343         (elf_machine_runtime_setup): Support ELFv2 ABI.
10344         (elf_machine_fixup_plt): Likewise.
10345         (elf_machine_plt_conflict): Likewise.
10346         (resolve_ifunc): Likewise.
10347         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10348         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10351         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10353         (makecontext): Support ELFv2 ABI.
10354         * elf/elf.h (EF_PPC64_ABI): Define.
10356 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10358         * sysdeps/powerpc/powerpc64/sysdep.h
10359         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10360         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10361         (ENTRY) [ASSEMBLER]: ... but instead here ...
10362         (EALIGN) [ASSEMBLER]: ... and here.
10363         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10364         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10365         (ENTRY_2) [!ASSEMBLER]: Use it.
10366         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10367         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10368         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10369         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10370         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10372         Use PPC64_LOAD_FUNCPTR.
10374         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10376 2013-12-04  Alan Modra  <amodra@gmail.com>
10378         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10379         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10380         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10381         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10383         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10384         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10385         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10386         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10387         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10388         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10390 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10393         (__makecontext): Fix incorrect CFI when backtracing out of
10394         context created via makecontext.
10395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10396         (__setcontext): Fix incorrect CFI during switch to new context.
10397         (__novec_setcontext): Likewise.
10399 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10401         [BZ #4772]
10402         * time/strptime_l.c (__strptime_internal): Allow modifiers
10403         in strptime.
10404         * time/tst-strptime.c (day_tests): Add testcase.
10406 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10408         * scripts/bench.pl: Skip over blank lines.
10410 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10412         [BZ #926]
10413         * manual/time.texi (Calendar Time): Clarify what timezone functions
10414         use.
10416 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10420 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10422         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10423         implementation.
10424         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10425         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10426         * debug/memset_chk.c (__memset_chk): Likewise.
10427         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10428         * debug/strncpy_chk.c: Likewise.
10430 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10432         [BZ #15268]
10433         [BZ #15425]
10434         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10435         (__ieee754_exp): For possibly underflowing results, check size of
10436         result and force underflow exception if required.
10437         * math/auto-libm-test-in: Add more tests of exp.
10438         * math/auto-libm-test-out: Regenerated.
10439         * sysdeps/i386/fpu/libm-test-ulps: Update.
10440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10442         [BZ #16283]
10443         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10444         * math/w_exp2f.c (__exp2f): Likewise.
10445         * math/w_exp2l.c (__exp2l): Likewise.
10446         * math/auto-libm-test-in: Do not allow missing errno on exp2
10447         underflow.
10448         * math/auto-libm-test-out: Regenerated.
10450 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10452         [BZ #16274]
10453         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10454         handle filename validation.
10455         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10456         (do_open): Delete.
10458 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10460         [BZ #6786]
10461         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10462         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10463         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10464         <float.h>.
10465         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10467         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10468         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10469         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10470         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10471         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10472         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10473         Add more erfc tests.
10474         * math/auto-libm-test-out: Regenerated.
10475         * sysdeps/i386/fpu/libm-test-ulps: Update.
10476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10478         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10479         exp2, expm1, j0 and j1.
10480         * math/auto-libm-test-out: Regenerated.
10481         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10482         (erfc_test_data): Likewise.
10483         (exp_test_data): Likewise.
10484         (exp_tonearest_test_data): Likewise.
10485         (exp_towardzero_test_data): Likewise.
10486         (exp_downward_test_data): Likewise.
10487         (exp_upward_test_data): Likewise.
10488         (exp10_test_data): Likewise.
10489         (exp2_test_data): Likewise.
10490         (expm1_test_data): Likewise.
10491         (j0_test_data): Likewise.
10492         (j1_test_data): Likewise.
10493         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10494         (input_flag_type): Add flag_xfail_rounding.
10495         (input_flags): Add xfail-rounding.
10496         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10497         (output_for_one_input_case): Handle flag_xfail_rounding.
10498         * sysdeps/i386/fpu/libm-test-ulps: Update.
10499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10501 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10503         [BZ #16289]
10504         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10505         division by 0.
10507 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10509         [BZ #16195]
10510         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10511         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10512         (STAP_PROBE0): New macro.
10513         (STAP_PROBE1): Likewise.
10514         (STAP_PROBE2): Likewise.
10515         (STAP_PROBE3): Likewise.
10516         (STAP_PROBE4): Likewise.
10518 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10520         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10522 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10524         * benchtests/Makefile (bench): Add sqrt.
10525         (LDLIBS-bench-sqrt): New.
10526         * benchtests/sqrt-input: New.
10528 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10530         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10531         (GAIH_EAI): Likewise.
10532         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10533         (gaih_inet): Likewise.
10534         (getaddrinfo): Don't use GAIH_EAI.
10536         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10537         (struct gaih): Remove definition.
10539 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10541         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10542         Use HERRNOP directly.
10544 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10548 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10550         * math/gen-auto-libm-tests.c (test_functions): Add more
10551         single-argument functions.
10552         (special_fill_pi_2): New function.
10553         (special_fill_minus_pi_2): Likewise.
10554         (special_fill_pi_6): Likewise.
10555         (special_fill_minus_pi_6): Likewise.
10556         (special_fill_pi_3): Likewise.
10557         (special_fill_2pi_3): Likewise.
10558         (special_fill_e): Likewise.
10559         (special_fill_1_e): Likewise.
10560         (special_fill_e_minus_1): Likewise.
10561         (special_real_inputs): Add more special inputs.
10562         (output_for_one_input_case): Do not require ERANGE on underflow to
10563         zero if round-to-nearest result does not underflow to zero, unless
10564         exact results required.
10565         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10566         atan, atanh, cbrt, cos and cosh.
10567         * math/auto-libm-test-out: Regenerated.
10568         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10569         (acos_tonearest_test_data): Likewise.
10570         (acos_towardzero_test_data): Likewise.
10571         (acos_downward_test_data): Likewise.
10572         (acos_upward_test_data): Likewise.
10573         (acosh_test_data): Likewise.
10574         (asin_test_data): Likewise.
10575         (asin_tonearest_test_data): Likewise.
10576         (asin_towardzero_test_data): Likewise.
10577         (asin_upward_test_data): Likewise.
10578         (asinh_test_data): Likewise.
10579         (atan_test_data): Likewise.
10580         (atanh_test_data): Likewise.
10581         (cbrt_test_data): Likewise.
10582         (cos_test_data): Likewise.
10583         (cos_tonearest_test_data): Likewise.
10584         (cos_towardzero_test_data): Likewise.
10585         (cos_downward_test_data): Likewise.
10586         (cos_upward_test_data): Likewise.
10587         (cosh_test_data): Likewise.
10588         (cosh_tonearest_test_data): Likewise.
10589         (cosh_towardzero_test_data): Likewise.
10590         (cosh_downward_test_data): Likewise.
10591         (cosh_upward_test_data): Likewise.
10592         * sysdeps/i386/fpu/libm-test-ulps: Update.
10593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10595 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10597         [BZ #6787]
10598         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10599         * math/w_exp10f.c (__exp10f): Likewise.
10600         * math/w_exp10l.c (__exp10l): Likewise.
10601         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10602         errno settings in existing tests.
10604         [BZ #14032]
10605         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10606         precision control set to double precision.
10607         * sysdeps/i386/fpu/w_sqrt.c: New file.
10608         * math/auto-libm-test-in: Add more tests.
10609         * math/auto-libm-test-out: Update.
10611         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10612         (sqrt_test_tonearest): New function.
10613         (sqrt_towardzero_test_data): New variable.
10614         (sqrt_test_towardzero): New function.
10615         (sqrt_downward_test_data): New variable.
10616         (sqrt_test_downward): New function.
10617         (sqrt_upward_test_data): New variable.
10618         (sqrt_test_upward): New function.
10619         (main): Call the new functions.
10621         * math/gen-auto-libm-tests.c: New file.
10622         * math/auto-libm-test-in: Likewise.
10623         * math/auto-libm-test-out: New generated file.
10624         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10625         variables.
10626         (%beautify): Add generated representations of zero.
10627         (top level): Set $auto_input and call parse_auto_input.
10628         (beautify): Remove trailing "f" from hex float constants.
10629         (parse_args): Handle XFAIL_TEST.
10630         (convert_condition): New function.
10631         (or_value): Likewise.
10632         (or_cond_value): Likewise.
10633         (generate_testfile): Handle AUTO_TESTS_* lines.
10634         (parse_auto_input): New function.
10635         * math/libm-test.inc (XFAIL_TEST): New macro.
10636         (ERRNO_UNCHANGED): Update value.
10637         (ERRNO_EDOM): Likewise.
10638         (ERRNO_ERANGE): Likewise.
10639         (IGNORE_RESULT): Likewise.
10640         (TEST_COND_flt_32): New macro.
10641         (TEST_COND_dbl_64): Likewise.
10642         (TEST_COND_ldbl_96_intel): Likewise.
10643         (TEST_COND_ldbl_96_m68k): Likewise.
10644         (TEST_COND_ldbl_128): Likewise.
10645         (TEST_COND_ldbl_128ibm): Likewise.
10646         (TEST_COND_long32): Likewise.
10647         (TEST_COND_long64): Likewise.
10648         (TEST_COND_before_rounding): Likewise.
10649         (TEST_COND_after_rounding): Likewise.
10650         (enable_test): Handle XFAIL_TEST flag.
10651         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10652         with finite results.
10653         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10654         auto-libm-test-out.
10656 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10657             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10659         [BZ #16214]
10660         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10661         __tls_get_addr_internal instead of __tls_get_offset in order to
10662         avoid GOT pointer dependency.  Make rtld export
10663         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10664         __tls_get_addr since we are a __tls_get_offset platform.
10665         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10666         GOT pointer being set up before.
10667         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10669 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10671         * manual/math.texi (Errors in Math Functions): Document accuracy
10672         goals.
10674         [BZ #15004]
10675         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10676         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10677         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10678         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10679         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10680         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10681         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10682         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10683         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10684         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10685         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10686         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10687         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10688         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10690         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10692         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10693         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10694         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10695         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10696         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10697         Likewise.
10698         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10699         Likewise.
10700         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10701         Likewise.
10702         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10703         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10704         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10705         atomic-feupdateenv and flt-rounds.
10706         * sysdeps/powerpc/nofpu/Versions (libc): Add
10707         __atomic_feholdexcept, __atomic_feclearexcept,
10708         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10709         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10710         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10711         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10712         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10713         here.
10714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10715         Update.
10717         * manual/arith.texi (FP Exceptions): Document that exceptions may
10718         not be raised when matherr is used.
10719         (Math Error Reporting): Document overflow in directed rounding
10720         modes.  Document that errno may not be set when finite values are
10721         returned on overflow.  Document intent to set errno on underflow
10722         only for underflow to zero.
10724         [BZ #16271]
10725         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10726         round-to-nearest then adjust result for other rounding modes.
10727         * include/fenv.h (fegetround): Use libm_hidden_proto.
10728         * math/fegetround.c (fegetround): Use libm_hidden_def.
10729         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10730         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10731         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10732         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10733         Likewise.
10734         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10735         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10736         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10737         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10739 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10741         [BZ #16077]
10742         * nss/Versions (libnss_files): Add
10743         _nss_files_gethostbyname3_r.
10744         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10745         New function.
10746         (HOST_DB_LOOKUP): Remove macro.
10747         (_nss_files_gethostbyname_r): Implement function without the
10748         HOST_DB_LOOKUP macro.
10749         (_nss_files_gethostbyname2_r): Likewise.
10751 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10753         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10755 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10757         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10758         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10759         warning.
10761 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10763         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10764         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10765         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10766         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10767         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10768         __fe_nomask_env_priv and attribute_hidden.
10769         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10770         (libc_feupdateenv_test_ppc): Likewise.
10771         (libc_feresetround_ppc): Likewise.
10772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10773         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10774         compat_symbol macro.
10775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10776         (__fe_nomask_env): Likewise.
10777         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10779 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10781         * string/Makefile: Remove ifunc tests.
10782         * string/test-string.h: Define TEST_IFUNC.
10783         * string/test-bcopy-ifunc.c: Remove.
10784         * string/test-bzero-ifunc.c: Likewise.
10785         * string/test-memccpy-ifunc.c: Likewise.
10786         * string/test-memchr-ifunc.c: Likewise.
10787         * string/test-memcmp-ifunc.c: Likewise.
10788         * string/test-memcpy-ifunc.c: Likewise.
10789         * string/test-memmem-ifunc.c: Likewise.
10790         * string/test-memmove-ifunc.c: Likewise.
10791         * string/test-mempcpy-ifunc.c: Likewise.
10792         * string/test-memrchr-ifunc.c: Likewise.
10793         * string/test-memset-ifunc.c: Likewise.
10794         * string/test-rawmemchr-ifunc.c: Likewise.
10795         * string/test-stpcpy-ifunc.c: Likewise.
10796         * string/test-stpncpy-ifunc.c: Likewise.
10797         * string/test-strcasecmp-ifunc.c: Likewise.
10798         * string/test-strcasestr-ifunc.c: Likewise.
10799         * string/test-strcat-ifunc.c: Likewise.
10800         * string/test-strchr-ifunc.c: Likewise.
10801         * string/test-strchrnul-ifunc.c: Likewise.
10802         * string/test-strcmp-ifunc.c: Likewise.
10803         * string/test-strcpy-ifunc.c: Likewise.
10804         * string/test-strcspn-ifunc.c: Likewise.
10805         * string/test-strlen-ifunc.c: Likewise.
10806         * string/test-strncasecmp-ifunc.c: Likewise.
10807         * string/test-strncat-ifunc.c: Likewise.
10808         * string/test-strncmp-ifunc.c: Likewise.
10809         * string/test-strncpy-ifunc.c: Likewise.
10810         * string/test-strnlen-ifunc.c: Likewise.
10811         * string/test-strpbrk-ifunc.c: Likewise.
10812         * string/test-strrchr-ifunc.c: Likewise.
10813         * string/test-strspn-ifunc.c: Likewise.
10814         * string/test-strstr-ifunc.c: Likewise.
10816 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10818         * benchtests/Makefile: Remove ifunc tests.
10819         * benchtests/bench-string.h: Define TEST_IFUNC.
10820         * benchtests/bench-bcopy-ifunc.c: Remove.
10821         * benchtests/bench-bzero-ifunc.c: Likewise.
10822         * benchtests/bench-memccpy-ifunc.c: Likewise.
10823         * benchtests/bench-memchr-ifunc.c: Likewise.
10824         * benchtests/bench-memcmp-ifunc.c: Likewise.
10825         * benchtests/bench-memcpy-ifunc.c: Likewise.
10826         * benchtests/bench-memmem-ifunc.c: Likewise.
10827         * benchtests/bench-memmove-ifunc.c: Likewise.
10828         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10829         * benchtests/bench-memrchr-ifunc.c: Likewise.
10830         * benchtests/bench-memset-ifunc.c: Likewise.
10831         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10832         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10833         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10834         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10835         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10836         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10837         * benchtests/bench-strcat-ifunc.c: Likewise.
10838         * benchtests/bench-strchr-ifunc.c: Likewise.
10839         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10840         * benchtests/bench-strcmp-ifunc.c: Likewise.
10841         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10842         * benchtests/bench-strcpy-ifunc.c: Likewise.
10843         * benchtests/bench-strcspn-ifunc.c: Likewise.
10844         * benchtests/bench-strlen-ifunc.c: Likewise.
10845         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10846         * benchtests/bench-strncat-ifunc.c: Likewise.
10847         * benchtests/bench-strncmp-ifunc.c: Likewise.
10848         * benchtests/bench-strncpy-ifunc.c: Likewise.
10849         * benchtests/bench-strnlen-ifunc.c: Likewise.
10850         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10851         * benchtests/bench-strrchr-ifunc.c: Likewise.
10852         * benchtests/bench-strsep-ifunc.c: Likewise.
10853         * benchtests/bench-strspn-ifunc.c: Likewise.
10854         * benchtests/bench-strstr-ifunc.c: Likewise.
10856 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10858         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10860 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10862         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10863         * rt/aio.h: Likewise.
10864         * sysdeps/gnu/bits/utmp.h: Likewise.
10865         * sysdeps/gnu/bits/utmpx.h: Likewise.
10866         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10867         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10868         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10869         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10870         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10871         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10872         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10873         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10874         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10875         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10876         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10877         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10878         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10880         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10881         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10882         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10883         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10884         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10885         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10886         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10887         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10888         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10889         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10890         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10892         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10893         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10894         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10895         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10896         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10897         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10898         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10899         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10900         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10901         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10902         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10903         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10904         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10905         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10906         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10907         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10909 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10911         [BZ #16245]
10912         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10913         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10915 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10917         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10918         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10919         Likewise.
10921 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10923         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10924         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10925         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10926         (__fesetround): Remove define.
10927         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10928         rounding and exceptions handling.
10929         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10930         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10931         (__fe_nomask_env): Likewise.
10932         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10933         __fegetround instead of fegetround.
10934         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10935         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10937 2013-11-21  Roland McGrath  <roland@hack.frob.com>
10939         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10940         it's there.
10942         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10944 2013-11-21  Meador Inge  <meadori@codesourcery.com>
10946         [BZ #11157]
10947         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10948         (encrypt_r): Likewise.
10949         * malloc/obstack.h (obstack_free): Likewise.
10950         * posix/unistd.h (encrypt): Likewise.
10952 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
10954         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10955         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10956         DL_CALL_DT_FINI() that call the functions directly.
10957         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10958         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10959         * elf/dl-fini.c: Likewise.
10961 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
10963         * malloc/hooks.c (memalign_check): Add alignment rounding.
10964         * malloc/malloc.c (_mid_memalign): New function.
10965         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10966         Implement by calling _mid_memalign.
10967         * manual/probes.texi (Memory Allocation Probes): Remove
10968         memory_valloc_retry and memory_pvalloc_retry.
10970 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10972         * locale/programs/locarchive.c (open_archive): Add const
10973         qualifier to ARCHIVEFNAME and copy default fname to
10974         DEFAULT_FNAME.
10976         [BZ #15601]
10977         * libio/tst-widetext.input: Rename Oriya to Odia.
10978         * locale/iso-639.def: Likewise.
10980         * manual/probes.texi (Mathematical Function Probes): Add
10981         documentation for sin, cos, asin and acos probes.
10982         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10983         (__sin32): Add slowasin probe.
10984         (__cos32): Add slowacos probe.
10985         (__mpsin): Add slowsin probe.
10986         (__mpcos): Add slowcos probe.
10988 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
10990         [BZ #15483]
10991         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10992         thread-local __sim_exceptions_thread and global
10993         __sim_exceptions_global.
10994         (__sim_disabled_exceptions): Change to thread-local
10995         __sim_disabled_exceptions_thread and global
10996         __sim_disabled_exceptions_global.
10997         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10998         and global __sim_round_mode_global.
10999         (__simulate_exceptions): Use thread-local floating-point state and
11000         set global state from it as needed.
11001         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11002         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11003         __sim_round_mode_thread.
11004         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11005         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11006         and global __sim_exceptions_global.
11007         (__sim_disabled_exceptions): Change to thread-local
11008         __sim_disabled_exceptions_thread and global
11009         __sim_disabled_exceptions_global.
11010         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11011         and global __sim_round_mode_global.
11012         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11013         (SIM_SET_GLOBAL): Likewise.
11014         * sysdeps/powerpc/soft-fp/sfp-machine.h
11015         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11016         __sim_round_mode_thread.
11017         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11018         __sim_disabled_exceptions_thread.
11019         (__sim_exceptions): Change to __sim_exceptions_thread.
11020         (__sim_disabled_exceptions): Change to
11021         __sim_disabled_exceptions_thread.
11022         (__sim_round_mode): Change to __sim_round_mode_thread.
11023         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11024         thread-local floating-point state and set global state from it as
11025         needed.
11026         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11027         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11028         (__sim_disabled_exceptions): Remove extern declaration.
11029         (feenableexcept): Use thread-local floating-point state and set
11030         global state from it as needed.
11031         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11032         extern declaration.
11033         (__sim_disabled_exceptions): Likewise.
11034         (__sim_round_mode): Likewise.
11035         (__fegetenv): Use thread-local floating-point state.
11036         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11037         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11038         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11039         floating-point state and set global state from it as needed.
11040         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11041         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11042         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11043         Likewise.
11044         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11045         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11046         Likewise.
11047         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11048         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11049         Use __sim_round_mode_thread.
11050         * math/test-fenv-tls.c: New file.
11051         * math/Makefile (tests): Add test-fenv-tls.
11052         ($(objpfx)test-fenv-tls): Depend on
11053         $(common-objpfx)nptl/libpthread.so.
11055 2013-11-19  Andreas Schwab  <schwab@suse.de>
11057         * locale/programs/locale.c (show_info): Decode wordarray elements.
11058         * locale/categories.def (LC_MONETARY): Add element for
11059         _NL_MONETARY_CRNCYSTR.
11060         * locale/C-monetary.c (conversion_rate): New variable.
11061         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11062         element.
11064 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11066         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11067         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11069 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11071         * elf/Makefile (tst-auxv): New test.
11072         * elf/tst-auxv.c: New
11073         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11075 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11077         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11078         (hidden_proto): Caller changed.
11079         (hidden_tls_proto): New macro.
11080         (libc_hidden_tls_proto): Likewise.
11081         (rtld_hidden_tls_proto): Likewise.
11082         (libm_hidden_tls_proto): Likewise.
11083         (libresolv_hidden_tls_proto): Likewise.
11084         (librt_hidden_tls_proto): Likewise.
11085         (libdl_hidden_tls_proto): Likewise.
11086         (libnss_files_hidden_tls_proto): Likewise.
11087         (libnsl_hidden_tls_proto): Likewise.
11088         (libnss_nisplus_hidden_tls_proto): Likewise.
11089         (libutil_hidden_tls_proto): Likewise.
11091 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11093         [BZ #10253]
11094         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11095         (decompose_rpath): Defer expansion to fillin_rpath.
11096         (_dl_init_paths): Pass linkmap to fillin_rpath.
11098 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11100         * benchtests/Makefile: Add strsep.
11101         * benchtests/bench-strsep.c: New file: strsep benchtest.
11102         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11104 2013-11-18  Andreas Schwab  <schwab@suse.de>
11106         * locale/programs/locale.c (show_info) [case byte]: Check for
11107         '\377' instead of '\177'.
11108         * locale/C-monetary.c (not_available): Always use "\377".
11109         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11110         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11111         detect unavailable sign_posn locale elements.
11112         * locale/localeconv.c (__localeconv): For grouping and
11113         mon_grouping handle "\177" and "\377" like no grouping.
11114         (INT_ELEM): New macro.  Use it to set all numeric members.
11115         * locale/programs/ld-monetary.c (monetary_read)
11116         <tok_mon_grouping>: Normalize single -1 to the empty string.
11117         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11118         Likewise.
11120 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11122         [BZ #16055]
11123         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11124         when we match (nil).
11125         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11127 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11129         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11130         (NO_TEST_INLINE): Update value.
11131         (ERRNO_UNCHANGED): Likewise.
11132         (ERRNO_EDOM): Likewise.
11133         (ERRNO_ERANGE): Likewise.
11134         (IGNORE_RESULT): Likewise.
11135         (check_float_internal): Check signs of NaN results if
11136         TEST_NAN_SIGN used.
11137         (check_complex): Pass TEST_NAN_SIGN flag through to second
11138         check_float_internal call.
11139         (copysign_test_data): Add tests with quiet NaNs as second
11140         argument.  Use TEST_NAN_SIGN.
11141         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11142         TEST_NAN_SIGN.
11143         (signbit_test_data): Add tests of quiet NaN argument.
11144         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11146         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11147         $ignore_result.
11148         (parse_args): Handle function results specified as IGNORE.
11149         * math/libm-test.inc (IGNORE_RESULT): New macro.
11150         (check_float_internal): Do not check numerical result if flag
11151         IGNORE_RESULT set.
11152         (check_complex): Pass through IGNORE_RESULT to second
11153         check_float_internal call.
11154         (check_int): Do not check numerical result if flag IGNORE_RESULT
11155         set.
11156         (check_long): Likewise.
11157         (check_bool): Likewise.
11158         (check_longlong): Likewise.
11159         (lrint_test_data): Add tests of infinite and NaN arguments.
11160         (lrint_tonearest_test_data): Likewise.
11161         (lrint_towardzero_test_data): Likewise.
11162         (lrint_downward_test_data): Likewise.
11163         (lrint_upward_test_data): Likewise.
11164         (llrint_test_data): Likewise.
11165         (llrint_tonearest_test_data): Likewise.
11166         (llrint_towardzero_test_data): Likewise.
11167         (llrint_downward_test_data): Likewise.
11168         (llrint_upward_test_data): Likewise.
11169         (lround_test_data): Likewise.
11170         (llround_test_data): Likewise.
11172         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11173         (ERRNO_UNCHANGED): Update value.
11174         (ERRNO_EDOM): Likewise.
11175         (ERRNO_ERANGE): Likewise.
11176         (NO_TEST_INLINE_FLOAT): New macro.
11177         (NO_TEST_INLINE_DOUBLE): Likewise.
11178         (enable_test): New function.
11179         (RUN_TEST_f_f): Check enable_test before running test.
11180         (RUN_TEST_2_f): Likewise.
11181         (RUN_TEST_fff_f): Likewise.
11182         (RUN_TEST_c_f): Likewise.
11183         (RUN_TEST_f_f1): Likewise.
11184         (RUN_TEST_fF_f1): Likewise.
11185         (RUN_TEST_fI_f1): Likewise.
11186         (RUN_TEST_ffI_f1): Likewise.
11187         (RUN_TEST_c_c): Likewise.
11188         (RUN_TEST_cc_c): Likewise.
11189         (RUN_TEST_f_i): Likewise.
11190         (RUN_TEST_f_i_tg): Likewise.
11191         (RUN_TEST_ff_i_tg): Likewise.
11192         (RUN_TEST_f_b): Likewise.
11193         (RUN_TEST_f_b_tg): Likewise.
11194         (RUN_TEST_f_l): Likewise.
11195         (RUN_TEST_f_L): Likewise.
11196         (RUN_TEST_fFF_11): Likewise.
11197         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11198         conditionals.
11199         (cosh_test_data): Likewise.
11200         (exp_test_data): Likewise.
11201         (expm1_test_data): Likewise.
11202         (hypot_test_data): Likewise.
11203         (pow_test_data): Likewise.
11204         (sinh_test_data): Likewise.
11205         (tanh_test_data): Likewise.
11206         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11207         flags argument.
11209         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11210         tests with quiet NaN input and output.
11211         (acosh_test_data): Likewise.
11212         (asin_test_data): Likewise.
11213         (asinh_test_data): Likewise.
11214         (atan_test_data): Likewise.
11215         (atanh_test_data): Likewise.
11216         (atan2_test_data): Likewise.
11217         (cbrt_test_data): Likewise.
11218         (cos_test_data): Likewise.
11219         (cosh_test_data): Likewise.
11220         (erf_test_data): Likewise.
11221         (erfc_test_data): Likewise.
11222         (exp_test_data): Likewise.
11223         (exp10_test_data): Likewise.
11224         (exp2_test_data): Likewise.
11225         (expm1_test_data): Likewise.
11226         (hypot_test_data): Likewise.
11227         (j0_test_data): Likewise.
11228         (j1_test_data): Likewise.
11229         (jn_test_data): Likewise.
11230         (lgamma_test_data): Likewise.
11231         (log_test_data): Likewise.
11232         (log10_test_data): Likewise.
11233         (log1p_test_data): Likewise.
11234         (log2_test_data): Likewise.
11235         (pow_test_data): Likewise.
11236         (scalb_test_data): Likewise.
11237         (sin_test_data): Likewise.
11238         (sincos_test_data): Likewise.
11239         (sinh_test_data): Likewise.
11240         (tan_test_data): Likewise.
11241         (tanh_test_data): Likewise.
11242         (tgamma_test_data): Likewise.
11243         (y0_test_data): Likewise.
11244         (y1_test_data): Likewise.
11245         (yn_test_data): Likewise.
11247         [BZ #16167]
11248         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11249         argument being NaN and avoid computations with second argument in
11250         that case.
11251         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11252         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11253         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11255 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11257         * locale/iso-639.def: Add Chitwani Tharu (the).
11259 2013-11-14  Andreas Schwab  <schwab@suse.de>
11261         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11262         word instead of empty string.
11264 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11267         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11269         (__fe_nomask_env): Likewise.
11271 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11273         * benchtests/bench-timing.h: Include time.h.
11275 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11277         [BZ #15997]
11278         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11279         to 3.4.0 for x32.
11280         * sysdeps/unix/sysv/linux/configure: Regenerated.
11282 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11284         [BZ #16151]
11285         * stdlib/strtod_l.c (round_and_return): Do not consider
11286         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11287         exponent one less than half the least subnormal exponent.
11288         * stdlib/test-strtod-round-data: Add more tests.
11289         * stdlib/tst-strtod-round.c (tests): Regenerated.
11291 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11293         [BZ #14143]
11294         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11295         (__fe_mask_env): Likewise.
11296         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11297         libm_hidden_proto and add function prototype.
11298         (__fe_mask_env): Add function prototype.
11299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11300         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11302         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11304         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11306 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11308         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11309         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11311 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11313         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11314         of htab_find_slot().
11316 2013-11-11  David S. Miller  <davem@davemloft.net>
11318         [BZ #16150]
11319         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11320         symbol in the non-vis3 case in static builds.
11321         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11322         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11323         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11324         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11326 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11328         [BZ #387]
11329         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11330         it is empty.
11332 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11334         * benchtests/Makefile: Add bench-strtod.
11335         * benchtests/bench-strtod.c: New file: strtod benchtest
11337 2013-11-11  Andreas Schwab  <schwab@suse.de>
11339         [BZ #16153]
11340         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11341         terminating NUL in key length.
11343 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11345         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11346         Add artificial ODP entry for vDSO symbol for PPC64.
11347         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11348         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11350 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11352         [BZ #15374]
11353         * nss/getent.c (services_keys): Recognize services starting with digit.
11355 2013-11-06  David S. Miller  <davem@davemloft.net>
11357         [BZ #15985]
11358         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11359         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11361 2013-11-06  Will Newton  <will.newton@linaro.org>
11363         * manual/memory.texi (Malloc Examples): Remove register
11364         keyword from examples.
11366 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11368         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11370 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11372         [BZ #6981]
11373         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11374         depending on [__GCC_IEC_559 > 0].
11375         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11376         depending on [__GCC_IEC_559_COMPLEX > 0].
11378 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11380         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11381         to iso-639.def.
11383 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11385         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11387 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11389         [BZ #16112]
11390         * malloc/malloc (malloc_info): Do not handle first bin as
11391         special case.
11393 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11395         * locale/iso-639.def: Add Central Nahuatl (nhn).
11397 2013-11-01  Bruno Haible  <bruno@clisp.org>
11399         [BZ #7003]
11400         * manual/math.texi (BSD Random): Specify range upper bound as
11401         in POSIX.
11403 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11405         * locale/iso-639.def: Add Meadow Mari (mhr).
11407 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11409         [BZ #14752], [BZ #15763]
11410         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11411         Validate name.
11412         * rt/tst_shm.c: Add test for escaping directory.
11414 2013-10-31  Andreas Schwab  <schwab@suse.de>
11416         [BZ #15917]
11417         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11418         followed by 'x' as part of digit sequence.
11419         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11421 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11423         [BZ #16037]
11424         * configure.ac: allow GNU Make 4.0 and greater.
11425         * configure: Regenerated.
11427 2013-10-30  Will Newton  <will.newton@linaro.org>
11429         [BZ #16038]
11430         * malloc/hooks.c (memalign_check): Limit alignment to the
11431         maximum representable power of two.
11432         * malloc/malloc.c (__libc_memalign): Likewise.
11433         * malloc/tst-memalign.c (do_test): Add test for very
11434         large alignment values.
11435         * malloc/tst-posix_memalign.c (do_test): Likewise.
11437 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11439         [BZ #11087]
11440         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11441         (munmap_chunk): Likewise.
11442         (mremap_chunk): Likewise.
11444 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11446         [BZ #15799]
11447         * stdlib/div.c (div): Remove obsolete code.
11448         * stdlib/ldiv.c (ldiv): Likewise.
11449         * stdlib/lldiv.c (lldiv): Likewise.
11451 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11453         [BZ #16071]
11454         * nss/nss_files/files-XXX.c (get_contents_ret): New
11455         enumerator.
11456         (get_contents): New function.
11457         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11459 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11461         * configure.in: Moved to ...
11462         * configure.ac: ... here. Change reference to configure.in
11463         to configure.ac.
11464         * sysdeps/arm/preconfigure.ac: ... here.
11465         configure.in to configure.ac.
11466         * sysdeps/gnu/configure.in: Moved to ...
11467         * sysdeps/gnu/configure.ac: ... here.
11468         * sysdeps/i386/configure.in: Moved to ...
11469         * sysdeps/i386/configure.ac: ... here.
11470         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11471         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11472         * sysdeps/mach/configure.in: Moved to ...
11473         * sysdeps/mach/configure.ac: ... here.
11474         * sysdeps/mach/hurd/configure.in: Moved to ...
11475         * sysdeps/mach/hurd/configure.ac: ... here.
11476         * sysdeps/powerpc/configure.in: Moved to ...
11477         * sysdeps/powerpc/configure.ac: ... here.
11478         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11479         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11480         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11481         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11482         * sysdeps/s390/s390-32/configure.in: Moved to ...
11483         * sysdeps/s390/s390-32/configure.ac: ... here.
11484         * sysdeps/s390/s390-64/configure.in: Moved to ...
11485         * sysdeps/s390/s390-64/configure.ac: ... here.
11486         * sysdeps/sh/configure.in: Moved to ...
11487         * sysdeps/sh/configure.ac: ... here.
11488         * sysdeps/sparc/configure.in: Moved to ...
11489         * sysdeps/sparc/configure.ac: ... here.
11490         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11491         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11492         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11493         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11494         * sysdeps/x86_64/configure.in: Moved to ...
11495         * sysdeps/x86_64/configure.ac: ... here.
11496         * sysdeps/x86_64/preconfigure.in: Moved to ...
11497         * sysdeps/x86_64/preconfigure.ac: ... here.
11498         * aclocal.m4: Change reference to configure.in to configure.ac.
11499         * config.h.in: Likewise.
11500         * manual/install.texi: Likewise.
11501         * manual/maint.texi: Likewise.
11502         * Makefile: Likewise.
11503         * malloc/Makefile: Likewise.
11504         * nscd/Makefile: Likewise.
11505         * Makeconfig: Change reference to configure.in and
11506         preconfigure.in to configure.ac and preconfigure.ac
11507         respectively.
11508         * INSTALL: Regenerated.
11509         * configure: Likewise.
11510         * sysdeps/gnu/configure: Likewise.
11511         * sysdeps/i386/configure: Likewise.
11512         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11513         * sysdeps/mach/configure: Likewise.
11514         * sysdeps/mach/hurd/configure: Likewise.
11515         * sysdeps/powerpc/configure: Likewise.
11516         * sysdeps/powerpc/powerpc32/configure: Likewise.
11517         * sysdeps/powerpc/powerpc64/configure: Likewise.
11518         * sysdeps/s390/s390-32/configure: Likewise.
11519         * sysdeps/s390/s390-64/configure: Likewise.
11520         * sysdeps/sh/configure: Likewise.
11521         * sysdeps/sparc/configure: Likewise.
11522         * sysdeps/unix/sysv/linux/configure: Likewise.
11523         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11524         * sysdeps/x86_64/configure: Likewise.
11525         * sysdeps/x86_64/preconfigure: Likewise.
11527 2013-10-29  Andreas Schwab  <schwab@suse.de>
11529         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11531 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11533         * benchtests/pow-inputs: Add new inputs.
11535         * benchtests/exp-inputs: Add new inputs.
11537         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11538         conditional check for return value.
11539         (__cos32): Likewise.
11541 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11543         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11544         to provide a boost for large inputs with word alignment.
11545         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11546         implementation based on optimized PPC64 strcpy.
11547         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11548         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11549         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11550         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11552 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11554         [BZ #2801]
11555         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11557 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11559         [BZ #14876]
11560         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11561         * time/tst-strptime.c (day_tests): Add testcase.
11563 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11565         [BZ #14029]
11566         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11568 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11570         [BZ #16074]
11571         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11572         MAP_FAILED on error.
11574 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11576         [BZ #16072]
11577         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11578         heap for large requests.
11580 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11582         [BZ #9954]
11583         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11584         result if the result has no associated interface.
11585         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11586         interface for all 127.X.Y.Z addresses.
11588 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11590         * locale/iso-639.def: Add Ligurian (lij)
11592 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11594         [BZ #15825]
11595         * sunrpc/rpc_main.c: Document rpcgen -5.
11597 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11599         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11601 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11603         [BZ #10278]
11604         * posix/glob.c: Match only directories when trailing slash is present.
11605         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11606         (main): Add testcase.
11608 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11610         [BZ #15670]
11611         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11613 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11615         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11616         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11617         AUTH_DES and cindex for FIPS 140-2.
11618         (DES Encryption): Add cindex FIPS 46-3.
11620         * locale/locarchive.h (struct locarhandle): Add fname.
11621         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11622         if an optional argument was specified to --list-archive,
11623         otherwise NULL.
11624         * locale/programs/locarchive.c (show_archive_content): Take new
11625         argument fname and pass it via ah.fname to open_archive.
11626         * locale/programs/localedef.h: Update decl.
11627         (open_archive): If AH->fname is non-null, open that file
11628         rather than the default file name, and don't ignore ENOENT.
11629         (create_archive): Set AH.fname to NULL.
11630         (delete_locales_from_archive): Likewise.
11631         (add_locales_to_archive): Likewise.
11632         * locale/programs/locfile.c (write_all_categories): Likewise.
11634 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11635             Aldy Hernandez  <aldyh@redhat.com>
11637         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11638         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11639         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11640         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11641         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11642         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11643         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11644         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11645         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11646         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11647         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11648         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11649         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11650         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11651         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11652         Likewise.
11653         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11654         Likewise.
11655         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11656         Likewise.
11657         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11658         Likewise.
11659         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11660         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11661         Likewise.
11662         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11663         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11664         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11665         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11666         Likewise.
11667         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11668         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11669         * sysdeps/powerpc/preconfigure: Likewise.
11670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11671         Likewise.
11672         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11673         Replace contents of file by #include of <fenv_libc.h>.
11674         * sysdeps/powerpc/soft-fp/sfp-machine.h
11675         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11676         and <sys/prctl.h>.
11677         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11678         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11679         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11680         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11681         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11682         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11684         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11685         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11686         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11687         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11688         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11690         Allow copysignl PLT reference to be missing.
11692 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11693             Joseph Myers  <joseph@codesourcery.com
11695         [BZ #15948]
11696         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11697         single character.
11698         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11700 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11702         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11703         * elf/tst-tls1.c: Likewise.
11704         * elf/tst-tls10.h: Likewise.
11705         * elf/tst-tls14.c: Likewise.
11706         * elf/tst-tls2.c: Likewise.
11707         * elf/tst-tls3.c: Likewise.
11708         * elf/tst-tls4.c: Likewise.
11709         * elf/tst-tls5.c: Likewise.
11710         * elf/tst-tls6.c: Likewise.
11711         * elf/tst-tls7.c: Likewise.
11712         * elf/tst-tls8.c: Likewise.
11713         * elf/tst-tls9.c: Likewise.
11714         * elf/tst-tlsmod1.c: Likewise.
11715         * elf/tst-tlsmod13.c: Likewise.
11716         * elf/tst-tlsmod13a.c: Likewise.
11717         * elf/tst-tlsmod14a.c: Likewise.
11718         * elf/tst-tlsmod16a.c: Likewise.
11719         * elf/tst-tlsmod16b.c: Likewise.
11720         * elf/tst-tlsmod2.c: Likewise.
11721         * elf/tst-tlsmod3.c: Likewise.
11722         * elf/tst-tlsmod4.c: Likewise.
11723         * elf/tst-tlsmod5.c: Likewise.
11724         * elf/tst-tlsmod6.c: Likewise.
11726 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11728         [BZ #12486]
11729         * malloc/malloc.c: remove checks for statistics.
11731 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11733         [BZ #15277]
11734         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11735         * inet/tst-network.c: Add testcase.
11737 2013-10-17  Andreas Schwab  <schwab@suse.de>
11739         [BZ #15218]
11740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11741         to determine canonical name.
11743 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11745         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11746         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11747         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11748         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11749         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11750         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11751         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11752         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11753         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11754         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11755         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11756         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11757         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11758         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11759         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11760         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11761         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11762         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11763         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11764         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11765         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11767         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11768         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11769         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11770         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11771         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11772         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11773         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11774         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11775         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11777         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11778         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11779         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11780         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11781         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11782         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11783         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11784         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11785         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11786         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11787         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11788         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11789         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11790         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11791         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11792         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11793         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11794         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11795         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11796         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11797         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11798         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11799         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11800         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11801         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11802         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11804 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11806         [BZ #16041]
11807         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11808         make result into a quiet NaN.
11810 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11812         * soft-fp/adddf3.c: Fix horizontal whitespace.
11813         * soft-fp/addsf3.c: Likewise.
11814         * soft-fp/addtf3.c: Likewise.
11815         * soft-fp/divdf3.c: Likewise.
11816         * soft-fp/divsf3.c: Likewise.
11817         * soft-fp/divtf3.c: Likewise.
11818         * soft-fp/double.h: Likewise.
11819         * soft-fp/eqdf2.c: Likewise.
11820         * soft-fp/eqsf2.c: Likewise.
11821         * soft-fp/eqtf2.c: Likewise.
11822         * soft-fp/extenddftf2.c: Likewise.
11823         * soft-fp/extended.h: Likewise.
11824         * soft-fp/extendsfdf2.c: Likewise.
11825         * soft-fp/extendsftf2.c: Likewise.
11826         * soft-fp/extendxftf2.c: Likewise.
11827         * soft-fp/fixdfdi.c: Likewise.
11828         * soft-fp/fixdfsi.c: Likewise.
11829         * soft-fp/fixdfti.c: Likewise.
11830         * soft-fp/fixsfdi.c: Likewise.
11831         * soft-fp/fixsfsi.c: Likewise.
11832         * soft-fp/fixsfti.c: Likewise.
11833         * soft-fp/fixtfdi.c: Likewise.
11834         * soft-fp/fixtfsi.c: Likewise.
11835         * soft-fp/fixtfti.c: Likewise.
11836         * soft-fp/fixunsdfdi.c: Likewise.
11837         * soft-fp/fixunsdfsi.c: Likewise.
11838         * soft-fp/fixunsdfti.c: Likewise.
11839         * soft-fp/fixunssfdi.c: Likewise.
11840         * soft-fp/fixunssfsi.c: Likewise.
11841         * soft-fp/fixunssfti.c: Likewise.
11842         * soft-fp/fixunstfdi.c: Likewise.
11843         * soft-fp/fixunstfsi.c: Likewise.
11844         * soft-fp/fixunstfti.c: Likewise.
11845         * soft-fp/floatdidf.c: Likewise.
11846         * soft-fp/floatdisf.c: Likewise.
11847         * soft-fp/floatditf.c: Likewise.
11848         * soft-fp/floatsidf.c: Likewise.
11849         * soft-fp/floatsisf.c: Likewise.
11850         * soft-fp/floatsitf.c: Likewise.
11851         * soft-fp/floattidf.c: Likewise.
11852         * soft-fp/floattisf.c: Likewise.
11853         * soft-fp/floattitf.c: Likewise.
11854         * soft-fp/floatundidf.c: Likewise.
11855         * soft-fp/floatundisf.c: Likewise.
11856         * soft-fp/floatunditf.c: Likewise.
11857         * soft-fp/floatunsidf.c: Likewise.
11858         * soft-fp/floatunsisf.c: Likewise.
11859         * soft-fp/floatunsitf.c: Likewise.
11860         * soft-fp/floatuntidf.c: Likewise.
11861         * soft-fp/floatuntisf.c: Likewise.
11862         * soft-fp/floatuntitf.c: Likewise.
11863         * soft-fp/fmadf4.c: Likewise.
11864         * soft-fp/fmasf4.c: Likewise.
11865         * soft-fp/fmatf4.c: Likewise.
11866         * soft-fp/gedf2.c: Likewise.
11867         * soft-fp/gesf2.c: Likewise.
11868         * soft-fp/getf2.c: Likewise.
11869         * soft-fp/ledf2.c: Likewise.
11870         * soft-fp/lesf2.c: Likewise.
11871         * soft-fp/letf2.c: Likewise.
11872         * soft-fp/muldf3.c: Likewise.
11873         * soft-fp/mulsf3.c: Likewise.
11874         * soft-fp/multf3.c: Likewise.
11875         * soft-fp/negdf2.c: Likewise.
11876         * soft-fp/negsf2.c: Likewise.
11877         * soft-fp/negtf2.c: Likewise.
11878         * soft-fp/op-1.h: Likewise.
11879         * soft-fp/op-2.h: Likewise.
11880         * soft-fp/op-4.h: Likewise.
11881         * soft-fp/op-8.h: Likewise.
11882         * soft-fp/op-common.h: Likewise.
11883         * soft-fp/quad.h: Likewise.
11884         * soft-fp/single.h: Likewise.
11885         * soft-fp/soft-fp.h: Likewise.
11886         * soft-fp/sqrtdf2.c: Likewise.
11887         * soft-fp/sqrtsf2.c: Likewise.
11888         * soft-fp/sqrttf2.c: Likewise.
11889         * soft-fp/subdf3.c: Likewise.
11890         * soft-fp/subsf3.c: Likewise.
11891         * soft-fp/subtf3.c: Likewise.
11892         * soft-fp/truncdfsf2.c: Likewise.
11893         * soft-fp/trunctfdf2.c: Likewise.
11894         * soft-fp/trunctfsf2.c: Likewise.
11895         * soft-fp/trunctfxf2.c: Likewise.
11896         * soft-fp/unorddf2.c: Likewise.
11897         * soft-fp/unordsf2.c: Likewise.
11898         * soft-fp/unordtf2.c: Likewise.
11900 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11902         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11903         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11905 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11907         * elf/dl-libc.c: Clear initfini list after freeing.
11909 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11911         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11912         * soft-fp/addsf3.c: Likewise.
11913         * soft-fp/addtf3.c: Likewise.
11914         * soft-fp/divdf3.c: Likewise.
11915         * soft-fp/divsf3.c: Likewise.
11916         * soft-fp/divtf3.c: Likewise.
11917         * soft-fp/double.h: Likewise.
11918         * soft-fp/eqdf2.c: Likewise.
11919         * soft-fp/eqsf2.c: Likewise.
11920         * soft-fp/eqtf2.c: Likewise.
11921         * soft-fp/extenddftf2.c: Likewise.
11922         * soft-fp/extended.h: Likewise.
11923         * soft-fp/extendsfdf2.c: Likewise.
11924         * soft-fp/extendsftf2.c: Likewise.
11925         * soft-fp/extendxftf2.c: Likewise.
11926         * soft-fp/fixdfdi.c: Likewise.
11927         * soft-fp/fixdfsi.c: Likewise.
11928         * soft-fp/fixdfti.c: Likewise.
11929         * soft-fp/fixsfdi.c: Likewise.
11930         * soft-fp/fixsfsi.c: Likewise.
11931         * soft-fp/fixsfti.c: Likewise.
11932         * soft-fp/fixtfdi.c: Likewise.
11933         * soft-fp/fixtfsi.c: Likewise.
11934         * soft-fp/fixtfti.c: Likewise.
11935         * soft-fp/fixunsdfdi.c: Likewise.
11936         * soft-fp/fixunsdfsi.c: Likewise.
11937         * soft-fp/fixunsdfti.c: Likewise.
11938         * soft-fp/fixunssfdi.c: Likewise.
11939         * soft-fp/fixunssfsi.c: Likewise.
11940         * soft-fp/fixunssfti.c: Likewise.
11941         * soft-fp/fixunstfdi.c: Likewise.
11942         * soft-fp/fixunstfsi.c: Likewise.
11943         * soft-fp/fixunstfti.c: Likewise.
11944         * soft-fp/floatdidf.c: Likewise.
11945         * soft-fp/floatdisf.c: Likewise.
11946         * soft-fp/floatditf.c: Likewise.
11947         * soft-fp/floatsidf.c: Likewise.
11948         * soft-fp/floatsisf.c: Likewise.
11949         * soft-fp/floatsitf.c: Likewise.
11950         * soft-fp/floattidf.c: Likewise.
11951         * soft-fp/floattisf.c: Likewise.
11952         * soft-fp/floattitf.c: Likewise.
11953         * soft-fp/floatundidf.c: Likewise.
11954         * soft-fp/floatundisf.c: Likewise.
11955         * soft-fp/floatunsidf.c: Likewise.
11956         * soft-fp/floatunsisf.c: Likewise.
11957         * soft-fp/floatuntidf.c: Likewise.
11958         * soft-fp/floatuntisf.c: Likewise.
11959         * soft-fp/floatuntitf.c: Likewise.
11960         * soft-fp/fmadf4.c: Likewise.
11961         * soft-fp/fmasf4.c: Likewise.
11962         * soft-fp/fmatf4.c: Likewise.
11963         * soft-fp/gedf2.c: Likewise.
11964         * soft-fp/gesf2.c: Likewise.
11965         * soft-fp/getf2.c: Likewise.
11966         * soft-fp/ledf2.c: Likewise.
11967         * soft-fp/lesf2.c: Likewise.
11968         * soft-fp/letf2.c: Likewise.
11969         * soft-fp/muldf3.c: Likewise.
11970         * soft-fp/mulsf3.c: Likewise.
11971         * soft-fp/multf3.c: Likewise.
11972         * soft-fp/negdf2.c: Likewise.
11973         * soft-fp/negsf2.c: Likewise.
11974         * soft-fp/negtf2.c: Likewise.
11975         * soft-fp/op-1.h: Likewise.
11976         * soft-fp/op-2.h: Likewise.
11977         * soft-fp/op-4.h: Likewise.
11978         * soft-fp/op-8.h: Likewise.
11979         * soft-fp/op-common.h: Likewise.
11980         * soft-fp/quad.h: Likewise.
11981         * soft-fp/single.h: Likewise.
11982         * soft-fp/soft-fp.h: Likewise.
11983         * soft-fp/sqrtdf2.c: Likewise.
11984         * soft-fp/sqrtsf2.c: Likewise.
11985         * soft-fp/sqrttf2.c: Likewise.
11986         * soft-fp/subdf3.c: Likewise.
11987         * soft-fp/subsf3.c: Likewise.
11988         * soft-fp/subtf3.c: Likewise.
11989         * soft-fp/truncdfsf2.c: Likewise.
11990         * soft-fp/trunctfdf2.c: Likewise.
11991         * soft-fp/trunctfsf2.c: Likewise.
11992         * soft-fp/trunctfxf2.c: Likewise.
11993         * soft-fp/unorddf2.c: Likewise.
11994         * soft-fp/unordsf2.c: Likewise.
11995         * soft-fp/unordtf2.c: Likewise.
11997 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
11999         [BZ #15672]
12000         * misc/error.c (error_tail): Fix possible buffer overflow.
12002 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12004         [BZ #13028]
12005         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12006         address.
12008 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12010         [BZ #832]
12011         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12012         testing pipefail option.
12014 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12016         * soft-fp/double.h: Indent preprocessor directives inside #if.
12017         * soft-fp/extended.h: Likewise.
12018         * soft-fp/op-2.h: Likewise.
12019         * soft-fp/op-4.h: Likewise.
12020         * soft-fp/op-common.h: Likewise.
12021         * soft-fp/quad.h: Likewise.
12022         * soft-fp/single.h: Likewise.
12023         * soft-fp/soft-fp.h: Likewise.
12025 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12027         * iconv/iconv_prog.c: Fix typos.
12028         * stdio-common/psiginfo-data.h: Likewise.
12030 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12032         [BZ #15764]
12033         * locale/setlocale.c: Fix typo.
12035 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12037         [BZ #16036]
12038         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12039         signaling NaN arguments.
12040         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12041         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12043         [BZ #14910]
12044         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12045         unordered operands.
12046         * soft-fp/gesf2.c (__gesf2): Likewise.
12047         * soft-fp/getf2.c (__getf2): Likewise.
12048         * soft-fp/ledf2.c (__ledf2): Likewise.
12049         * soft-fp/lesf2.c (__lesf2): Likewise.
12050         * soft-fp/letf2.c (__letf2): Likewise.
12052         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12053         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12054         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12055         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12056         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12057         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12058         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12059         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12060         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12061         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12062         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12063         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12064         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12065         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12066         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12067         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12068         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12069         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12070         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12071         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12072         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12073         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12074         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12075         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12076         * soft-fp/floattidf.c (__floattidf): Likewise.
12077         * soft-fp/floattisf.c (__floattisf): Likewise.
12078         * soft-fp/floattitf.c (__floattitf): Likewise.
12079         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12080         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12081         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12082         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12083         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12084         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12085         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12086         * soft-fp/gesf2.c (__gesf2): Likewise.
12087         * soft-fp/getf2.c (__getf2): Likewise.
12088         * soft-fp/ledf2.c (__ledf2): Likewise.
12089         * soft-fp/lesf2.c (__lesf2): Likewise.
12090         * soft-fp/letf2.c (__letf2): Likewise.
12092         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12093         Undefine and redefine.
12094         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12095         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12096         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12097         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12098         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12099         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12100         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12101         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12102         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12103         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12104         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12105         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12106         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12107         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12108         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12110         [BZ #16032]
12111         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12112         without decrementing exponent if mantissa >= that for the
12113         denominator, not >.
12114         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12115         denominator, not >.  Decrement exponent in < case instead of
12116         incrementing in >= case.
12117         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12118         without decrementing exponent if mantissa >= that for the
12119         denominator, not >.
12121         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12122         computing saturated result for unsigned overflow.
12124 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12125             Jeff Law  <law@redhat.com>
12127         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12128         (atan2Mp): Add systemtap probe marker.
12129         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12130         (__ieee754_log): Add systemtap probe marker.
12131         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12132         (atanMp): Add systemtap probe marker.
12133         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12134         (tanMp): Add systemtap probe marker.
12135         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12136         (__slowexp): Add systemtap probe marker.
12137         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12138         (__slowpow): Add systemtap probe marker.
12139         * manual/probes.texi: Document probes.
12141 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12143         [BZ #15362]
12144         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12145         written.
12146         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12147         written.
12148         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12149         written to buffer but not flushed.
12150         * libio/iofwrite_u.c:  Likewise.
12151         * libio/iopadn.c:  Return bytes returned even if EOF was
12152         encountered.
12153         * libio/iowpadn.c:  Likewise.
12154         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12155         if _IO_padn does not write the whole buffer.
12156         [!COMPILE_WPRINTF] (PAD): Likewise.
12158 2013-10-10  David S. Miller  <davem@davemloft.net>
12160         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12161         directory block.
12163 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12165         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12166         instead of FSF address.
12167         * soft-fp/fixdfti.c: Likewise.
12168         * soft-fp/fixsfti.c: Likewise.
12169         * soft-fp/fixtfti.c: Likewise.
12170         * soft-fp/fixunsdfti.c: Likewise.
12171         * soft-fp/fixunssfti.c: Likewise.
12172         * soft-fp/fixunstfti.c: Likewise.
12173         * soft-fp/floattidf.c: Likewise.
12174         * soft-fp/floattisf.c: Likewise.
12175         * soft-fp/floattitf.c: Likewise.
12176         * soft-fp/floatuntidf.c: Likewise.
12177         * soft-fp/floatuntisf.c: Likewise.
12178         * soft-fp/floatuntitf.c: Likewise.
12179         * soft-fp/trunctfxf2.c: Likewise.
12181         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12182         * soft-fp/fixdfti.c: Likewise.
12183         * soft-fp/fixsfti.c: Likewise.
12184         * soft-fp/fixtfti.c: Likewise.
12185         * soft-fp/fixunsdfti.c: Likewise.
12186         * soft-fp/fixunssfti.c: Likewise.
12187         * soft-fp/fixunstfti.c: Likewise.
12188         * soft-fp/floattidf.c: Likewise.
12189         * soft-fp/floattisf.c: Likewise.
12190         * soft-fp/floattitf.c: Likewise.
12191         * soft-fp/floatuntidf.c: Likewise.
12192         * soft-fp/floatuntisf.c: Likewise.
12193         * soft-fp/floatuntitf.c: Likewise.
12194         * soft-fp/trunctfxf2.c: Likewise.
12196 2013-10-10  David S. Miller  <davem@davemloft.net>
12198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12200 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12202         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12203         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12204         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12205         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12206         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12207         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12208         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12210         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12211         for NaNs before doing comparisons on argument.
12212         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12213         Likewise.
12215 2013-10-10  Will Newton  <will.newton@linaro.org>
12217         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12218         passed to _int_memalign does not overflow.
12220 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12222         * scripts/bench.pl: Add include-sources directive.
12223         * benchtests/README: Update documentation.
12225 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12227         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12228         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12229         instead of FP_INIT_ROUNDMODE.
12230         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12231         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12233         [BZ #16034]
12234         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12235         copy class of input value.
12236         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12237         not handle exceptions.
12238         * soft-fp/negsf2.c (__negsf2): Likewise.
12239         * soft-fp/negtf2.c (__negtf2): Likewise.
12240         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12242 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12244         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12245         semicolon.  From Linux kernel.
12247 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12249         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12251 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12253         [BZ #156]
12254         * manual/socket.texi: Added statement about buffer
12255         for gethostbyname2_r.
12257 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12259         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12260         Use .p2align directive instead, throughout.
12261         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12262         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12263         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12264         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12265         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12266         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12267         * sysdeps/x86_64/strchr.S: Likewise.
12268         * sysdeps/x86_64/strrchr.S: Likewise.
12270 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12272         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12274         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12276         * sysdeps/generic/math_private.h (__mpsin1): Remove
12277         declaration.
12278         (__mpcos1): Likewise.
12279         (__mpsin): New argument __range_reduce.
12280         (__mpcos): Likewise.
12281         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12282         (slow): Use __mpsin and __mpcos.
12283         (slow1): Likewise.
12284         (slow2): Likewise.
12285         (sloww): Likewise.
12286         (sloww1): Likewise.
12287         (sloww2): Likewise.
12288         (bsloww): Likewise.
12289         (bsloww1): Likewise.
12290         (bsloww2): Likewise.
12291         (cslow2): Likewise.
12292         (csloww): Likewise.
12293         (csloww1): Likewise.
12294         (csloww2): Likewise.
12295         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12296         range_reduce.  Merge in __mpsin1.
12297         (__mpcos): Likewise.
12298         (__mpsin1): Remove.
12299         (__mpcos1): Likewise.
12301 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12303         * locale/loadlocale.c (_nl_intern_locale_data): Use
12304         LOCFILE_ALIGNED_P.
12305         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12306         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12307         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12308         obstack data is appropriately aligned.
12309         (obstack_int32_grow_fast): Likewise.
12310         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12311         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12312         (add_locale_uint32_array): Likewise.
12314 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12316         * benchtests/Makefile: Remove ARGLIST and RET variables.
12317         ($(objpfx)bench-%.c): Pass only function name to the script.
12318         * benchtests/README: Update documentation.
12319         * benchtests/acos-inputs: Add new directives.
12320         * benchtests/acosh-inputs: Likewise.
12321         * benchtests/asin-inputs: Likewise.
12322         * benchtests/asinh-inputs: Likewise.
12323         * benchtests/atan-inputs: Likewise.
12324         * benchtests/atanh-inputs: Likewise.
12325         * benchtests/cos-inputs: Likewise.
12326         * benchtests/cosh-inputs: Likewise.
12327         * benchtests/exp-inputs: Likewise.
12328         * benchtests/log-inputs: Likewise.
12329         * benchtests/pow-inputs: Likewise.
12330         * benchtests/rint-inputs: Likewise.
12331         * benchtests/sin-inputs: Likewise.
12332         * benchtests/sinh-inputs: Likewise.
12333         * benchtests/tan-inputs: Likewise.
12334         * benchtests/tanh-inputs: Likewise.
12335         * scripts/bench.pl: Add support for new directives.
12337 2013-10-07  Alan Modra  <amodra@gmail.com>
12339         * README: Fix careless merge.
12341 2013-10-05  Alan Modra  <amodra@gmail.com>
12343         * NEWS: Mention powerpc64le support and bugs fixed.
12344         * README: Both big-endian and little-endian powerpc64 supported.
12346 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12348         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12349         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12350         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12351         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12353 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12355         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12356         match prototype.
12358 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12360         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12361         Move -mhard-float appending from
12362         ports/sysdeps/powerpc/powerpc32/Makefile.
12363         [$(with-fp) = yes] (ASFLAGS): Likewise.
12364         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12365         * sysdeps/powerpc/nofpu: Move directory from
12366         ports/sysdeps/powerpc/nofpu.
12367         * sysdeps/powerpc/soft-fp: Move directory from
12368         ports/sysdeps/powerpc/soft-fp.
12369         * sysdeps/powerpc/powerpc32/405: Move directory from
12370         ports/sysdeps/powerpc/powerpc32/405.
12371         * sysdeps/powerpc/powerpc32/440: Move directory from
12372         ports/sysdeps/powerpc/powerpc32/440.
12373         * sysdeps/powerpc/powerpc32/464: Move directory from
12374         ports/sysdeps/powerpc/powerpc32/464.
12375         * sysdeps/powerpc/powerpc32/476: Move directory from
12376         ports/sysdeps/powerpc/powerpc32/476.
12377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12378         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12380         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12382         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12384         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12386         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12387         * README: Update for powerpc-*-linux-gnu software floating point
12388         support in libc.
12390         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12391         case to powerpc/powerpc32*.
12392         * sysdeps/unix/sysv/linux/configure: Regenerated.
12394         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12395         (_FPU_MASK_OM): Define as 0x04.
12396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12398         0x00c10080.
12399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12400         0x0000003c.
12401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12404         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12405         getcontext_e500.
12406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12407         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12408         setcontext_e500.
12409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12410         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12411         and setcontext_e500.
12413 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12415         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12417 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12419         * manual/threads.texi (Default Thread Attributes): Fix typo.
12421 2013-10-04  Will Newton  <will.newton@linaro.org>
12423         * malloc/Makefile: Add tst-memalign.
12424         * malloc/tst-memalign.c: New file.
12426         * malloc/tst-posix_memalign.c: Add comments.
12427         (do_test): Add comments and call free on all potentially
12428         allocated pointers. Add space after cast.
12430         * malloc/tst-pvalloc.c: Add comments.
12431         (do_test): Add comments and call free on all potentially
12432         allocated pointers. Remove duplicate check for NULL pointer.
12433         Add space after cast.
12435         * malloc/tst-valloc.c: Add comments.
12436         (do_test): Add comments and call free on all potentially
12437         allocated pointers. Remove duplicate check for NULL pointer.
12438         Add space after cast.
12440 2013-10-04  Alan Modra  <amodra@gmail.com>
12442         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12443         Use stdint types in rather than __attribute__((mode())).
12444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12446 2013-10-04  Alan Modra  <amodra@gmail.com>
12448         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12449         Correct handling of unaligned relocs for little-endian.
12450         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12452 2013-10-04  Alan Modra  <amodra@gmail.com>
12454         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12455         * configure: Regenerate.
12456         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12457         * shlib-versions: Likewise.
12459 2013-10-04  Alan Modra  <amodra@gmail.com>
12461         * string/tester.c (test_memrchr): Increment reported test cycle.
12463 2013-10-04  Alan Modra  <amodra@gmail.com>
12465         * string/test-memcpy.c (do_one_test): When reporting errors, print
12466         string address and don't overrun end of string.
12468 2013-10-04  Alan Modra  <amodra@gmail.com>
12470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12471         insrdi.  Make better use of reg selection to speed exit slightly.
12472         Schedule entry path a little better.  Remove useless "are we done"
12473         checks on entry to main loop.  Handle wrapping around zero address.
12474         Correct main loop count.  Handle single left-over word from main
12475         loop inline rather than by using loop_small.  Remove extra word
12476         case in loop_small caused by wrong loop count.  Add little-endian
12477         support.
12478         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12479         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12480         cache hint.
12481         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12482         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12483         support.  Avoid rlwimi.
12484         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12486 2013-10-04  Alan Modra  <amodra@gmail.com>
12488         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12489         insrdi.  Formatting.
12490         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12491         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12492         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12493         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12494         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12495         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12497 2013-10-04  Alan Modra  <amodra@gmail.com>
12499         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12500         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12501         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12502         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12503         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12504         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12505         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12506         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12507         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12508         use of regs.  Use power7 mtocrf.  Tidy function tails.
12510 2013-10-04  Alan Modra  <amodra@gmail.com>
12512         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12513         Formatting.  Consistently use rXXX register defines or rN defines.
12514         Use early exit labels that avoid restoring unused non-volatile regs.
12515         Make cr field use more consistent with rWORDn compares.  Rename
12516         regs used as shift registers for unaligned loop, using rN defines
12517         for short lifetime/multiple use regs.
12518         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12519         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12520         addi 1,1,64 to pop stack frame.  Simplify return value code.
12521         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12523 2013-10-04  Alan Modra  <amodra@gmail.com>
12525         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12526         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12527         rather than rlwimi.
12528         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12529         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12530         little-endian support.  Correct typos.
12531         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12532         rather than rlwimi.
12533         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12534         in loop and entry code to keep "and." results.
12535         (strchr): Add little-endian support.  Comment.  Move cntlzd
12536         earlier in tail.
12537         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12539 2013-10-04  Alan Modra  <amodra@gmail.com>
12541         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12542         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12543         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12544         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12546 2013-10-04  Alan Modra  <amodra@gmail.com>
12548         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12549         (rTMP): Define as r11.
12550         (strcmp): Add little-endian support.  Optimise tail.
12551         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12552         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12553         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12554         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12555         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12556         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12557         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12559 2013-10-04  Alan Modra  <amodra@gmail.com>
12561         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12562         little-endian support.  Remove unnecessary "are we done" tests.
12563         Handle "s" wrapping around zero and extremely large "size".
12564         Correct main loop count.  Handle single left-over word from main
12565         loop inline rather than by using small_loop.  Correct comments.
12566         Delete "zero" tail, use "end_max" instead.
12567         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12569 2013-10-04  Alan Modra  <amodra@gmail.com>
12571         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12572         support.  Don't branch over align.
12573         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12574         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12575         support.  Rearrange tmp reg use to suit.  Comment.
12576         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12578 2013-10-04  Alan Modra  <amodra@gmail.com>
12580         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12582 2013-10-04  Alan Modra  <amodra@gmail.com>
12584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12585         conditional form of branch and link when obtaining pc.
12586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12588 2013-10-04  Alan Modra  <amodra@gmail.com>
12590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12591         HIWORD/LOWORD.
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12595 2013-10-04  Alan Modra  <amodra@gmail.com>
12597         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12598         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12599         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12600         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12601         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12602         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12603         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12604         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12605         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12606         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12608 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12609             Alistair Popple <alistair@ozlabs.au.ibm.com>
12610             Alan Modra <amodra@gmail.com>
12612         [BZ #15723]
12613         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12614         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12615         _dl_hwcap access for little-endian.
12616         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12617         destroy vmx regs when saving unaligned.
12618         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12619         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12620         destroy vmx regs when saving unaligned.
12622 2013-10-04  Alan Modra  <amodra@gmail.com>
12624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12625         Don't use a union to pack hi/low value.
12627 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12629         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12630         for little-endian.
12631         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12632         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12633         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12634         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12635         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12637 2013-10-04  Alan Modra  <amodra@gmail.com>
12639         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12640         constants to usual value for .cst8 section, and remove redundant
12641         high address load.
12642         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12643         constant for 0x1p52.  Load little-endian words of double from
12644         correct stack offsets.
12646 2013-10-04  Alan Modra  <amodra@gmail.com>
12648         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12649         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12650         words of double from correct stack offsets.
12651         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12652         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12653         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12654         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12655         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12656         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12657         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12658         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12659         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12660         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12661         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12662         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12663         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12664         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12665         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12666         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12667         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12669 2013-10-04  Alan Modra  <amodra@gmail.com>
12671         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12672         64-bit int/double union.
12673         (_FPU_SETCW): Likewise.
12674         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12675         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12677 2013-10-04  Alan Modra  <amodra@gmail.com>
12679         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12680         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12682 2013-10-04  Alan Modra  <amodra@gmail.com>
12684         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12685         use vector int constants.
12686         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12688 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12690         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12691         array with long long.
12692         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12693         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12694         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12695         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12696         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12697         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12698         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12699         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12700         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12701         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12702         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12703         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12704         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12706 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12708         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12709         (__signbit): Likewise.  Correct for little-endian.
12710         (__signbitl): Call __signbit.
12711         (lrint): Correct for little-endian.
12712         (lrintf): Call lrint.
12714 2013-10-04  Alan Modra  <amodra@gmail.com>
12716         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12717         union 32-bit int array member with 64-bit int array.
12718         (t515, tm256): Double rather than long double.
12719         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12721 2013-10-04  Alan Modra  <amodra@gmail.com>
12723         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12724         Delete.
12725         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12726         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12727         version of math_ldbl.h.
12729 2013-10-04  Alan Modra  <amodra@gmail.com>
12731         [BZ #15734], [BZ #15735]
12732         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12733         all uses of ieee875 long double macros and unions.  Simplify test
12734         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12735         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12736         normalize after ldbl_extract_mantissa, and don't add hidden bit
12737         already handled.  Don't treat low word of ieee854 mantissa like
12738         low word of IBM long double and mask off bit when testing for
12739         zero.
12740         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12741         all uses of ieee875 long double macros and unions.  Simplify tests
12742         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12743         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12744         two1022, instead use their values.  Recognise that tests for large
12745         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12746         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12747         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12748         test for 0.0L and nan.  Correct negation.
12749         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12750         ieee875 long double macros and unions.  Correct output for large
12751         magnitude x.  Correct absolute value calculation.
12752         (__erfcl): Likewise.
12753         * math/libm-test.inc: Add tests for errors discovered in IBM long
12754         double versions of fmodl, remainderl, erfl and erfcl.
12756 2013-10-04  Alan Modra  <amodra@gmail.com>
12758         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12759         all uses of ieee854 long double macros and unions.  Simplify tests
12760         for long doubles that are fully specified by the high double.
12761         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12762         Likewise.
12763         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12764         Remove dead code too.
12765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12766         (__ieee754_ynl): Likewise.
12767         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12768         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12769         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12770         Remove dead code too.
12771         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12772         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12773         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12774         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12775         Simplify.
12776         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12777         Simplify.
12778         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12780         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12781         Comment on variable precision.
12782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12784         Likewise.
12785         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12789         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12791 2013-10-04  Alan Modra  <amodra@gmail.com>
12793         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12794         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12795         all uses of ieee854 long double macros and unions.
12796         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12797         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12798         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12800         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12801         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12802         Likewise.
12803         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12804         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12805         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12806         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12807         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12808         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12809         Simplify sign and nan test too.
12810         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12811         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12812         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12813         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12814         Likewise.
12815         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12816         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12817         Likewise.
12818         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12819         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12820         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12821         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12822         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12825 2013-10-04  Alan Modra  <amodra@gmail.com>
12827         * stdio-common/printf_size.c (__printf_size): Don't use
12828         union ieee854_long_double in fpnum union.
12829         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12830         signbit macro to retrieve sign from long double.
12831         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12832         retrieve sign from long double.
12833         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12834         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12835         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12836         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12837         * math/test-misc.c (main): Don't use union ieee854_long_double.
12839 2013-10-04  Alan Modra  <amodra@gmail.com>
12841         [BZ #15680]
12842         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12843         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12844         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12845         calculation.  Remove unnecessary test for denormal exponent.
12846         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12847         Correct handling of denormals.  Avoid undefined shift behaviour.
12848         Correct normalisation of low mantissa when low double is denormal.
12849         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12850         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12851         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12852         Correct normalisation of low mantissa.  Test for overflow of high
12853         mantissa and normalise.
12854         (ldbl_nearbyint): Use more readable constant for two52.
12855         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12856         (__mpn_construct_long_double): Fix test for overflow of high
12857         mantissa and correct normalisation.  Avoid undefined shift.
12859 2013-10-04  Alan Modra  <amodra@gmail.com>
12861         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12862         (union ibm_extended_long_double): Define as an array of ieee754_double.
12863         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12864         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12865         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12866         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12867         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12868         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12869         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12870         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12871         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12872         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12873         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12875 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12877         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12878         page size instead of calling getpagesize.
12880         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12881         (LOCFILE_ALIGN_MASK): Likewise.
12882         (LOCFILE_ALIGN_UP): Likewise.
12883         (LOCFILE_ALIGNED_P): Likewise.
12884         * locale/programs/ld-collate.c (collate_output): Use the new
12885         macros instead of __alignof__ (int32_t).
12886         * locale/weight.h (findidx): Likewise.
12888 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12890         [BZ #431]
12891         * manual/string.texi: Fix strncat and wcsncat.
12893 2013-10-03  Brooks Moses  <bmoses@google.com>
12895         [BZ #15915]
12896         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12897         * Makerules: ...here, and adjust associated comments.
12899 2013-10-02  Will Newton  <will.newton@linaro.org>
12901         * malloc/Makefile: Add tst-pvalloc.
12902         * malloc/tst-pvalloc.c: New file.
12904 2013-10-02  Will Newton  <will.newton@linaro.org>
12906         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12907         improve test coverage.
12909 2013-10-02  Will Newton  <will.newton@linaro.org>
12911         * malloc/Makefile: Add tst-posix_memalign.
12912         * malloc/tst-posix_memalign.c: New file.
12914 2013-10-01  Eric Blake  <eblake@redhat.com>
12916         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12917         Use __THROWNL rather than __THROW on static functions.
12919 2013-09-30  Petr Machata  <pmachata@redhat.com>
12921         * elf/elf.h (R_AARCH64_ABS16): New macro.
12922         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12923         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12924         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12925         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12926         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12927         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12928         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12929         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12930         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12931         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12932         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12933         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12934         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12935         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12936         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12937         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12938         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12939         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12940         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12941         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12942         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12943         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12944         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12945         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12946         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12947         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12948         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12949         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12950         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12951         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12952         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12953         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12954         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12955         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12956         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12957         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12958         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12959         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12960         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12961         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12962         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12963         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12964         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12965         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12966         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12967         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12968         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12969         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12970         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12971         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12972         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12973         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12974         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12975         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12976         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12977         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12978         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12979         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12980         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12981         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12982         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12983         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12984         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12985         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12986         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12987         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12988         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12989         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12990         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12991         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12992         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12993         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12994         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12995         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12996         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12997         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12998         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12999         (R_AARCH64_TLSDESC_LDR): Likewise.
13000         (R_AARCH64_TLSDESC_ADD): Likewise.
13001         (R_AARCH64_TLSDESC_CALL): Likewise.
13003 2013-09-30  Andreas Schwab  <schwab@suse.de>
13005         [BZ #15048]
13006         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13007         the nss database lookup.
13008         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13011 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13013         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13015 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13017         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13018         ${Bash-specific parameter/pattern/string} parameter expansion.
13019         * sysdeps/unix/make-syscalls.sh: Likewise.
13021 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13023         * sysdeps/sh/stackguard-macros.h: New file.
13025 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13029         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13030         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13031         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13032         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13034 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13036         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13037         Fix thread ID register.
13039 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13041         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13042         [POSIX || UNIX98]: Require rather than permitting all symbols from
13043         <time.h>.
13044         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13045         element of struct sched_param.
13046         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13047         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13048         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13049         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13050         constant.
13052 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13054         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13055         argument calculation.
13057 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13059         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13060         Expect macro.
13061         [POSIX] (pthread_attr_t): Do not require type.
13062         [POSIX] (pthread_cond_t): Likewise.
13063         [POSIX] (pthread_condattr_t): Likewise.
13064         [POSIX] (pthread_key_t): Likewise.
13065         [POSIX] (pthread_mutex_t): Likewise.
13066         [POSIX] (pthread_mutexattr_t): Likewise.
13067         [POSIX] (pthread_once_t): Likewise.
13068         [POSIX] (pthread_t): Likewise.
13069         [POSIX-based standards] (pthread_atfork): Expect function.
13071 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13072             Richard Sandiford  <richard@codesourcery.com>
13074         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13075         (swap_endianness_p): New extern variable.
13076         (set_big_endian): New inline function.
13077         (maybe_swap_uint32): Likewise.
13078         (maybe_swap_uint32_array): Likewise.
13079         (maybe_swap_uint32_obstack): Likewise.
13080         * locale/programs/locfile.c: Include <stdbool.h>.
13081         (swap_endianness_p): New variable.
13082         (add_locale_uint32): Call maybe_swap_uint32.
13083         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13084         (write_locale_data): Call maybe_swap_uint32_array.
13085         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13086         maybe_swap_uint32.
13087         (obstack_int32_grow_fast): Likewise.
13088         (output_weightwc): Call maybe_swap_uint32_obstack.
13089         (collate_output): Likewise.
13090         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13091         (OPT_LITTLE_ENDIAN): Likewise.
13092         (options): Add --little-endian and --big-endian options.
13093         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13094         * locale/programs/locarchive.c: Include "locfile.h".
13095         (GET): New macro.
13096         (SET): Likewise.
13097         (INC): Likewise.
13098         (create_archive): Use the new macros to access fields of
13099         structures directly mapped from or written to locale archives.
13100         (oldlocrecentcmp): Likewise.
13101         (enlarge_archive): Likewise.
13102         (insert_name): Likewise.
13103         (add_alias): Likewise.
13104         (add_locale): Likewise.
13105         (delete_locales_from_archive): Likewise.
13106         (show_archive_content): Likewise.
13107         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13108         locale data.
13110 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13112         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13113         http://www.gnu.org/doc/freemanuals.texi.
13114         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13116 2013-09-24  Will Newton  <will.newton@linaro.org>
13118         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13119         macro.
13121 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13123         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13124         unsigned char.
13126 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13128         * manual/threads.texi (POSIX Threads): Fix a typo.
13130 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13132         [BZ #14547]
13133         * string/tst-strcoll-overflow.c: New test case.
13134         * string/Makefile (xtests): Add tst-strcoll-overflow.
13135         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13136         cache if string sizes may cause integer overflow.
13138         [BZ #14547]
13139         * string/strcoll_l.c (coll_seq): New members rule, idx,
13140         save_idx and back_us.
13141         (get_next_seq_nocache): New function.
13142         (do_compare_nocache): New function.
13143         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13144         when malloc fails.
13146 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13148         [BZ #15754]
13149         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13150         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13151         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13153         [BZ #15754]
13154         * elf/Makefile (tests): Add tst-ptrguard1.
13155         (tests-static): Add tst-ptrguard1-static.
13156         (tst-ptrguard1-ARGS): Define.
13157         (tst-ptrguard1-static-ARGS): Define.
13158         * elf/tst-ptrguard1.c: New file.
13159         * elf/tst-ptrguard1-static.c: New file.
13160         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13161         * sysdeps/i386/stackguard-macros.h: Likewise.
13162         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13163         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13164         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13165         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13166         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13167         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13169 2013-09-23  Hector Marco  <hecmargi@upv.es>
13170             Ismael Ripoll  <iripoll@disca.upv.es>
13171             Carlos O'Donell  <carlos@redhat.com>
13173         [BZ #15754]
13174         * sysdeps/generic/stackguard-macros.h: Define
13175         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13176         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13177         Define __pointer_chk_guard_local.
13178         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13179         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13181 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13183         [BZ #15859]
13184         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13186 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13188         * include/string.h (__ffs): Declare as hidden.
13189         * string/ffs.c (__ffs): Define as hidden.
13190         * sysdeps/i386/ffs.c (__ffs): Likewise.
13191         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13192         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13193         * sysdeps/s390/ffs.c (__ffs): Likewise.
13194         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13196 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13198         * NEWS: Mention malloc probes.
13200         * malloc/arena.c (new_heap): New memory_heap_new probe.
13201         (grow_heap): New memory_heap_more probe.
13202         (shrink_heap): New memory_heap_less probe.
13203         (heap_trim): New memory_heap_free probe.
13204         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13205         (systrim): New memory_sbrk_less probe.
13206         * manual/probes.texi: Document them.
13208         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13209         * manual/probes.texi: Document it.
13211         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13212         (__libc_realloc): Add memory_realloc_retry probe.
13213         (__libc_memalign): Add memory_memalign_retry probe.
13214         (__libc_valloc): Add memory_valloc_retry probe.
13215         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13216         (__libc_calloc): Add memory_calloc_retry probe.
13217         * manual/probes.texi: Document them.
13219         * malloc/arena.c (get_free_list): Add probe
13220         memory_arena_reuse_free_list.
13221         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13222         and memory_arena_reuse.
13223         (arena_get2) [!PER_THREAD]: Likewise.
13224         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13225         memory_arena_reuse_realloc.
13226         * manual/probes.texi: Document them.
13228         * malloc/malloc.c (__libc_free): Add
13229         memory_mallopt_free_dyn_thresholds probe.
13230         (__libc_mallopt): Add multiple memory_mallopt probes.
13231         * manual/probes.texi: Document them.
13233         * malloc/malloc.c: Include stap-probe.h.
13234         (__libc_mallopt): Add memory_mallopt probe.
13235         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13236         * manual/probes.texi: New.
13237         * manual/Makefile (chapters): Add probes.
13238         * manual/threads.texi: Set next node.
13240 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13242         [BZ #15963, #13985]
13243         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13244         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13245         Add `Chinese' to `nan' entry name.
13247 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13249         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13250         (POLYNOMIAL): Likewise.
13251         (TAYLOR_SINCOS): Likewise.
13252         (TAYLOR_SLOW): Likewise.
13253         (__sin): Use TAYLOR_SINCOS.
13254         (__cos): Likewise.
13255         (slow): Use TAYLOR_SLOW.
13256         (sloww): Likewise.
13257         (bsloww): Likewise.
13258         (csloww): Likewise.
13260 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13262         * stdlib/strtod_l.c: Fix buffer overrun.
13264 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13266         * benchtests/Makefile (bench): Add sincos.
13267         * benchtests/bench-sincos.c: New file.
13269         * math/libm-test.inc (cos_test_data): New test inputs.
13270         (sin_test_data): Likewise.
13272         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13273         macro.
13274         (__sin): Use it.
13275         (__cos): Likewise.
13276         (slow1): Likewise.
13277         (slow2): Likewise.
13278         (sloww1): Likewise.
13279         (sloww2): Likewise.
13280         (bsloww1): Likewise.
13281         (bsloww2): Likewise.
13282         (cslow2): Likewise.
13283         (csloww1): Likewise.
13284         (csloww2): Likewise.
13286         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13287         function.
13288         (__sin): Use it.
13289         (__cos): Likewise.
13291         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13292         gotos.
13293         (__cos): Likewise.
13295 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13297         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13298         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13299         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13300         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13301         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13302         * elf/cache.c (print_entry): Handle the new cache flags.
13304 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13305             Aldy Hernandez  <aldyh@redhat.com>
13307         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13308         Change condition to [_SOFT_FLOAT].
13309         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13310         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13311         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13312         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13313         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13314         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13321         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13324         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13325         declaration.
13327 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13329         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13330         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13331         (__longjmp): Use LOAD_GP to load saved GPRs.
13332         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13333         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13334         (__sigsetjmp): Use SAVE_GP to save GPRs.
13336         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13337         Do not append -msoft-float.
13338         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13340 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13342         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13344 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13346         [BZ #15966]
13347         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13348         (_FPU_GETCW): Use initial "__" on variable and field names but not
13349         on macro parameter name.
13350         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13351         parentheses around reference to macro parameter.
13353 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13355         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13356         prototype.
13357         (ctype_startup): Use uint32_t in cast and sizeof for
13358         ctype->charnames.
13360 2013-09-11  Jia Liu  <proljc@gmail.com>
13362         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13363         __daddr_t_defined.
13364         [__FreeBSD__]: Likewise.
13366 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13369         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13370         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13371         (strchr): Remove __strchr_sse42 ifunc selection.
13372         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13373         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13375 2013-09-11  Will Newton  <will.newton@linaro.org>
13377         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13378         parameter to RES. Remove hardcoded 1000 value.
13379         * benchtests/bench-skeleton.c (main): Pass RES parameter
13380         to TIMING_INIT and multiply result by 1000.
13382 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13386 2013-09-11  Andreas Schwab  <schwab@suse.de>
13388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13389         if not defined.
13390         (O_TMPFILE) [__USE_GNU]: Define.
13391         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13392         Define.
13394 2013-09-11  Will Newton  <will.newton@linaro.org>
13396         [BZ #15857]
13397         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13398         does not overflow.
13400 2013-09-11  Will Newton  <will.newton@linaro.org>
13402         [BZ #15856]
13403         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13404         does not overflow.
13406 2013-09-11  Will Newton  <will.newton@linaro.org>
13408         [BZ #15855]
13409         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13410         does not overflow.
13412 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13414         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13415         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13416         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13417         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13418         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13420 2013-09-10  Allan McRae  <allan@archlinux.org>
13422         [BZ #15748]
13423         * manual/arith.texi (Parsing of Floats): Clarify
13424         cross-reference.
13426         [BZ #15849]
13427         * manual/install.texi (Running make install): Mention
13428         --enable-pt-chown.
13429         * INSTALL: Regenerated.
13431 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13433         * csu/init-first.c (_init): Remove the !SHARED condition around
13434         FPU control word initialization.
13435         * elf/dl-support.c (_dl_fpu_control): New variable.
13436         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13437         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13438         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13439         * math/test-fpucw-static.c: New file.
13440         * math/test-fpucw-ieee.c: New file.
13441         * math/test-fpucw-ieee-static.c: New file.
13442         * math/Makefile (tests): Add `test-fpucw-ieee' and
13443         `$(tests-static)'.
13444         (tests-static): New variable.
13445         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13446         dependency to...
13447         [($(build-shared),yes)]
13448         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13449         ... this.
13450         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13451         New dependency.
13453 2013-09-09  Allan McRae  <allan@archlinux.org>
13455         [BZ #15939]
13456         * manual/string.texi (Collation Functions): Fix typo in
13457         strcoll example.
13458         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13460         [BZ #15893]
13461         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13463         [BZ #15892]
13464         * libio/memstream.c (open_memstream): Fix memory leak.
13465         * libio/wmemstream.c (open_wmemstream): Likewise.
13467         [BZ #15895]
13468         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13470 2013-09-09  Will Newton  <will.newton@linaro.org>
13472         * malloc/Makefile: Add tst-realloc to tests.
13473         * malloc/tst-realloc.c: New file.
13475 2013-09-09  Allan McRae  <allan@archlinux.org>
13477         [BZ #15844]
13478         * COPYING: Update from GNU website to fix FSF address.
13479         * COPYING.LIB: Likewise.
13481 2013-09-06  David S. Miller  <davem@davemloft.net>
13483         * po/zh_TW.po: Update Chinese (traditional) translation from
13484         translation project.
13486 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13487             Joseph Myers  <joseph@codesourcery.com>
13489         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13490         "localeinfo.h".
13491         (obstack_chunk_alloc): New macro.
13492         (obstack_chunk_free): Likewise.
13493         (record_offset): New function.
13494         (init_locale_data): Likewise.
13495         (align_locale_data): Likewise.
13496         (add_locale_empty): Likewise.
13497         (add_locale_raw_data): Likewise.
13498         (add_locale_raw_obstack): Likewise.
13499         (add_locale_string): Likewise.
13500         (add_locale_wstring): Likewise.
13501         (add_locale_uint32): Likewise.
13502         (add_locale_uint32_array): Likewise.
13503         (add_locale_char): Likewise.
13504         (start_locale_structure): Likewise.
13505         (end_locale_structure): Likewise.
13506         (start_locale_prelude): Likewise.
13507         (end_locale_prelude): Likewise.
13508         (write_locale_data): Take locale_file structure rather than an
13509         iovec.
13510         * locale/programs/locfile.h: Include "obstack.h".
13511         (struct locale_file): Change to store locale file contents instead
13512         of header.
13513         (init_locale_data): New prototype.
13514         (align_locale_data): Likewise.
13515         (add_locale_empty): Likewise.
13516         (add_locale_raw_data): Likewise.
13517         (add_locale_raw_obstack): Likewise.
13518         (add_locale_string): Likewise.
13519         (add_locale_wstring): Likewise.
13520         (add_locale_uint32): Likewise.
13521         (add_locale_uint32_array): Likewise.
13522         (add_locale_char): Likewise.
13523         (start_locale_structure): Likewise.
13524         (end_locale_structure): Likewise.
13525         (start_locale_prelude): Likewise.
13526         (end_locale_prelude): Likewise.
13527         (write_locale_data): Update prototype.
13528         * locale/programs/3level.h (struct TABLE): Remove result field.
13529         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13530         Use new locale_file interface.
13531         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13532         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13533         * locale/programs/ld-address.c (address_output): Use new
13534         locale_file interface.
13535         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13536         NO_ADD_LOCALE.
13537         (collate_finish): Don't call collseq_table_finalize.
13538         (collate_output): Use new locale_file interface.
13539         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13540         in file.
13541         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13542         (TABLE): Move defines earlier in file.
13543         (ELEMENT): Likewise.
13544         (DEFAULT): Likewise.
13545         (wctrans_table_add): Move macro and inline function earlier in
13546         file.
13547         (struct wctype_table): Move type earlier in file.
13548         (add_locale_wctype_table): New static prototype.
13549         (struct locale_ctype_t): Use logical types instead of struct iovec
13550         pointers for members.
13551         (ctype_output): Use new locale_file interface.
13552         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13553         new locale_file interface.
13554         (allocate_arrays): Update for use of new locale_file interface.
13555         * locale/programs/ld-identification.c (identification_output): Use
13556         new locale_file interface.
13557         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13558         * locale/programs/ld-messages.c (messages_output): Likewise.
13559         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13560         * locale/programs/ld-name.c (name_output): Likewise.
13561         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13562         * locale/programs/ld-paper.c (paper_output): Likewise.
13563         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13564         * locale/programs/ld-time.c (time_output): Likewise.
13566 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13568         * benchtests/Makefile: Add memrchr benchmark.
13569         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13570         benchmark as memrchr.
13571         * benchtests/bench-memrchr-ifunc.c: New file.
13572         * benchtests/bench-memrchr.c: New file.
13574 2013-09-06   Will Newton  <will.newton@linaro.org>
13576         * benchtests/Makefile (string-bench): Add memcpy.
13578 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13579             Cong Wang  <amwang@redhat.com>
13581         [BZ #15850]
13582         * sysdeps/unix/sysv/linux/bits/in.h
13583         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13584         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13585         before __USE_KERNEL_IPV6_DEFS uses.
13586         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13587         IPPROTO_BEETPH.
13588         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13589         sockaddr_in6, or ipv6_mreq.
13591 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13593         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13594         memory access for final bytes in some large inputs.
13595         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13597 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13599         * string/test-memrchr.c: New file.
13600         * string/test-memrchr-ifunc.c: New file.
13601         * string/Makefile: Add new memrchr testcase.
13603 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13605         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13606         fanotify_init returns EPERM.
13608 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13610         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13611         errors.
13612         (top level): Treat second token from macro or constant entries for
13613         allowed headers as allowed.
13614         * include/complex.h: Condition internal declarations on
13615         [!_ISOMAC].
13616         * include/fenv.h: Condition include of <stdbool.h> and internal
13617         declarations on [!_ISOMAC].
13619 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13621         [BZ #15923]
13622         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13624 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13626         * configure.in (--enable-versioning): Remove configure option.
13627         (libc_cv_asm_symver_directive): Remove configure test.
13628         (libc_cv_ld_version_script_option): Likewise.
13629         (VERSIONING): Remove variable and AC_SUBST.
13630         (DO_VERSIONING): Remove AC_DEFINE.
13631         * configure: Regenerated.
13632         * config.h.in (DO_VERSIONING): Remove macro.
13633         * Makerules [$(versioning) = yes]: Change conditionals to
13634         [$(build-shared) = yes].
13635         * config.make.in (versioning): Remove variable.
13636         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13637         [$(build-shared) = yes].
13638         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13639         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13640         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13641         [$(build-shared) = yes].
13642         * extra-lib.mk [$(versioning) = yes]: Likewise.
13643         * hurd/Makefile [$(versioning) = yes]: Likewise.
13644         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13645         [SHARED].
13646         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13647         [SHARED].
13648         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13649         [SHARED && !NO_HIDDEN].
13650         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13651         [SHARED].
13652         [SHARED && DO_VERSIONING]: Likewise..
13653         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13654         [$(build-shared) = yes].
13655         * manual/install.texi (--disable-versioning): Remove
13656         documentation.
13657         * INSTALL: Regenerated.
13658         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13659         to [SHARED].
13660         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13661         [$(build-shared) = yes].
13662         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13663         * sysdeps/i386/i686/multiarch/strstr-c.c
13664         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13665         [SHARED && !NO_HIDDEN].
13666         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13667         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13668         * sysdeps/powerpc/powerpc32/dl-machine.c
13669         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13670         * sysdeps/powerpc/powerpc32/sysdep.h
13671         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13672         to [SHARED && PIC && !NO_HIDDEN].
13673         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13674         conditional to [SHARED].
13676 2013-09-04   Will Newton  <will.newton@linaro.org>
13678         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13679         * benchtests/bench-string.h: Include bench-timing.h instead
13680         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13681         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13682         call to HP_TIMING_DIFF_INIT.
13683         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13684         instead of hp-timing.h macros.
13685         * benchtests/bench-memchr.c: Likewise.
13686         * benchtests/bench-memcmp.c: Likewise.
13687         * benchtests/bench-memcpy.c: Likewise.
13688         * benchtests/bench-memmem.c: Likewise.
13689         * benchtests/bench-memmove.c: Likewise.
13690         * benchtests/bench-memset.c: Likewise.
13691         * benchtests/bench-rawmemchr.c: Likewise.
13692         * benchtests/bench-strcasecmp.c: Likewise.
13693         * benchtests/bench-strcasestr.c: Likewise.
13694         * benchtests/bench-strcat.c: Likewise.
13695         * benchtests/bench-strchr.c: Likewise.
13696         * benchtests/bench-strcmp.c: Likewise.
13697         * benchtests/bench-strcpy.c: Likewise.
13698         * benchtests/bench-strcpy_chk.c: Likewise.
13699         * benchtests/bench-strlen.c: Likewise.
13700         * benchtests/bench-strncasecmp.c: Likewise.
13701         * benchtests/bench-strncat.c: Likewise.
13702         * benchtests/bench-strncmp.c: Likewise.
13703         * benchtests/bench-strncpy.c: Likewise.
13704         * benchtests/bench-strnlen.c: Likewise.
13705         * benchtests/bench-strpbrk.c: Likewise.
13706         * benchtests/bench-strrchr.c: Likewise.
13707         * benchtests/bench-strspn.c: Likewise.
13708         * benchtests/bench-strstr.c: Likewise.
13710 2013-09-04  Will Newton  <will.newton@linaro.org>
13712         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13714 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13716         [BZ #15427]
13717         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13718         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13719         * math/libm-test.inc (lgamma_test_data): Add more tests.
13720         * sysdeps/i386/fpu/libm-test-ulps: Update.
13721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13723 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13725         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13727         Add ifunc.
13728         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13729         Add strcmp-sse2-unaligned
13730         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13732 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13734         * Versions.def (libc): Add GLIBC_2.19.
13736 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13738         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13739         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13741 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13743         [BZ #14155]
13744         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13745         intermediate calculations in recurrence.
13746         (__ieee754_ynf): Likewise.
13747         * math/libm-test.inc (jn_test_data): Do not allow spurious
13748         underflow exception.  Add more tests.
13749         (yn_test_data): Add more tests.
13750         * sysdeps/i386/fpu/libm-test-ulps: Update.
13751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13753 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13755         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13757 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13759         * csu/init-first.c: Fix then/than typos.
13760         * locale/programs/ld-collate.c: Likewise.
13761         * locale/programs/linereader.h: Likewise.
13762         * manual/charset.texi: Likewise.
13763         * manual/filesys.texi: Likewise.
13764         * manual/stdio.texi: Likewise.
13765         * manual/string.texi: Likewise.
13766         * stdlib/fmtmsg.c: Likewise.
13767         * sysdeps/i386/stpncpy.S: Likewise.
13768         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13769         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13770         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13771         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13773 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13775         * elf/dl-open.c: Fix typos.
13776         * iconvdata/gbbig5.c: Likewise.
13777         * iconvdata/iso-2022-jp.c: Likewise.
13778         * iconv/gconv_int.h: Likewise.
13779         * iconv/loop.c: Likewise.
13780         * nis/rpcsvc/nis.h: Likewise.
13781         * resolv/ns_name.c: Likewise.
13782         * stdio-common/vfscanf.c: Likewise.
13783         * streams/stropts.h: Likewise.
13784         * sunrpc/rpc_thread.c: Likewise.
13785         * sysdeps/i386/strpbrk.S: Likewise.
13786         * sysdeps/ieee754/k_standard.c: Likewise.
13787         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13788         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13789         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13790         * sysdeps/mach/hurd/profil.c: Likewise.
13791         * sysdeps/s390/dl-procinfo.h: Likewise.
13792         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13793         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13794         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13795         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13796         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13798 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13800         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13803 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13805         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13806         aix specific files.
13807         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13808         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13809         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13810         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13811         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13812         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13813         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13814         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13816 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13817             Roland McGrath  <roland@hack.frob.com>
13819         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13820         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13822 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13824         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13825         __executable_start symbol instead of _start.
13827 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13829         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13830         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13831         Move macros to...
13832         * sysdeps/gnu/ldsodefs.h: ... this new file.
13834         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13835         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13836         instead of ELFOSABI_LINUX.
13838         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13839         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13840         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13841         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13842         Likewise.
13843         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13844         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13845         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13846         Likewise.
13847         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13848         (ibm_extended_long_double): Add ieee_nan member.
13849         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13850         (do_test): New function.
13852         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13853         TEST_TRUNC.
13854         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13855         functions, renamed from truncdfsf_test, trunctfsf_test,
13856         trunctfdf_test.
13857         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13858         functions.
13859         (do_test): Run all these.
13861 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13863         * argp/argp-help.c: Fix typos.
13864         * argp/argp-parse.c: Likewise.
13865         * debug/backtracesyms.c: Likewise.
13866         * elf/elf.h: Likewise.
13867         * malloc/malloc.c: Likewise.
13868         * nis/nis_print.c: Likewise.
13869         * resolv/res_comp.c: Likewise.
13870         * stdlib/stdlib.h: Likewise.
13871         * sunrpc/clnt_tcp.c: Likewise.
13872         * sunrpc/clnt_udp.c: Likewise.
13873         * sunrpc/clnt_unix.c: Likewise.
13874         * sysdeps/unix/bsd/ptsname.c: Likewise.
13875         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13876         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13878         Likewise.
13879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13880         Likewise.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13882         Likewise.
13883         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13885 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13887         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13890 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13892         [BZ #15897]
13893         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13894         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13895         ($(objpfx)bug-dl-leaf): New rule.
13896         ($(objpfx)bug-dl-leaf.so): Likewise.
13897         ($(objpfx)bug-dl-leaf.out): Likewise.
13898         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13899         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13900         * dlfcn/bug-dl-leaf.c: New test.
13901         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13902         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13903         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13904         (dlclose): Likewise.
13905         (dlmopen): Likewise.
13907 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13909         * include/netdb.h [!_ISOMAC]:
13910         Don't include <tls.h>.
13911         (h_errno, __libc_h_errno): Move declaration and macros out of
13912         [_LIBC_REENTRANT].
13914         * include/resolv.h [_RESOLV_H_]:
13915         Don't include <tls.h>.
13916         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13917         * resolv/res_libc.c: Don't include <tls.h>.
13918         (_res): Use __attribute__ ((nocommon)) in place of
13919         __attribute__ ((section (".bss"))).
13921         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13922         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13924         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13926         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13927         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13929         * resolv/res_mkquery.c: Include <sys/time.h>.
13931         * inet/ifreq.c: Moved to ...
13932         * sysdeps/unix/ifreq.c: ... here.
13933         * inet/ifreq.c: New file, true stub version.
13935         * socket/sa_len.c: New file.
13936         * socket/Makefile (aux): Add it.
13937         * sysdeps/unix/sysv/linux/Makefile
13938         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13939         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13940         and #include <socket/sa_len.c>.
13941         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13942         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13944         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13945         * bits/socket.h: ... here.
13947         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13948         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13949         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13951 2013-08-27  Andreas Schwab  <schwab@suse.de>
13953         [BZ #15736]
13954         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13955         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13956         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13957         * string/test-strcasecmp.c (test_main): Run tests in several
13958         locales.
13959         * string/test-strncasecmp.c (test_main): Likewise.
13961         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13962         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13963         to __strcasecmp_nonascii and __strncasecmp_nonascii.
13964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13965         (__strncasecmp_ssse3) [PIC]: Likewise.
13967 2013-08-26  Roland McGrath  <roland@hack.frob.com>
13969         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13971         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13972         instead of explicitly declaring xdecrypt.
13973         * nis/nss_nis/nis-publickey.c: Likewise.
13975 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13977         [BZ #15890]
13978         * nscd/aicache.c: Include res_hconf.h.
13979         (addhstaiX): Initialize res_hconf.
13981 2013-08-26  Andreas Schwab  <schwab@suse.de>
13983         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13984         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13986 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13988         * nscd/aicache.c (addhstaiX): Fix indentation.
13990 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
13992         * configure.ac: Quote $build_pt_chown test.
13993         * configure: Regenerated.
13995 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
13997         [BZ #15532]
13998         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13999         * math/s_cexpf.c (__cexpf): Likewise.
14000         * math/s_cexpl.c (__cexpl): Likewise.
14001         * math/libm-test.inc (cexp_test_data): Correct expected return
14002         value for NaN + i0.  Add another test.
14004 2013-08-22  David S. Miller  <davem@davemloft.net>
14006         * po/ca.po: Update Catalan translation from translation project.
14007         * po/uk.po: Add Ukrainian translations from translation project.
14009 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14011         [BZ #15797]
14012         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14013         is infinite, not alongside NaN test.
14014         * math/s_fdimf.c (__fdimf): Likewise.
14015         * math/s_fdiml.c (__fdiml): Likewise.
14016         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14017         errno is unchanged.
14019 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14021         * argp/argp-help.c: Fix typos.
14022         * crypt/speeds.c: Likewise.
14023         * csu/check_fds.c: Likewise.
14024         * elf/dl-load.c: Likewise.
14025         * elf/dl-open.c: Likewise.
14026         * elf/reldep3.c: Likewise.
14027         * elf/reldep.c: Likewise.
14028         * elf/sprof.c: Likewise.
14029         * iconv/iconv_charmap.c: Likewise.
14030         * iconv/skeleton.c: Likewise.
14031         * iconv/strtab.c: Likewise.
14032         * io/lockf64.c: Likewise.
14033         * libio/libioP.h: Likewise.
14034         * resolv/gai_notify.c: Likewise.
14035         * resolv/ns_name.c: Likewise.
14036         * resolv/ns_samedomain.c: Likewise.
14037         * resolv/res_send.c: Likewise.
14038         * stdlib/random.c: Likewise.
14039         * sunrpc/rpc/xdr.h: Likewise.
14040         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14041         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14042         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14043         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14044         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14045         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14046         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14047         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14048         * sysdeps/mach/hurd/check_fds.c: Likewise.
14049         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14050         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14051         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14052         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14053         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14054         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14055         * sysdeps/pthread/aio_notify.c: Likewise.
14056         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14057         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14058         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14059         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14060         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14062 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14064         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14065         version if bit_Slow_SSE4_2 is set.
14066         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14067         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14069 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14071         [BZ #15867]
14072         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14073         trampoline stack frame information.
14074         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14075         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14076         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14077         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14078         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14079         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14080         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14081         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14082         sa_flags value.
14083         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14084         interrupting a syscall and set with option SA_SIGINFO.
14086 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14088         [BZ #15531]
14089         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14090         argument is infinite.
14091         * math/s_cprojf.c (__cprojf): Likewise.
14092         * math/s_cprojl.c (__cprojl): Likewise.
14093         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14094         * math/libm-test.inc (cproj_test_data): Add more tests.
14096         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14098         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14099         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14100         size.  Use __ffs to determine corresponding shift.
14102 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14103             Roland McGrath  <roland@hack.frob.com>
14105         * Makefile (INSTALL): Remove trailing blank lines from output of
14106         makeinfo.
14108 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14110         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14111         Align 32 bit compat elf_greg to 8 bytes.
14113 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14115         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14117 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14119         * string/strcoll_l.c (coll_seq): New structure.
14120         (get_next_seq_cached): New function.
14121         (get_next_seq): New function.
14122         (do_compare): New function.
14123         (STRCOLL): Use GNU style definition.  Simplify implementation
14124         by using get_next_seq, get_next_seq_cached and do_compare.
14126 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14128         [BZ #14699]
14129         CVE-2013-4237
14130         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14131         member.
14132         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14133         member.
14134         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14135         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14136         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14137         conditional.
14138         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14139         GETDENTS_64BIT_ALIGNED.
14140         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14141         * manual/filesys.texi (Reading/Closing Directory): Document
14142         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14143         strongly.
14144         * manual/conf.texi (Limits for Files): Add portability note to
14145         NAME_MAX, PATH_MAX.
14146         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14148 2013-08-13  Andreas Schwab  <schwab@suse.de>
14150         [BZ #15749]
14151         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14152         of fabs.
14153         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14154         LDBL_MAX_EXP >= 16384]: Add tests for it.
14156 2013-08-12  David S. Miller  <davem@davemloft.net>
14158         * version.h (RELEASE): Set to "development".
14159         (VERSION): Set to "2.18.90".
14160         * NEWS: Add 2.19 section.
14162 2013-08-03  David S. Miller  <davem@davemloft.net>
14164         * po/ko.po: Update Korean translation from translation project.
14166 2013-08-01  David S. Miller  <davem@davemloft.net>
14168         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14169         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14170         Bilka.
14172 2013-07-30  David S. Miller  <davem@davemloft.net>
14174         * po/fr.po: Update French translation from translation project.
14176 2013-07-28  David S. Miller  <davem@davemloft.net>
14178         * po/cs.po: Update Czech translation from translation project.
14180         * po/sv.po: Update Swedish translation from translation project.
14182 2013-07-27  David S. Miller  <davem@davemloft.net>
14184         * po/eo.po: Update Esperanto translation from translation project.
14186         * po/vi.po: Update Vietnamese translation from translation project.
14188         * po/de.po: Update German translation from translation project.
14190 2013-07-26  David S. Miller  <davem@davemloft.net>
14192         * po/bg.po: Update Bulgarian translation from translation project.
14194         * po/nl.po: Update Dutch translation from translation project.
14195         * po/pl.po: Update Polish translation from translation project.
14196         * po/ru.po: Update Russian translation from translation project.
14198 2013-07-24  David S. Miller  <davem@davemloft.net>
14200         * po/libc.pot: Update.
14202 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14204         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14205         variable page size.
14206         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14207         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14208         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14210 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14212         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14214 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14215             Andreas Schwab  <schwab@suse.de>
14216             Roland McGrath  <roland@hack.frob.com>
14217             Joseph Myers  <joseph@codesourcery.com>
14218             Carlos O'Donell  <carlos@redhat.com>
14220         [BZ #15755]
14221         * config.h.in: Define HAVE_PT_CHOWN.
14222         * config.make.in (build-pt-chown): New variable.
14223         * configure.in (--enable-pt_chown): New configure option.
14224         * configure: Regenerate.
14225         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14226         build-pt-chown is enabled.
14227         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14228         pt_chown to fix pty ownership.
14229         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14230         CLOSE_ALL_FDS.
14231         * manual/install.texi (Configuring and compiling): Mention
14232         --enable-pt_chown. Add @findex for grantpt.
14233         * INSTALL: Regenerate.
14235 2013-07-20  David S. Miller  <davem@davemloft.net>
14237         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14238         difference between 32-bit and 64-bit.
14240 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14242         [BZ #15711]
14243         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14244         Avoid system header dependency with -ffreestanding.
14245         ($(objpfx)bits/syscall%d): Likewise.
14247 2013-07-13  David S. Miller  <davem@davemloft.net>
14249         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14250         underflows from atanl/atan2l due to bug 15319.
14251         (casinh_test_data): Likewise.
14253 2013-07-07  David S. Miller  <davem@davemloft.net>
14255         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14257 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14259         * sysdeps/i386/fpu/libm-test-ulps: Update.
14260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14262 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14264         * configure.in (--enable-lock-elision): Fix message text.
14265         * INSTALL: Regenerate.
14266         * configure: Regenerate.
14268 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14272 2013-07-03  Andreas Jaeger  <aj@suse.de>
14274         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14275         define.
14276         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14277         (ptrace_peeksiginfo_args): Add.
14278         (__ptrace_peeksiginfo_flags): Add.
14279         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14280         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14283 2013-07-03  Allan McRae  <allan@archlinux.org>
14285         * sysdeps/i386/fpu/libm-test-ulps: Update.
14287 2013-07-02  David S. Miller  <davem@davemloft.net>
14289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14291 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14295 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14297         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14300 2013-07-02  Andi Kleen <ak@linux.intel.com>
14302         * config.h.in (ENABLE_LOCK_ELISION): Add.
14303         * configure.in (--enable-lock-elision): Add option.
14304         * manual/install.texi: Document --enable lock elision.
14305         * configure: Regenerate
14306         * INSTALL: Regenerate.
14308 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14310         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14311         SSE4.2 strcasecmp for libc.a.
14312         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14314 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14316         [BZ #13304]
14317         * soft-fp/op-common.h (_FP_FMA): New macro.
14318         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14319         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14320         (_FP_MUL_MEAT_1_imm): ... here.
14321         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14322         (_FP_MUL_MEAT_1_wide): ... here.
14323         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14324         (_FP_MUL_MEAT_1_hard): ... here.
14325         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14326         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14327         (_FP_MUL_MEAT_2_wide): ... here.
14328         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14329         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14330         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14331         (_FP_MUL_MEAT_2_gmp): ... here.
14332         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14333         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14334         (_FP_MUL_MEAT_4_wide): ... here.
14335         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14336         (_FP_MUL_MEAT_4_gmp): ... here.
14337         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14338         (_FP_WFRACBITS_DW_S): Likewise.
14339         (_FP_WFRACXBITS_DW_S): Likewise.
14340         (_FP_HIGHBIT_DW_S): Likewise.
14341         (FP_FMA_S): Likewise.
14342         (_FP_FRAC_HIGH_DW_S): Likewise.
14343         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14344         (_FP_WFRACBITS_DW_D): Likewise.
14345         (_FP_WFRACXBITS_DW_D): Likewise.
14346         (_FP_HIGHBIT_DW_D): Likewise.
14347         (FP_FMA_D): Likewise.
14348         (_FP_FRAC_HIGH_DW_D): Likewise.
14349         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14350         (_FP_WFRACBITS_DW_E): Likewise.
14351         (_FP_WFRACXBITS_DW_E): Likewise.
14352         (_FP_HIGHBIT_DW_E): Likewise.
14353         (FP_FMA_E): Likewise.
14354         (_FP_FRAC_HIGH_DW_E): Likewise.
14355         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14356         (_FP_WFRACBITS_DW_Q): Likewise.
14357         (_FP_WFRACXBITS_DW_Q): Likewise.
14358         (_FP_HIGHBIT_DW_Q): Likewise.
14359         (FP_FMA_Q): Likewise.
14360         (_FP_FRAC_HIGH_DW_Q): Likewise.
14361         * soft-fp/fmasf4.c: New file.
14362         * soft-fp/fmadf4.c: Likewise.
14363         * soft-fp/fmatf4.c: Likewise.
14365 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14368         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14369         Silvermont.
14370         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14371         macro.
14372         (index_Slow_SSE4_2): Likewise.
14373         (index_Prefer_PMINUB_for_stringop): Likewise.
14374         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14375         bit_Slow_SSE4_2 is set.
14376         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14377         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14379 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14381         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14382         rtld_global._dl_hwcap2.
14383         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14384         POWER8.
14385         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14386         POWER8 feature descriptions defined in _dl_hwcap2.
14387         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14388         string handling for POWER8 feature bits.
14389         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14390         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14391         _dl_powerpc_cap_flags.
14392         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14393         * sysdeps/powerpc/rtld-global-offsets.sym
14394         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14395         _dl_hwcap2 in the rtld_global_ro structure.
14397 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14399         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14400         hardware capabilities in support of AT_HWCAP2.
14401         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14402         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14403         GLRO(dl_hwcap2).
14404         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14405         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14406         explicitly the unknown a_type display mechanism is used.
14407         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14408         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14409         struct member.
14410         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14411         to macro prototype for AT_HWCAP2 support.
14412         * sysdeps/i386/dl-procinfo.h: Likewise.
14413         * sysdeps/s390/dl-procinfo.h: Likewise.
14414         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14415         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14416         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14417         return -1 for unknown a_type display fallback.
14418         * sysdeps/sparc/dl-procinfo.h: Likewise.
14419         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14420         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14422 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14424         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14425         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14427 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14429         [BZ #12492]
14430         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14431         mprotect making __stack_prot writable.
14433 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14434             Joseph Myers  <joseph@codesourcery.com>
14436         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14437         as being properly aligned.
14439 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14441         * dlfcn/modstatic5.c: New file.
14442         * dlfcn/tststatic5.c: New file.
14443         * dlfcn/Makefile (tests): Add tststatic5.
14444         (tests-static): Likewise.
14445         (modules-names): Add modstatic5.
14446         (tststatic5-ENV): New variable.
14447         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14449         [BZ #15022]
14450         * elf/dl-support.c (_dl_main_map): New variable.
14451         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14452         (_dl_nns, _dl_load_adds): Set to 1.
14453         (_dl_initial_searchlist): Refer to _dl_main_map.
14454         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14455         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14456         call to _dl_get_origin.
14457         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14458         around call_map.
14459         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14460         * dlfcn/modstatic3.c: New file.
14461         * dlfcn/tststatic3.c: New file.
14462         * dlfcn/tststatic4.c: New file.
14463         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14464         (tests-static): Likewise.
14465         (modules-names): Add modstatic3.
14466         (tststatic3-ENV, tststatic4-ENV): New variables.
14467         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14468         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14470 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14472         * configure.in (CC): Require GCC version 4.4 or later.
14473         * configure: Regenerated.
14474         * manual/install.texi (Tools for Compilation): Update GCC version
14475         requirement.
14476         * INSTALL: Regenerated.
14478 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14480         [BZ #15674]
14481         * string/test-memcmp.c (check2): New.
14482         (main): Call check2.
14484         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14486 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14488         [BZ #15022]
14489         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14490         over to...
14491         (dl_open_worker) [!SHARED]: ... here.
14493 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14495         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14497 2013-06-25  Richard Henderson  <rth@redhat.com>
14499         * locale/programs/locarchive.c: Include <libc-internal.h>
14501 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14503         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14504         trailing whitespace removed.
14506 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14508         [BZ #10283]
14509         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14510         * locale/programs/locarchive.c: Include libc-mmap.h.
14511         (prepare_address_space): Take two new outputs (the mmap base and len).
14512         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14513         values.
14514         (create_archive): Declare new mmap base and len values for
14515         prepare_address_space, and store the result in ah.
14516         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14517         (enlarge_archive): If ah->mmap_base is not NULL, use that and
14518         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14519         Declare new mmap base and len values for
14520         prepare_address_space, and store the result in new_ah.
14521         (open_archive): Declare new mmap base and len values for
14522         prepare_address_space, and store the result in ah.
14523         (close_archive): If ah->mmap_base is not NULL, use that and
14524         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14525         * sysdeps/generic/libc-mmap.h: New file.
14527 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14529         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14530         (ALIGN_UP): Likewise.
14531         (PTR_ALIGN_DOWN): Likewise.
14532         (PTR_ALIGN_UP): Likewise.
14534 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14536         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14537         entry mapped to PPC_PLATFORM_POWER8.
14538         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14539         POWER8.
14540         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14541         (_dl_string_platform): Add case for exporting platform position for
14542         POWER8.
14543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14544         search path to sysdeps/powerpc/powerpc32/power8 directory.
14545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14546         search path to sysdeps/powerpc/powerpc64/power8 directory.
14547         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14548         power7 directories.
14549         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14550         power7 directories.
14552 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14554         * INSTALL: Regenerate.
14556         * nscd/connections.c (nscd_init): Fix comment.
14558 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14560         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14562         [BZ #15667]
14563         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14564         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14566 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14568         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14569         DL_DST_REQ_STATIC.
14570         (DL_DST_REQ_STATIC): Remove macro.
14572 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14574         [BZ #7006]
14575         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14576         with a shift of 0 bits.
14578 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14580         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14581         $(tststatic-ENV).
14583 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14585         [BZ #15655]
14586         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14588 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14590         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14591         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14592         accepts -fno-tree-loop-distribute-patterns.
14593         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14594         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14595         recursive call.
14596         * string/memset.c (memset): Likewise.
14597         * string/test-memmove.c (simple_memmove): Disable loop transformation
14598         to library calls.
14599         * string/test-memset.c (simple_memset): Likewise.
14600         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14601         * benchtests/bench-memset.c (simple_memset): Likewise.
14602         * configure: Regenerated.
14604 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14606         * math/test-misc.c (main): Ignore fesetround failure when failures
14607         of subsequent rounding tests would be ignored.
14609         [BZ #15654]
14610         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14611         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14612         * math/fegetenv.c (__fegetenv): Return 0.
14613         * math/fegetexcept.c (fegetexcept): Return 0.
14614         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14615         FE_TONEAREST.
14616         * math/feholdexcpt.c (feholdexcept): Return 0.
14617         * math/fesetenv.c (__fesetenv): Return 0.
14618         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14619         argument FE_TONEAREST.
14620         * math/feupdateenv.c (__feupdateenv): Return 0.
14621         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14623 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14625         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14626         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14627         ($(objpfx)rtld-%.os rules): Use them.
14629 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14631         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14632         fields.
14634 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14636         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14637         length of target pattern, then descending length of dependency pattern.
14638         * configure.in (AWK): Require gawk 3.1.2 or newer.
14639         * manual/install.texi (Tools for Compilation): Say that we do.
14640         * configure: Regenerated.
14642         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14643         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14644         * scripts/sysd-rules.awk: ... this new script.
14645         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14646         than a glob-style pattern.
14648 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14650         * math/test-misc.c (main): Do not treat incorrectly rounded
14651         conversions as failure unless ROUNDING_TESTS passes.
14653 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14655         [BZ #15631]
14656         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14657         restore exception state around main square root computation, then
14658         check for inexactness explicitly.
14660         * math/libm-test.inc (fma_test_data): Add another test.
14662 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14664         * manual/threads.texi (Non-POSIX Extensions): New document
14665         node.  Document pthread_getattr_default_np and
14666         pthread_setattr_default_np.
14668         * Versions.def (libpthread): Add GLIBC_2.18.
14669         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14671         Likewise.
14672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14673         Likewise.
14674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14675         Likewise.
14676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14677         Likewise.
14678         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14679         Likewise.
14680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14681         Likewise.
14682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14683         Likewise.
14684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14685         Likewise.
14686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14687         Likewise.
14689 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14691         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14692         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14694 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14695             H.J. Lu  <hjl.tools@gmail.com>
14697         [BZ #15627]
14698         * sysdeps/x86_64/rtld-memset.c: Remove file.
14699         * sysdeps/x86_64/rtld-memset.S: New file.
14701 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14703         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14704         (test_in_one_mode): Take arguments for whether the rounding mode
14705         is supported for each floating-point type.
14706         (do_test): Pass new arguments to test_in_one_mode using
14707         ROUNDING_TESTS.
14709 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14711         * posix/tst-waitid.c (do_test): Distinguish different instances of
14712         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14713         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14714         before entering the kernel for waitpid.
14716 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14718         * NEWS: Fix note on clock function precision.  Text by Roland
14719         McGrath.
14721 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14723         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14724         it into place only when and if the sanity check passes.
14726 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14728         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14729         output for whether conversion result is exact.  Take argument
14730         indicating whether type is IBM long double.
14731         (round_for_all): Change need_exact field to ibm_ld.
14732         * stdlib/tst-strtod-round.c (struct exactness): New type.
14733         (struct test): Change bool ld_ok field to struct exactness exact.
14734         (TEST): Update all definitions for change to field.
14735         (tests): Regenerate array contents.
14736         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14737         field value.  Check for IBM long double here.
14738         (do_test): Update calls to test_in_one_mode.
14740 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14742         [BZ #12515]
14743         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14744         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14746 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14748         [BZ #15605]
14749         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14750         generated by the compiler on loop optimizations.
14751         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14752         general definitions.
14754 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14756         * math/bug-nextafter.c: Include <math-tests.h>.
14757         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14758         the relevant type.
14759         * math/bug-nexttoward.c: Include <math-tests.h>.
14760         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14761         the relevant type.
14762         * math/test-misc.c: Include <math-tests.h>.
14763         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14764         the relevant type.
14766 2013-06-12  Andreas Jaeger  <aj@suse.de>
14768         * po/ia.po: Update Interlingua translation from translation
14769         project.
14771 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14773         * include/fenv.h: Include stdbool.h.
14774         (struct rm_ctx): New structure.
14775         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14776         Define macro.
14777         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14778         (SET_RESTORE_ROUNDF): Likewise.
14779         (SET_RESTORE_ROUNDL): Likewise.
14780         (SET_RESTORE_ROUND_NOEX): Likewise.
14781         (SET_RESTORE_ROUND_NOEXF): Likewise.
14782         (SET_RESTORE_ROUND_NOEXL): Likewise.
14783         (SET_RESTORE_ROUND_53BIT): Likewise.
14784         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14785         (libc_feresetround_noexf_ctx): Likewise.
14786         (libc_feresetround_noexl_ctx): Likewise.
14787         (libc_feholdsetround_53bit_ctx): Likewise.
14788         (libc_feresetround_53bit_ctx): Likewise.
14789         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14790         (libc_feholdexcept_setround_sse_ctx): New function.
14791         (libc_fesetenv_sse_ctx): Likewise.
14792         (libc_feupdateenv_sse_ctx): Likewise.
14793         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14794         (libc_feholdexcept_setround_387_ctx): Likewise.
14795         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14796         (libc_feholdsetround_387_prec_ctx): Likewise.
14797         (libc_feholdsetround_387_ctx): Likewise.
14798         (libc_feholdsetround_387_53bit_ctx): Likewise.
14799         (libc_feholdsetround_sse_ctx): Likewise.
14800         (libc_feresetround_sse_ctx): Likewise.
14801         (libc_feresetround_387_ctx): Likewise.
14802         (libc_feupdateenv_387_ctx): Likewise.
14803         (libc_feholdexcept_setroundf_ctx): Define macro.
14804         (libc_fesetenvf_ctx): Likewise.
14805         (libc_feupdateenvf_ctx): Likewise.
14806         (libc_feholdsetroundf_ctx): Likewise.
14807         (libc_feresetroundf_ctx): Likewise.
14808         (libc_feholdexcept_setround_ctx): Likewise.
14809         (libc_fesetenv_ctx): Likewise.
14810         (libc_feupdateenv_ctx): Likewise.
14811         (libc_feholdsetround_ctx): Likewise.
14812         (libc_feresetround_ctx): Likewise.
14813         (libc_feholdexcept_setroundl_ctx): Likewise.
14814         (libc_feupdateenvl_ctx): Likewise.
14815         (libc_feholdsetroundl_ctx): Likewise.
14816         (libc_feresetroundl_ctx): Likewise.
14817         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14818         (libc_feresetround_53bit_ctx): Likewise.
14820 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14822         * locale/iso-639.def: Convert to UTF-8.
14824 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14826         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14827         (EXCEPTION_TESTS_double): Likewise.
14828         (EXCEPTION_TESTS_long_double): Likewise.
14829         (EXCEPTION_TESTS): Likewise.
14830         * math/libm-test.inc (test_exceptions): Only test exceptions if
14831         EXCEPTION_TESTS (FLOAT).
14833 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14835         * benchtests/Makefile (string-bench): Add strcpy_chk and
14836         stpcpy_chk.
14837         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14838         * benchtests/bench-stpcpy_chk.c: New file.
14839         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14840         * benchtests/bench-strcpy_chk.c: New file.
14841         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14842         code.
14843         (do_test): Likewise.
14845 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14847         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14848         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14849         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14850         with tabs where appropriate.
14851         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14852         dl-procinfo.h.
14853         [PPC_PLATFORM_PPC440]: Likewise.
14854         [PPC_PLATFORM_PPC464]: Likewise.
14855         [PPC_PLATFORM_PPC476]: Likewise.
14856         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14857         ppc464, and ppc476 platform strings merging from ports/
14858         dl-procinfo.h.
14860 2013-06-11  Andreas Schwab  <schwab@suse.de>
14862         [BZ #14991]
14863         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14864         (from_ucs4_idx): Regenerate.
14865         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14866         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14867         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14868         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14869         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14870         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14871         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14872         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14873         from FROM_LOOP and TO_LOOP specific macros.
14874         (BODY): Handle combining characters.
14875         * iconvdata/BIG5HKSCS.irreversible: Update.
14876         * iconvdata/BIG5HKSCS.precomposed: New file.
14877         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14878         characters.
14879         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14881 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14883         * include/sys/time.h: Fix indentation and add copyright header.
14885         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14886         (do_test): Likewise.
14887         * string/test-memchr.c (do_one_test): Likewise.
14888         (do_test): Likewise.
14889         * string/test-memcmp.c (do_one_test): Likewise.
14890         (do_test): Likewise.
14891         * string/test-memcpy.c (do_one_test): Likewise.
14892         (do_test): Likewise.
14893         * string/test-memmem.c (do_one_test): Likewise.
14894         (do_test): Likewise.
14895         (do_random_tests): Likewise.
14896         * string/test-memmove.c (do_one_test): Likewise.
14897         (do_test): Likewise.
14898         * string/test-memset.c (do_one_test): Likewise.
14899         (do_test): Likewise.
14900         * string/test-rawmemchr.c (do_one_test): Likewise.
14901         (do_test): Likewise.
14902         * string/test-strcasecmp.c (do_one_test): Likewise.
14903         (do_test): Likewise.
14904         * string/test-strcasestr.c (do_one_test): Likewise.
14905         (do_test): Likewise.
14906         * string/test-strcat.c (do_one_test): Likewise.
14907         (do_test): Likewise.
14908         * string/test-strchr.c (do_one_test): Likewise.
14909         (do_test): Likewise.
14910         * string/test-strcmp.c (do_one_test): Likewise.
14911         (do_test): Likewise.
14912         * string/test-strcpy.c (do_one_test): Likewise.
14913         (do_test): Likewise.
14914         * string/test-string.h: Likewise.
14915         (test_init): Likewise.
14916         * string/test-strlen.c (do_one_test): Likewise.
14917         (do_test): Likewise.
14918         * string/test-strncasecmp.c (do_one_test): Likewise.
14919         (do_test): Likewise.
14920         * string/test-strncat.c (do_one_test): Likewise.
14921         (do_test): Likewise.
14922         * string/test-strncmp.c (do_one_test): Likewise.
14923         (do_test_limit): Likewise.
14924         (do_test): Likewise.
14925         * string/test-strncpy.c (do_one_test): Likewise.
14926         (do_test): Likewise.
14927         * string/test-strnlen.c (do_one_test): Likewise.
14928         (do_test): Likewise.
14929         * string/test-strpbrk.c (do_one_test): Likewise.
14930         (do_test): Likewise.
14931         * string/test-strrchr.c (do_one_test): Likewise.
14932         (do_test): Likewise.
14933         * string/test-strspn.c (do_one_test): Likewise.
14934         (do_test): Likewise.
14935         * string/test-strstr.c (do_one_test): Likewise.
14936         (do_test): Likewise.
14938         * benchtests/Makefile (string-bench): Add string benchmarks.
14939         * benchtests/bench-bcopy-ifunc.c: New file.
14940         * benchtests/bench-bcopy.c: New file.
14941         * benchtests/bench-bzero-ifunc.c: New file.
14942         * benchtests/bench-bzero.c: New file.
14943         * benchtests/bench-memccpy-ifunc.c: New file.
14944         * benchtests/bench-memccpy.c: New file.
14945         * benchtests/bench-memchr-ifunc.c: New file.
14946         * benchtests/bench-memchr.c: New file.
14947         * benchtests/bench-memcmp-ifunc.c: New file.
14948         * benchtests/bench-memcmp.c: New file.
14949         * benchtests/bench-memmem-ifunc.c: New file.
14950         * benchtests/bench-memmem.c: New file.
14951         * benchtests/bench-memmove-ifunc.c: New file.
14952         * benchtests/bench-memmove.c: New file.
14953         * benchtests/bench-mempcpy-ifunc.c: New file.
14954         * benchtests/bench-mempcpy.c: New file.
14955         * benchtests/bench-memset-ifunc.c: New file.
14956         * benchtests/bench-memset.c: New file.
14957         * benchtests/bench-rawmemchr-ifunc.c: New file.
14958         * benchtests/bench-rawmemchr.c: New file.
14959         * benchtests/bench-stpcpy-ifunc.c: New file.
14960         * benchtests/bench-stpcpy.c: New file.
14961         * benchtests/bench-stpncpy-ifunc.c: New file.
14962         * benchtests/bench-stpncpy.c: New file.
14963         * benchtests/bench-strcasecmp-ifunc.c: New file.
14964         * benchtests/bench-strcasecmp.c: New file.
14965         * benchtests/bench-strcasestr-ifunc.c: New file.
14966         * benchtests/bench-strcasestr.c: New file.
14967         * benchtests/bench-strcat-ifunc.c: New file.
14968         * benchtests/bench-strcat.c: New file.
14969         * benchtests/bench-strchr-ifunc.c: New file.
14970         * benchtests/bench-strchr.c: New file.
14971         * benchtests/bench-strchrnul-ifunc.c: New file.
14972         * benchtests/bench-strchrnul.c: New file.
14973         * benchtests/bench-strcmp-ifunc.c: New file.
14974         * benchtests/bench-strcmp.c: New file.
14975         * benchtests/bench-strcpy-ifunc.c: New file.
14976         * benchtests/bench-strcpy.c: New file.
14977         * benchtests/bench-strcspn-ifunc.c: New file.
14978         * benchtests/bench-strcspn.c: New file.
14979         * benchtests/bench-strlen-ifunc.c: New file.
14980         * benchtests/bench-strlen.c: New file.
14981         * benchtests/bench-strncasecmp-ifunc.c: New file.
14982         * benchtests/bench-strncasecmp.c: New file.
14983         * benchtests/bench-strncat-ifunc.c: New file.
14984         * benchtests/bench-strncat.c: New file.
14985         * benchtests/bench-strncmp-ifunc.c: New file.
14986         * benchtests/bench-strncmp.c: New file.
14987         * benchtests/bench-strncpy-ifunc.c: New file.
14988         * benchtests/bench-strncpy.c: New file.
14989         * benchtests/bench-strnlen-ifunc.c: New file.
14990         * benchtests/bench-strnlen.c: New file.
14991         * benchtests/bench-strpbrk-ifunc.c: New file.
14992         * benchtests/bench-strpbrk.c: New file.
14993         * benchtests/bench-strrchr-ifunc.c: New file.
14994         * benchtests/bench-strrchr.c: New file.
14995         * benchtests/bench-strspn-ifunc.c: New file.
14996         * benchtests/bench-strspn.c: New file.
14997         * benchtests/bench-strstr-ifunc.c: New file.
14998         * benchtests/bench-strstr.c: New file.
15000         * benchtests/Makefile: Disable parallel execution of targets.
15001         (string-bench): Add memcpy.
15002         (benchset): New variable to store a list of benchmark sets.
15003         (bench-func): Renamed from bench.
15004         (bench-set): New target.
15005         (bench): Depend on bench-func and bench-set.
15006         * benchtests/README: Add section on benchmark sets.
15007         * benchtests/bench-memcpy-ifunc.c: New file.
15008         * benchtests/bench-memcpy.c: New file.
15009         * benchtests/bench-string.h: New file.
15011 2013-06-11  Andreas Schwab  <schwab@suse.de>
15013         [BZ #15577]
15014         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15015         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15016         values in the triple.
15017         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15018         terminator in the group key.
15020 2013-06-11  Andreas Jaeger  <aj@suse.de>
15022         * po/zh_TW.po: Update Chinese (traditional) translation from
15023         translation project.
15025 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15027         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15028         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15029         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15030         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15031         (clock_getcpuclockid): Likewise.
15032         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15033         Add weak_alias and libc_hidden_def.
15034         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15035         * rt/clock_gettime.c (clock_gettime): Rename to
15036         __clock_gettime.  Add weak_alias and libc_hidden_def.
15037         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15038         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15039         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15040         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15041         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15042         Likewise.
15043         * rt/clock_settime.c (clock_settime): Rename to
15044         __clock_settime.  Add weak_alias and libc_hidden_def.
15045         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15047 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15049         * mach/err_boot.sub: Remove trailing whitespace.
15050         * mach/err_ipc.sub: Likewise.
15051         * mach/err_mach.sub: Likewise.
15053         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15054         (ROUNDING_TESTS_double): Likewise.
15055         (ROUNDING_TESTS_long_double): Likewise.
15056         (ROUNDING_TESTS): Likewise.
15057         * math/libm-test.inc: Include <math-tests.h>.
15058         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15059         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15060         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15061         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15063 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15065         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15066         of assigning.
15068 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15070         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15071         otherwise empty TRANS lines.
15072         * sysdeps/gnu/errlist.c: Regenerated.
15074         * catgets/gencat.c (error_print): Use (void) in function
15075         definition.
15076         * crypt/crypt_util.c (__init_des): Likewise.
15077         * crypt/speeds.c (Stop): Likewise.
15078         (main): Likewise.
15079         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15080         * inet/ruserpass.c (token): Likewise.
15081         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15082         * intl/localealias.c (extend_alias_table): Likewise.
15083         * intl/plural-exp.c (init_germanic_plural): Likewise.
15084         * libio/fcloseall.c (__fcloseall): Likewise.
15085         * libio/genops.c (_IO_flush_all): Likewise.
15086         (_IO_flush_all_linebuffered): Likewise.
15087         (_IO_cleanup): Likewise.
15088         (_IO_iter_begin): Likewise.
15089         (_IO_iter_end): Likewise.
15090         (_IO_list_lock): Likewise.
15091         (_IO_list_unlock): Likewise.
15092         (_IO_list_resetlock): Likewise.
15093         * libio/getchar.c (getchar): Likewise.
15094         * libio/getchar_u.c (getchar_unlocked): Likewise.
15095         * libio/getwchar.c (getwchar): Likewise.
15096         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15097         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15098         * login/getpt.c (__getpt): Likewise.
15099         * login/tst-utmp.c (main): Likewise.
15100         * malloc/hooks.c (__malloc_check_init): Likewise.
15101         * malloc/malloc.c (__malloc_stats): Likewise.
15102         * malloc/mtrace.c (tr_break): Likewise.
15103         (mtrace): Likewise.
15104         (muntrace): Likewise.
15105         * misc/fstab.c (endfsent): Likewise.
15106         * misc/getclktck.c (__getclktck): Likewise.
15107         * misc/getdtsz.c (__getdtablesize): Likewise.
15108         * misc/gethostid.c (gethostid): Likewise.
15109         * misc/getpagesize.c (__getpagesize): Likewise.
15110         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15111         (__get_nprocs): Likewise.
15112         (__get_phys_pages): Likewise.
15113         (__get_avphys_pages): Likewise.
15114         * misc/getttyent.c (getttyent): Likewise.
15115         (setttyent): Likewise.
15116         (endttyent): Likewise.
15117         * misc/getusershell.c (getusershell): Likewise.
15118         (endusershell): Likewise.
15119         (setusershell): Likewise.
15120         (initshells): Likewise.
15121         * misc/hsearch.c (__hdestroy): Likewise.
15122         * misc/sync.c (sync): Likewise.
15123         * misc/syslog.c (closelog_internal): Likewise.
15124         (closelog): Likewise.
15125         * misc/ttyslot.c (ttyslot): Likewise.
15126         * misc/vhangup.c (vhangup): Likewise.
15127         * posix/fork.c (__fork): Likewise.
15128         * posix/getegid.c (__getegid): Likewise.
15129         * posix/geteuid.c (__geteuid): Likewise.
15130         * posix/getgid.c (__getgid): Likewise.
15131         * posix/getpid.c (__getpid): Likewise.
15132         * posix/getppid.c (__getppid): Likewise.
15133         * posix/getuid.c (__getuid): Likewise.
15134         * posix/pause.c (pause): Likewise.
15135         * posix/setpgrp.c (setpgrp): Likewise.
15136         * posix/setsid.c (__setsid): Likewise.
15137         * posix/test-vfork.c (noop): Likewise.
15138         * resolv/gethnamaddr.c (_endhtent): Likewise.
15139         (_gethtent): Likewise.
15140         (ht_endhostent): Likewise.
15141         (gethostent): Likewise.
15142         (dns_service): Likewise.
15143         * stdlib/drand48.c (drand48): Likewise.
15144         * stdlib/lrand48.c (lrand48): Likewise.
15145         * stdlib/mrand48.c (mrand48): Likewise.
15146         * stdlib/rand.c (rand): Likewise.
15147         * stdlib/random.c (__random): Likewise.
15148         * stdlib/setenv.c (clearenv): Likewise.
15149         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15150         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15151         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15152         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15153         (__get_nprocs): Likewise.
15154         (__get_phys_pages): Likewise.
15155         (__get_avphys_pages): Likewise.
15156         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15157         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15158         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15159         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15160         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15161         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15162         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15163         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15164         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15165         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15166         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15167         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15168         * sysdeps/posix/clock.c (clock): Likewise.
15169         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15170         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15171         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15172         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15173         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15174         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15175         (__get_nprocs_conf): Likewise.
15176         (__get_phys_pages): Likewise.
15177         (__get_avphys_pages): Likewise.
15178         * time/clock.c (clock): Likewise.
15179         * time/tzset.c (__tzname_max): Likewise.
15181 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15183         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15184         (__bswap_32): Do not use "register".
15185         * crypt/crypt.c (_ufc_doit_r): Likewise.
15186         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15187         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15188         * gmon/gmon.c (__monstartup): Likewise.
15189         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15190         * hurd/hurdmalloc.c (more_memory): Likewise.
15191         (malloc): Likewise.
15192         (free): Likewise.
15193         (realloc): Likewise.
15194         (malloc_fork_prepare): Likewise.
15195         (malloc_fork_parent): Likewise.
15196         (malloc_fork_child): Likewise.
15197         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15198         (_svcauth_des): Likewise.
15199         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15200         * inet/inet_net.c (inet_network): Likewise.
15201         * inet/inet_netof.c (inet_netof): Likewise.
15202         * inet/rcmd.c (__validuser2_sa): Likewise.
15203         * io/fts.c (fts_open): Likewise.
15204         (fts_load): Likewise.
15205         (fts_close): Likewise.
15206         (fts_read): Likewise.
15207         (fts_children): Likewise.
15208         (fts_build): Likewise.
15209         (fts_stat): Likewise.
15210         (fts_sort): Likewise.
15211         (fts_alloc): Likewise.
15212         (fts_lfree): Likewise.
15213         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15214         (_IO_file_xsgetn): Likewise.
15215         (_IO_file_xsgetn_mmap): Likewise.
15216         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15217         (_IO_cookie_write): Likewise.
15218         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15219         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15220         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15221         * malloc/obstack.c (_obstack_begin): Likewise.
15222         (_obstack_begin_1): Likewise.
15223         (_obstack_newchunk): Likewise.
15224         (_obstack_allocated_p): Likewise.
15225         (obstack_free): Likewise.
15226         (_obstack_memory_used): Likewise.
15227         * misc/getttyent.c (getttynam): Likewise.
15228         (getttyent): Likewise.
15229         (skip): Likewise.
15230         (value): Likewise.
15231         * misc/getusershell.c (initshells): Likewise.
15232         * misc/syslog.c (__vsyslog_chk): Likewise.
15233         * misc/ttyslot.c (ttyslot): Likewise.
15234         * nis/nis_hash.c (__nis_hash): Likewise.
15235         * posix/fnmatch_loop.c (FCT): Likewise.
15236         * posix/getconf.c (print_all): Likewise.
15237         (main): Likewise.
15238         * posix/getopt.c (exchange): Likewise.
15239         * posix/glob.c (globfree): Likewise.
15240         (prefix_array): Likewise.
15241         (__glob_pattern_type): Likewise.
15242         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15243         (NS_GET32): Likewise.
15244         (NS_PUT16): Likewise.
15245         (NS_PUT32): Likewise.
15246         * resolv/gethnamaddr.c (getanswer): Likewise.
15247         (gethostbyname2): Likewise.
15248         (gethostbyaddr): Likewise.
15249         (_gethtent): Likewise.
15250         (_gethtbyname2): Likewise.
15251         (_gethtbyaddr): Likewise.
15252         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15253         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15254         * resolv/res_init.c (__res_vinit): Likewise.
15255         (net_mask): Likewise.
15256         * resolv/res_mkquery.c (outchar): Likewise.
15257         (PRINT): Likewise.
15258         * stdio-common/printf_fp.c (outchar): Likewise.
15259         (PRINT): Likewise.
15260         * stdio-common/printf_fphex.c (outchar): Likewise.
15261         (PRINT): Likewise.
15262         * stdio-common/printf_size.c (outchar): Likewise.
15263         (PRINT): Likewise.
15264         * stdio-common/test_rdwr.c (main): Likewise.
15265         * stdio-common/tfformat.c (matches): Likewise.
15266         * stdio-common/vfprintf.c (outchar): Likewise.
15267         (printf_unknown): Likewise.
15268         (buffered_vfprintf): Likewise.
15269         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15270         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15271         (ReadFile): Likewise.
15272         * stdlib/qsort.c (SWAP): Likewise.
15273         (_quicksort): Likewise.
15274         * stdlib/setenv.c (__add_to_environ): Likewise.
15275         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15276         * stdlib/strtol_l.c (__strtol_l): Likewise.
15277         * stdlib/tst-strtod.c (main): Likewise.
15278         * stdlib/tst-strtol.c (main): Likewise.
15279         * stdlib/tst-strtoll.c (main): Likewise.
15280         * string/bits/string2.h (__strcmp_cc): Likewise.
15281         (__strcmp_cg): Likewise.
15282         (__strcspn_c1): Likewise.
15283         (__strcspn_c2): Likewise.
15284         (__strcspn_c3): Likewise.
15285         (__strspn_c1): Likewise.
15286         (__strspn_c2): Likewise.
15287         (__strspn_c3): Likewise.
15288         (__strsep_1c): Likewise.
15289         (__strsep_2c): Likewise.
15290         (__strsep_3c): Likewise.
15291         * string/memccpy.c (__memccpy): Likewise.
15292         * string/stpcpy.c (__stpcpy): Likewise.
15293         * string/strcmp.c (strcmp): Likewise.
15294         * string/strrchr.c (strrchr): Likewise.
15295         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15296         Likewise.
15297         * sysdeps/mach/hurd/getcwd.c
15298         (_hurd_canonicalize_directory_name_internal): Likewise.
15299         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15300         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15301         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15302         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15303         Likewise, in both definitions.
15304         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15305         definitions.
15306         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15307         64] (__bswap_64): Likewise.
15308         * time/test_time.c (main): Likewise.
15309         * time/tzfile.c (__tzfile_read): Likewise.
15310         (__tzfile_compute): Likewise.
15311         * time/tzset.c (__tzset_parse_tz): Likewise.
15312         (tzset_internal): Likewise.
15313         (compute_change): Likewise.
15314         * wcsmbs/wcscat.c (__wcscat): Likewise.
15315         * wcsmbs/wcschr.c (wcschr): Likewise.
15316         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15317         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15318         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15319         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15320         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15321         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15322         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15323         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15324         * wcsmbs/wmemset.c (wmemset): Likewise.
15326 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15328         * scripts/config.guess: Update to version 2013-05-16.
15329         * scripts/config.sub: Update to version 2013-04-24.
15330         * scripts/install-sh: Update to version 2011-11-20.07.
15331         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15332         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15334 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15336         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15337         * elf/sln.c: Likewise.
15338         * hurd/hurd/ioctl.h: Likewise.
15339         * hurd/hurdmalloc.c: Likewise.
15340         * hurd/xattr.c: Likewise.
15341         * include/shlib-compat.h: Likewise.
15342         * inet/ruserpass.c: Likewise.
15343         * libio/iofgets_u.c: Likewise.
15344         * libio/iofgetws_u.c: Likewise.
15345         * locale/programs/ld-identification.c: Likewise.
15346         * locale/programs/ld-time.c: Likewise.
15347         * mach/msg-destroy.c: Likewise.
15348         * nss/nss_files/files-netgrp.c: Likewise.
15349         * resolv/res_data.c: Likewise.
15350         * soft-fp/op-1.h: Likewise.
15351         * soft-fp/op-2.h: Likewise.
15352         * soft-fp/op-4.h: Likewise.
15353         * soft-fp/op-common.h: Likewise.
15354         * stdio-common/printf_fphex.c: Likewise.
15355         * stdlib/strtod_l.c: Likewise.
15356         * sunrpc/rpc/clnt.h: Likewise.
15357         * sysdeps/generic/framestate.c: Likewise.
15358         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15359         * sysdeps/i386/bsd-setjmp.S: Likewise.
15360         * sysdeps/i386/__longjmp.S: Likewise.
15361         * sysdeps/i386/setjmp.S: Likewise.
15362         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15363         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15365         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15366         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15367         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15368         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15369         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15370         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15371         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15372         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15373         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15374         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15375         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15376         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15377         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15378         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15379         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15380         * sysdeps/ieee754/support.c: Likewise.
15381         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15382         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15383         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15384         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15385         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15386         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15387         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15388         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15389         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15390         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15391         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15392         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15393         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15394         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15395         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15396         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15397         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15400 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15402         * posix/transbug.c: Remove executable mode.
15404 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15406         * crypt/speeds.c: Remove trailing whitespace.
15407         * dlfcn/default.c: Likewise.
15408         * elf/ifuncdep2.c: Likewise.
15409         * elf/ifuncmain1.c: Likewise.
15410         * elf/ifuncmain1vis.c: Likewise.
15411         * elf/testobj.h: Likewise.
15412         * elf/tst-stackguard1.c: Likewise.
15413         * gmon/sys/gmon.h: Likewise.
15414         * hurd/hurdmsg.c: Likewise.
15415         * hurd/new-fd.c: Likewise.
15416         * hurd/ports-get.c: Likewise.
15417         * iconvdata/ibm1008_420.c: Likewise.
15418         * inet/tst-getni1.c: Likewise.
15419         * inet/tst-getni2.c: Likewise.
15420         * libio/ioungetc.c: Likewise.
15421         * libio/wfiledoalloc.c: Likewise.
15422         * manual/libm-err-tab.pl: Likewise.
15423         * math/w_dremf.c: Likewise.
15424         * misc/ftruncate.c: Likewise.
15425         * posix/bug-glob2.c: Likewise.
15426         * posix/tst-pcre.c: Likewise.
15427         * posix/wait4.c: Likewise.
15428         * resolv/README: Likewise.
15429         * resolv/res_debug.h: Likewise.
15430         * resolv/tst-inet_ntop.c: Likewise.
15431         * setjmp/bug269-setjmp.c: Likewise.
15432         * soft-fp/extended.h: Likewise.
15433         * soft-fp/op-1.h: Likewise.
15434         * soft-fp/op-2.h: Likewise.
15435         * soft-fp/op-4.h: Likewise.
15436         * soft-fp/op-8.h: Likewise.
15437         * soft-fp/testit.c: Likewise.
15438         * stdio-common/bug16.c: Likewise.
15439         * stdlib/random.c: Likewise.
15440         * sunrpc/rpcsvc/rquota.x: Likewise.
15441         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15442         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15443         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15444         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15445         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15446         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15447         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15448         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15449         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15450         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15451         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15452         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15453         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15454         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15455         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15456         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15457         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15461         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15462         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15463         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15464         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15465         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15466         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15467         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15468         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15469         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15470         * sysdeps/ieee754/s_lib_version.c: Likewise.
15471         * sysdeps/mach/hurd/check_fds.c: Likewise.
15472         * sysdeps/mach/hurd/getsockname.c: Likewise.
15473         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15474         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15475         * sysdeps/powerpc/bits/link.h: Likewise.
15476         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15477         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15478         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15479         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15480         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15481         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15482         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15483         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15484         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15485         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15486         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15487         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15488         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15489         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15490         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15491         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15492         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15493         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15494         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15495         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15496         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15497         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15498         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15499         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15500         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15501         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15502         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15503         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15504         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15505         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15506         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15507         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15508         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15509         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15510         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15511         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15512         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15513         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15514         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15515         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15516         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15517         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15518         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15519         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15520         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15521         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15522         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15523         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15524         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15525         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15526         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15528         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15529         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15530         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15531         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15532         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15533         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15534         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15535         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15536         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15537         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15538         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15539         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15540         * sysdeps/powerpc/sysdep.h: Likewise.
15541         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15542         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15543         * sysdeps/sh/dl-trampoline.S: Likewise.
15544         * sysdeps/sh/memset.S: Likewise.
15545         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15546         * sysdeps/sh/strlen.S: Likewise.
15547         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15548         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15549         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15550         * sysdeps/sparc/sparc32/rem.S: Likewise.
15551         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15552         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15553         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15554         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15555         * sysdeps/sparc/sparc32/urem.S: Likewise.
15556         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15557         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15558         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15559         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15560         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15561         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15562         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15563         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15564         * sysdeps/unix/bsd/times.c: Likewise.
15565         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15566         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15570         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15571         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15572         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15573         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15574         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15575         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15576         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15577         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15578         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15579         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15580         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15581         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15582         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15583         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15584         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15585         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15586         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15587         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15588         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15589         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15590         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15591         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15592         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15593         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15594         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15595         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15596         * sysdeps/x86_64/strcspn.S: Likewise.
15598 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15600         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15601         generated file.  Regenerate properly from gen-translit.pl.
15602         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15603         locale/C-translit.h.
15605 2013-06-05  Andreas Schwab  <schwab@suse.de>
15607         [BZ #15100]
15608         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15609         week as 6 instead of -1.
15610         * time/tst-strptime.c (day_tests): Add test case.
15612 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15614         * sysdeps/generic/math_private.h
15615         (libc_feholdexcept_setround_53bit): Replace with
15616         libc_feholdsetround_53bit.
15617         (libc_feupdateenv_53bit): Replace with
15618         libc_feresetround_53bit.
15619         (SET_RESTORE_ROUND_53BIT): Adjust.
15621 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15623         * string/test-strchrnul.c: Add copyright header.
15625         * posix/tst-getaddrinfo4.c: Increase test timeout.
15627 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15629         [BZ #15536]
15630         * math/libm-test.inc (MAX_EXP): Remove
15631         (MIN_EXP): Define.
15632         (ulp): Use MIN_EXP - MANT_DIG.
15633         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15635 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15637         * po/be.po: Revert last change.
15638         * po/zh_CN.po: Likewise.
15639         * po/header.pot: Likewise.
15641 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15643         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15644         link-libc-deps to empty as target-specific variable.
15645         * Makerules (link-libc-args): New variable.
15646         (libc-for-link): Likewise.
15647         (link-libc-deps): Likewise.
15648         (lib%.so): Depend on $(link-libc-deps).  Link with
15649         $(link-libc-args).
15650         (build-module): Link with $(link-libc-args).
15651         (build-module-asneeded): Likewise.
15652         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15653         list of objects.
15654         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15655         target-specific variable.
15656         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15657         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15658         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15659         libc.
15660         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15661         libc and ld.so.
15662         ($(objpfx)libpcprofile.so): Likewise.
15663         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15664         libc_nonshared.a.
15665         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15666         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15667         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15668         $(link-libc-deps).
15669         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15670         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15671         * login/Makefile ($(objpfx)libutil.so): Likewise.
15672         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15673         * math/Makefile ($(objpfx)libm.so): Likewise.
15674         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15675         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15676         variable instead of depending directly on libc.
15677         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15678         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15679         $(link-libc-deps).
15680         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15681         libc.
15682         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15683         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15684         ($(objpfx)libanl.so): Likewise.
15685         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15686         ld.so.
15687         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15688         $(link-libc-deps).
15689         * sysdeps/i386/fpu/Makefile: Remove file.
15690         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15691         ($(objpfx)libm.so): Remove dependency on ld.so.
15693 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15695         [BZ # 15553]
15696         * nis/yp_xdr.c (XDRMAXNAME): Define.
15697         (XDRMAXRECORD): Define.
15698         (xdr_domainname): Use XDRMAXNAME.
15699         (xdr_mapname): Likewise.
15700         (xdr_peername): Likewise.
15701         (xdr_keydat): Use XDRMAXRECORD.
15702         (xdr_valdat): Likewise.
15704 2013-05-30  Jeff Law  <law@redhat.com>
15706         [BZ #14256]
15707         * manual/errno.texi (ESTALE): Update to account for more than
15708         just NFS file systems.
15709         * sysdeps/gnu/errlist.c: Regenerated.
15711 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15713         [BZ #15465]
15714         * elf/Makefile (tests): Add tst-null-argv.
15715         (modules-names):  Add tst-null-argv-lib.
15716         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15717         (tst-null-argv-ENV): Set environment for tst-null-argv.
15718         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15719         (RTLD_PROGNAME): New macro.
15720         * elf/tst-null-argv.c: New test case.
15721         * elf/tst-null-argv-lib.c: Library for test case.
15722         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15723         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15724         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15725         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15726         * elf/dl-init.c (call_init): Likewise.
15727         (_dl_init): Likewise.
15728         * elf/dl-load.c (print_search_path): Likewise.
15729         (_dl_map_object): Likewise.
15730         * elf/dl-lookup.c (do_lookup_x): Likewise.
15731         (add_dependency): Likewise.
15732         (_dl_lookup_symbol_x): Likewise.
15733         (_dl_debug_bindings): Likewise.
15734         * elf/dl-open.c (_dl_show_scope): Likewise.
15735         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15736         * elf/dl-version.c (match_symbol): Likewise.
15737         (_dl_check_map_versions): Likewise.
15738         * elf/rtld.c (dl_main): Likewise.
15739         (print_unresolved): Use RTLD_PROGNAME.
15740         (print_missing_version): Likewise.
15741         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15742         (elf_machine_rela): Likewise.
15743         * sysdeps/powerpc/powerpc32/dl-machine.c
15744         (__process_machine_rela): Likewise.
15745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15746         Likewise.
15747         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15748         Likewise.
15749         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15750         Likewise.
15751         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15752         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15753         Likewise.
15754         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15755         Likewise.
15756         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15758 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15760         * po/be.po: Add descriptive title.
15761         * po/zh_CN.po: Likewise.
15762         * po/header.pot: Likewise.
15764 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15766         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15767         error message.
15768         (enlarge_archive): Likewise.
15770 2013-05-28  Ben North  <ben@redfrontdoor.org>
15772         * manual/arith.texi (frexp): It is the magnitude of the return
15773         value which lies in [0.5, 1), not the return value itself.
15775 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15779 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15781         * stdio-common/bug26.c (main): Correct fscanf template.
15783         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15784         declare _dl_skip_args.
15786         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15787         Don't declare.
15789         * manual/platform.texi: Add missing @end deftypefun.
15791 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15793         [BZ #15529]
15794         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15795         bit of mantissa of 2^16382.
15796         * math/libm-test.inc (hypot_test_data): Add more tests.
15798         * math/libm-test.inc: Add drem and pow10 to list of tested
15799         functions.
15800         (pow10_test): New function.
15801         (drem_test): Likewise.
15802         (drem_test_tonearest): Likewise.
15803         (drem_test_towardzero): Likewise.
15804         (drem_test_downward): Likewise.
15805         (drem_test_upward): Likewise.
15806         (main): Call the new functions.
15808         * math/libm-test.inc (finite_test_data): Remove.
15809         (finite_test): Run tests from isfinite_test_data.
15810         (gamma_test_data): Remove.
15811         (gamma_test): Run tests from lgamma_test_data.
15812         * sysdeps/i386/fpu/libm-test-ulps: Update.
15813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15817         * manual/platform.texi: Add PowerPC PPR function set documentation.
15818         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15819         implementation.
15821 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15823         * math/libm-test.inc (MAX_EXP): Define.
15824         (ULPDIFF): Define.
15825         (ulp): New function.
15826         (check_float_internal): Use ULPDIFF.
15827         (cpow_test): Disable failing test.
15828         (check_ulp): Test ulp() implemetnation.
15829         (main): Call check_ulp before starting tests.
15831 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15833         * math/gen-libm-test.pl (generate_testfile): Do not handle
15834         START_DATA and END_DATA.
15835         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15836         END_DATA.
15837         (acos_tonearest_test_data): Likewise.
15838         (acos_towardzero_test_data): Likewise.
15839         (acos_downward_test_data): Likewise.
15840         (acos_upward_test_data): Likewise.
15841         (acosh_test_data): Likewise.
15842         (asin_test_data): Likewise.
15843         (asin_tonearest_test_data): Likewise.
15844         (asin_towardzero_test_data): Likewise.
15845         (asin_downward_test_data): Likewise.
15846         (asin_upward_test_data): Likewise.
15847         (asinh_test_data): Likewise.
15848         (atan_test_data): Likewise.
15849         (atanh_test_data): Likewise.
15850         (atan2_test_data): Likewise.
15851         (cabs_test_data): Likewise.
15852         (cacos_test_data): Likewise.
15853         (cacosh_test_data): Likewise.
15854         (carg_test_data): Likewise.
15855         (casin_test_data): Likewise.
15856         (casinh_test_data): Likewise.
15857         (catan_test_data): Likewise.
15858         (catanh_test_data): Likewise.
15859         (cbrt_test_data): Likewise.
15860         (ccos_test_data): Likewise.
15861         (ccosh_test_data): Likewise.
15862         (ceil_test_data): Likewise.
15863         (cexp_test_data): Likewise.
15864         (cimag_test_data): Likewise.
15865         (clog_test_data): Likewise.
15866         (clog10_test_data): Likewise.
15867         (conj_test_data): Likewise.
15868         (copysign_test_data): Likewise.
15869         (cos_test_data): Likewise.
15870         (cos_tonearest_test_data): Likewise.
15871         (cos_towardzero_test_data): Likewise.
15872         (cos_downward_test_data): Likewise.
15873         (cos_upward_test_data): Likewise.
15874         (cosh_test_data): Likewise.
15875         (cosh_tonearest_test_data): Likewise.
15876         (cosh_towardzero_test_data): Likewise.
15877         (cosh_downward_test_data): Likewise.
15878         (cosh_upward_test_data): Likewise.
15879         (cpow_test_data): Likewise.
15880         (cproj_test_data): Likewise.
15881         (creal_test_data): Likewise.
15882         (csin_test_data): Likewise.
15883         (csinh_test_data): Likewise.
15884         (csqrt_test_data): Likewise.
15885         (ctan_test_data): Likewise.
15886         (ctan_tonearest_test_data): Likewise.
15887         (ctan_towardzero_test_data): Likewise.
15888         (ctan_downward_test_data): Likewise.
15889         (ctan_upward_test_data): Likewise.
15890         (ctanh_test_data): Likewise.
15891         (ctanh_tonearest_test_data): Likewise.
15892         (ctanh_towardzero_test_data): Likewise.
15893         (ctanh_downward_test_data): Likewise.
15894         (ctanh_upward_test_data): Likewise.
15895         (erf_test_data): Likewise.
15896         (erfc_test_data): Likewise.
15897         (exp_test_data): Likewise.
15898         (exp_tonearest_test_data): Likewise.
15899         (exp_towardzero_test_data): Likewise.
15900         (exp_downward_test_data): Likewise.
15901         (exp_upward_test_data): Likewise.
15902         (exp10_test_data): Likewise.
15903         (exp2_test_data): Likewise.
15904         (expm1_test_data): Likewise.
15905         (fabs_test_data): Likewise.
15906         (fdim_test_data): Likewise.
15907         (finite_test_data): Likewise.
15908         (floor_test_data): Likewise.
15909         (fma_test_data): Likewise.
15910         (fma_towardzero_test_data): Likewise.
15911         (fma_downward_test_data): Likewise.
15912         (fma_upward_test_data): Likewise.
15913         (fmax_test_data): Likewise.
15914         (fmin_test_data): Likewise.
15915         (fmod_test_data): Likewise.
15916         (fpclassify_test_data): Likewise.
15917         (frexp_test_data): Likewise.
15918         (gamma_test_data): Likewise.
15919         (hypot_test_data): Likewise.
15920         (ilogb_test_data): Likewise.
15921         (isfinite_test_data): Likewise.
15922         (isgreater_test_data): Likewise.
15923         (isgreaterequal_test_data): Likewise.
15924         (isinf_test_data): Likewise.
15925         (isless_test_data): Likewise.
15926         (islessequal_test_data): Likewise.
15927         (islessgreater_test_data): Likewise.
15928         (isnan_test_data): Likewise.
15929         (isnormal_test_data): Likewise.
15930         (issignaling_test_data): Likewise.
15931         (isunordered_test_data): Likewise.
15932         (j0_test_data): Likewise.
15933         (j1_test_data): Likewise.
15934         (jn_test_data): Likewise.
15935         (ldexp_test_data): Likewise.
15936         (lgamma_test_data): Likewise.
15937         (lrint_test_data): Likewise.
15938         (lrint_tonearest_test_data): Likewise.
15939         (lrint_towardzero_test_data): Likewise.
15940         (lrint_downward_test_data): Likewise.
15941         (lrint_upward_test_data): Likewise.
15942         (llrint_test_data): Likewise.
15943         (llrint_tonearest_test_data): Likewise.
15944         (llrint_towardzero_test_data): Likewise.
15945         (llrint_downward_test_data): Likewise.
15946         (llrint_upward_test_data): Likewise.
15947         (log_test_data): Likewise.
15948         (log10_test_data): Likewise.
15949         (log1p_test_data): Likewise.
15950         (log2_test_data): Likewise.
15951         (logb_test_data): Likewise.
15952         (logb_downward_test_data): Likewise.
15953         (lround_test_data): Likewise.
15954         (llround_test_data): Likewise.
15955         (modf_test_data): Likewise.
15956         (nearbyint_test_data): Likewise.
15957         (nextafter_test_data): Likewise.
15958         (nexttoward_test_data): Likewise.
15959         (pow_test_data): Likewise.
15960         (pow_tonearest_test_data): Likewise.
15961         (pow_towardzero_test_data): Likewise.
15962         (pow_downward_test_data): Likewise.
15963         (pow_upward_test_data): Likewise.
15964         (remainder_test_data): Likewise.
15965         (remainder_tonearest_test_data): Likewise.
15966         (remainder_towardzero_test_data): Likewise.
15967         (remainder_downward_test_data): Likewise.
15968         (remainder_upward_test_data): Likewise.
15969         (remquo_test_data): Likewise.
15970         (rint_test_data): Likewise.
15971         (rint_tonearest_test_data): Likewise.
15972         (rint_towardzero_test_data): Likewise.
15973         (rint_downward_test_data): Likewise.
15974         (rint_upward_test_data): Likewise.
15975         (round_test_data): Likewise.
15976         (scalb_test_data): Likewise.
15977         (scalbn_test_data): Likewise.
15978         (scalbln_test_data): Likewise.
15979         (signbit_test_data): Likewise.
15980         (sin_test_data): Likewise.
15981         (sin_tonearest_test_data): Likewise.
15982         (sin_towardzero_test_data): Likewise.
15983         (sin_downward_test_data): Likewise.
15984         (sin_upward_test_data): Likewise.
15985         (sincos_test_data): Likewise.
15986         (sinh_test_data): Likewise.
15987         (sinh_tonearest_test_data): Likewise.
15988         (sinh_towardzero_test_data): Likewise.
15989         (sinh_downward_test_data): Likewise.
15990         (sinh_upward_test_data): Likewise.
15991         (sqrt_test_data): Likewise.
15992         (tan_test_data): Likewise.
15993         (tan_tonearest_test_data): Likewise.
15994         (tan_towardzero_test_data): Likewise.
15995         (tan_downward_test_data): Likewise.
15996         (tan_upward_test_data): Likewise.
15997         (tanh_test_data): Likewise.
15998         (tgamma_test_data): Likewise.
15999         (trunc_test_data): Likewise.
16000         (y0_test_data): Likewise.
16001         (y1_test_data): Likewise.
16002         (yn_test_data): Likewise.
16003         (significand_test_data): Likewise.
16005         * math/gen-libm-test.pl (@functions): Remove variable.
16006         (generate_testfile): Don't handle START and END lines.
16007         * math/libm-test.inc (START): New macro.
16008         (END): Likewise.
16009         (END_COMPLEX): Likewise.
16010         (acos_test): Use END macro without arguments.
16011         (acos_test_tonearest): Likewise.
16012         (acos_test_towardzero): Likewise.
16013         (acos_test_downward): Likewise.
16014         (acos_test_upward): Likewise.
16015         (acosh_test): Likewise.
16016         (asin_test): Likewise.
16017         (asin_test_tonearest): Likewise.
16018         (asin_test_towardzero): Likewise.
16019         (asin_test_downward): Likewise.
16020         (asin_test_upward): Likewise.
16021         (asinh_test): Likewise.
16022         (atan_test): Likewise.
16023         (atanh_test): Likewise.
16024         (atan2_test): Likewise.
16025         (cabs_test): Likewise.
16026         (cacos_test): Use END_COMPLEX macro without arguments.
16027         (cacosh_test): Likewise.
16028         (carg_test): Use END macro without arguments.
16029         (casin_test): Use END_COMPLEX macro without arguments.
16030         (casinh_test): Likewise.
16031         (catan_test): Likewise.
16032         (catanh_test): Likewise.
16033         (cbrt_test): Use END macro without arguments.
16034         (ccos_test): Use END_COMPLEX macro without arguments.
16035         (ccosh_test): Likewise.
16036         (ceil_test): Use END macro without arguments.
16037         (cexp_test): Use END_COMPLEX macro without arguments.
16038         (cimag_test): Use END macro without arguments.
16039         (clog_test): Use END_COMPLEX macro without arguments.
16040         (clog10_test): Likewise.
16041         (conj_test): Likewise.
16042         (copysign_test): Use END macro without arguments.
16043         (cos_test): Likewise.
16044         (cos_test_tonearest): Likewise.
16045         (cos_test_towardzero): Likewise.
16046         (cos_test_downward): Likewise.
16047         (cos_test_upward): Likewise.
16048         (cosh_test): Likewise.
16049         (cosh_test_tonearest): Likewise.
16050         (cosh_test_towardzero): Likewise.
16051         (cosh_test_downward): Likewise.
16052         (cosh_test_upward): Likewise.
16053         (cpow_test): Use END_COMPLEX macro without arguments.
16054         (cproj_test): Likewise.
16055         (creal_test): Use END macro without arguments.
16056         (csin_test): Use END_COMPLEX macro without arguments.
16057         (csinh_test): Likewise.
16058         (csqrt_test): Likewise.
16059         (ctan_test): Likewise.
16060         (ctan_test_tonearest): Likewise.
16061         (ctan_test_towardzero): Likewise.
16062         (ctan_test_downward): Likewise.
16063         (ctan_test_upward): Likewise.
16064         (ctanh_test): Likewise.
16065         (ctanh_test_tonearest): Likewise.
16066         (ctanh_test_towardzero): Likewise.
16067         (ctanh_test_downward): Likewise.
16068         (ctanh_test_upward): Likewise.
16069         (erf_test): Use END macro without arguments.
16070         (erfc_test): Likewise.
16071         (exp_test): Likewise.
16072         (exp_test_tonearest): Likewise.
16073         (exp_test_towardzero): Likewise.
16074         (exp_test_downward): Likewise.
16075         (exp_test_upward): Likewise.
16076         (exp10_test): Likewise.
16077         (exp2_test): Likewise.
16078         (expm1_test): Likewise.
16079         (fabs_test): Likewise.
16080         (fdim_test): Likewise.
16081         (finite_test): Likewise.
16082         (floor_test): Likewise.
16083         (fma_test): Likewise.
16084         (fma_test_towardzero): Likewise.
16085         (fma_test_downward): Likewise.
16086         (fma_test_upward): Likewise.
16087         (fmax_test): Likewise.
16088         (fmin_test): Likewise.
16089         (fmod_test): Likewise.
16090         (fpclassify_test): Likewise.
16091         (frexp_test): Likewise.
16092         (gamma_test): Likewise.
16093         (hypot_test): Likewise.
16094         (ilogb_test): Likewise.
16095         (isfinite_test): Likewise.
16096         (isgreater_test): Likewise.
16097         (isgreaterequal_test): Likewise.
16098         (isinf_test): Likewise.
16099         (isless_test): Likewise.
16100         (islessequal_test): Likewise.
16101         (islessgreater_test): Likewise.
16102         (isnan_test): Likewise.
16103         (isnormal_test): Likewise.
16104         (issignaling_test): Likewise.
16105         (isunordered_test): Likewise.
16106         (j0_test): Likewise.
16107         (j1_test): Likewise.
16108         (jn_test): Likewise.
16109         (ldexp_test): Likewise.
16110         (lgamma_test): Likewise.
16111         (lrint_test): Likewise.
16112         (lrint_test_tonearest): Likewise.
16113         (lrint_test_towardzero): Likewise.
16114         (lrint_test_downward): Likewise.
16115         (lrint_test_upward): Likewise.
16116         (llrint_test): Likewise.
16117         (llrint_test_tonearest): Likewise.
16118         (llrint_test_towardzero): Likewise.
16119         (llrint_test_downward): Likewise.
16120         (llrint_test_upward): Likewise.
16121         (log_test): Likewise.
16122         (log10_test): Likewise.
16123         (log1p_test): Likewise.
16124         (log2_test): Likewise.
16125         (logb_test): Likewise.
16126         (logb_test_downward): Likewise.
16127         (lround_test): Likewise.
16128         (llround_test): Likewise.
16129         (modf_test): Likewise.
16130         (nearbyint_test): Likewise.
16131         (nextafter_test): Likewise.
16132         (nexttoward_test): Likewise.
16133         (pow_test): Likewise.
16134         (pow_test_tonearest): Likewise.
16135         (pow_test_towardzero): Likewise.
16136         (pow_test_downward): Likewise.
16137         (pow_test_upward): Likewise.
16138         (remainder_test): Likewise.
16139         (remainder_test_tonearest): Likewise.
16140         (remainder_test_towardzero): Likewise.
16141         (remainder_test_downward): Likewise.
16142         (remainder_test_upward): Likewise.
16143         (remquo_test): Likewise.
16144         (rint_test): Likewise.
16145         (rint_test_tonearest): Likewise.
16146         (rint_test_towardzero): Likewise.
16147         (rint_test_downward): Likewise.
16148         (rint_test_upward): Likewise.
16149         (round_test): Likewise.
16150         (scalb_test): Likewise.
16151         (scalbn_test): Likewise.
16152         (scalbln_test): Likewise.
16153         (signbit_test): Likewise.
16154         (sin_test): Likewise.
16155         (sin_test_tonearest): Likewise.
16156         (sin_test_towardzero): Likewise.
16157         (sin_test_downward): Likewise.
16158         (sin_test_upward): Likewise.
16159         (sincos_test): Likewise.
16160         (sinh_test): Likewise.
16161         (sinh_test_tonearest): Likewise.
16162         (sinh_test_towardzero): Likewise.
16163         (sinh_test_downward): Likewise.
16164         (sinh_test_upward): Likewise.
16165         (sqrt_test): Likewise.
16166         (tan_test): Likewise.
16167         (tan_test_tonearest): Likewise.
16168         (tan_test_towardzero): Likewise.
16169         (tan_test_downward): Likewise.
16170         (tan_test_upward): Likewise.
16171         (tanh_test): Likewise.
16172         (tgamma_test): Likewise.
16173         (trunc_test): Likewise.
16174         (y0_test): Likewise.
16175         (y1_test): Likewise.
16176         (yn_test): Likewise.
16177         (significand_test): Likewise.
16179 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16181         [BZ #15381]
16182         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16184 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16186         [BZ #14894]
16187         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16188         __ppc_mdoio and __ppc_mdoom.
16189         * manual/platform.texi: Document new functions __ppc_yield,
16190         __ppc_mdoio and __ppc_mdoom.
16192 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16194         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16195         (main): Mention "tls" pseudo-hwcap is legacy.
16196         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16198 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16200         * math/gen-libm-test.pl (parse_args): Output only string of
16201         arguments as text for test name, not full call or descriptions of
16202         tests for extra outputs.
16203         (generate_testfile): Do not pass function name to parse_args.
16204         Generate this_func variable from START.
16205         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16206         field to arg_str.
16207         (struct test_ff_f_data): Likewise.
16208         (test_ff_f_data_nexttoward): Likewise.
16209         (struct test_fi_f_data): Likewise.
16210         (struct test_fl_f_data): Likewise.
16211         (struct test_if_f_data): Likewise.
16212         (struct test_fff_f_data): Likewise.
16213         (struct test_c_f_data): Likewise.
16214         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16215         (struct test_fF_f1_data): Likewise.
16216         (struct test_ffI_f1_data): Likewise.
16217         (struct test_c_c_data): Rename test_name field to arg_str.
16218         (struct test_cc_c_data): Likewise.
16219         (struct test_f_i_data): Likewise.
16220         (struct test_ff_i_data): Likewise.
16221         (struct test_f_l_data): Likewise.
16222         (struct test_f_L_data): Likewise.
16223         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16224         and extra2_name.
16225         (COMMON_TEST_SETUP): New macro.
16226         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16227         (COMMON_TEST_CLEANUP): Likewise.
16228         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16229         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16230         macros.
16231         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16232         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16233         macros.
16234         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16235         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16236         cleanup macros.
16237         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16238         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16239         macros.
16240         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16241         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16242         macros.
16243         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16244         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16245         cleanup macros.
16246         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16247         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16248         cleanup macros.
16249         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16250         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16251         cleanup macros.
16252         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16253         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16254         macros.
16255         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16256         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16257         macros.
16258         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16259         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16260         macros.
16261         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16262         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16263         cleanup macros.
16264         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16265         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16266         cleanup macros.
16267         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16268         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16269         macros.
16270         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16271         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16272         cleanup macros.
16273         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16274         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16275         macros.
16276         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16277         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16278         macros.
16279         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16280         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16281         cleanup macros.
16282         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16284 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16286         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16287         to _sifields.sigfault.
16288         (si_addr_lsb): Define new macro.
16289         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16290         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16291         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16293 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16295         [BZ #15441]
16296         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16297         returns -1.
16298         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16299         null return -1.
16300         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16301         loading the domain.
16303 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16305         * math/gen-libm-test.pl (parse_args): Do not include expected
16306         result in test name.
16307         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16308         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16309         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16310         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16311         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16314 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16316         * benchtests/Makefile: Sort function entries.
16318         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16319         tanh, asinh, acosh, atanh.
16320         * benchtests/acos-inputs: New file.
16321         * benchtests/acosh-inputs: New file.
16322         * benchtests/asin-inputs: New file.
16323         * benchtests/asinh-inputs: New file.
16324         * benchtests/atanh-inputs: New file.
16325         * benchtests/cosh-inputs: New file.
16326         * benchtests/log-inputs: New file.
16327         * benchtests/sinh-inputs: New file.
16328         * benchtests/tanh-inputs: New file.
16330 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16332         [BZ #15339]
16333         * posix/tst-getaddrinfo4.c: New test.
16334         * posix/Makefile (tests): Add it.
16336 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16338         [BZ #15339]
16339         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16340         when no services were used.
16341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16342         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16344 2013-05-21  Andreas Schwab  <schwab@suse.de>
16346         [BZ #15014]
16347         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16348         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16349         successful.
16350         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16351         redundant variable declarations and reallocation of buffer when
16352         parsing as IPv6 address.  Always set NSS status when called from
16353         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16354         buffer too small.  Correct computation of needed size.
16355         * nss/Makefile (tests): Add test-digits-dots.
16356         * nss/test-digits-dots.c: New test.
16358 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16360         * benchtests/Makefile: Remove instructions for adding
16361         benchmark tests.
16362         * benchtests/README: New file to explain how to execute and
16363         enhance the benchmark tests.
16365 2013-05-21  Andreas Schwab  <schwab@suse.de>
16367         [BZ #15493]
16368         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16369         * setjmp/tst-sigsetjmp.c: New test.
16371 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16373         * sysdeps/x86_64/memset.S (memset): New implementation.
16374         (__bzero): Likewise.
16375         (__memset_tail): New function.
16377 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16379         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16380         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16381         __memcpy_sse2_unaligned ifunc selection.
16382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16383         Add memcpy-sse2-unaligned.S.
16384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16385         Add: __memcpy_sse2_unaligned.
16387 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16389         [BZ #15490]
16390         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16391         math_force_eval before restoring floating-point envrionment.
16392         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16393         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16394         Likewise.
16395         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16396         <math_private.h>.
16397         (__nearbyintl): Use math_force_eval before restoring
16398         floating-point environment.
16399         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16401         * math/gen-libm-test.pl (special_functions): Remove.
16402         (parse_args): Don't handle TEST_extra.  Handle functions with no
16403         return value.
16404         * math/libm-test.inc (struct test_sincos_data): Replace with
16405         struct test_fFF_11_data.
16406         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16407         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16408         (sincos_test_data): Change element type to struct
16409         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16410         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16411         RUN_TEST_LOOP_sincos.
16412         * math/README.libm-test: Don't mention special handling of
16413         individual functions.
16414         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16415         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16416         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16417         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16418         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16421         * math/gen-libm-test.pl (get_variable): Remove function.
16422         (parse_args): Don't show pointer parameters to call in test
16423         names.  Use "extra output N" in test names for extra outputs
16424         rather than naming variables.
16426 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16428         [BZ #15488]
16429         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16430         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16431         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16432         double tests.
16433         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16434         disable.
16435         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16436         check_long_double.
16438         * math/gen-libm-test.pl (@tests): Remove variable.
16439         ($count): Likewise.
16440         (new_test): Remove function.
16441         (show_exceptions): New function.
16442         (special_functions): Use show_exceptions instead of new_test.
16443         (parse_args): Likewise.
16444         (generate_testfile): Pass only function name in generated call to
16445         print_max_error or print_complex_max_error.
16446         (get_ulps): Do not handle complex tests specially.
16447         (output_test): Rename to ...
16448         (get_all_ulps_for_test): ... this.  Return a string rather than
16449         printing to a file.  Require ulps to be present.
16450         (output_ulps): Generate arrays rather than #defines.
16451         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16452         (struct ulp_data): New type.
16453         (BUILD_COMPLEX_ULP): Remove macro.
16454         (compare_ulp_data): New function.
16455         (find_ulps): Likewise.
16456         (find_test_ulps): Likewise.
16457         (find_function_ulps): Likewise.
16458         (find_complex_function_ulps): Likewise.
16459         (print_max_error): Determine allowed ulps using
16460         find_function_ulps.
16461         (print_complex_max_error): Determine allowed ulps using
16462         find_complex_function_ulps.
16463         (check_float_internal): Determine max ulps using find_test_ulps.
16464         (check_float): Do not take max_ulp parameter.  Update call to
16465         check_float_internal.
16466         (check_complex): Likewise.
16467         (check_int): Do not take max_ulp parameter.
16468         (check_long): Likewise.
16469         (check_bool): Likewise.
16470         (check_longlong): Likewise.
16471         (struct test_f_f_data): Remove max_ulp field.
16472         (struct test_ff_f_data): Likewise.
16473         (struct test_ff_f_data_nexttoward): Likewise.
16474         (struct test_fi_f_data): Likewise.
16475         (struct test_fl_f_data): Likewise.
16476         (struct test_if_f_data): Likewise.
16477         (struct test_fff_f_data): Likewise.
16478         (struct test_c_f_data): Likewise.
16479         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16480         (struct test_fF_f1_data): Likewise.
16481         (struct test_ffI_f1_data): Likewise.
16482         (struct test_c_c_data): Remove max_ulp field.
16483         (struct test_cc_c_data): Likewise.
16484         (struct test_f_i_data): Likewise.
16485         (struct test_ff_i_data): Likewise.
16486         (struct test_f_l_data): Likewise.
16487         (struct test_f_L_data): Likewise.
16488         (struct test_sincos_data): Likewise.
16489         (RUN_TEST_f_f): Do not handle ulps.
16490         (RUN_TEST_LOOP_f_f): Likewise.
16491         (RUN_TEST_2_f): Likewise.
16492         (RUN_TEST_LOOP_2_f): Likewise.
16493         (RUN_TEST_fff_f): Likewise.
16494         (RUN_TEST_LOOP_fff_f): Likewise.
16495         (RUN_TEST_c_f): Likewise.
16496         (RUN_TEST_LOOP_c_f): Likewise.
16497         (RUN_TEST_f_f1): Likewise.
16498         (RUN_TEST_LOOP_f_f1): Likewise.
16499         (RUN_TEST_fF_f1): Likewise.
16500         (RUN_TEST_LOOP_fF_f1): Likewise.
16501         (RUN_TEST_fI_f1): Likewise.
16502         (RUN_TEST_LOOP_fI_f1): Likewise.
16503         (RUN_TEST_ffI_f1): Likewise.
16504         (RUN_TEST_LOOP_ffI_f1): Likewise.
16505         (RUN_TEST_c_c): Likewise.
16506         (RUN_TEST_LOOP_c_c): Likewise.
16507         (RUN_TEST_cc_c): Likewise.
16508         (RUN_TEST_LOOP_cc_c): Likewise.
16509         (RUN_TEST_f_i): Likewise.
16510         (RUN_TEST_LOOP_f_i): Likewise.
16511         (RUN_TEST_f_i_tg): Likewise.
16512         (RUN_TEST_LOOP_f_i_tg): Likewise.
16513         (RUN_TEST_ff_i_tg): Likewise.
16514         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16515         (RUN_TEST_f_b): Likewise.
16516         (RUN_TEST_LOOP_f_b): Likewise.
16517         (RUN_TEST_f_b_tg): Likewise.
16518         (RUN_TEST_LOOP_f_b_tg): Likewise.
16519         (RUN_TEST_f_l): Likewise.
16520         (RUN_TEST_LOOP_f_l): Likewise.
16521         (RUN_TEST_f_L): Likewise.
16522         (RUN_TEST_LOOP_f_L): Likewise.
16523         (RUN_TEST_sincos): Likewise.
16524         (RUN_TEST_LOOP_sincos): Likewise.
16526 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16528         [BZ #15480]
16529         [BZ #15485]
16530         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16531         main case of finite arguments, set rounding mode to FE_TONEAREST
16532         and discard exceptions.
16533         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16534         exceptions.
16535         (remainder_tonearest_test_data): New variable.
16536         (remainder_test_tonearest): New function.
16537         (remainder_towardzero_test_data): New variable.
16538         (remainder_test_towardzero): New function.
16539         (remainder_downward_test_data): New variable.
16540         (remainder_test_downward): New function.
16541         (remainder_upward_test_data): New variable.
16542         (remainder_test_upward): New function.
16543         (main): Call the new test functions.
16545         * math/libm-test.inc (struct test_f_f1_data): Remove field
16546         extra_init.
16547         (struct test_fF_f1_data): Likewise.
16548         (struct test_ffI_f1_data): Likewise.
16549         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16550         based on value of EXTRA_EXPECTED.
16551         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16552         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16553         EXTRA_VAR based on value of EXTRA_EXPECTED.
16554         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16555         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16556         EXTRA_VAR based on value of EXTRA_EXPECTED.
16557         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16558         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16559         EXTRA_VAR based on value of EXTRA_EXPECTED.
16560         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16561         * math/gen-libm-test.pl (parse_args): Don't output initializers
16562         for extra output values.
16564         * math/libm-test.inc (check_int): Expect result to be exactly
16565         equal to expected value and do not handle ulps.
16566         (check_long): Likewise.
16567         (check_longlong): Likewise.
16569         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16570         exceptions.
16571         (cimag_test_data): Likewise.
16572         (conj_test_data): Likewise.
16573         (copysign_test_data): Likewise.
16574         (cproj_test_data): Likewise.
16575         (creal_test_data): Likewise.
16576         (fabs_test_data): Likewise.
16577         (fdim_test_data): Likewise.
16578         (finite_test_data): Likewise.
16579         (floor_test_data): Likewise.
16580         (fmax_test_data): Likewise.
16581         (fmin_test_data): Likewise.
16582         (fmod_test_data): Likewise.
16583         (fpclassify_test_data): Likewise.
16584         (frexp_test_data): Likewise.
16585         (ilogb_test_data): Likewise.
16586         (isfinite_test_data): Likewise.
16587         (isgreater_test_data): Likewise.
16588         (isgreaterequal_test_data): Likewise.
16589         (isinf_test_data): Likewise.
16590         (isless_test_data): Likewise.
16591         (islessequal_test_data): Likewise.
16592         (islessgreater_test_data): Likewise.
16593         (isnan_test_data): Likewise.
16594         (isnormal_test_data): Likewise.
16595         (issignaling_test_data): Likewise.
16596         (isunordered_test_data): Likewise.
16597         (ldexp_test_data): Likewise.
16598         (lrint_test_data): Likewise.
16599         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16600         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16601         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16602         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16603         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16604         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16605         test input.
16606         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16607         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16608         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16609         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16610         that test input.
16611         (lrint_downward_test_data): Test for "inexact" exceptions.
16612         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16613         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16614         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16615         test input.
16616         (lrint_upward_test_data): Test for "inexact" exceptions.
16617         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16618         test input.
16619         (llrint_test_data): Test for "inexact" exceptions.
16620         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16621         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16622         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16623         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16624         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16625         (llrint_downward_test_data): Test for "inexact" exceptions.
16626         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16627         (llrint_upward_test_data): Test for "inexact" exceptions.
16628         (logb_test_data): Likewise.
16629         (logb_downward_test_data): Likewise.
16630         (nextafter_test_data): Likewise.
16631         (nexttoward_test_data): Likewise.
16632         (remainder_test_data): Likewise.
16633         (remquo_test_data): Likewise.
16634         (scalbn_test_data): Likewise.
16635         (scalbln_test_data): Likewise.
16636         (signbit_test_data): Likewise.
16637         (sqrt_test_data): Likewise.
16638         (significand_test_data): Likewise.
16640 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16642         [BZ #15424]
16643         * benchtests/bench-modf.c (struct args): Mark arg0 as
16644         volatile.
16645         * scripts/bench.pl: Mark members of struct args as volatile.
16647 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16649         [BZ # 15497]
16650         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16651         negative infinity on POWER6 or lower.
16652         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16654 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16656         [BZ #15442]
16657         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16658         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16659         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16660         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16661         (_FP_SETQNAN): New macro.
16662         (_FP_SETQNAN_SEMIRAW): Likewise.
16663         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16664         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16665         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16666         (FP_EXTEND): Use _FP_FRAC_SNANP.
16667         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16668         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16669         into account.
16670         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16671         New macro.
16672         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16673         Likewise.
16675 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16677         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16678         with DIVIDE_BY_ZERO_EXCEPTION.
16679         (gamma_test_data): Likewise.
16680         (lgamma_test_data): Likewise.
16681         (log_test_data): Likewise.
16682         (log10_test_data): Likewise.
16683         (log2_test_data): Likewise.
16684         (tgamma_test_data): Likewise.
16686         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16687         (acos_test_tonearest): Likewise.
16688         (acos_test_towardzero): Likewise.
16689         (acos_test_downward): Likewise.
16690         (acos_test_upward): Likewise.
16691         (acosh_test): Likewise.
16692         (asin_test): Likewise.
16693         (asin_test_tonearest): Likewise.
16694         (asin_test_towardzero): Likewise.
16695         (asin_test_downward): Likewise.
16696         (asin_test_upward): Likewise.
16697         (asinh_test): Likewise.
16698         (atan_test): Likewise.
16699         (atanh_test): Likewise.
16700         (atan2_test): Likewise.
16701         (cabs_test): Likewise.
16702         (cacos_test): Likewise.
16703         (cacosh_test): Likewise.
16704         (casin_test): Likewise.
16705         (casinh_test): Likewise.
16706         (catan_test): Likewise.
16707         (catanh_test): Likewise.
16708         (cbrt_test): Likewise.
16709         (ccos_test): Likewise.
16710         (ccosh_test): Likewise.
16711         (cexp_test): Likewise.
16712         (clog_test): Likewise.
16713         (clog10_test): Likewise.
16714         (cos_test): Likewise.
16715         (cos_test_tonearest): Likewise.
16716         (cos_test_towardzero): Likewise.
16717         (cos_test_downward): Likewise.
16718         (cos_test_upward): Likewise.
16719         (cosh_test): Likewise.
16720         (cosh_test_tonearest): Likewise.
16721         (cosh_test_towardzero): Likewise.
16722         (cosh_test_downward): Likewise.
16723         (cosh_test_upward): Likewise.
16724         (cpow_test): Likewise.
16725         (csin_test): Likewise.
16726         (csinh_test): Likewise.
16727         (csqrt_test): Likewise.
16728         (ctan_test): Likewise.
16729         (ctan_test_tonearest): Likewise.
16730         (ctan_test_towardzero): Likewise.
16731         (ctan_test_downward): Likewise.
16732         (ctan_test_upward): Likewise.
16733         (ctanh_test): Likewise.
16734         (ctanh_test_tonearest): Likewise.
16735         (ctanh_test_towardzero): Likewise.
16736         (ctanh_test_downward): Likewise.
16737         (ctanh_test_upward): Likewise.
16738         (erf_test): Likewise.
16739         (erfc_test): Likewise.
16740         (exp_test): Likewise.
16741         (exp_test_tonearest): Likewise.
16742         (exp_test_towardzero): Likewise.
16743         (exp_test_downward): Likewise.
16744         (exp_test_upward): Likewise.
16745         (exp10_test): Likewise.
16746         (exp2_test): Likewise.
16747         (expm1_test): Likewise.
16748         (fmod_test): Likewise.
16749         (gamma_test): Likewise.
16750         (hypot_test): Likewise.
16751         (j0_test): Likewise.
16752         (j1_test): Likewise.
16753         (jn_test): Likewise.
16754         (lgamma_test): Likewise.
16755         (log_test): Likewise.
16756         (log10_test): Likewise.
16757         (log1p_test): Likewise.
16758         (log2_test): Likewise.
16759         (logb_test_downward): Likewise.
16760         (pow_test): Likewise.
16761         (pow_test_tonearest): Likewise.
16762         (pow_test_towardzero): Likewise.
16763         (pow_test_downward): Likewise.
16764         (pow_test_upward): Likewise.
16765         (remainder_test): Likewise.
16766         (remquo_test): Likewise.
16767         (sin_test): Likewise.
16768         (sin_test_tonearest): Likewise.
16769         (sin_test_towardzero): Likewise.
16770         (sin_test_downward): Likewise.
16771         (sin_test_upward): Likewise.
16772         (sincos_test): Likewise.
16773         (sinh_test): Likewise.
16774         (sinh_test_tonearest): Likewise.
16775         (sinh_test_towardzero): Likewise.
16776         (sinh_test_downward): Likewise.
16777         (sinh_test_upward): Likewise.
16778         (sqrt_test): Likewise.
16779         (tan_test): Likewise.
16780         (tan_test_tonearest): Likewise.
16781         (tan_test_towardzero): Likewise.
16782         (tan_test_downward): Likewise.
16783         (tan_test_upward): Likewise.
16784         (tanh_test): Likewise.
16785         (tgamma_test): Likewise.
16786         (y0_test): Likewise.
16787         (y1_test): Likewise.
16788         (yn_test): Likewise.
16790         * math/gen-libm-test.pl (adjust_arg): Remove function.
16791         (special_function): Remove argument $in_func.  Only handle
16792         generating output for tables of tests, not inside functions.
16793         (parse_args): Likewise.
16794         (generate_testfile): Remove variable $in_func.  Update call to
16795         parse_args.
16796         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16797         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16798         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16799         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16800         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16801         (MAX_VALUE_INIT): Rename macro to max_value.
16802         (MIN_VALUE_INIT): Rename macro to min_value.
16803         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16804         (plus_zero): Remove variable.
16805         (minus_zero): Likewise.
16806         (plus_infty): Likewise.
16807         (minus_infty): Likewise.
16808         (qnan_value): Likewise.
16809         (max_value): Likewise.
16810         (min_value): Likewise.
16811         (min_subnorm_value): Likewise.
16813 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16815         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16816         uint64_t or uint32_t usage.
16817         * crypt/sha256-block.c: Likewise.
16818         * crypt/sha256-crypt.c: Likewise.
16819         * crypt/sha256.c: Likewise.
16820         * crypt/sha512-block.c: Likewise.
16821         * crypt/sha512-crypt.c: Likewise.
16822         * crypt/sha512.c: Likewise.
16823         * debug/backtrace-tst.c: Likewise.
16824         * debug/pcprofiledump.c: Likewise.
16825         * elf/cache.c: Likewise.
16826         * elf/dl-cache.c: Likewise.
16827         * elf/dl-misc.c: Likewise.
16828         * elf/dl-profile.c: Likewise.
16829         * elf/dl-support.c: Likewise.
16830         * elf/ldconfig.c: Likewise.
16831         * elf/sprof.c: Likewise.
16832         * iconv/dummy-repertoire.c: Likewise.
16833         * iconv/iconv_charmap.c: Likewise.
16834         * iconv/skeleton.c: Likewise.
16835         * iconvdata/8bit-generic.c: Likewise.
16836         * iconvdata/cp737.h: Likewise.
16837         * iconvdata/cp775.h: Likewise.
16838         * iconvdata/ibm1008.h: Likewise.
16839         * iconvdata/ibm1025.h: Likewise.
16840         * iconvdata/ibm1046.h: Likewise.
16841         * iconvdata/ibm1097.h: Likewise.
16842         * iconvdata/ibm1112.h: Likewise.
16843         * iconvdata/ibm1122.h: Likewise.
16844         * iconvdata/ibm1123.h: Likewise.
16845         * iconvdata/ibm1124.h: Likewise.
16846         * iconvdata/ibm1129.h: Likewise.
16847         * iconvdata/ibm1130.h: Likewise.
16848         * iconvdata/ibm1132.h: Likewise.
16849         * iconvdata/ibm1133.h: Likewise.
16850         * iconvdata/ibm1137.h: Likewise.
16851         * iconvdata/ibm1140.h: Likewise.
16852         * iconvdata/ibm1141.h: Likewise.
16853         * iconvdata/ibm1142.h: Likewise.
16854         * iconvdata/ibm1143.h: Likewise.
16855         * iconvdata/ibm1144.h: Likewise.
16856         * iconvdata/ibm1145.h: Likewise.
16857         * iconvdata/ibm1146.h: Likewise.
16858         * iconvdata/ibm1147.h: Likewise.
16859         * iconvdata/ibm1148.h: Likewise.
16860         * iconvdata/ibm1149.h: Likewise.
16861         * iconvdata/ibm1153.h: Likewise.
16862         * iconvdata/ibm1154.h: Likewise.
16863         * iconvdata/ibm1155.h: Likewise.
16864         * iconvdata/ibm1156.h: Likewise.
16865         * iconvdata/ibm1157.h: Likewise.
16866         * iconvdata/ibm1158.h: Likewise.
16867         * iconvdata/ibm1160.h: Likewise.
16868         * iconvdata/ibm1161.h: Likewise.
16869         * iconvdata/ibm1162.h: Likewise.
16870         * iconvdata/ibm1163.h: Likewise.
16871         * iconvdata/ibm1164.h: Likewise.
16872         * iconvdata/ibm1166.h: Likewise.
16873         * iconvdata/ibm1167.h: Likewise.
16874         * iconvdata/ibm12712.h: Likewise.
16875         * iconvdata/ibm1390.h: Likewise.
16876         * iconvdata/ibm1399.h: Likewise.
16877         * iconvdata/ibm16804.h: Likewise.
16878         * iconvdata/ibm4517.h: Likewise.
16879         * iconvdata/ibm4899.h: Likewise.
16880         * iconvdata/ibm4909.h: Likewise.
16881         * iconvdata/ibm4971.h: Likewise.
16882         * iconvdata/ibm5347.h: Likewise.
16883         * iconvdata/ibm803.h: Likewise.
16884         * iconvdata/ibm856.h: Likewise.
16885         * iconvdata/ibm901.h: Likewise.
16886         * iconvdata/ibm902.h: Likewise.
16887         * iconvdata/ibm9030.h: Likewise.
16888         * iconvdata/ibm9066.h: Likewise.
16889         * iconvdata/ibm921.h: Likewise.
16890         * iconvdata/ibm922.h: Likewise.
16891         * iconvdata/ibm9448.h: Likewise.
16892         * iconvdata/isiri-3342.h: Likewise.
16893         * iconvdata/jis0201.h: Likewise.
16894         * include/link.h: Likewise.
16895         * include/netdb.h: Likewise.
16896         * inet/check_native.c: Likewise.
16897         * inet/check_pf.c: Likewise.
16898         * inet/getipv4sourcefilter.c: Likewise.
16899         * inet/getnameinfo.c: Likewise.
16900         * inet/getsourcefilter.c: Likewise.
16901         * inet/htonl.c: Likewise.
16902         * inet/setipv4sourcefilter.c: Likewise.
16903         * inet/setsourcefilter.c: Likewise.
16904         * inet/test-inet6_opt.c: Likewise.
16905         * inet/tst-network.c: Likewise.
16906         * locale/C-collate.c: Likewise.
16907         * locale/C-ctype.c: Likewise.
16908         * locale/C-time.c: Likewise.
16909         * locale/C-translit.h: Likewise.
16910         * locale/loadarchive.c: Likewise.
16911         * locale/programs/3level.h: Likewise.
16912         * locale/programs/charmap.c: Likewise.
16913         * locale/programs/charmap.h: Likewise.
16914         * locale/programs/ld-address.c: Likewise.
16915         * locale/programs/ld-collate.c: Likewise.
16916         * locale/programs/ld-ctype.c: Likewise.
16917         * locale/programs/ld-identification.c: Likewise.
16918         * locale/programs/ld-measurement.c: Likewise.
16919         * locale/programs/ld-messages.c: Likewise.
16920         * locale/programs/ld-monetary.c: Likewise.
16921         * locale/programs/ld-name.c: Likewise.
16922         * locale/programs/ld-numeric.c: Likewise.
16923         * locale/programs/ld-paper.c: Likewise.
16924         * locale/programs/ld-telephone.c: Likewise.
16925         * locale/programs/ld-time.c: Likewise.
16926         * locale/programs/linereader.c: Likewise.
16927         * locale/programs/locale.c: Likewise.
16928         * locale/programs/locarchive.c: Likewise.
16929         * locale/programs/locfile.h: Likewise.
16930         * locale/programs/repertoire.c: Likewise.
16931         * locale/programs/simple-hash.c: Likewise.
16932         * locale/programs/simple-hash.h: Likewise.
16933         * malloc/memusage.c: Likewise.
16934         * malloc/memusagestat.c: Likewise.
16935         * nis/nis_defaults.c: Likewise.
16936         * nis/nis_hash.c: Likewise.
16937         * nis/nis_print.c: Likewise.
16938         * nis/nis_xdr.c: Likewise.
16939         * nscd/connections.c: Likewise.
16940         * nscd/hstcache.c: Likewise.
16941         * nscd/nscd_gethst_r.c: Likewise.
16942         * nscd/nscd_getserv_r.c: Likewise.
16943         * nscd/nscd_helper.c: Likewise.
16944         * nscd/servicescache.c: Likewise.
16945         * nss/makedb.c: Likewise.
16946         * nss/nss_db/db-XXX.c: Likewise.
16947         * nss/nss_db/db-initgroups.c: Likewise.
16948         * nss/nss_db/db-netgrp.c: Likewise.
16949         * nss/nss_files/files-network.c: Likewise.
16950         * nss/nss_files/files-parse.c: Likewise.
16951         * posix/bug-regex5.c: Likewise.
16952         * posix/fnmatch_loop.c: Likewise.
16953         * posix/regcomp.c: Likewise.
16954         * posix/regexec.c: Likewise.
16955         * posix/tst-rfc3484-2.c: Likewise.
16956         * posix/tst-rfc3484-3.c: Likewise.
16957         * posix/tst-rfc3484.c: Likewise.
16958         * resolv/nss_dns/dns-canon.c: Likewise.
16959         * resolv/nss_dns/dns-network.c: Likewise.
16960         * resolv/res_init.c: Likewise.
16961         * resolv/res_mkquery.c: Likewise.
16962         * resolv/tst-aton.c: Likewise.
16963         * stdlib/cxa_atexit.c: Likewise.
16964         * stdlib/cxa_finalize.c: Likewise.
16965         * stdlib/gen-fpioconst.c: Likewise.
16966         * stdlib/strtol_l.c: Likewise.
16967         * string/tst-endian.c: Likewise.
16968         * sunrpc/auth_des.c: Likewise.
16969         * sunrpc/clnt_udp.c: Likewise.
16970         * sunrpc/rtime.c: Likewise.
16971         * sunrpc/svcauth_des.c: Likewise.
16972         * sunrpc/xdr.c: Likewise.
16973         * sunrpc/xdr_intXX_t.c: Likewise.
16974         * sunrpc/xdr_rec.c: Likewise.
16975         * sysdeps/generic/ldconfig.h: Likewise.
16976         * sysdeps/generic/ldsodefs.h: Likewise.
16977         * sysdeps/generic/memusage.h: Likewise.
16978         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16979         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16980         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16981         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16982         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16983         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16984         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16985         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16986         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16987         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16988         * sysdeps/posix/getaddrinfo.c: Likewise.
16989         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16990         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16991         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16992         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16993         * sysdeps/powerpc/test-gettimebase.c: Likewise.
16994         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16995         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16996         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16997         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16998         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16999         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17000         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17001         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17002         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17003         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17004         * sysdeps/x86_64/dl-tls.h: Likewise.
17005         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17006         * time/alt_digit.c: Likewise.
17007         * time/era.c: Likewise.
17008         * wcsmbs/tst-c16c32-1.c: Likewise.
17010 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17012         * math/libm-test.inc (struct test_sincos_data): New type.
17013         (RUN_TEST_LOOP_sincos): New macro.
17014         (sincos_test_data): New variable.
17015         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17017 2013-05-16  Richard Henderson  <rth@redhat.com>
17019         * math/atest-exp2.c (LIMB64): New macro.
17020         (CONSTSZ): New macro.
17021         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17022         (hexdig): Move ...
17023         (print_mpn_fp): ... to function scope.
17024         (read_mpn_hex): Remove.
17025         (get_log2): Remove.
17026         (exp2_mpn): Use mp_log2.
17027         (main): Use mp_exp1.
17029 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17031         * math/libm-test.inc: Remove comment about not testing "inexact"
17032         exceptions.
17033         (INEXACT_EXCEPTION): New macro.
17034         (NO_INEXACT_EXCEPTION): Likewise.
17035         (INVALID_EXCEPTION_OK): Update value.
17036         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17037         (OVERFLOW_EXCEPTION_OK): Likewise.
17038         (UNDERFLOW_EXCEPTION_OK): Likewise.
17039         (IGNORE_ZERO_INF_SIGN): Likewise.
17040         (ERRNO_UNCHANGED): Likewise.
17041         (ERRNO_EDOM): Likewise.
17042         (ERRNO_ERANGE): Likewise.
17043         (test_exceptions): Handle testing "inexact" exceptions.
17044         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17045         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17046         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17047         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17048         INEXACT_EXCEPTION.
17049         (rint_towardzero_test_data): Likewise.
17050         (rint_downward_test_data): Likewise.
17051         (rint_upward_test_data): Likewise.
17053         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17054         with OVERFLOW_EXCEPTION.
17055         (exp10_test_data): Likewise.
17056         (exp2_test_data): Likewise.
17057         (expm1_test_data): Likewise.
17058         (lgamma_test_data): Likewise.
17059         (pow_test_data): Likewise.
17060         (tgamma_test_data): Likewise.
17061         (yn_test_data): Remove duplicate test of overflow.
17063         * math/libm-test.inc (struct test_cc_c_data): New type.
17064         (RUN_TEST_LOOP_cc_c): New macro.
17065         (cpow_test_data): New variable.
17066         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17068         * math/libm-test.inc (struct test_f_L_data): New type.
17069         (RUN_TEST_LOOP_f_L): New macro.
17070         (llrint_test_data): New variable.
17071         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17072         (llrint_tonearest_test_data): New variable.
17073         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17074         (llrint_towardzero_test_data): New variable.
17075         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17076         (llrint_downward_test_data): New variable.
17077         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17078         (llrint_upward_test_data): New variable.
17079         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17080         (llround_test_data): New variable.
17081         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17083 2013-05-13  Peter Collingbourne  <pcc@google.com>
17085         * math/atest-exp2.c (get_log2): Remove const attribute.
17087 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17089         * math/libm-test.inc (struct test_f_l_data): New type.
17090         (RUN_TEST_LOOP_f_l): New macro.
17091         (lrint_test_data): New variable.
17092         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17093         (lrint_tonearest_test_data): New variable.
17094         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17095         (lrint_towardzero_test_data): New variable.
17096         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17097         (lrint_downward_test_data): New variable.
17098         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17099         (lrint_upward_test_data): New variable.
17100         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17101         (lround_test_data): New variable.
17102         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17104 2013-05-15  Peter Collingbourne  <pcc@google.com>
17106         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17107         (EXTRACT_WORDS64) Use where appropriate.
17108         (INSERT_WORDS64) Likewise.
17110         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17111         constraints with x constraints.
17112         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17114         * malloc/obstack.c (_obstack_compat): Add initializer.
17116 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17118         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17119         si_trapno and add si_addr_lsb to _sifields.sigfault.
17120         (si_trapno): Remove macro.
17121         (si_addr_lsb): Define new macro.
17122         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17124 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17126         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17127         instead of TEST_f_l.
17128         (llrint_test_tonearest): Likewise.
17129         (llrint_test_towardzero): Likewise.
17130         (llrint_test_downward): Likewise.
17131         (llrint_test_upward): Likewise.
17132         (llround_test): Likewise.
17134         * math/libm-test.inc (struct test_f_i_data): Add comment.
17135         (RUN_TEST_LOOP_f_b): New macro.
17136         (RUN_TEST_LOOP_f_b_tg): Likewise.
17137         (finite_test_data): New variable.
17138         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17139         (isfinite_test_data): New variable.
17140         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17141         (isinf_test_data): New variable.
17142         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17143         (isnan_test_data): New variable.
17144         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17145         (isnormal_test_data): New variable.
17146         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17147         (issignaling_test_data): New variable.
17148         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17149         (signbit_test_data): New variable.
17150         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17152         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17153         with INVALID_EXCEPTION.
17154         (acosh_test_data): Likewise.
17155         (asin_test_data): Likewise.
17156         (atanh_test_data): Likewise.
17157         (fmod_test_data): Likewise.
17158         (log_test_data): Likewise.
17159         (log10_test_data): Likewise.
17160         (log2_test_data): Likewise.
17161         (pow_test_data): Likewise.
17162         (sqrt_test_data): Likewise.
17163         (y0_test_data): Likewise.
17164         (y1_test_data): Likewise.
17165         (yn_test_data): Likewise.
17167         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17168         function contents.
17170         * math/libm-test.inc (struct test_ff_i_data): New type.
17171         (RUN_TEST_LOOP_ff_i_tg): New macro.
17172         (isgreater_test_data): New variable.
17173         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17174         (isgreaterequal_test_data): New variable.
17175         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17176         (isless_test_data): New variable.
17177         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17178         (islessequal_test_data): New variable.
17179         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17180         (islessgreater_test_data): New variable.
17181         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17182         (isunordered_test_data): New variable.
17183         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17185 2013-05-14  David S. Miller  <davem@davemloft.net>
17187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17189 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17191         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17193         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17194         extra_test to int.
17195         (struct test_f_i_data): Change type of max_ulp to int.
17197         * math/libm-test.inc (test_ffI_f1_data): New type.
17198         (RUN_TEST_LOOP_ffI_f1): New macro.
17199         (remquo_test_data): New variable.
17200         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17202         * setjmp/tst-setjmp-fp.c: New file.
17203         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17204         (link-libm): New variable.
17205         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17207         * math/libm-test.inc (struct test_f_i_data): New type.
17208         (RUN_TEST_LOOP_f_i): New macro.
17209         (RUN_TEST_LOOP_f_i_tg): Likewise.
17210         (fpclassify_test_data): New variable.
17211         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17212         (ilogb_test_data): New variable.
17213         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17215         * math/libm-test.inc (scalbln_test): Correct function name in END
17216         call.
17218         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17219         (RUN_TEST_LOOP_fI_f1): New macro.
17220         (frexp_test_data): New variable.
17221         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17223         * math/libm-test.inc (struct test_fF_f1_data): New type.
17224         (RUN_TEST_LOOP_fF_f1): New macro.
17225         (modf_test_data): New variable.
17226         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17228         * math/libm-test.inc (struct test_f_f1_data): New type.
17229         (RUN_TEST_LOOP_f_f1): New macro.
17230         (gamma_test_data): New variable.
17231         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17232         (lgamma_test_data): New variable.
17233         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17235 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17237         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17238         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17239         (main): Comment "tls" pseudo-hwcap.
17241 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17243         * math/libm-test.inc (struct test_fl_f_data): New type.
17244         (RUN_TEST_LOOP_fl_f): New variable.
17245         (scalbln_test_data): New variable.
17246         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17248         * math/libm-test.inc (struct test_fi_f_data): New type.
17249         (RUN_TEST_LOOP_fi_f): New macro.
17250         (ldexp_test_data): New variable.
17251         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17252         (scalbn_test_data): New variable.
17253         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17255         * math/libm-test.inc (struct test_c_f_data): New type.
17256         (RUN_TEST_LOOP_c_f): New macro.
17257         (cabs_test_data): New variable.
17258         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17259         (carg_test_data): New variable.
17260         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17261         (cimag_test_data): New variable.
17262         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17263         (creal_test_data): New variable.
17264         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17266         * math/libm-test.inc (struct test_if_f_data): New type.
17267         (RUN_TEST_LOOP_if_f): New macro.
17268         (jn_test_data): New variable.
17269         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17270         (yn_test_data): New variable.
17271         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17273         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17275 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17277         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17278         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17280 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17282         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17283         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17284         (bench-deps): Add bench-timing.h.
17285         * benchtests-bench-skeleton.c: Include bench-timing.h.
17286         (main): Use TIMING_* macros instead of clock_gettime.
17287         * benchtests/bench-timing.h: New file.
17289         [BZ #14582]
17290         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17291         Renamed from _LIB_VERSION.
17292         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17294 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17296         * math/libm-test.inc (struct test_fff_f_data): New type.
17297         (RUN_TEST_LOOP_fff_f): New macro.
17298         (fma_test_data): New variable.
17299         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17300         (fma_towardzero_test_data): New variable.
17301         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17302         (fma_downward_test_data): New variable.
17303         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17304         (fma_upward_test_data): New variable.
17305         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17307         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17308         (struct test_c_c_data): New type.
17309         (RUN_TEST_LOOP_c_c): New macro.
17310         (cacos_test_data): New variable.
17311         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17312         (cacosh_test_data): New variable.
17313         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17314         (casin_test_data): New variable.
17315         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17316         (casinh_test_data): New variable.
17317         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17318         (catan_test_data): New variable.
17319         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17320         (catanh_test_data): New variable.
17321         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17322         (ccos_test_data): New variable.
17323         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17324         (ccosh_test_data): New variable.
17325         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17326         (cexp_test_data): New variable.
17327         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17328         (clog_test_data): New variable.
17329         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17330         (clog10_test_data): New variable.
17331         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17332         (conj_test_data): New variable.
17333         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17334         (cproj_test_data): New variable.
17335         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17336         (csin_test_data): New variable.
17337         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17338         (csinh_test_data): New variable.
17339         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17340         (csqrt_test_data): New variable.
17341         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17342         (ctan_test_data): New variable.
17343         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17344         (ctan_tonearest_test_data): New variable.
17345         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17346         (ctan_towardzero_test_data): New variable.
17347         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17348         (ctan_downward_test_data): New variable.
17349         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17350         (ctan_upward_test_data): New variable.
17351         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17352         (ctanh_test_data): New variable.
17353         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17354         (ctanh_tonearest_test_data): New variable.
17355         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17356         (ctanh_towardzero_test_data): New variable.
17357         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17358         (ctanh_downward_test_data): New variable.
17359         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17360         (ctanh_upward_test_data): New variable.
17361         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17362         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17363         of BUILD_COMPLEX.
17365         * math/libm-test.inc (struct test_ff_f_data): New type.
17366         (struct test_ff_f_data_nexttoward): Likewise.
17367         (RUN_TEST_LOOP_2_f): New macro.
17368         (RUN_TEST_LOOP_ff_f): Likewise.
17369         (atan2_test_data): New variable.
17370         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17371         (copysign_test_data): New variable.
17372         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17373         (fdim_test_data): New variable.
17374         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17375         (fmax_test_data): New variable.
17376         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17377         (fmin_test_data): New variable.
17378         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17379         (fmod_test_data): New variable.
17380         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17381         (hypot_test_data): New variable.
17382         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17383         (nextafter_test_data): New variable.
17384         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17385         (nexttoward_test_data): New variable.
17386         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17387         (pow_test_data): New variable.
17388         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17389         (pow_tonearest_test_data): New variable.
17390         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17391         (pow_towardzero_test_data): New variable.
17392         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17393         (pow_downward_test_data): New variable.
17394         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17395         (pow_upward_test_data): New variable.
17396         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17397         (remainder_test_data): New variable.
17398         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17399         (scalb_test_data): New variable.
17400         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17401         * sysdeps/i386/fpu/libm-test-ulps: Update.
17403 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17405         * math/libm-test.inc (fma_test): Use max_value instead of local
17406         variable fltmax.
17407         (nextafter_test): Likewise.
17409         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17410         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17411         (acos_downward_test_data): New variable.
17412         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17413         (acos_upward_test_data): New variable.
17414         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17415         (acosh_test_data): New variable.
17416         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17417         (asin_test_data): New variable.
17418         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17419         (asin_tonearest_test_data): New variable.
17420         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17421         (asin_towardzero_test_data): New variable.
17422         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17423         (asin_downward_test_data): New variable.
17424         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17425         (asin_upward_test_data): New variable.
17426         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17427         (asinh_test_data): New variable.
17428         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17429         (atan_test_data): New variable.
17430         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17431         (atanh_test_data): New variable.
17432         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17433         (cbrt_test_data): New variable.
17434         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17435         (ceil_test_data): New variable.
17436         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17437         (cos_test_data): New variable.
17438         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17439         (cos_tonearest_test_data): New variable.
17440         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17441         (cos_towardzero_test_data): New variable.
17442         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17443         (cos_downward_test_data): New variable.
17444         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17445         (cos_upward_test_data): New variable.
17446         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17447         (cosh_test_data): New variable.
17448         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17449         (cosh_tonearest_test_data): New variable.
17450         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17451         (cosh_towardzero_test_data): New variable.
17452         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17453         (cosh_downward_test_data): New variable.
17454         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17455         (cosh_upward_test_data): New variable.
17456         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17457         (erf_test_data): New variable.
17458         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17459         (erfc_test_data): New variable.
17460         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17461         (exp_test_data): New variable.
17462         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17463         (exp_tonearest_test_data): New variable.
17464         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17465         (exp_towardzero_test_data): New variable.
17466         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17467         (exp_downward_test_data): New variable.
17468         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17469         (exp_upward_test_data): New variable.
17470         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17471         (exp10_test_data): New variable.
17472         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17473         (exp2_test_data): New variable.
17474         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17475         (expm1_test_data): New variable.
17476         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17477         (fabs_test_data): New variable.
17478         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17479         (floor_test_data): New variable.
17480         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17481         (j0_test_data): New variable.
17482         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17483         (j1_test_data): New variable.
17484         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17485         (log_test_data): New variable.
17486         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17487         (log10_test_data): New variable.
17488         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17489         (log1p_test_data): New variable.
17490         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17491         (log2_test_data): New variable.
17492         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17493         (logb_test_data): New variable.
17494         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17495         (logb_downward_test_data): New variable.
17496         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17497         (nearbyint_test_data): New variable.
17498         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17499         (rint_test_data): New variable.
17500         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17501         (rint_tonearest_test_data): New variable.
17502         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17503         (rint_towardzero_test_data): New variable.
17504         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17505         (rint_downward_test_data): New variable.
17506         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17507         (rint_upward_test_data): New variable.
17508         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17509         (round_test_data): New variable.
17510         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17511         (sin_test_data): New variable.
17512         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17513         (sin_tonearest_test_data): New variable.
17514         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17515         (sin_towardzero_test_data): New variable.
17516         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17517         (sin_downward_test_data): New variable.
17518         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17519         (sin_upward_test_data): New variable.
17520         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17521         (sinh_test_data): New variable.
17522         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17523         (sinh_tonearest_test_data): New variable.
17524         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17525         (sinh_towardzero_test_data): New variable.
17526         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17527         (sinh_downward_test_data): New variable.
17528         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17529         (sinh_upward_test_data): New variable.
17530         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17531         (sqrt_test_data): New variable.
17532         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17533         (tan_test_data): New variable.
17534         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17535         (tan_tonearest_test_data): New variable.
17536         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17537         (tan_towardzero_test_data): New variable.
17538         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17539         (tan_downward_test_data): New variable.
17540         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17541         (tan_upward_test_data): New variable.
17542         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17543         (tanh_test_data): New variable.
17544         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17545         (tgamma_test_data): New variable.
17546         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17547         (trunc_test_data): New variable.
17548         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17549         (y0_test_data): New variable.
17550         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17551         (y1_test_data): New variable.
17552         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17553         (significand_test_data): New variable.
17554         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17556 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17558         [BZ #12387]
17559         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17561 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17563         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17565 2013-05-10  Andreas Jaeger  <aj@suse.de>
17567         [BZ #15448]
17568         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17569         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17571 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17573         * math/gen-libm-test.pl (adjust_arg): New function.
17574         (special_functions): Handle generating output in both functions
17575         and arrays.
17576         (parse_args): Likewise.
17577         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17578         $in_func argument to parse_args.
17579         * math/libm-test.inc (struct test_f_f_data): New type.
17580         (IF_ROUND_INIT_): New macro.
17581         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17582         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17583         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17584         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17585         (ROUND_RESTORE_): Likewise.
17586         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17587         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17588         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17589         (ROUND_RESTORE_FE_UPWARD): Likewise.
17590         (RUN_TEST_LOOP_f_f): New macro.
17591         (acos_test_data): New variable.
17592         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17593         (acos_tonearest_test_data): New variable.
17594         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17596 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17598         * benchtests/bench-skeleton.c (startup): Fix coding style.
17600 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17602         [BZ #6809]
17603         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17604         negative infinity argument.
17605         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17606         negative infinity argument.
17607         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17608         negative infinity argument.
17609         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17610         domain errors.
17612 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17614         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17615         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17616         * iconv/iconv_prog.c (main): Likewise.
17617         * locale/programs/charmap-dir.c (charmap_readdir)
17618         (fopen_uncompressed): Likewise.
17619         * locale/programs/locfile.c (siblings_uncached)
17620         (write_locale_data): Use lstat64 instead of lstat.
17621         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17622         stat.
17624 2013-05-10  Andreas Jaeger  <aj@suse.de>
17626         [BZ #15395]
17627         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17628         localization.
17629         Include <locale.h>.
17631 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17633         * elf/dl-close.c (_dl_close_worker): Add comments.
17635 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17637         [BZ #15359]
17638         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17639         high part of pi/2.
17640         (__ieee754_rem_pio2l): Update comments.
17642         [BZ #15429]
17643         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17644         high part of pi/2.
17645         (__ieee754_rem_pio2l): Update comments.
17647         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17648         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17650         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17651         M_PI_4l.
17653         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17654         (M_PI_34_LOG10El): Likewise.
17655         (M_PI2_LOG10El): Likewise.
17656         (M_PI4_LOG10El): Likewise.
17657         (M_PI_LOG10El): Likewise.
17659 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17663 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17665         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17666         (MINUS_ZERO_INIT): Likewise.
17667         (PLUS_INFTY_INIT): Likewise.
17668         (MINUS_INFTY_INIT): Likewise.
17669         (QNAN_VALUE_INIT): Likewise.
17670         (MAX_VALUE_INIT): Likewise.
17671         (MIN_VALUE_INIT): Likewise.
17672         (MIN_SUBNORM_VALUE_INIT): Likewise.
17673         (plus_zero): Initialize with PLUS_ZERO_INIT.
17674         (minus_zero): Initialize with MINUS_ZERO_INIT.
17675         (plus_infty): Initialize with PLUS_INFTY_INIT.
17676         (minus_infty): Initialize with MINUS_INFTY_INIT.
17677         (qnan_value): Initialize with QNAN_VALUE_INIT.
17678         (max_value): Initialize with MAX_VALUE_INIT.
17679         (min_value): Initialize with MIN_VALUE_INIT.
17680         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17682         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17683         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17684         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17685         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17687         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17688         (RUN_TEST_2_f): Likewise.
17689         (RUN_TEST_ff_f): Likewise.
17690         (RUN_TEST_fi_f): Likewise.
17691         (RUN_TEST_fl_f): Likewise.
17692         (RUN_TEST_fff_f): Likewise.
17693         (RUN_TEST_c_f): Likewise.
17694         (RUN_TEST_f_f1): Likewise.
17695         (RUN_TEST_fF_f1): Likewise.
17696         (RUN_TEST_fI_f1): Likewise.
17697         (RUN_TEST_ffI_f1): Likewise.
17698         (RUN_TEST_c_c): Likewise.
17699         (RUN_TEST_cc_c): Likewise.
17700         (RUN_TEST_f_i): Likewise.
17701         (RUN_TEST_f_i_tg): Likewise.
17702         (RUN_TEST_ff_i_tg): Likewise.
17703         (RUN_TEST_f_b): Likewise.
17704         (RUN_TEST_f_b_tg): Likewise.
17705         (RUN_TEST_f_l): Likewise.
17706         (RUN_TEST_f_L): Likewise.
17707         (RUN_TEST_sincos): Likewise.
17708         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17709         whether to show exceptions.  Do not include ");\n" in return
17710         value.
17711         (special_functions): Output call to RUN_TEST_sincos instead of
17712         check_float calls.  Update calls to new_test.
17713         (parse_args): Output call to single RUN_TEST_* macro instead of
17714         check_* calls and other assignments.  Update calls to new_test.
17716         [BZ #2546]
17717         [BZ #2560]
17718         [BZ #5159]
17719         [BZ #15426]
17720         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17721         input to result for tgamma overflow.
17722         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17723         (gamma_coeff): New variable.
17724         (NCOEFF): New macro.
17725         (gamma_positive): New function.
17726         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17727         underflow here.  Use gamma_positive instead of exp (lgamma) for
17728         other arguments.
17729         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17730         (gamma_coeff): New variable.
17731         (NCOEFF): New macro.
17732         (gammaf_positive): New function.
17733         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17734         underflow here.  Use gamma_positive instead of exp (lgamma) for
17735         other arguments.
17736         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17737         (gamma_coeff): New variable.
17738         (NCOEFF): New macro.
17739         (gammal_positive): New function.
17740         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17741         underflow here.  Use gamma_positive instead of exp (lgamma) for
17742         other arguments.
17743         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17744         (gamma_coeff): New variable.
17745         (NCOEFF): New macro.
17746         (gammal_positive): New function.
17747         (__ieee754_gammal_r): Handle positive infinity, overflow and
17748         underflow here.  Handle NaN the same as positive infinity.  Remove
17749         check x < 0xffffffff for negative integers.  Use gamma_positive
17750         instead of exp (lgamma) for other arguments.
17751         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17752         (gamma_coeff): New variable.
17753         (NCOEFF): New macro.
17754         (gammal_positive): New function.
17755         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17756         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17757         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17758         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17759         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17760         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17761         * sysdeps/generic/math_private.h (__gamma_productf): New
17762         prototype.
17763         (__gamma_product): Likewise.
17764         (__gamma_productl): Likewise.
17765         * math/Makefile (libm-calls): Add gamma_product.
17766         * math/libm-test.inc (tgamma_test): Add more tests.
17767         * sysdeps/i386/fpu/libm-test-ulps: Update.
17768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17770 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17772         * benchtests/bench-skeleton.c (main): Preheat CPU.
17774 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17776         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17778 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17780         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17781         and _dl_skip_args_internal.
17783 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17785         * manual/message.texi (Message Translation): Talk about users.
17786         Message to key mapping impacts design.
17788 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17790         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17792         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17794         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17795         * sysdeps/wordsize-64/glob64.c: ... here.
17797         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17798         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17799         New macros.
17801         * debug/getlogin_r_chk.c: Moved to ...
17802         * login/getlogin_r_chk.c: ... here.
17803         * debug/Makefile (routines): Move getlogin_r_chk to ...
17804         * login/Makefile (routines): ... here.
17805         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17806         * login/Versions (libc: GLIBC_2.4): ... here.
17808         * io/poll.c (__poll): Renamed from poll.
17809         Add libc_hidden_def.
17810         (poll): Define as weak alias.
17812         * debug/ptsname_r_chk.c: Moved to ...
17813         * login/ptsname_r_chk.c: ... here.
17814         * debug/Makefile (routines): Move ptsname_r_chk to ...
17815         * login/Makefile (routines): ... here.
17816         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17817         * login/Versions (libc: GLIBC_2.4): ... here.
17819         * posix/getlogin.c: Moved to ...
17820         * login/getlogin.c: ... here.
17821         * posix/getlogin_r.c: Moved to ...
17822         * login/getlogin_r.c: ... here.
17823         * posix/getlogin_r.c: Moved to ...
17824         * login/getlogin_r.c: ... here.
17825         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17826         * login/Makefile (routines): ... here.
17827         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17828         * login/Versions (libc: GLIBC_2.0): ... here.
17830         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17831         (setrlimit): Define as weak alias.
17833         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17834         Call __ names for open, ftruncate, and close.
17835         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17836         (truncate): Define as weak alias.
17838 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17840         * math/gen-libm-test.pl (parse_args): Initialize x before each
17841         test of frexp, modf and remquo.
17843         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17844         test signgam value.
17846 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17848         [BZ #15418]
17849         [BZ #15419]
17850         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17851         internal tests.
17852         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17854 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17856         * elf/dl-writev.h: New file.
17857         * elf/dl-misc.c: Include it.
17858         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17859         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17861 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17863         * math/libm-test.inc (noXFails): Remove variable.
17864         (noXPasses): Likewise.
17865         (BUILD_COMPLEX_INT): Remove macro.
17866         (print_screen): Remove xfail argument.
17867         (print_screen_max_error): Likewise.
17868         (update_stats): Likewise.
17869         (print_max_error): Likewise.  Update calls to other affected
17870         functions.
17871         (print_complex_max_error): Likewise.
17872         (test_single_exception): Update calls to print_screen.
17873         (test_single_errno): Likewise.
17874         (check_float_internal): Remove xfail argument.  Update calls to
17875         other affected functions.
17876         (check_float): Likewise.
17877         (check_complex): Likewise.
17878         (check_int): Likewise.
17879         (check_long): Likewise.
17880         (check_bool): Likewise.
17881         (check_longlong): Likewise.
17882         (main): Don't print noXFails and noXPasses.
17883         * math/gen-libm-test.pl (top level): Don't mention expected
17884         failure handling in comment.
17885         (new_test): Don't handle expected failures.
17886         (parse_args): Don't mention expected failure handling in comment.
17887         (generate_testfile): Don't handle expected failures.
17888         (parse_ulps): Likewise.
17889         (print_ulps_file): Likewise.
17890         (get_failure): Remove function.
17891         (output_test): Don't handle expected failures.
17892         * make/README.libm-test: Don't mention expected failure handling.
17894         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17895         (minus_zero): Likewise.
17896         (plus_infty): Likewise.
17897         (minus_infty): Likewise.
17898         (qnan_value): Likewise.
17899         (max_value): Likewise.
17900         (min_value): Likewise.
17901         (min_subnorm_value): Likewise.
17902         (initialize): Do not initialize those variables dynamically.
17904 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17906         * io/open.c (__open_2): Moved to ...
17907         * io/open_2.c: ... this new file.
17908         * io/open64.c (__open64_2): Moved to ...
17909         * io/open64_2.c: ... this new file.
17910         * io/openat.c (__openat_2): Moved to ...
17911         * io/openat_2.c: ... this new file.
17912         * io/openat64.c (__openat64_2): Moved to ...
17913         * io/openat64_2.c: ... this new file.
17914         * io/Makefile (routines): Add them.
17915         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17916         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17917         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17918         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17919         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17920         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17921         (__openat64): Add hidden_ver.
17922         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17923         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17925         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17926         Separately conditionalize setting of GLRO(dl_sysinfo) so
17927         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17928         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17930 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17932         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17933         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17934         definition.
17935         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17936         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17937         (_libc_vdso_platform_setup): Add __vdso_time initialization.
17938         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17939         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17941 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
17943         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17944         test signgam value.
17946         * math/libm-test.inc (hypot_test): Do not use
17947         IGNORE_ZERO_INF_SIGN.
17949 2013-05-03  Andreas Jaeger  <aj@suse.de>
17951         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17952         Linux 3.9.
17953         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17954         (PF_MAX): Adjust for VSOCK change.
17956 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17960 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
17962         [BZ #15264]
17963         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17964         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17965         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17967 2013-05-02  David S. Miller  <davem@davemloft.net>
17969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17971 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17973         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17975 2013-05-01  Roland McGrath  <roland@hack.frob.com>
17977         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17979 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17981         [BZ #14952]
17982         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17983         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17984         Use __attribute__ ((__gnu_inline__)).
17985         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17986         Don't use __attribute__ ((__gnu_inline__)).
17988 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
17990         [BZ #15423]
17991         * math/s_catan.c (__catan): Handle small real or imaginary part of
17992         input specially to avoid spurious underflow.
17993         * math/s_catanf.c (__catanf): Likewise.
17994         * math/s_catanh.c (__catanh): Likewise.
17995         * math/s_catanhf.c (__catanhf): Likewise.
17996         * math/s_catanhl.c (__catanhl): Likewise.
17997         * math/s_catanl.c (__catanl): Likewise.
17998         * math/libm-test.inc (catan_test): Add more tests.
17999         (catanh_test): Likewise.
18000         * sysdeps/i386/fpu/libm-test-ulps: Update.
18001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18003 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18007 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18009         [BZ #15416]
18010         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18011         accurately for denominator in atan2.
18012         * math/s_catanf.c (__catanf): Likewise.
18013         * math/s_catanh.c (__catanh): Likewise.
18014         * math/s_catanhf.c (__catanhf): Likewise.
18015         * math/s_catanhl.c (__catanhl): Likewise.
18016         * math/s_catanl.c (__catanl): Likewise.
18017         * math/libm-test.inc (catan_test): Add more tests.
18018         (catanh_test): Likewise.
18019         * sysdeps/i386/fpu/libm-test-ulps: Update.
18020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18022 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18024         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18026         * benchtests/Makefile (bench): Remove slow benchmarks.
18027         * benchtests/atan-inputs: Add slow benchmark inputs.
18028         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18029         (BENCH_FUNC): Accept variant offset.
18030         (VARIANT): Define.
18031         * benchtests/bench-skeleton.c (main): Run benchmark for each
18032         variant.
18033         * benchtests/cos-inputs: Add slow benchmark inputs.
18034         * benchtests/exp-inputs: Likewise.
18035         * benchtests/pow-inputs: Likewise.
18036         * benchtests/sin-inputs: Likewise.
18037         * benchtests/slowatan-inputs: Remove.
18038         * benchtests/slowatan.c: Remove.
18039         * benchtests/slowcos-inputs: Remove.
18040         * benchtests/slowcos.c: Remove.
18041         * benchtests/slowexp-inputs: Remove.
18042         * benchtests/slowexp.c: Remove.
18043         * benchtests/slowpow-inputs: Remove.
18044         * benchtests/slowpow.c: Remove.
18045         * benchtests/slowsin-inputs: Remove.
18046         * benchtests/slowsin.c: Remove.
18047         * benchtests/slowtan-inputs: Remove.
18048         * benchtests/slowtan.c: Remove.
18049         * benchtests/tan-inputs: Add slow benchmark inputs.
18050         * scripts/bench.pl: Parse comments and directives.
18052         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18053         in CPPFLAGS.
18054         ($(objpfx)bench-%.c): Remove *-ITER.
18055         * benchtests/bench-modf.c: Remove definition of ITER.
18056         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18057         (main): Loop for DURATION seconds instead of fixed number of
18058         iterations.
18059         * scripts/bench.pl: Don't expect iterations in parameters.
18061 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18063         * io/fchdir.c (__fchdir): Renamed from fchdir.
18064         (fchdir): Define as weak alias.
18066 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18068         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18069         (ERRNO_EDOM): Likewise.
18070         (ERRNO_ERANGE): Likewise.
18071         (noErrnoTests): New variable.
18072         (init_max_error): Set errno to 0.
18073         (test_single_errno): New function.
18074         (test_errno): Likewise.
18075         (check_float_internal): Call test_errno.  Set errno to 0.
18076         (check_complex): Refer to errno tests in comment.
18077         (check_int): Call test_errno.  Set errno to 0.
18078         (check_long): Likewise.
18079         (check_bool): Likewise.
18080         (check_longlong): Likewise.
18081         (cos_test): Use ERRNO_* flags for errno tests instead of
18082         check_int.
18083         (expm1_test): Likewise.
18084         (fmod_test): Likewise.
18085         (ilogb_test): Likewise.
18086         (lgamma_test): Likewise.
18087         (pow_test): Likewise.
18088         (remainder_test): Likewise.
18089         (sin_test): Likewise.
18090         (tan_test): Likewise.
18091         (yn_test): Likewise.
18092         (initialize): Set errno to 0.
18093         (main): Print number of errno tests.
18094         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18096 2013-04-29  Andreas Jaeger  <aj@suse.de>
18098         [BZ #15084]
18099         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18100         and RES_USEVC.
18102         [BZ #15085]
18103         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18104         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18105         unimplemented.
18107         [BZ #15380]
18108         * stdlib/random.c (__initstate): Return NULL if
18109         __initstate fails.
18111         [BZ #15086]
18112         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18113         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18114         RES_SNGLKUPREOP.
18116 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18120 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18122         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18123         of individual tests.
18124         (casin_test): Likewise.
18125         (casinh_test): Likewise.
18127 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18129         [BZ #15409]
18130         * math/s_catan.c (__catan): Handle arguments with large real or
18131         imaginary part separately without squaring.
18132         * math/s_catanf.c (__catanf): Likewise.
18133         * math/s_catanh.c (__catanh): Likewise.
18134         * math/s_catanhf.c (__catanhf): Likewise.
18135         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18136         and redefine.
18137         (__catanhl): Handle arguments with large real or imaginary part
18138         separately without squaring.
18139         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18140         and redefine.
18141         (__catanl): Handle arguments with large real or imaginary part
18142         separately without squaring.
18143         * math/libm-test.inc (catan_test): Add more tests.
18144         (catanh_test): Likewise.
18145         * sysdeps/i386/fpu/libm-test-ulps: Update.
18146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18148 2013-04-27  Andreas Jaeger  <aj@suse.de>
18150         [BZ #15007]
18151         * stdlib/stdlib.h: Update guards for qecvt.
18152         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18153         <stdlib.h>.
18155 2013-04-27  Allan McRae  <allan@archlinux.org>
18157         * sysdeps/i386/fpu/libm-test-ulps: Update.
18159 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18161         [BZ #15406]
18162         * math/s_catan.c: Include <float.h>.
18163         (__catan): Ensure underflow exception occurs for underflowed
18164         result.
18165         * math/s_catanf.c: Include <float.h>.
18166         (__catanf): Ensure underflow exception occurs for underflowed
18167         result.
18168         * math/s_catanh.c: Include <float.h>.
18169         (__catanh): Ensure underflow exception occurs for underflowed
18170         result.
18171         * math/s_catanhf.c: Include <float.h>.
18172         (__catanhf): Ensure underflow exception occurs for underflowed
18173         result.
18174         * math/s_catanhl.c: Include <float.h>.
18175         (__catanhl): Ensure underflow exception occurs for underflowed
18176         result.
18177         * math/s_catanl.c: Include <float.h>.
18178         (__catanl): Ensure underflow exception occurs for underflowed
18179         result.
18180         * math/libm-test.inc (catan_test): Add more tests.
18181         (catanh_test): Likewise.
18183         [BZ #15405]
18184         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18185         underflowed result.
18186         * math/s_ccoshf.c (__ccoshf): Likewise.
18187         * math/s_ccoshl.c (__ccoshl): Likewise.
18188         * math/s_csin.c (__csin): Likewise.
18189         * math/s_csinf.c (__csinf): Likewise.
18190         * math/s_csinh.c (__csinh): Likewise.
18191         * math/s_csinhf.c (__csinhf): Likewise.
18192         * math/s_csinhl.c (__csinhl): Likewise.
18193         * math/s_csinl.c (__csinl): Likewise.
18194         * math/libm-test.inc (ccos_test): Add more tests.
18195         (ccosh_test): Likewise.
18196         (csin_test): Likewise.
18197         (csinh_test): Likewise.
18199 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18201         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18202         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18203         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18204         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18205         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18206         powerpc/power5+/fpu folders.
18207         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18210 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18214 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18216         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18217         additions to variable.
18218         [$(config-machine) = x86_64] (modules-names): Likewise.
18219         ($(objpfx)tst-audit3): Remove dependency.
18220         ($(objpfx)tst-audit3.out): Likewise.
18221         ($(objpfx)tst-audit4): Likewise.
18222         ($(objpfx)tst-audit4.out): Likewise.
18223         ($(objpfx)tst-audit5): Likewise.
18224         ($(objpfx)tst-audit5.out): Likewise.
18225         ($(objpfx)tst-audit6): Likewise.
18226         ($(objpfx)tst-audit6.out): Likewise.
18227         ($(objpfx)tst-audit7): Likewise.
18228         ($(objpfx)tst-audit7.out): Likewise.
18229         (tst-audit3-ENV): Remove variable.
18230         (tst-audit4-ENV): Likewise.
18231         (tst-audit5-ENV): Likewise.
18232         (tst-audit6-ENV): Likewise.
18233         (tst-audit7-ENV): Likewise.
18234         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18235         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18236         addition to variable.
18237         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18238         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18239         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18240         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18241         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18242         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18243         tst-audit3, tst-audit4 and tst-audit5.
18244         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18245         tst-audit6 and tst-audit7.
18246         [$(subdir) = elf] (modules-names): Add audit modules for those
18247         tests.
18248         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18249         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18250         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18251         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18252         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18253         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18254         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18255         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18256         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18257         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18258         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18259         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18260         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18261         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18262         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18263         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18264         Likewise.
18265         [$(subdir) = elf && $(config-cflags-avx) = yes]
18266         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18267         [$(subdir) = elf && $(config-cflags-avx) = yes]
18268         (CFLAGS-tst-auditmod4a.c): Likewise.
18269         [$(subdir) = elf && $(config-cflags-avx) = yes]
18270         (CFLAGS-tst-auditmod4b.c): Likewise.
18271         [$(subdir) = elf && $(config-cflags-avx) = yes]
18272         (CFLAGS-tst-auditmod6b.c): Likewise.
18273         [$(subdir) = elf && $(config-cflags-avx) = yes]
18274         (CFLAGS-tst-auditmod6c.c): Likewise.
18275         [$(subdir) = elf && $(config-cflags-avx) = yes]
18276         (CFLAGS-tst-auditmod7b.c): Likewise.
18277         * elf/tst-audit3.c: Move to ...
18278         * sysdeps/x86_64/tst-audit3.c: ... here.
18279         * elf/tst-audit4.c: Move to ...
18280         * sysdeps/x86_64/tst-audit4.c: ... here.
18281         * elf/tst-audit5.c: Move to ...
18282         * sysdeps/x86_64/tst-audit5.c: ... here.
18283         * elf/tst-audit6.c: Move to ...
18284         * sysdeps/x86_64/tst-audit6.c: ... here.
18285         * elf/tst-audit7.c: Move to ...
18286         * sysdeps/x86_64/tst-audit7.c: ... here.
18287         * elf/tst-auditmod3a.c: Move to ...
18288         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18289         * elf/tst-auditmod3b.c: Move to ...
18290         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18291         * elf/tst-auditmod4a.c: Move to ...
18292         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18293         * elf/tst-auditmod4b.c: Move to ...
18294         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18295         * elf/tst-auditmod5a.c: Move to ...
18296         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18297         * elf/tst-auditmod5b.c: Move to ...
18298         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18299         * elf/tst-auditmod6a.c: Move to ...
18300         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18301         * elf/tst-auditmod6b.c: Move to ...
18302         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18303         * elf/tst-auditmod6c.c: Move to ...
18304         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18305         * elf/tst-auditmod7a.c: Move to ...
18306         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18307         * elf/tst-auditmod7b.c: Move to ...
18308         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18310 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18312         [BZ #15366]
18313         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18314         define unconditionally.
18315         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18316         define unconditionally.
18317         (INT8_C, INT16_C, etc.): Likewise.
18319 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18321         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18322         __ehdr_start with hidden visibility.
18324         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18326 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18328         * math/libm-test.inc (cos_test): Use accurate hex constants.
18329         (sincost_test): Likewise.
18331 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18333         * math/libm-test.inc (catan_test): Add more tests.
18334         (catanh_test): Likewise.
18336         * math/s_catanf.c (__catanf): Use suffixed floating-point
18337         constants.
18338         * math/s_catanhf.c (__catanhf): Likewise.
18339         * math/s_catanhl.c (__catanhl): Likewise.
18340         * math/s_catanl.c (__catanl): Likewise.
18342         [BZ #15394]
18343         * math/s_catan.c (__catan): Calculate imaginary part of result
18344         with log1p not log unless computing log of number close to 0.
18345         * math/s_catanf.c (__catanf): Likewise.
18346         * math/s_catanl.c (__catanl): Likewise.
18347         * math/s_catanh.c (__catanh): Calculate real part of result with
18348         log1p not log unless computing log of number close to 0.
18349         * math/s_catanhf.c (__catanhf): Likewise.
18350         * math/s_catanhl.c (__catanhl): Likewise.
18351         * math/libm-test.inc (catan_test): Add more tests.
18352         (catanh_test): Likewise.
18353         * sysdeps/i386/fpu/libm-test-ulps: Update.
18354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18356 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18358         * benchtests/Makefile: Mention files in which fast and slow
18359         paths of math functions are implemented.
18361 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18363         * sysdeps/posix/timespec_get.c: New file.
18365 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18367         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18368         POWER.
18369         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18370         for POWER.
18371         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18372         powerpc/power5/fpu folders.
18373         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18374         * benchtests/Makefile: Add modf testcase.
18375         * benchtests/bench-modf.c: New file: Benchmark test for mo
18377 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18379         [BZ #14888]
18380         * time/Makefile (tests): Add tst-strptime-whitespace.
18381         * time/strptime_l.c (get_number): Use ISSPACE.
18382         (__strptime_internal): Likewise.
18383         * time/tst-strptime-whitespace.c: New test case.
18385 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18387         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18388         member.
18389         (_nss_files_init): Set it here.
18391 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18393         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18394         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18395         unsigned.
18397 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18399         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18401 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18403         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18404         size just once.
18406 2013-04-21  David S. Miller  <davem@davemloft.net>
18408         * po/ru.po: Update Russion translation from translation project.
18410 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18412         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18413         and setfsgid.
18415 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18417         * configure.in: Remove i386 configure warning. Remove i386 case.
18418         * configure: Regenerate.
18419         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18420         Add example to error message.
18421         * sysdeps/i386/configure: Regenerate.
18423 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18425         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18426         slowtan.
18427         * benchtests/cos-inputs: New file.
18428         * benchtests/slowcos-inputs: New file.
18429         * benchtests/slowcos.c: New file.
18430         * benchtests/slowtan-inputs: New file.
18431         * benchtests/slowtan.c: New file.
18432         * benchtests/tan-inputs: New file.
18434 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18436         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18437         considered kosher.
18439 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18441         * benchtests/Makefile: Include cppflags-iterator.mk to add
18442         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18444         * Makefile.in (bench-clean): New target.
18445         * benchtests/Makefile (bench-clean): Likewise.
18447 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18449         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18451 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18453         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18455 2013-04-15  Andreas Schwab  <schwab@suse.de>
18457         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18458         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18459         * nscd/pwdcache.c (cache_addpw): Likewise.
18460         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18461         more than recsize.
18463 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18465         * benchtests/Makefile (bench): Write all output to
18466         bench-out.tmp together.
18468 2013-04-15  Andreas Schwab  <schwab@suse.de>
18470         * nscd/nscd.c (main): Don't fork again after closing files.
18472 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18474         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18476         * benchtests/Rules (bench-deps): Collect dependencies into a
18477         single variable.  Add Makefile to dependencies.
18478         ($(objpfx)bench-%.c): Depend on bench-deps.
18480 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18481             Xavier Roche  <roche+kml2@exalead.com>
18483         [BZ #15361]
18484         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18485         just that it's a file descriptor.
18486         * manual/llio.texi (Synchronizing AIO Operations): Update description
18487         for EBADF error from aio_fsync.
18489 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18491         * Rules (bench): Move target definition...
18492         * benchtests/Makefile: ... here.
18494 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18496         * math/libm-test.inc (cos_test): Fix PI/2 test.
18497         (sincos_test): Likewise.
18498         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18499         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18501 2013-04-11  Andreas Schwab  <schwab@suse.de>
18503         [BZ #13988]
18504         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18505         accept exponent character only when digits were seen.
18506         * stdio-common/Makefile (tests): Add bug26.
18507         * stdio-common/bug26.c: New file.
18509         [BZ #14293]
18510         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18511         non-freeable.
18513 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18515         * Makeconfig (rtld-prefix): Define built linker prefix.
18516         * Rules (run-bench): Use it.
18517         * math/Makefile (run-regen-ulps): Likewise.
18519         * Rules (bench): Remove eval.
18521 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18522             Roland McGrath  <roland@hack.frob.com>
18523             Ondrej Bilka  <neleai@seznam.cz>
18525         [BZ #15346]
18526         * time/getdate.c: Include ctype.h and alloca.h.
18527         (__getdate_r): Trim leading and trailing spaces of input.
18528         * time/tst-getdate.c (tests): Add tests with leading and
18529         trailing spaces.
18531 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18533         [BZ #14280]
18534         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18535         when computing value.
18537 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18539         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18540         Use testrun.sh to run libm tests.
18542         [BZ #15309]
18543         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18545 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18547         [BZ #15264]
18548         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18550 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18552         * Makefile.in (regen-ulps): New target.
18553         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18554         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18555         [ifneq (no,$(PERL)] (regen-ulps): New target.
18556         [ifeq (no,$(PERL)] (regen-ulps): New target.
18557         * math/libm-test.inc (ulps_file_name): Define.
18558         (output_dir): New variable.
18559         (options): Add "output-dir" option.
18560         (parse_opt): Handle 'o' case.
18561         (main): If output_dir is non-NULL use it as a prefix
18562         otherwise use "".
18563         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18565 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18567         [BZ #10060, #10062]
18568         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18569         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18570         fail configure if __sync_val_compare_and_swap is not inlined.
18571         * sysdeps/i386/configure: Regenerate.
18572         * configure.in: Build for i686 when configured for i386.
18573         * configure: Regenerate.
18574         * README: Remove i386 reference.
18576 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18578         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18579         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18581 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18583         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18584         (lmsnanval): New variables.
18585         (F): Add conversion tests.
18586         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18587         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18589         * stdio-common/tstdiomisc.c (F): Properly collect individual
18590         tests' results.
18592         [BZ #14686, #15336]
18593         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18594         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18595         Instead, use input NaN values or generate a qNaN by arithmetic
18596         operation.  Also fix bugs to comply with the standard.
18597         * math/libm-test.inc (remainder_test): Add more tests.
18599         [BZ #15335, #15342]
18600         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18602         input NaN values or generate a qNaN by arithmetic operation.
18604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18605         unreachable code.
18607         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18608         definitions.
18610 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18612         [BZ #14478]
18613         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18614         underflowed result.
18615         * math/s_cexpf.c (__cexpf): Likewise.
18616         * math/s_cexpl.c (__cexpl): Likewise.
18617         * math/libm-test.inc (cexp_test): Add more tests.
18619 2013-04-03  Andreas Schwab  <schwab@suse.de>
18621         [BZ #15330]
18622         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18623         order arrays from heap if bigger than alloca cutoff.
18625 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18627         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18628         (SNAN_TESTS_double): Refer to GCC PR56831.
18629         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18630         GCC PR56828.
18632 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18634         * Rules (bench): Move bench.out after the run is complete.
18636         * Rules (bench): Echo currently running benchmark.
18638         * benchtests/Makefile (bench): Add atan and slowatan.
18639         * benchtests/atan-inputs: New file.
18640         * benchtests/slowatan-inputs: New file.
18641         * benchtests/slowatan.c: New file.
18643         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18644         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18645         its value.
18647         [BZ #15305]
18648         * sysdeps/unix/sysv/linux/kernel-features.h
18649         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18650         __ASSUME_XFS_RESTRICTED_CHOWN.
18651         * sysdeps/unix/sysv/linux/pathconf.c
18652         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18653         Save and restore errno.
18655 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18657         [BZ #15327]
18658         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18659         arguments using __kernel_casinh.
18660         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18661         arguments using __kernel_casinhf.
18662         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18663         arguments using __kernel_casinhl.
18664         * math/libm-test.inc (cacosh_test): Add more tests.
18665         * sysdeps/i386/fpu/libm-test-ulps: Update.
18666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18668 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18670         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18671         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18673         * bench/Makefile (bench): Add sin and slowsin.
18674         * benchtests/sin-inputs: New file.
18675         * benchtests/slowsin-inputs: New file.
18676         * benchtests/slowsin.c: New file.
18678         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18679         (bench): Add slowexp and slowpow.
18680         (exp-ITER): Increase iterations.
18681         (pow-ITER): Likewise.
18682         * benchtests/exp-inputs: Change input.
18683         * benchtests/pow-inputs: Likewise.
18684         * benchtests/slowexp-inputs: New file.
18685         * benchtests/slowexp.c: New file.
18686         * benchtests/slowpow-inputs: New file.
18687         * benchtests/slowpow.c: New file.
18689 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18691         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18692         instructions.
18693         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18694         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18695         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18696         * benchtests/Makefile: Add rint benchtest.
18697         * benchtests/rint-inputs: Input for rint benchtest.
18699 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18701         * Versions.def (libm): Add GLIBC_2.18.
18702         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18703         hidden libm prototypes.
18704         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18705         * math/Makefile (libm-calls): Add s_issignaling.
18706         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18707         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18708         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18709         declaration.
18710         * math/math.h [__USE_GNU] (issignaling): New macro.
18711         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18712         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18713         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18714         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18715         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18716         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18717         * manual/arith.texi (issignaling): New section.
18718         * manual/libm-err-tab.pl (@all_functions): Update comment.
18719         * math/gen-libm-test.pl (parse_args): Apply special handling for
18720         issignaling.
18721         * math/libm-test.inc (print_float, issignaling_test): New
18722         functions.
18723         (check_float_internal): Add issignaling checks.
18724         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18725         default definition.
18726         * sysdeps/powerpc/math-tests.h: New file.
18727         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18728         tests.
18729         * math/test-snan.c (TEST_FUNC): Likewise.
18731 2013-03-30  David S. Miller  <davem@davemloft.net>
18733         * po/de.po: Update from translation team.
18735 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18737         [BZ #10357]
18738         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18739         imaginary part less than 1.0 and real part less than 0.5
18740         specially.
18741         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18742         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18743         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18744         (cacos_test): Add more tests.
18745         (casin_test): Likewise.
18746         (casinh_test): Likewise.
18747         * sysdeps/i386/fpu/libm-test-ulps: Update.
18748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18750 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18752         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18753         ONE with its value.
18755         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18756         (__pow_mp): Replace ONE and MONE with their values.
18757         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18759         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18760         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18761         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18762         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18764         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18766         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18767         (__pow_mp): Replace ZERO and MZERO with their values.
18768         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18769         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18770         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18772         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18773         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18774         (__sqr): Likewise.
18776         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18778         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18780 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18782         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18783         Declare with __attribute__ ((weak)).
18784         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18785         Call __call_tls_dtors only if it's not NULL.
18787 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18789         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18790         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18791         magic __ehdr_start linker symbol if it's defined.
18792         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18793         them up here if it was already done.
18795         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18796         (_dl_aux_init): Use const in cast when setting it.
18797         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18798         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18799         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18801         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18802         Declare them here.
18803         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18804         * csu/libc-tls.c: Nor here.
18805         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18807         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18808         (__libc_message): Never call vsyslog.
18810 2013-03-28  Alan Modra  <amodra@gmail.com>
18812         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18813         Define as empty.
18814         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18815         Likewise.
18817 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18819         [BZ #15214]
18820         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18821         underflow.
18822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18824 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18826         [BZ #15304]
18827         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18828         Don't add gid passed as argument.
18830         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18832 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #15307]
18835         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18836         imaginary part between 1.0 and 1.5 and real part less than 0.5
18837         specially.
18838         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18839         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18840         * math/libm-test.inc (cacos_test): Add more tests.
18841         (casin_test): Likewise.
18842         (casinh_test): Likewise.
18843         * sysdeps/i386/fpu/libm-test-ulps: Update.
18844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18846 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18848         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18849         constants.
18850         (norm): Likewise.
18851         (denorm): Likewise.
18852         (__dbl_mp): Likewise.
18853         (add_magnitudes): Likewise.
18854         (sub_magnitudes): Likewise.
18855         (__add): Likewise.
18856         (__sub): Likewise.
18857         (__mul): Likewise.
18858         (__sqr): Likewise.
18859         (__inv): Likewise.
18860         (__dvd): Likewise.
18862         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18863         commented code.
18864         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18865         (__dubcos): Likewise.
18866         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18867         (__ieee754_acos): Likewise.
18868         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18869         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18870         (__exp1): Likewise.
18871         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18873         (log1): Likewise.
18874         (my_log2): Likewise.
18875         (checkint): Likewise.
18876         * sysdeps/ieee754/dbl-64/e_remainder.c
18877         (__ieee754_remainder): Likewise.
18878         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18880         (bsloww): Likewise.
18881         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18883         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18884         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18885         MANTISSA_STORE_T to store computations on mantissa.  Use
18886         macros for rounding and division.
18887         (denorm): Likewise.
18888         (__dbl_mp): Likewise.
18889         (add_magnitudes): Likewise.
18890         (sub_magnitudes): Likewise.
18891         (__mul): Likewise.
18892         (__sqr): Likewise.
18893         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18894         powers of two in terms of TWOPOW macro.
18895         (mp_no): Make type of mantissa as MANTISSA_T.
18896         [!RADIXI]: Define RADIXI.
18897         [!TWO52]: Define TWO52.
18898         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18900 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18902         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18903         llroundl symbol when building for PPC32.
18905 2013-03-24  Mark H Weaver  <mhw@netris.org>
18907         * manual/arith.texi (Normalization Functions): Fix prototypes for
18908         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18910 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18912         [BZ #13889]
18913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18914         high value to check if expl overflow.
18915         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18916         to check for underflow and overflow.
18917         * math/libm-test.inc: Add exp test.
18919 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18921         [BZ #11120]
18922         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18923         with NOT_IN_libc.
18925 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18927         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18928         symbol.
18930 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18932         * math/gen-libm-test.pl (parse_args, special_functions): Properly
18933         wrap blocks consisting of several statements.
18935         * sysdeps/generic/math-tests.h: New file.
18936         * sysdeps/i386/fpu/math-tests.h: Likewise.
18937         * math/test-snan.c: Include it.
18938         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18940 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18942         [BZ #15285]
18943         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18944         (__ieee754_j0l): Do not improve calculations using cos of twice
18945         input for inputs above LDBL_MAX / 2.0L.
18946         (__ieee754_y0l): Likewise.
18947         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18948         (__ieee754_j1l): Do not improve calculations using cos of twice
18949         input for inputs above LDBL_MAX / 2.0L.
18950         (__ieee754_y1l): Likewise.
18951         * math/libm-test.inc (j0_test): Add another test.
18952         (j1_test): Likewise.
18953         (y0_test): Likewise.
18954         (y1_test): Likewise.
18955         * sysdeps/i386/fpu/libm-test-ulps: Update.
18957 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18959         * Rules ($(objpfx)bench-%.c): Include code from a C source
18960         file.
18962 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18964         [BZ #15287]
18965         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18966         imaginary part 1.0 and real part less than 0.5 specially.
18967         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18968         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18969         * math/libm-test.inc (cacos_test): Add more tests.
18970         (casin_test): Likewise.
18971         (casinh_test): Likewise.
18972         * sysdeps/i386/fpu/libm-test-ulps: Update.
18973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18975 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18977         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18978         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18980 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18982         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18983         * config.make.in (config-cflags-sse4): Remove variable.
18984         (config-cflags-avx): Likewise.
18985         (config-cflags-sse2avx): Likewise.
18986         (config-cflags-novzeroupper): Likewise.
18987         (config-asflags-i686): Likewise.
18988         (have-mfma4): Likewise.
18989         (have-as-vis3): Likewise.
18990         (MIG): Likewise.
18991         * configure.in (MIG): Do not AC_SUBST.
18992         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18993         (libc_cv_cc_sse4): Do not AC_SUBST.
18994         (libc_cv_cc_avx): Likewise.
18995         (libc_cv_cc_sse2avx): Likewise.
18996         (libc_cv_cc_novzeroupper): Likewise.
18997         (libc_cv_cc_fma4): Likewise.
18998         (libc_cv_as_i686): Likewise.
18999         (libc_cv_sparc_as_vis3): Likewise.
19000         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19001         LIBC_CONFIG_VAR.
19002         (config-asflags-i686): Likewise.
19003         (config-cflags-avx): Likewise.
19004         (config-cflags-sse2avx): Likewise.
19005         (have-mfma4): Likewise.
19006         (config-cflags-novzeroupper): Likewise.
19007         * sysdeps/mach/configure.in (MIG): Likewise.
19008         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19009         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19010         LIBC_CONFIG_VAR.
19011         (config-cflags-avx): Likewise.
19012         (config-cflags-sse2avx): Likewise.
19013         (have-mfma4): Likewise.
19014         (config-cflags-novzeroupper): Likewise.
19015         * configure: Regenerated.
19016         * sysdeps/i386/configure: Likewise.
19017         * sysdeps/mach/configure: Likewise.
19018         * sysdeps/sparc/configure: Likewise.
19019         * sysdeps/x86_64/configure: Likewise.
19021 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19023         [BZ #14812]
19024         * locale/programs/localedef.c (options): Put N_ translation marker
19025         on argument names, not just descriptions.
19027 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19029         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19031 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19033         [BZ #14176]
19034         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19036 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19038         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19039         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19040         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19041         [!BEFORE_ABORT] (before_abort): New function.
19042         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19043         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19044         (writev_for_fatal): New function.
19045         (WRITEV_FOR_FATAL): New macro; call that.
19046         (backtrace_and_maps): New function.
19047         (BEFORE_ABORT): New macro; call that.
19048         (struct str_list): Type removed.
19049         (__libc_message, __libc_fatal): Functions removed.
19050         Include <sysdeps/posix/libc_fatal.c> instead.
19052 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19054         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19055         constants.
19056         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19057         double constants.
19059 2013-03-19  Andreas Schwab  <schwab@suse.de>
19061         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19062         * sysdeps/gnu/configure: Regenerate.
19064         * configure.in: Substitute libc_cv_rtlddir.
19065         * configure: Regenerate.
19066         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19067         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19068         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19069         * elf/Makefile (install-others, CFLAGS-interp.c)
19070         (ldso_install, common-ldd-rewrite): Likewise.
19071         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19072         $(inst_slibdir)/$(rtld-installed-name).
19073         * scripts/rellns-sh: Add -p option.
19074         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19075         for source.
19077 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19079         * manual/nptl.texi: Renamed to ...
19080         * manual/threads.texi: ... this.
19081         * manual/Makefile (chapters): Update.
19083 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19085         [BZ #14812]
19086         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19087         on argument names, not just descriptions.
19088         * malloc/memusagestat.c (options): Likewise.
19089         * nss/getent.c (options): Likewise.
19091 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19093         [BZ #14812]
19094         * iconv/iconv_prog.c (options): Put N_ translation marker
19095         on argument names, not just descriptions.
19096         * iconv/iconvconfig.c (options): Likewise.
19098 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19100         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19101         implementation which is faster on all x86_64 architectures.
19102         Tested on AMD, Intel Nehalem, SNB, IVB.
19103         * sysdeps/x86_64/strnlen.S: Likewise.
19105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19106         Remove all multiarch strlen and strnlen versions.
19107         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19108         Remove strlen and strnlen related parts.
19110         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19111         Inline strlen part.
19112         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19114         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19115         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19116         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19117         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19118         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19119         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19121 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19123         * manual/memory.texi (Malloc Tunable Parameters):
19124         Sort parameters alphabetically. Add comments for missing entries.
19126 2013-03-17  David S. Miller  <davem@davemloft.net>
19128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19130 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19132         [BZ #15283]
19133         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19134         for arguments at most half maximum finite value.
19135         * math/libm-test.inc (j0_test): Add more tests.
19136         (j1_test): Likewise.
19137         (y0_test): Likewise.
19138         (y1_test): Likewise.
19139         * sysdeps/i386/fpu/libm-test-ulps: Update.
19140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19142         [BZ #14155]
19143         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19144         1 / x and functions P and Q for arguments above 0x1p256L.
19145         (__ieee754_y0l): Likewise.
19146         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19147         (__ieee754_y1l): Likewise.
19148         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19149         (j1_test): Likewise.
19150         (y0_test): Likewise.
19151         (y1_test): Likewise.
19153 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19155         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19156         variable.
19158 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19160         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19161         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19162         zero since it's initialized to EXEC_PAGESIZE.
19164         * sysdeps/unix/sysv/linux/ldsodefs.h
19165         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19166         * sysdeps/generic/ldsodefs.h: ... here.
19168 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19170         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19172         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19173         math/test-snan.c.
19174         * math/test-snan.c: Renamed from
19175         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19176         * math/Makefile (tests): Add test-snan.
19177         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19178         test-powerpc-snan.
19180         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19181         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19182         functions.
19183         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19184         __builtin_nan family of functions.
19185         * math/libm-test.inc (initialize): Initialize qnan_value with
19186         __builtin_nan family of functions.
19187         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19188         Remove variables.
19189         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19190         Remove functions.
19191         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19192         storage class.  Initialize qNaN_var and sNaN_var with
19193         __builtin_nan and __builtin_nans families of functions,
19194         respectively.
19196         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19197         (sqrt_test): Remove duplicate test with qNaN input.
19198         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19199         (round_test, signbit_test, significand_test): Note missing +/-Inf
19200         as well as qNaN tests.
19202         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19203         qNaN_var.  Fix a few strings, too.
19204         * math/libm-test.inc (nan_value): Rename to qnan_value.
19205         * math/gen-libm-test.pl (%beautify): Adjust to that.
19206         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19207         * math/test-misc.c (main): Likewise.
19208         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19209         to __qnan_bytes, and __qnan_union, respectively.
19210         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19211         Likewise.
19212         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19213         and lqnanval, respectively.
19214         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19215         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19216         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19217         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19219         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19220         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19221         doubles.
19223         * math/test-misc.c (main): Fix copy'n'pastos.
19224         * misc/tst-efgcvt.c (special): Likewise.
19226         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19227         Remove declarations.
19229 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19231         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19232         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19233         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19234         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19236 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19239         macro to return vdso values correctly in IFUNC implementations.
19240         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19241         Optimization by using IFUNC.
19243 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19244             Richard Henderson  <rth@redhat.com>
19245             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19247         * Makefile.in (bench): New target.
19248         * NEWS: Mention the benchmark framework.
19249         * Rules (bench): Likewise.
19250         (binaries-bench): Generate binaries for functions to
19251         benchmark.
19252         * benchtests/Makefile: New makefile for benchmark tests.
19253         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19254         programs.
19255         * benchtests/exp-inputs: New input file for EXP function.
19256         * benchtests/pow-inputs: New input file for POW function.
19257         * scripts/bench.pl: New script to generate source files for
19258         benchmark programs.
19260 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19262         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19263         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19264         computations on mantissa.  Use macros for rounding and
19265         division.
19266         (denorm): Likewise.
19267         (__dbl_mp): Likewise.
19268         (add_magnitudes): Likewise.
19269         (sub_magnitudes): Likewise.
19270         (__mul): Likewise.
19271         (__sqr): Likewise.
19272         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19273         powers of two in terms of TWOPOW macro.
19274         (mp_no): Make type of mantissa as MANTISSA_T.
19275         [!RADIXI]: Define RADIXI.
19276         [!TWO52]: Define TWO52.
19277         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19279         * manual/nptl.texi (cindex): Modify threads to pthreads.
19281 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19283         * sysdeps/x86_64/preconfigure: Regenerated.
19285 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19287         [BZ #14155]
19288         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19289         0x1p28 and above.
19290         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19291         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19292         0x1p28 and above.
19293         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19294         * math/libm-test.inc (j0_test): Do not allow one spurious
19295         underflow exception.
19296         (y1_test): Likewise.
19298 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19300         * manual/Makefile (chapters): Add nptl.
19301         * manual/debug.texi (Debugging Support): Add link to Threads
19302         chapter.
19303         * manual/nptl.texi: New file.
19305         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19307 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19309         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19310         for non-NULL pointer before the memory validity test. Pointed
19311         out by Holger Brunck <holger.brunck@keymile.com>.
19313 2013-03-13  Andreas Schwab  <schwab@suse.de>
19315         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19316         instead of .os.
19318 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19320         * timezone/zic.c: Update from tzcode 2013b.
19322 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19324         * manual/install.texi (Configuring and compiling):
19325         Mention i686 and i586.
19326         * INSTALL: Regenerate.
19328 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19330         * sysdeps/init_array/elf-init.c: New file.
19331         * csu/elf-init.c
19332         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19333         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19335         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19336         __gmon_start__ as global, but as static with a .preinit_array pointer.
19337         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19338         * sysdeps/init_array/crti.S: New file, empty except for comments.
19339         * sysdeps/init_array/crtn.S: Likewise.
19341 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19343         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19344         definining bcopy.
19345         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19346         Remove Prefer_SSE_for_memop.
19347         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19348         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19349         HAS_PREFER_SSE_FOR_MEMOP.
19350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19351         memset-x86-64.
19352         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19353         Remove bzero, memset ifunc support.
19354         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19355         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19356         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19357         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19359 2013-03-11  Andreas Schwab  <schwab@suse.de>
19361         [BZ #15234]
19362         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19363         by SHLIB_COMPAT.
19364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19365         (GLIBC_2.16): Remove pthread_atfork.
19367 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19369         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19370         (ptestcases.h): Likewise.
19372 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19374         * Makeconfig ($(common-objpfx)config.status): Depend on
19375         sysdeps/*/preconfigure{,.in} too.
19377 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19379         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19380         (__free_hook): Use void * instead of __malloc_ptr_t.
19381         (__malloc_hook): Likewise.
19382         (__realloc_hook): Likewise.
19383         (__memalign_hook): Likewise.
19384         (__after_morecore_hook): Likewise.
19385         * malloc/arena.c (save_malloc_hook): Likewise.
19386         (save_free_hook): Likewise.
19387         * malloc/hooks.c (malloc_hook_ini): Likewise.
19388         (realloc_hook_ini): Likewise.
19389         (memalign_hook_ini): Likewise.
19390         * malloc/malloc.c (malloc_hook_ini): Likewise.
19391         (realloc_hook_ini): Likewise.
19392         (memalign_hook_ini): Likewise.
19393         (__free_hook): Likewise.
19394         (__malloc_hook): Likewise.
19395         (__realloc_hook): Likewise.
19396         (__memalign_hook): Likewise.
19397         (__libc_malloc): Likewise.
19398         (__libc_free): Likewise.
19399         (__libc_realloc): Likewise.
19400         (__libc_memalign): Likewise.
19401         (__libc_valloc): Likewise.
19402         (__libc_pvalloc): Likewise.
19403         (__libc_calloc): Likewise.
19404         (__posix_memalign): Likewise.
19405         * malloc/morecore.c (__sbrk): Likewise.
19406         (__default_morecore): Likewise.
19408         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19410         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19411         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19412         __malloc_ptrdiff_t.
19414         * malloc/malloc.h (__malloc_size_t): Remove macro.
19415         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19416         __malloc_size_t.
19417         (old_memalign_hook): Likewise.
19418         (old_realloc_hook): Likewise.
19419         (struct hdr): Likewise.
19420         (flood): Likewise.
19421         (mallochook): Likewise.
19422         (memalignhook): Likewise.
19423         (reallochook): Likewise.
19424         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19425         (tr_old_realloc_hook): Likewise.
19426         (tr_old_memalign_hook): Likewise.
19427         (tr_mallochook): Likewise.
19428         (tr_reallochook): Likewise.
19429         (tr_memalignhook): Likewise.
19431 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19433         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19434         default_ldbl_pack and using as default implementation.
19435         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19436         implementation.
19437         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19438         redundant definition.
19439         (ldbl_insert_mantissa): Likewise.
19440         (ldbl_canonicalize): Likewise.
19441         (ldbl_nearbyint): Likewise.
19442         (ldbl_pack): Rename to ldbl_pack_ppc.
19443         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19444         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19445         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19447 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19450         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19451         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19452         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19454         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19455         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19456         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19458 2013-03-07  Andreas Jaeger  <aj@suse.de>
19460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19461         bits/mman-linux.h.
19463 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19465         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19466         Include mpa.h and declare __MPEXP.
19467         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19468         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19469         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19470         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19471         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19472         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19473         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19475         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19476         (__slowpow): Use long double EXPL and LOGL functions to
19477         compute POW.
19478         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19479         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19480         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19481         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19482         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19483         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19486         intermediate variable to calculate exponent.
19487         (__sqr): Likewise.
19488         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19489         Likewise.
19490         (__sqr): Likewise.
19492         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19493         [!NO__SQR]: Define __sqr.
19494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19495         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19496         sysdeps/ieee754/dbl-64/mpa.c.
19497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19499         [BZ #12723]
19500         * posix/Makefile (tests): Add tst-pathconf.
19501         * posix/tst-pathconf.c: New test case.
19502         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19503         _PC_PIPE_BUF.
19504         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19506 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19508         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19510 2013-03-06  Andreas Jaeger  <aj@suse.de>
19512         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19513         definition via __MAP_ANONYMOUS.
19515         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19516         it's not part of Linux headers.
19518         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19519         (MAP_HUGE_MASK): Define.
19521         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19522         Define.
19523         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19524         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19525         Define.
19526         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19527         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19528         Define.
19529         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19530         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19531         Define.
19532         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19534         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19535         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19536         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19537         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19538         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19539         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19541         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19542         Handle f2fs.
19544         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19545         Handle f2fs and efivarfs.
19547         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19548         f2fs.
19550         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19551         (EFIVARFS_MAGIC): Add.
19552         (F2FS_LINK_MAX): Add.
19554 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19556         * stdio-common/vfprintf.c: Replace __builtin_expect with
19557         __glibc_unlikely.
19559 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19561         [BZ #13550]
19562         * sysdeps/generic/bp-sym.h: Remove file.
19563         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19564         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19565         <bp-sym.h> and <bp-asm.h>.
19566         (__longjmp): Don't use BP_SYM.
19567         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19568         and <bp-asm.h>.
19569         (memcpy): Don't use BP_SYM.
19570         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19571         <bp-sym.h> and <bp-asm.h>.
19572         (memcpy): Don't use BP_SYM.
19573         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19574         <bp-asm.h>.
19575         (memcpy): Don't use BP_SYM.
19576         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19577         <bp-asm.h>.
19578         (memset): Don't use BP_SYM.
19579         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19580         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19581         (__bzero): Don't use BP_SYM.
19582         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19583         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19584         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19585         <bp-sym.h> and <bp-asm.h>.
19586         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19587         pointers.
19588         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19589         <bp-sym.h> and <bp-asm.h>.
19590         (memcpy): Don't use BP_SYM.
19591         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19592         <bp-sym.h> and <bp-asm.h>.
19593         (memset): Don't use BP_SYM.
19594         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19595         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19596         (__bzero): Don't use BP_SYM.
19597         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19598         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19599         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19600         <bp-sym.h> and <bp-asm.h>.
19601         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19602         pointers.
19603         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19604         <bp-sym.h> and <bp-asm.h>.
19605         (memcpy): Don't use BP_SYM.
19606         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19607         <bp-sym.h> and <bp-asm.h>.
19608         (memset): Don't use BP_SYM.
19609         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19610         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19611         (__bzero): Don't use BP_SYM.
19612         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19613         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19614         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19615         <bp-sym.h> and <bp-asm.h>.
19616         (__memchr): Don't use BP_SYM.
19617         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19618         <bp-sym.h> and <bp-asm.h>.
19619         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19620         pointers.
19621         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19622         <bp-sym.h> and <bp-asm.h>.
19623         (memcpy): Don't use BP_SYM.
19624         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19625         <bp-sym.h> and <bp-asm.h>.
19626         (__mempcpy): Don't use BP_SYM.
19627         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19628         <bp-sym.h> and <bp-asm.h>.
19629         (__memrchr): Don't use BP_SYM.
19630         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19631         <bp-sym.h> and <bp-asm.h>.
19632         (memset): Don't use BP_SYM.
19633         (__bzero): Likewise.
19634         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19635         <bp-sym.h> and <bp-asm.h>.
19636         (__rawmemchr): Don't use BP_SYM.
19637         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19638         <bp-sym.h> and <bp-asm.h>.
19639         (__STRCMP): Don't use BP_SYM.
19640         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19641         <bp-sym.h> and <bp-asm.h>.
19642         (strchr): Don't use BP_SYM.
19643         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19644         <bp-sym.h> and <bp-asm.h>.
19645         (__strchrnul): Don't use BP_SYM.
19646         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19647         <bp-sym.h> and <bp-asm.h>.
19648         (strlen): Don't use BP_SYM.
19649         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19650         <bp-sym.h> and <bp-asm.h>.
19651         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19652         pointers.
19653         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19654         <bp-sym.h> and <bp-asm.h>.
19655         (__strnlen): Don't use BP_SYM.
19656         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19657         <bp-sym.h> and <bp-asm.h>.
19658         (__GI__setjmp): Don't use BP_SYM.
19659         (_setjmp): Likewise.
19660         (__sigsetjmp): Likewise.
19661         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19662         (L(start_addresses)): Don't use BP_SYM.
19663         (_start): Likewise.
19664         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19665         <bp-asm.h>.
19666         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19667         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19668         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19669         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19670         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19671         <bp-asm.h>.
19672         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19673         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19674         about bounded pointers.
19675         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19676         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19677         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19678         <bp-asm.h>.
19679         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19680         about bounded pointers.  Remove GKM FIXME comments.
19681         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19682         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19683         <bp-asm.h>.
19684         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19685         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19686         Remove GKM FIXME comments.
19687         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19688         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19689         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19690         <bp-asm.h>.
19691         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19692         about bounded pointers.  Remove GKM FIXME comment.
19693         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19694         and <bp-asm.h>.
19695         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19696         pointers.
19697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19698         <bp-sym.h> and <bp-asm.h>.
19699         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19701         <bp-sym.h> and <bp-asm.h>.
19702         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19703         comment.
19705 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19707         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19708         call free(NULL).
19710 2013-03-05  David S. Miller  <davem@davemloft.net>
19712         * po/es.po: Update from translation team.
19714 2013-03-05  Andreas Jaeger  <aj@suse.de>
19716         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19717         <bits/mman-linux.h>.
19718         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19719         is fine.
19720         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19721         <bits/mman-linux.h> to end of file.
19722         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19723         is fine.
19724         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19725         <bits/mman-linux.h> to end of file.
19726         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19727         is fine.
19728         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19729         <bits/mman-linux.h> to end of file.
19731         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19732         (MCL_CURRENT, MCL_FUTURE): Define here.
19734 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19736         [BZ #15232]
19737         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19738         attribute_hidden.
19739         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19741 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19743         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19744         fourth parameter needed for rt_sigprocmask syscall.
19745         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19746         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19747         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19748         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19749         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19750         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19752 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19754         [BZ #13550]
19755         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19756         comment about bounded pointers.
19757         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19758         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19760 2013-03-04  Andreas Jaeger  <aj@suse.de>
19762         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19763         common definitions.
19765         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19766         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19767         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19768         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19769         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19770         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19772 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19774         [BZ #15055]
19775         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19776         __ieee754_sqrl instead of __sqrl.
19778 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19780         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19781         * sysdeps/powerpc/fpu_control.h: ... here.
19782         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19783         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19784         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19785         * sysdeps/powerpc/bits/mathinline.h: ... here.
19787 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19789         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19790         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19791         to just [NEED_DL_SYSINFO_DSO].
19792         * elf/dl-support.c: Likewise.
19793         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19794         * elf/rtld.c (dl_main): Likewise.
19795         * elf/setup-vdso.h (setup_vdso): Likewise.
19796         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19797         * sysdeps/unix/sysv/linux/dl-sysdep.c
19798         (_dl_discover_osversion): Likewise.
19800 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19802         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19803         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19805 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19807         * NEWS: Mention libm performance improvements and non-x86 PI
19808         futex support.
19810         * csu/libc-start.c (__pthread_initialize_minimal): Change
19811         function arguments.
19812         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19814 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19816         [BZ #13550]
19817         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19818         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19819         <bp-sym.h> and <bp-asm.h>.
19820         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19821         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19822         and <bp-asm.h>.
19823         (memcpy): Don't use BP_SYM.
19824         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19825         <bp-asm.h>.
19826         (__mpn_add_n): Don't use BP_SYM.
19827         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19828         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19829         and <bp-asm.h>.
19830         (__mpn_addmul_1): Don't use BP_SYM.
19831         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19832         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19833         <bp-sym.h>.
19834         (_setjmp): Don't use BP_SYM.
19835         (__novmx_setjmp): Likewise.
19836         (__GI__setjmp): Likewise.
19837         (__vmx_setjmp): Likewise.
19838         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19839         <bp-sym.h>.
19840         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19841         (__bzero): Don't use BP_SYM.
19842         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19843         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19844         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19845         <bp-sym.h> and <bp-asm.h>.
19846         (memcpy): Don't use BP_SYM.
19847         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19848         <bp-sym.h> and <bp-asm.h>.
19849         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19850         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19851         <bp-sym.h> and <bp-asm.h>.
19852         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19853         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19854         <bp-asm.h>.
19855         (__mpn_lshift): Don't use BP_SYM.
19856         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19857         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19858         <bp-asm.h>.
19859         (memset): Don't use BP_SYM.
19860         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19861         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19862         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19863         <bp-asm.h>.
19864         (__mpn_mul_1): Don't use BP_SYM.
19865         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19866         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19867         <bp-sym.h> and <bp-asm.h>.
19868         (memcmp): Don't use BP_SYM.
19869         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19870         <bp-sym.h> and <bp-asm.h>.
19871         (memcpy): Don't use BP_SYM.
19872         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19873         <bp-sym.h> and <bp-asm.h>.
19874         (memset): Don't use BP_SYM.
19875         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19876         <bp-sym.h> and <bp-asm.h>.
19877         (strncmp): Don't use BP_SYM.
19878         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19879         <bp-sym.h> and <bp-asm.h>.
19880         (memcpy): Don't use BP_SYM.
19881         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19882         <bp-sym.h> and <bp-asm.h>.
19883         (memset): Don't use BP_SYM.
19884         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19885         <bp-sym.h> and <bp-asm.h>.
19886         (__memchr): Don't use BP_SYM.
19887         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19888         <bp-sym.h> and <bp-asm.h>.
19889         (memcmp): Don't use BP_SYM.
19890         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19891         <bp-sym.h> and <bp-asm.h>.
19892         (memcpy): Don't use BP_SYM.
19893         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19894         <bp-sym.h> and <bp-asm.h>.
19895         (__mempcpy): Don't use BP_SYM.
19896         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19897         <bp-sym.h> and <bp-asm.h>.
19898         (__memrchr): Don't use BP_SYM.
19899         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19900         <bp-sym.h> and <bp-asm.h>.
19901         (memset): Don't use BP_SYM.
19902         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19903         <bp-sym.h> and <bp-asm.h>.
19904         (__rawmemchr): Don't use BP_SYM.
19905         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19906         <bp-sym.h> and <bp-asm.h>.
19907         (__STRCMP): Don't use BP_SYM.
19908         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19909         <bp-sym.h> and <bp-asm.h>.
19910         (strchr): Don't use BP_SYM.
19911         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19912         <bp-sym.h> and <bp-asm.h>.
19913         (__strchrnul): Don't use BP_SYM.
19914         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19915         <bp-sym.h> and <bp-asm.h>.
19916         (strlen): Don't use BP_SYM.
19917         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19918         <bp-sym.h> and <bp-asm.h>.
19919         (strncmp): Don't use BP_SYM.
19920         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19921         <bp-sym.h> and <bp-asm.h>.
19922         (__strnlen): Don't use BP_SYM.
19923         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19924         <bp-asm.h>.
19925         (__mpn_rshift): Don't use BP_SYM.
19926         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19927         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19928         <bp-sym.h> and <bp-asm.h>.
19929         (__sigsetjmp): Don't use BP_SYM.
19930         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19931         (L(start_addresses)): Don't use BP_SYM.
19932         (_start): Likewise.
19933         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19934         <bp-asm.h>.
19935         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19936         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19937         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19938         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19939         <bp-asm.h>.
19940         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19941         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19942         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19943         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19944         <bp-asm.h>.
19945         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19946         comments.
19947         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19948         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19949         <bp-asm.h>.
19950         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
19951         FIXME comments.
19952         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19953         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19954         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19955         <bp-asm.h>.
19956         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19957         comment.
19958         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19959         and <bp-asm.h>.
19960         (strncmp): Don't use BP_SYM,
19961         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19962         <bp-asm.h>.
19963         (__mpn_sub_n): Don't use BP_SYM.
19964         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19965         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19966         and <bp-asm.h>.
19967         (__mpn_submul_1): Don't use BP_SYM.
19968         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19970         <bp-sym.h> and <bp-asm.h>.
19971         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19973         <bp-sym.h> and <bp-asm.h>.
19974         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19975         comment.
19977 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19979         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19980         Use ZK to minimize writes to Z.
19981         (sub_magnitudes): Simplify code a bit.
19982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19983         Use ZK to minimize writes to Z.
19984         (sub_magnitudes): Simplify code a bit.
19986 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19988         * csu/gmon-start.c: Add special exception to license text.
19990 2013-02-27  Richard Henderson  <rth@redhat.com>
19992         * scripts/config.guess: Update from config.git.
19993         * scripts/config.sub: Likewise.
19995 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19997         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19999         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20001         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20003         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20005         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20007 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20009         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20010         [$(build-shared = yes].
20012 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20014         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20015         (__mul): Reduce iterations for calculating mantissa.
20017         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20018         MPTWO.
20019         (__mpranred): Likewise.
20021         [BZ #15160]
20022         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20023         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20025 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20027         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20028         Define __attribute__.
20030 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20032         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20033         unused.
20034         * posix/regex_internal.h (__attribute): Remove.
20035         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20036         (re_string_context_at): Likewise.
20037         (bitset_not): Use __attribute__ and mark function as possibly
20038         unused.
20039         (bitset_merge): Likewise.
20040         (bitset_mask): Likewise.
20041         (re_string_char_size_at): Likewise.
20042         (re_string_wchar_at): Likewise.
20043         (re_string_elem_size_at): Likewise.
20045 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20047         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20048         code.
20049         (cc32): Likewise.
20051         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20052         (__acr): Likewise.
20053         (__cpy): Likewise.
20054         (norm): Likewise.
20055         (denorm): Likewise.
20056         (__dbl_mp): Likewise.
20057         (add_magnitudes): Likewise.
20058         (sub_magnitudes): Likewise.
20059         (__mul): Likewise.
20060         (__inv): Likewise.
20062         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20063         style.
20065         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20066         style.
20068         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20069         code.
20071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20072         up changes with default code.
20073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20074         Likewise.
20076 2013-02-24  Allan McRae  <allan@archlinux.org>
20078         * manual/socket.texi (The Internet Namespace): Order menu items
20079         to match that in the file.
20081         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20082         node listing of the info page menu.
20084 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20086         [BZ #13550]
20087         * sysdeps/i386/bp-asm.h: Remove file.
20088         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20089         (PARMS): Do not use macros from bp-asm.h.
20090         (S1): Likewise.
20091         (S2): Likewise.
20092         (SIZE): Likewise.
20093         (__mpn_add_n): Do not use BP_SYM
20094         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20095         "bp-asm.h".
20096         (PARMS): Do not use macros from bp-asm.h.
20097         (S1): Likewise.
20098         (SIZE): Likewise.
20099         (__mpn_addmul_1): Do not use BP_SYM
20100         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20101         "bp-asm.h".
20102         (PARMS): Do not use macros from bp-asm.h.
20103         (SIGMSK): Likewise.
20104         (_setjmp): Likewise.  Do not use BP_SYM.
20105         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20106         "bp-asm.h".
20107         (PARMS): Do not use macros from bp-asm.h.
20108         (SIGMSK): Likewise.
20109         (setjmp): Likewise.  Do not use BP_SYM.
20110         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20111         "bp-asm.h".
20112         (PARMS): Do not use macros from bp-asm.h.
20113         (__frexp): Do not use BP_SYM.
20114         (frexp): Likewise.
20115         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20116         "bp-asm.h".
20117         (PARMS): Do not use macros from bp-asm.h.
20118         (__frexpf): Do not use BP_SYM.
20119         (frexpf): Likewise.
20120         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20121         "bp-asm.h".
20122         (PARMS): Do not use macros from bp-asm.h.
20123         (__frexpl): Do not use BP_SYM.
20124         (frexpl): Likewise.
20125         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20126         "bp-asm.h".
20127         (PARMS): Do not use macros from bp-asm.h.
20128         (__remquo): Do not use BP_SYM.
20129         (remquo): Likewise.
20130         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20131         "bp-asm.h".
20132         (PARMS): Do not use macros from bp-asm.h.
20133         (__remquof): Do not use BP_SYM.
20134         (remquof): Likewise.
20135         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20136         "bp-asm.h".
20137         (PARMS): Do not use macros from bp-asm.h.
20138         (__remquol): Do not use BP_SYM.
20139         (remquol): Likewise.
20140         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20141         "bp-asm.h".
20142         (PARMS): Do not use macros from bp-asm.h.
20143         (DEST): Likewise.
20144         (SRC): Likewise.
20145         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20146         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20147         "bp-asm.h".
20148         (PARMS): Do not use macros from bp-asm.h.
20149         (strlen): Do not use BP_SYM.
20150         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20151         "bp-asm.h".
20152         (PARMS): Do not use macros from bp-asm.h.
20153         (S1): Likewise.
20154         (S2): Likewise.
20155         (SIZE): Likewise.
20156         (__mpn_add_n): Do not use BP_SYM.
20157         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20158         "bp-asm.h".
20159         (PARMS): Do not use macros from bp-asm.h.
20160         (S1): Likewise.
20161         (SIZE): Likewise.
20162         (__mpn_addmul_1): Do not use BP_SYM.
20163         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20164         weak_alias.
20165         (bzero): Likewise.
20166         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20167         "bp-asm.h".
20168         (PARMS): Do not use macros from bp-asm.h.
20169         (S): Likewise.
20170         (SIZE): Likewise.
20171         (__mpn_lshift): Do not use BP_SYM.
20172         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20173         "bp-asm.h".
20174         (PARMS): Do not use macros from bp-asm.h.
20175         (DEST): Likewise.
20176         (SRC): Likewise.
20177         (LEN): Likewise.
20178         (memcpy): Likewise.  Do not use BP_SYM.
20179         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20180         libc_hidden_def and weak_alias.
20181         (mempcpy): Do not use BP_SYM in weak_alias.
20182         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20183         "bp-asm.h".
20184         (PARMS): Do not use macros from bp-asm.h.
20185         (DEST): Likewise.
20186         (LEN): Likewise.
20187         [!BZERO_P] (CHR): Likewise.
20188         (memset): Likewise.  Do not use BP_SYM.
20189         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20190         "bp-asm.h".
20191         (PARMS): Do not use macros from bp-asm.h.
20192         (S1): Likewise.
20193         (SIZE): Likewise.
20194         (__mpn_mul_1): Do not use BP_SYM.
20195         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20196         "bp-asm.h".
20197         (PARMS): Do not use macros from bp-asm.h.
20198         (S): Likewise.
20199         (SIZE): Likewise.
20200         (__mpn_rshift): Do not use BP_SYM.
20201         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20202         "bp-asm.h".
20203         (PARMS): Do not use macros from bp-asm.h.
20204         (STR): Likewise.
20205         (CHR): Likewise.
20206         (strchr): Likewise.  Do not use BP_SYM.
20207         (index): Do not use BP_SYM in weak_alias.
20208         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20209         "bp-asm.h".
20210         (PARMS): Do not use macros from bp-asm.h.
20211         (DEST): Likewise.
20212         (SRC): Likewise.
20213         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20214         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20215         "bp-asm.h".
20216         (PARMS): Do not use macros from bp-asm.h.
20217         (strlen): Do not use BP_SYM.
20218         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20219         "bp-asm.h".
20220         (PARMS): Do not use macros from bp-asm.h.
20221         (S1): Likewise.
20222         (S2): Likewise.
20223         (SIZE): Likewise.
20224         (__mpn_sub_n): Do not use BP_SYM.
20225         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20226         "bp-asm.h".
20227         (PARMS): Do not use macros from bp-asm.h.
20228         (S1): Likewise.
20229         (SIZE): Likewise.
20230         (__mpn_submul_1): Do not use BP_SYM.
20231         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20232         "bp-asm.h".
20233         (PARMS): Do not use macros from bp-asm.h.
20234         (S1): Likewise.
20235         (S2): Likewise.
20236         (SIZE): Likewise.
20237         (__mpn_add_n): Do not use BP_SYM.
20238         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20239         weak_alias.
20240         (bzero): Likewise.
20241         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20242         "bp-asm.h".
20243         (PARMS): Do not use macros from bp-asm.h.
20244         (BLK2): Likewise.
20245         (LEN): Likewise.
20246         (memcmp): Do not use BP_SYM.
20247         (bcmp): Do not use BP_SYM in weak_alias.
20248         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20249         "bp-asm.h".
20250         (PARMS): Do not use macros from bp-asm.h.
20251         (DEST): Likewise.
20252         (SRC): Likewise.
20253         (LEN): Likewise.
20254         (memcpy): Likewise.  Do not use BP_SYM.
20255         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20256         "bp-asm.h".
20257         (PARMS): Do not use macros from bp-asm.h.
20258         (DEST): Likewise.
20259         (SRC): Likewise.
20260         (LEN): Likewise.
20261         (memmove): Likewise.  Do not use BP_SYM.
20262         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20263         "bp-asm.h".
20264         (PARMS): Do not use macros from bp-asm.h.
20265         (DEST): Likewise.
20266         (SRC): Likewise.
20267         (LEN): Likewise.
20268         (__mempcpy): Likewise.  Do not use BP_SYM.
20269         (mempcpy): Do not use BP_SYM in weak_alias.
20270         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20271         "bp-asm.h".
20272         (PARMS): Do not use macros from bp-asm.h.
20273         (DEST): Likewise.
20274         (LEN): Likewise.
20275         [!BZERO_P] (CHR): Likewise.
20276         (memset): Likewise.  Do not use BP_SYM.
20277         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20278         "bp-asm.h".
20279         (PARMS): Do not use macros from bp-asm.h.
20280         (STR2): Likewise.
20281         (strcmp): Do not use BP_SYM.
20282         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20283         "bp-asm.h".
20284         (PARMS): Do not use macros from bp-asm.h.
20285         (STR): Likewise.
20286         (DELIM): Likewise.
20287         [USE_AS_STRTOK_R] (SAVE): Likewise.
20288         (FUNCTION): Likewise.  Do not use BP_SYM.
20289         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20290         aliases.
20291         (strtok_r): Likewise.
20292         (__GI___strtok_r): Likewise.
20293         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20294         (PARMS): Do not use macros from bp-asm.h.
20295         (S): Likewise.
20296         (SIZE): Likewise.
20297         (__mpn_lshift): Do not use BP_SYM.
20298         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20299         (PARMS): Do not use macros from bp-asm.h.
20300         (STR): Likewise.
20301         (CHR): Likewise.
20302         (__memchr): Do not use BP_SYM.
20303         (memchr): Do not use BP_SYM in weak_alias.
20304         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20305         (PARMS): Do not use macros from bp-asm.h.
20306         (BLK2): Likewise.
20307         (LEN): Likewise.
20308         (memcmp): Do not use BP_SYM.
20309         (bcmp): Do not use BP_SYM in weak_alias.
20310         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20311         (PARMS): Do not use macros from bp-asm.h.
20312         (S1): Likewise.
20313         (SIZE): Likewise.
20314         (__mpn_mul_1): Do not use BP_SYM.
20315         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20316         "bp-asm.h".
20317         (PARMS): Do not use macros from bp-asm.h.
20318         (STR): Likewise.
20319         (CHR): Likewise.
20320         (__rawmemchr): Do not use BP_SYM.
20321         (rawmemchr): Do not use BP_SYM in weak_alias.
20322         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20323         (PARMS): Do not use macros from bp-asm.h.
20324         (S): Likewise.
20325         (SIZE): Likewise.
20326         (__mpn_rshift): Do not use BP_SYM.
20327         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20328         (PARMS): Do not use macros from bp-asm.h.
20329         (SIGMSK): Likewise.
20330         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20331         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20332         (_start): Do not use BP_SYM.
20333         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20334         (PARMS): Do not use macros from bp-asm.h.
20335         (DEST): Likewise.
20336         (SRC): Likewise.
20337         (__stpcpy): Likewise.  Do not use BP_SYM.
20338         (stpcpy): Do not use BP_SYM in weak_alias.
20339         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20340         "bp-asm.h".
20341         (PARMS): Do not use macros from bp-asm.h.
20342         (DEST): Likewise.
20343         (SRC): Likewise.
20344         (LEN): Likewise.
20345         (__stpncpy): Likewise.  Do not use BP_SYM.
20346         (stpncpy): Do not use BP_SYM in weak_alias.
20347         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20348         (PARMS): Do not use macros from bp-asm.h.
20349         (STR): Likewise.
20350         (CHR): Likewise.
20351         (strchr): Likewise.  Do not use BP_SYM.
20352         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20353         "bp-asm.h".
20354         (PARMS): Do not use macros from bp-asm.h.
20355         (STR): Likewise.
20356         (CHR): Likewise.
20357         (__strchrnul): Likewise.  Do not use BP_SYM.
20358         (strchrnul): Do not use BP_SYM in weak_alias.
20359         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20360         "bp-asm.h".
20361         (PARMS): Do not use macros from bp-asm.h.
20362         (STOP): Likewise.
20363         (strcspn): Do not use BP_SYM.
20364         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20365         "bp-asm.h".
20366         (PARMS): Do not use macros from bp-asm.h.
20367         (STR): Likewise.
20368         (STOP): Likewise.
20369         (strpbrk): Likewise.  Do not use BP_SYM.
20370         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20371         "bp-asm.h".
20372         (PARMS): Do not use macros from bp-asm.h.
20373         (STR): Likewise.
20374         (CHR): Likewise.
20375         (strrchr): Likewise.  Do not use BP_SYM.
20376         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20377         (PARMS): Do not use macros from bp-asm.h.
20378         (SKIP): Likewise.
20379         (strspn): Do not use BP_SYM.
20380         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20381         (PARMS): Do not use macros from bp-asm.h.
20382         (STR): Likewise.
20383         (DELIM): Likewise.
20384         (SAVE): Likewise.
20385         (FUNCTION): Likewise.  Do not use BP_SYM.
20386         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20387         aliases.
20388         (strtok_r): Likewise.
20389         (__GI___strtok_r): Likewise.
20390         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20391         (PARMS): Do not use macros from bp-asm.h.
20392         (S1): Likewise.
20393         (S2): Likewise.
20394         (SIZE): Likewise.
20395         (__mpn_sub_n): Do not use BP_SYM.
20396         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20397         "bp-asm.h".
20398         (PARMS): Do not use macros from bp-asm.h.
20399         (S1): Likewise.
20400         (SIZE): Likewise.
20401         (__mpn_submul_1): Do not use BP_SYM.
20402         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20403         <bp-sym.h>.
20404         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20405         and <bp-asm.h>.
20406         (PARMS): Do not use macros from bp-asm.h.
20407         (FLAGS): Likewise.
20408         (PTID): Likewise.
20409         (TLS): Likewise.
20410         (CTID): Likewise.
20411         (__clone): Do not use BP_SYM.
20412         (clone): Do not use BP_SYM in weak_alias.
20413         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20414         and <bp-asm.h>.
20415         (PARMS): Do not use macros from bp-asm.h.
20416         (LEN): Likewise.
20417         (__mmap64): Do not use BP_SYM.
20418         (mmap64): Do not use BP_SYM in weak_alias.
20419         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20420         <bp-sym.h> and <bp-asm.h>.
20421         (PARMS): Do not use macros from bp-asm.h.
20422         (__posix_fadvise64_l64): Do not use BP_SYM.
20423         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20424         (PARMS): Do not use macros from bp-asm.h.
20425         (NSOPS): Likewise.
20426         (semtimedop): Do not use BP_SYM.
20427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20428         and <bp-asm.h>.
20430 2013-02-21  Allan McRae  <allan@archlinux.org>
20432         * manual/message.texi (Charset conversion in gettext):
20433         Move @end statement to beginning of line.
20435 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20438         static.
20439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20440         Likewise.
20442         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20443         (denorm): Likewise.
20444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20447 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20449         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20450         tail-call to the resolved function if pltexit isn't needed.
20452 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20455         or Y being zero as being unlikely.
20456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20457         Likewise.
20459 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20461         * manual/nss.texi (System Databases and Name Service Switch):
20462         Remove frobnicate @pxref.
20464 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20466         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20467         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20469 2013-02-20  Petr Machata  <pmachata@redhat.com>
20471         * elf/elf.h (R_ARM_TARGET1): New macro.
20472         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20473         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20474         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20475         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20476         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20477         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20478         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20479         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20480         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20481         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20482         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20483         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20484         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20485         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20486         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20487         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20488         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20489         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20490         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20491         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20492         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20493         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20494         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20495         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20496         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20497         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20498         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20499         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20500         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20501         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20502         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20503         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20504         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20505         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20506         (R_ARM_THM_GOT_BREL12): Likewise.
20507         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20508         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20509         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20510         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20511         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20512         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20513         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20514         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20515         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20517 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20519         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20520         __attribute_used__ to __attribute__ ((unused)).
20522 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20524         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20525         powerpc mpa.c.
20526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20527         comment formatting.
20528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20530 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20532         [BZ #13550]
20533         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20534         Remove macro.
20535         (ENTER): Remove both macro definitions.
20536         (LEAVE): Likewise.
20537         (CHECK_BOUNDS_LOW): Likewise.
20538         (CHECK_BOUNDS_HIGH): Likewise.
20539         (CHECK_BOUNDS_BOTH): Likewise.
20540         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20541         (RETURN_BOUNDED_POINTER): Likewise.
20542         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20543         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20544         (POP_ERRNO_LOCATION_RETURN): Likewise.
20545         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20546         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20547         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20548         macros.
20549         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20550         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20551         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20552         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20553         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20554         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20555         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20556         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20557         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20558         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20559         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20560         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20561         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20562         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20563         removed macros.
20564         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20565         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20566         macros.
20567         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20568         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20569         * sysdeps/i386/i586/memset.S (memset): Likewise.
20570         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20571         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20572         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20573         macros.
20574         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20575         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20576         Change uses of L(2) to L(out).
20577         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20578         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20579         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20580         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20581         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20582         removed macros.
20583         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20584         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20585         macros.
20586         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20587         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20588         (RETURN): Do not use macro LEAVE.
20589         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20590         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20591         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20592         * sysdeps/i386/i686/memset.S (memset): Likewise.
20593         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20594         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20595         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20596         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20597         Likewise.
20598         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20599         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20600         L(1_2) and L(1_3) into L(1).
20601         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20602         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20603         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20604         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20605         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20606         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20607         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20608         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20609         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20610         macros.
20611         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20612         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20613         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20614         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20615         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20616         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20617         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20618         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20619         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20620         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20621         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20622         * sysdeps/i386/strspn.S (strspn): Likewise.
20623         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20624         conditional code.
20625         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20626         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20627         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20628         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20629         L(1_3) into L(1_1).
20630         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20631         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20632         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20633         macros.
20634         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20636 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20638         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20639         macro.
20641 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20643         * math/atest-exp.c (exp_mpn): Remove ROUND.
20644         * math/atest-exp2.c (exp_mpn): Likewise.
20645         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20647         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20648         * stdlib/tst-tls-atexit-lib.c: Likewise.
20649         * stdlib/tst-tls-atexit.c: Likewise.
20651 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20653         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20654         and __attribute_alloc_size__.
20656 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20658         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20659         __attribute_alloc_size__.
20660         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20661         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20663 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20665         * include/programs/xmalloc.h: New file.
20666         * catgets/gencat.c: Include it.
20667         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20668         * elf/pldd.c: Likewise.
20669         * iconv/iconv_charmap.c: Likewise.
20670         * iconv/iconvconfig.c: Likewise.
20671         * iconv/strtab.c: Likewise.
20672         * locale/programs/locale.c: Likewise.
20673         * locale/programs/localedef.h: Likewise.
20674         * locale/programs/simple-hash.c: Likewise.
20675         * nscd/nscd.h: Likewise.
20676         * nss/makedb.c: Likewise.
20677         * sysdeps/generic/ldconfig.h: Likewise.
20679 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20681         * Versions.def: Add GLIBC_2.18.
20682         * include/link.h (struct link_map): New member l_tls_dtor_count.
20683         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20684         (__call_tls_dtors): Likewise.
20685         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20686         __cxa_thread_atexit_impl.
20687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20688         Likewise.
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20690         Likewise.
20691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20692         Likewise.
20693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20694         Likewise.
20695         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20697         Likewise.
20698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20699         Likewise.
20700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20702         Likewise.
20703         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20704         (tests): Add test case tst-tls-atexit.
20705         (modules-names): Add shared library for tst-tls-atexit.
20706         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20707         (GLIBC_PRIVATE): Add __call_tls_dtors.
20708         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20709         for libstdc++.
20710         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20711         * stdlib/tst-tls-atexit.c: New test case.
20712         * stdlib/tst-tls-atexit-lib.c: New test case.
20714         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20716         * elf/Versions (ld): Add _dl_find_dso_for_object.
20717         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20718         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20719         (dl_open_worker): Use _dl_find_dso_for_object.
20720         * elf/dl-sym.c (do_sym): Likewise.
20721         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20723 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20725         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20726         Syntactic changes only.
20727         (_dl_runtime_profile): Do a tail-call to the resolved function.
20729 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20731         [BZ #13550]
20732         * sysdeps/x86_64/bp-asm.h: Remove file.
20733         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20734         <bp-sym.h> and <bp-asm.h>.
20735         (__clone): Do not use BP_SYM.
20736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20737         <bp-sym.h> and <bp-asm.h>.
20738         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20739         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20740         "bp-asm.h".
20741         (_setjmp): Do not use BP_SYM.
20742         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20743         "bp-asm.h".
20744         (setjmp): Do not use BP_SYM.
20745         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20746         libc_hidden_def.
20747         (mempcpy): Do not use BP_SYM in weak_alias.
20748         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20749         "bp-asm.h".
20750         (strchr): Do not use BP_SYM.
20751         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20752         "bp-asm.h".
20753         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20754         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20755         (_start): Do not use BP_SYM.
20756         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20757         "bp-asm.h".
20758         (strcat): Do not use BP_SYM.
20759         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20760         "bp-asm.h".
20761         (STRCMP): Do not use BP_SYM.
20762         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20763         "bp-asm.h".
20764         (STRCPY): Do not use BP_SYM.
20765         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20766         "bp-asm.h".
20767         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20768         "bp-asm.h".
20769         (FUNCTION): Do not use BP_SYM.
20770         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20771         weak_alias.
20772         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20774 2013-02-17  Andreas Jaeger  <aj@suse.de>
20776         * time/Versions: Sort entries.
20777         * string/Versions: Likewise.
20778         * resolv/Versions: Likewise.
20779         * posix/Versions: Likewise.
20780         * iconv/Versions: Likewise.
20781         * elf/Versions: Likewise.
20782         * wcsmbs/Versions: Likewise.
20784 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20786         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20787         loop termination condition.
20789         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20790         variable to calculate EZ.
20791         (__sqr): Likewise.
20793         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20794         the lower precision input.
20796 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20798         [BZ #13550]
20799         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20800         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20801         (run-via-rtld-prefix): Do not handle %-bp tests.
20802         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20803         (all-object-suffixes): Remove .ob.
20804         (bppfx): Remove variable.
20805         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20806         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20807         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20808         [$(build-bounded) = yes] (libtype.ob): Likewise.
20809         * Makerules (elide-routines.ob): Remove variable.
20810         (do-tests-clean): Do not handle *-bp.out.
20811         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20812         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20813         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20814         (tests): Do not include $(tests-bp.out).
20815         (xtests): Do not include $(xtests-bp.out).
20816         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20817         [$(build-bounded) = yes] ($(addprefix
20818         $(objpfx),$(binaries-bounded))): Remove rule.
20819         ($(objpfx)%-bp.out): Remove rule.
20820         * config.make.in (build-bounded): Remove variable.
20821         * crypt/Makefile [$(build-bounded) = yes]
20822         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20823         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20824         append to variable.
20825         [$(build-bounded) = yes] (install-lib): Likewise.
20826         [$(build-bounded) = yes] (generated): Likewise.
20827         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20828         Remove rule.
20829         * intl/Makefile [$(build-bounded) = yes]
20830         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20831         * math/Makefile [$(build-bounded) = yes]
20832         ($(tests:%=$(objpfx)%-bp): Likewise.
20833         * misc/Makefile [$(build-bounded) = yes]
20834         ($(objpfx)tst-tsearch-bp): Likewise.
20835         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20836         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20837         Remove dependency.
20838         * string/Makefile (o-objects.ob): Remove variable.
20839         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20840         (CFLAGS-.ob): Remove variable.
20841         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20842         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20843         both definitions of variable.
20844         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20845         (ASFLAGS-.ob): Remove variable.
20847 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20849         [BZ #13550]
20850         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20851         Remove __BOUNDED_POINTERS__ from condition.
20852         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20853         * string/bits/string2.h [!__NO_STRING_INLINES &&
20854         !__BOUNDED_POINTERS__]: Likewise.
20855         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20856         Likewise.
20857         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20858         Remove conditional code.
20859         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20860         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20861         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20862         condition.
20864         [BZ #13550]
20865         * csu/libc-start.c: Do not include <bp-sym.h>.
20866         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20867         * elf/dl-open.c: Do not include <bp-sym.h>.
20868         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20869         * math/fegetenv.c: Do not include <bp-sym.h>.
20870         (fegetenv): Do not use BP_SYM in versioned symbols.
20871         * nptl/sysdeps/pthread/bits/libc-lockP.h
20872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20873         <bp-sym.h>.
20874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20875         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20877         (__pthread_mutex_destroy): Likewise.
20878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20879         (__pthread_mutex_lock): Likewise.
20880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20881         (__pthread_mutex_trylock): Likewise.
20882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20883         (__pthread_mutex_unlock): Likewise.
20884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20885         (__pthread_mutexattr_init): Likewise.
20886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20887         (__pthread_mutexattr_destroy): Likewise.
20888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20889         (__pthread_mutexattr_settype): Likewise.
20890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20891         (__pthread_rwlock_init): Likewise.
20892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20893         (__pthread_rwlock_destroy): Likewise.
20894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20895         (__pthread_rwlock_rdlock): Likewise.
20896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20897         (__pthread_rwlock_tryrdlock): Likewise.
20898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20899         (__pthread_rwlock_wrlock): Likewise.
20900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20901         (__pthread_rwlock_trywrlock): Likewise.
20902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20903         (__pthread_rwlock_unlock): Likewise.
20904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20905         (__pthread_key_create): Likewise.
20906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20907         (__pthread_setspecific): Likewise.
20908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20909         (__pthread_getspecific): Likewise.
20910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20911         Likewise.
20912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20913         (_pthread_cleanup_push_defer): Likewise.
20914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20915         (_pthread_cleanup_pop_restore): Likewise.
20916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20917         (pthread_setcancelstate): Likewise.
20918         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20919         <bp-sym.h>.
20920         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20921         (memchr): Do not use BP_SYM in weak_alias.
20922         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20923         (fegetenv): Do not use BP_SYM in versioned symbols.
20924         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20925         (fesetenv): Do not use BP_SYM in versioned symbols.
20926         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20927         (feupdateenv): Do not use BP_SYM in versioned symbols.
20928         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20929         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20930         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20931         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20932         (open64): Do not use BP_SYM in weak_alias.
20933         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20934         (fegetenv): Do not use BP_SYM in versioned symbols.
20935         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20936         (fesetenv): Do not use BP_SYM in versioned symbols.
20937         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20938         (feupdateenv): Do not use BP_SYM in versioned symbols.
20939         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20940         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20941         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20942         (feraiseexcept): Do not use BP_SYM in versioned symbols.
20943         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20944         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20945         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20946         <bp-sym.h>.
20947         (__libc_start_main): Do not use BP_SYM.
20949 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20952         redundant return line.
20953         (norm): Likewise.
20954         (denorm): Likewise.
20955         (dbl_mp): Likewise.
20956         (sub_magnitudes): Likewise.
20957         (__add): Likewise.
20958         (__sub): Likewise.
20959         (__mul): Likewise.
20960         (__inv): Likewise.
20961         (__dvd): Likewise.
20962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20963         (norm): Likewise.
20964         (denorm): Likewise.
20965         (dbl_mp): Likewise.
20966         (sub_magnitudes): Likewise.
20967         (__add): Likewise.
20968         (__sub): Likewise.
20969         (__mul): Likewise.
20970         (__inv): Likewise.
20971         (__dvd): Likewise.
20973         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20974         instead of __mul.
20975         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20976         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20977         (cc32): Likewise.
20979         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20980         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20981         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20982         of __mul for squares.
20983         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20984         function
20985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20986         Likewise.
20987         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20988         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20990 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
20992         [BZ #13550]
20993         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20994         code.
20995         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20996         prototype or function definition.  Rename ubp_* variables and
20997         parameters.  Remove argv definitions conditional on
20998         [__BOUNDED_POINTERS__].
20999         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21000         * elf/dl-runtime.c (_dl_fixup): Likewise.
21001         * include/set-hooks.h (RUN_HOOK): Likewise.
21002         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21003         definition.
21004         * string/strcpy.c (strcpy): Do not use __unbounded.
21005         * sysdeps/generic/frame.h (struct layout): Likewise.
21006         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21007         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21008         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21009         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21010         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21011         (__backtrace): Likewise.
21012         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21013         use __ptrvalue.
21014         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21015         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21016         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21017         Likewise.
21018         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21019         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21020         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21021         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21022         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21023         Do not use __unbounded.
21024         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21025         Rename __unboundedrlimits parameter to rlimits in prototype.
21026         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21027         Do not use __unbounded.
21028         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21029         not use __ptrvalue.
21030         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21031         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21032         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21033         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21034         __ptrvalue or __unbounded.
21035         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21036         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21037         use __unbounded.
21038         (__new_msgctl): Do not use __ptrvalue.
21039         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21040         __unbounded.
21041         (__libc_msgrcv): Do not use __ptrvalue.
21042         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21043         startup_info): Do not use __unbounded.
21044         (__libc_start_main): Likewise.  Rename ubp_* variables and
21045         parameters.  Remove argv definitions conditional on
21046         [__BOUNDED_POINTERS__].
21047         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21048         __ptrvalue.
21049         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21050         use __unbounded.
21051         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21052         or __ptrvalue.
21053         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21054         use __unbounded.
21055         (__new_shmctl): Do not use __ptrvalue.
21056         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21057         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21058         Likewise.
21059         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21060         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21061         (__libc_sigaction): Likewise.
21062         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21063         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21064         Likewise.
21065         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21067 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21069         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21071         * string/mempcpy.c: Implement by calling memcpy.
21073 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21075         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21077         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21078         evaluation.
21080         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21081         values in the mantissa.
21083         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21084         minimize writes to Z.
21085         (sub_magnitudes): Simplify code a bit.
21087 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21089         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21090         from the message.  The linker prefixes all warnings with that already.
21092 2013-02-12  Andreas Schwab  <schwab@suse.de>
21094         [BZ #15078]
21095         * posix/regexec.c (extend_buffers): Add parameter min_len.
21096         (check_matching): Pass minimum needed length.
21097         (clean_state_log_if_needed): Likewise.
21098         (get_subexp): Likewise.
21099         * posix/Makefile (tests): Add bug-regex34.
21100         (bug-regex34-ENV): Define.
21101         * posix/bug-regex34.c: New file.
21103         [BZ #11561]
21104         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21105         elements compare against the byte sequence of it, not its name.
21106         * posix/Makefile (tests): Add bug-regex35.
21107         (bug-regex35-ENV): Define.
21108         * posix/bug-regex35.c: New file.
21110 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21112         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21113         comment.
21114         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21115         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21116         (CHECK_EOL): Add undef.
21118 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21120         * bits/stdlib-bsearch.h: New file.
21121         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21122         * stdlib/stdlib.h: Likewise.
21124 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21126         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21127         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21128         declaration.
21129         * manual/search.texi (Array Search Function): Add missing const in
21130         lfind prototype.
21131         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21132         declaration to use rlim_t.
21133         (Basic Scheduling Functions): Remove erroneous const from
21134         sched_getparam prototype.  Remove erroneous * from
21135         sched_get_priority_max and sched_get_priority_min prototypes.
21136         (Resource Usage): Fix summary @comment on vtimes to refer to
21137         sys/vtimes.h rather than vtimes.h.
21138         Add missing *s in vtimes prototype.
21139         (Limits on Resources): Fix ulimit prototype to return long int.
21140         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21141         prototypes to use long int rather than double.
21142         (BSD Random): Fix initstate and setstate to use char *, not void *.
21143         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21144         prototype to make second argument 'struct aiocb64 *const[]'.
21145         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21146         (Status of AIO Operations): Remove erroneous const in aio_return and
21147         aio_return64 prototypes.
21148         (Synchronizing I/O): Fix sync prototype to return void.
21149         * manual/startup.texi (Suboptions): Remove an erroneous const in
21150         getsubopt prototype.
21151         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21152         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21153         use size_t rather than int.
21154         (Scanning All Users): Likewise for getpwent_r.
21155         (Setting Groups): Add missing const to setgroups prototype.
21156         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21157         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21158         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21159         'const void *' rather than 'const char *'.
21160         (Host Address Functions): Likewise for inet_ntop.
21161         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21162         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21163         ssize_t for return value.
21164         (Sending Data): Likewise for send, sendto, sendmsg.
21165         (Socket Option Functions): Add a missing const in setsockopt prototype.
21166         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21167         use wchar_t for the argument.
21168         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21169         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21170         take no arguments.
21171         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21172         double/float/long double for second argument.
21173         Fix return types of significand, significandf, significandl.
21174         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21175         argument in fchmod prototype.
21176         (File Owner): Use uid_t and gid_t in fchown prototype.
21177         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21178         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21179         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21180         use 'const struct dirent **' as argument types to CMP function pointer
21181         argument.
21182         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21183         (File Times): Fix summary magic @comment for struct utimbuf and utime
21184         to refer to utime.h, not time.h.
21185         * manual/string.texi (Argz Functions): Add missing const in
21186         argz_extract and argz_next prototypes.
21187         (Finding Tokens in a String): Likewise for basename.
21188         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21189         (Copying and Concatenation): Fix typo in wmemmove prototype.
21190         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21191         (Signal Stack): Remove erroneous const in sigstack prototype.
21192         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21193         prototype.
21194         (Simple Calendar Time): Likewise for stime.
21195         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21196         prototype.
21197         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21198         say sys/sysctl.h instead.
21199         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21200         and vsyslog prototypes.
21202 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21204         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21205         Remove.
21207 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21209         * misc/sys/mman.h: Fix typo in mremap comment.
21211 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21213         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21214         the '\0' terminator.
21216 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21218         [BZ #13550]
21219         * debug/segfault.c: Don't include <bp-checks.h>.
21220         * sysdeps/generic/bp-checks.h: Remove file.
21221         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21222         (__GETDENTS): Don't use CHECK_N.
21223         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21224         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21225         (__getgroups): Don't use CHECK_N.
21226         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21227         (setgroups): Don't use CHECK_N.
21228         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21229         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21230         (__libc_msgrcv): Don't use CHECK_N.
21231         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21232         (__libc_msgsnd): Don't use CHECK_N.
21233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21234         <bp-checks.h>.
21235         (__libc_pread): Don't use CHECK_N.
21236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21237         include <bp-checks.h>.
21238         (__libc_pread64): Don't use CHECK_N.
21239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21240         include <bp-checks.h>.
21241         (__libc_pwrite): Don't use CHECK_N.
21242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21243         include <bp-checks.h>.
21244         (__libc_pwrite64): Don't use CHECK_N.
21245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21246         <bp-checks.h>.
21247         (__libc_pread): Don't use CHECK_N.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21249         include <bp-checks.h>.
21250         (__libc_pread64): Don't use CHECK_N.
21251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21252         include <bp-checks.h>.
21253         (__libc_pwrite): Don't use CHECK_N.
21254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21255         include <bp-checks.h>.
21256         (__libc_pwrite64): Don't use CHECK_N.
21257         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21258         (do_pread): Don't use CHECK_N.
21259         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21260         (do_pread64): Don't use CHECK_N.
21261         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21262         (do_pwrite): Don't use CHECK_N.
21263         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21264         (do_pwrite64): Don't use CHECK_N.
21265         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21266         (__libc_readv): Don't use CHECK_N.
21267         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21268         (semop): Don't use CHECK_N.
21269         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21270         <bp-checks.h>.
21271         (semtimedop): Don't use CHECK_N.
21272         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21273         (__libc_pread): Don't use CHECK_N.
21274         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21275         <bp-checks.h>.
21276         (__libc_pread64): Don't use CHECK_N.
21277         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21278         <bp-checks.h>.
21279         (__libc_pwrite): Don't use CHECK_N.
21280         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21281         <bp-checks.h>.
21282         (__libc_pwrite64): Don't use CHECK_N.
21283         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21284         <bp-checks.h>.
21285         (__libc_msgrcv): Don't use CHECK_N.
21286         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21287         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21288         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21289         (__libc_writev): Don't use CHECK_N.
21291 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21293         * string/strcpy.c: Removed unused variable.
21295         * Makeconfig (+sysdep-includes): Define with := rather than =.
21296         Use an existing include/ subdir of each sysdeps dir before it.
21298 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21300         * nscd/connection.c (register_traced_file): Comment function.
21301         [HAVE_INOTIFY] (union __inev): Define.
21302         [HAVE_INOTIFY] (inotify_check_files): New function.
21303         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21304         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21305         clear_db_cache.
21306         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21308 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21310         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21311         loaded if not already and that a failure is permanent.
21313 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21315         [BZ #15006]
21316         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21317         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21319 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21321         [BZ #13550]
21322         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21323         (CHECK_1_NULL_OK): Likewise.
21324         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21325         (__fxstat): Do not use CHECK_1.
21326         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21327         <bp-checks.h>.
21328         (___fxstat64): Do not use CHECK_1.
21329         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21330         <bp-checks.h>.
21331         (__fxstatat): Do not use CHECK_1.
21332         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21333         <bp-checks.h>.
21334         (__fxstatat64): Do not use CHECK_1.
21335         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21336         <bp-checks.h>.
21337         (__fxstat): Do not use CHECK_1.
21338         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21339         <bp-checks.h>.
21340         (__fxstatat): Do not use CHECK_1.
21341         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21342         <bp-checks.h>.
21343         (__getresgid): Do not use CHECK_1.
21344         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21345         <bp-checks.h>.
21346         (__getresuid): Do not use CHECK_1.
21347         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21348         <bp-checks.h>.
21349         (__lxstat): Do not use CHECK_1.
21350         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21351         <bp-checks.h>.
21352         (__old_msgctl): Do not use CHECK_1.
21353         (__new_msgctl): Likewise.
21354         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21355         <bp-checks.h>.
21356         (__new_setrlimit): Do not use CHECK_1.
21357         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21358         <bp-checks.h>.
21359         (__old_shmctl): Do not use CHECK_1.
21360         (__new_shmctl): Likewise.
21361         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21362         <bp-checks.h>.
21363         (__xstat): Do not use CHECK_1.
21364         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21365         (__lxstat): Do not use CHECK_1.
21366         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21367         <bp-checks.h>.
21368         (___lxstat64): Do not use CHECK_1.
21369         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21370         (__old_msgctl): Do not use CHECK_1.
21371         (__new_msgctl): Likewise.
21372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21373         <bp-checks.h>.
21374         (__gettimeofday): Do not use CHECK_1.
21375         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21376         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21377         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21378         <bp-checks.h>.
21379         (__gettimeofday): Do not use CHECK_1.
21380         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21381         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21382         (__new_shmctl): Do not use CHECK_1.
21383         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21384         <bp-checks.h>.
21385         (do_sigtimedwait): Do not use CHECK_1.
21386         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21387         <bp-checks.h>.
21388         (do_sigwaitinfo): Do not use CHECK_1.
21389         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21390         <bp-checks.h>.
21391         (msgctl): Do not use CHECK_1.
21392         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21393         <bp-checks.h>.
21394         (shmctl): Do not use CHECK_1.
21395         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21396         (ustat): Do not use CHECK_1.
21397         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21398         <bp-checks.h>.
21399         (__fxstat): Do not use CHECK_1.
21400         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21401         <bp-checks.h>.
21402         (__fxstatat): Do not use CHECK_1.
21403         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21404         <bp-checks.h>.
21405         (__lxstat): Do not use CHECK_1.
21406         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21407         <bp-checks.h>.
21408         (__xstat): Do not use CHECK_1.
21409         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21410         (__xstat): Do not use CHECK_1.
21411         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21412         (___xstat64): Do not use CHECK_1.
21414         [BZ #13550]
21415         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21416         definitions.
21417         (CHECK_BOUNDS_HIGH): Likewise.
21418         * string/strcpy.c: Do not include <bp-checks.h>.
21419         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21421 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21423         * nscd/nscd-client.h (__nscd_drop_map_ref):
21424         Add __attribute__ ((unused)).
21425         * nis/nss-nisplus.h (niserr2nss): Likewise.
21427         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21428         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21430         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21431         Remove inline keyword.
21432         * include/rounding-mode.h (round_away): Likewise.
21433         * libio/wfileops.c (adjust_wide_data): Likewise.
21434         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21435         (__m128i_strloadu_tolower): Likewise.
21436         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21437         (__m128i_strloadu_tolower): Likewise.
21438         * time/mktime.c (ydhms_diff): Likewise.
21439         * locale/elem-hash.h (elem_hash): Likewise.
21440         * locale/setlocale.c (setdata): Likewise.
21441         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21442         (re_string_wchar_at): Likewise.
21443         (bitset_not, bitset_merge, bitset_mask): Likewise.
21444         [!(__GNUC__ > 3)] (inline): Remove macro.
21445         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21446         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21447         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21448         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21449         * string/memcmp.c (memcmp_bytes): Likewise.
21450         * locale/programs/locarchive.c (compute_hashval): Likewise.
21451         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21452         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21453         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21454         * nss/getent.c (print_rpc, print_protocols): Likewise.
21455         (print_passwd, print_group, print_aliases): Likewise.
21456         * nis/nss-nisplus.h (niserr2nss): Likewise.
21457         * nscd/connections.c (restart_p): Likewise.
21458         Change return type to bool.
21460 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21462         * Makeconfig (all-Depend-files): Add existing
21463         $(sorted-subdirs:=/Depend) files.
21464         (all-subdirs): Remove nss.
21465         * sysdeps/unix/inet/Subdirs: Add it here instead.
21466         * hesiod/Depend: New file.
21468         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21469         instead of calling alloca.
21471         * io/lseek.c (__lseek): Rename to __libc_lseek.
21472         Define __lseek as an alias.
21474         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21476 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21478         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21479         else clause and remove check for non-standard endianness.
21481 2013-02-04  David S. Miller  <davem@davemloft.net>
21483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21485 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21487         [BZ #13550]
21488         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21489         (__ubp_memchr): Remove prototype.
21490         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21491         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21492         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21493         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21494         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21495         Remove alias.
21496         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21497         (__ubp_memchr): Likewise.
21498         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21499         (__ubp_memchr): Likewise.
21500         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21501         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21502         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21503         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21504         CHECK_STRING.
21505         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21506         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21507         (__getcwd): Do not use CHECK_STRING.
21508         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21509         <bp-checks.h>.
21510         (__real_chown): Do not use CHECK_STRING.
21511         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21512         <bp-checks.h>.
21513         (fchownat): Do not use CHECK_STRING.
21514         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21515         CHECK_STRING.
21516         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21517         <bp-checks.h>.
21518         (__lchown): Do not use CHECK_STRING.
21519         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21520         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21521         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21522         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21524         include <bp-checks.h>.
21525         (truncate64): Do not use CHECK_STRING.
21526         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21527         <bp-checks.h>.
21528         (__real_chown): Do not use CHECK_STRING.
21529         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21530         <bp-checks.h>.
21531         (__lchown): Do not use CHECK_STRING.
21532         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21533         <bp-checks.h>.
21534         (__chown): Do not use CHECK_STRING.
21535         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21536         <bp-checks.h>.
21537         (truncate64): Do not use CHECK_STRING.
21538         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21539         Likewise.
21540         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21541         (__xmknod): Do not use CHECK_STRING.
21542         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21543         <bp-checks.h>.
21544         (__xmknodat): Do not use CHECK_STRING.
21545         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21546         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21548 2013-02-04  Andreas Schwab  <schwab@suse.de>
21550         [BZ #14142]
21551         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21552         * include/netdb.h: Likewise for h_errno.
21553         * elf/tst-stackguard1.c: Include <tls.h>.
21555 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21557         * elf/link.h (struct link_map): Extend the l_addr comment.
21558         * include/link.h (struct link_map): Likewise.
21560 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21562         [BZ #13550]
21563         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21564         (BOUNDED_1): Remove macro.
21565         * debug/backtrace.c: Don't include <bp-checks.h>.
21566         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21567         (__backtrace): Likewise.
21568         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21569         <bp-checks.h>.
21570         (__backtrace): Don't use BOUNDED_1.
21571         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21572         <bp-checks.h>.
21573         (__backtrace): Don't use BOUNDED_1.
21574         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21575         (__backtrace): Don't use BOUNDED_1.
21576         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21577         (shmat): Don't use BOUNDED_N.
21579 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21581         [BZ #13550]
21582         * sysdeps/generic/bp-start.h: Remove file.
21583         * csu/libc-start.c: Don't include <bp-start.h>.
21584         (LIBC_START_MAIN): Set up __environ directly instead of using
21585         INIT_ARGV_and_ENVIRON.
21586         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21587         <bp-start.h>.
21589         [BZ #13550]
21590         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21591         definitions.
21592         (CHECK_FCNTL): Likewise.
21593         (CHECK_N_PAGES): Likewise.
21595         [BZ #13550]
21596         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21597         definitions.
21598         (CHECK_SIGSET_NULL_OK): Likewise.
21599         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21600         <bp-checks.h>.
21601         (sigpending): Don't use CHECK_SIGSET.
21602         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21603         <bp-checks.h>.
21604         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21605         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21606         <bp-checks.h>.
21607         (do_sigsuspend): Don't use CHECK_SIGSET.
21608         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21609         use CHECK_SIGSET.
21610         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21611         (do_sigwait): Don't use CHECK_SIGSET.
21612         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21613         use CHECK_SIGSET.
21614         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21615         include <bp-checks.h>.
21616         (sigpending): Don't use CHECK_SIGSET.
21617         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21618         include <bp-checks.h>.
21619         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21620         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21621         <bp-checks.h>.
21622         (sigpending): Don't use CHECK_SIGSET.
21623         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21624         <bp-checks.h>.
21625         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21627         [BZ #13550]
21628         * sysdeps/generic/bp-semctl.h: Remove file.
21629         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21630         <bp-checks.h> and <bp-semctl.h>.
21631         (__old_semctl): Don't use CHECK_SEMCTL.
21632         (__new_semctl): Likewise.
21633         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21634         and <bp-semctl.h>.
21635         (__old_semctl): Don't use CHECK_SEMCTL.
21636         (__new_semctl): Likewise.
21637         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21638         <bp-checks.h> and <bp-semctl.h>.
21639         (__old_semctl): Don't use CHECK_SEMCTL.
21640         (__new_semctl): Likewise.
21641         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21642         <bp-checks.h> and <bp-semctl.h>.
21643         (semctl): Don't use CHECK_SEMCTL.
21645         [BZ #13550]
21646         * Makerules (elide-bp-thunks): Remove variable.
21647         (elide-routines.oS): Don't use $(elide-bp-thunks).
21648         (elide-routines.os): Likewise.
21649         (elide-routines.o): Likewise.
21650         (elide-routines.op): Likewise.
21651         (elide-routines.og): Likewise.
21652         (objects): Don't use $(bp-thunks).
21653         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21654         include.
21655         (common-generated): Do not add s-proto-bp.d.
21656         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21657         (int): Likewise.
21658         (typ): Likewise.
21659         Do not generate makefile rules for bounded-pointer thunks.
21660         * sysdeps/generic/bp-thunks.h: Remove file.
21661         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21662         * sysdeps/unix/s-proto-bp.S: Likewise.
21664         [BZ #15062]
21665         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21666         parts of result separately when argument is not close to line from
21667         -i to i and one part of argument is small.
21668         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21669         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21670         * math/libm-test.inc (cacos_test): Add more tests.
21671         (casin_test): Likewise.
21672         (casinh_test): Likewise.
21673         * sysdeps/i386/fpu/libm-test-ulps: Update.
21674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21676 2013-01-31  David S. Miller  <davem@davemloft.net>
21678         * po/de.po: Update from translation team.
21680 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21682         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21684 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21686         * configure.in (_AC_PROG_CC_C89): New definition.
21687         * configure: Regenerate.
21689         * configure.in (AC_PROG_CPP): New definition.
21690         * configure: Regenerate.
21692 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21694         * debug/tst-backtrace.h: New file.
21695         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21696         (ret): Remove variable.
21697         (x): Likewise.
21698         (FAIL): Remove macro.
21699         (NO_INLINE): Likewise.
21700         (fn1): Use match function instead of strstr.
21701         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21702         (ret): Remove variable.
21703         (x): Likewise.
21704         (FAIL): Remove macro.
21705         (NO_INLINE): Likewise.
21706         (fn): Use match function instead of strstr.
21707         * debug/tst-backtrace4.c: Include tst-backtrace.h.
21708         (ret): Remove variable.
21709         (x): Likewise.
21710         (FAIL): Remove macro.
21711         (NO_INLINE): Likewise.
21712         (handle_signal): Use match function instead of strstr.
21713         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21714         (ret): Remove variable.
21715         (x): Likewise.
21716         (FAIL): Remove macro.
21717         (NO_INLINE): Likewise.
21718         (handle_signal): Use match function instead of strstr.
21720 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21722         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21724 2013-01-23  David S. Miller  <davem@davemloft.net>
21726         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21727         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21728         argument of CAS if possible.
21729         * sysdeps/sparc/sparc64/bits/atomic.h
21730         (__arch_compare_and_exchange_val_32_acq): Likewise.
21731         (__arch_compare_and_exchange_val_64_acq): Likewise.
21733 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21735         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21736         * sysdeps/posix/ulimit.c: ... this.
21737         Include <limits.h>.
21738         * sysdeps/unix/bsd/ulimit.c: Remove file.
21740 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21742         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21743         (LDFLAGS-tst-array5): Likewise.
21745 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21747         [BZ #15036]
21748         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21749         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21750         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21751         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21753 2013-01-21  David S. Miller  <davem@davemloft.net>
21755         * sysdeps/sparc/backtrace.c: New file.
21756         * sysdeps/sparc/sparc32/backtrace.h: New file.
21757         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21758         * sysdeps/sparc/sparc64/backtrace.h: New file.
21759         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21760         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21761         -funwind-tables.
21763 2013-01-21  Andreas Schwab  <schwab@suse.de>
21765         [BZ #15020]
21766         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21767         closed its stdout.
21769 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21771         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21772         "mpa2.h".
21773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21775 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21776             Mark Mitchell  <mark@codesourcery.com>
21777             Tom de Vries  <tom@codesourcery.com>
21778             Paul Pluzhnikov  <ppluzhnikov@google.com>
21780         * debug/tst-backtrace2.c: New file.
21781         * debug/tst-backtrace3.c: Likewise.
21782         * debug/tst-backtrace4.c: Likewise.
21783         * debug/tst-backtrace5.c: Likewise.
21784         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21785         (CFLAGS-tst-backtrace3.c): Likewise.
21786         (CFLAGS-tst-backtrace4.c): Likewise.
21787         (CFLAGS-tst-backtrace5.c): Likewise.
21788         (LDFLAGS-tst-backtrace2): Likewise.
21789         (LDFLAGS-tst-backtrace3): Likewise.
21790         (LDFLAGS-tst-backtrace4): Likewise.
21791         (LDFLAGS-tst-backtrace5): Likewise.
21792         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21793         tst-backtrace4 and tst-backtrace5.
21795 2013-01-18  Anton Blanchard  <anton@samba.org>
21796             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21798         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21799         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21800         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21801         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21803         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21804         "+r" and remove output regs list as redundant.  Add explicit inline
21805         asm to specify register of return val to work around compiler codegen
21806         bug.  Remove (int) cast on return value.  Add return type parameter to
21807         use in macro so that this macro does not truncate return value for
21808         64-bit values.
21809         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21810         pass to INTERNAL_VSYSCALL_NCS.
21811         (INLINE_VSYSCALL): Add 'long int' as return type to
21812         INTERNAL_VSYSCALL_NCS macro invocation.
21813         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21814         INTERNAL_VSYSCALL_NCS macro invocation.
21815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21817 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21819         [BZ #14496]
21820         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21821         Fix application of SIMD FP exception mask.
21823         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21824         mp_no from a power of two.
21825         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21826         __mpexp_twomm1.  Use __pow_mp.
21828         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21829         multiplication.
21831 2013-01-17  David S. Miller  <davem@davemloft.net>
21833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21835 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21837         [BZ #15023]
21838         * include/complex.h: Condition contents on [!_COMPLEX_H].
21839         (__kernel_casinhf): New prototype.
21840         (__kernel_casinh): Likewise.
21841         (__kernel_casinhl): Likewise.
21842         * math/Makefile (libm_calls): Add k_casinh.
21843         * math/k_casinh.c: New file.
21844         * math/k_casinhf.c: Likewise.
21845         * math/k_casinhl.c: Likewise.
21846         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21847         finite nonzero arguments.
21848         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21849         finite nonzero arguments.
21850         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21851         finite nonzero arguments.
21852         * math/s_casinh.c: Do not include <float.h>.
21853         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21854         * math/s_casinhf.c: Do not include <float.h>.
21855         (__casinhf): Move code for finite nonzero arguments to
21856         k_casinhf.c.
21857         * math/s_casinhl.c: Do not include <float.h>.
21858         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21859         redefine.
21860         (__casinhl): Move code for finite nonzero arguments to
21861         k_casinhl.c.
21862         * math/libm-test.inc (cacos_test): Add more tests.
21863         * sysdeps/i386/fpu/libm-test-ulps: Update.
21864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21866 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21868         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21869         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21870         [!HAVE_MREMAP]: Remove [defined linux] case.
21871         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21873 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21875         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21877 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21879         * elf/elf.h (R_386_SIZE32): New relocation.
21880         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21881         R_386_SIZE32.
21882         (elf_machine_rela): Likewise.
21883         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21884         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21886 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21888         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21889         (FP_FAST_FMA): Do not define.
21890         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21891         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21892         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21893         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21894         !_SOFT_FLOAT]: Likewise.
21895         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21896         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21897         value.
21898         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21899         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21900         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21901         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21902         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21903         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21904         file.
21906 2013-01-16  Andreas Schwab  <schwab@suse.de>
21908         [BZ #14327]
21909         * include/stdlib.h (__mktemp): Add declaration.
21910         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21911         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21913 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21915         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21916         definitions.
21917         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21918         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21919         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21920         definitions here.
21921         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21922         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21923         definitions.
21924         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21925         and ONE.
21926         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21927         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21928         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21929         definitions.
21930         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21931         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21932         definitions.
21933         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21935         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21937 2013-01-15  David S. Miller  <davem@davemloft.net>
21939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21940         trunc{,f} to libm-sysdep_routes.
21941         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21943         file.
21944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21946         file.
21947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21948         file.
21949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21951         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21952         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21953         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21954         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21955         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21956         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21959         nearbyint{,f} to libm-sysdep_routes.
21960         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21962         New file.
21963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21964         file.
21965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21966         New file.
21967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21968         file.
21969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21971         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21972         file.
21973         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21974         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21975         file.
21976         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21977         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21978         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21980         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21981         libc_feholdexcept and libc_fesetenv.
21983 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21985         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21987 2013-01-14  David S. Miller  <davem@davemloft.net>
21989         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21990         (SPARC_ASM_VIS2_IFUNC): Likewise.
21991         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21993         use of 'siam' instruction.
21994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21995         Likewise.
21996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21997         Likewise.
21998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21999         Likewise.
22000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22005         file.
22006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22007         file.
22008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22009         file.
22010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22011         file.
22012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22013         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22015         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22017         new VIS2 routines.
22018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22021         Likewise.
22022         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22024         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22027         routines to libm-sysdep_routines.
22028         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22031         fdim/fdimf to libm-sysdep_routines.
22032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22033         file.
22034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22036         file.
22037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22040         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22041         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22042         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22043         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22045 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22047         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22048         to optimize copies.
22050         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22051         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22055         local variable MPTWO.
22056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22057         Likewise.
22059 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22061         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22062         GLOB_NOESCAPE.
22064 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22066         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22068 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22070         * manual/pattern.texi (glob_t): Document gl_flags.
22071         (glob64_t): Likewise.
22073 2013-01-11  David S. Miller  <davem@davemloft.net>
22075         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22076         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22077         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22078         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22079         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22080         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22081         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22082         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22083         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22084         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22085         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22086         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22087         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22089         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22090         sparc V9 rather than using V8 code.
22091         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22092         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22094         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22095         Move to...
22096         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22097         Here.
22099 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22101         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22102         not in the main loop.
22103         * configure: Regenerated.
22105 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22107         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22108         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22109         to just #else.
22110         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22111         [!__GLIBC_HAVE_LONG_LONG] case.
22112         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22113         condition to just #else.
22114         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22115         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22116         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22117         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22118         unconditional.
22119         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22120         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22121         #elif condition to just #else.
22122         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22123         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22124         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22125         #elif condition to just #else.
22127 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22129         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22130         (EF_MIPS_ARCH_64): Fix value.
22131         (EF_MIPS_ARCH_32R2): New.
22132         (EF_MIPS_ARCH_64R2): New.
22134 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22136         * Makeconfig (+link-pie-before-libc): New.
22137         (+link-pie-after-libc): Likewise.
22138         (+link-pie-tests): Likewise.
22139         (+link-pie): Rewritten.
22140         (link-before-libc): Remove $(config-LDFLAGS).
22141         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22142         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22143         (config-LDFLAGS): Renamed to ...
22144         (rtld-LDFLAGS): This.
22145         (rtld-tests-LDFLAGS): New macro.
22146         (link-libc-rpath-link): Likewise.
22147         (link-libc-tests-rpath-link): Likewise.
22148         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22149         (link-libc): Prepand $(link-libc-rpath-link).
22150         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22151         (test-program-prefix): New macro.
22152         (test-via-rtld-prefix): Likewise.
22153         (test-program-cmd): Likewise.
22154         (host-test-program-cmd): Likewise.
22155         * Makefile ($(common-objpfx)testrun.sh): Replace
22156         $(run-program-prefix) with $(test-program-prefix).
22157         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22158         $(rtld-LDFLAGS).
22159         ($(common-objpfx)shlib.lds): Likewise.
22160         (build-module-helper): Likewise.
22161         ($(common-objpfx)format.lds): Likewise.
22162         * Rules (binaries-pie-tests): New.
22163         (binaries-pie-notests): Likewise.
22164         (binaries-pie): Rewritten.
22165         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22166         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22167         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22168         (make-test-out): Replace $(host-built-program-cmd) with
22169         $(host-test-program-cmd).
22170         * config.make.in (build-hardcoded-path-in-tests): New variable.
22171         * configure.in (--enable-hardcoded-path-in-tests): New configure
22172         option.
22173         (hardcoded_path_in_tests): New AC_SUBST.
22174         * configure: Regenerated.
22175         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22176         $(built-program-cmd) with $(test-program-cmd).
22177         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22178         (test_program_cmd): This.
22179         * elf/Makefile ($(objpfx)order.out): Run test with
22180         $(test-program-prefix).
22181         ($(objpfx)order2.out): Likewise.
22182         ($(objpfx)tst-initorder.out): Likewise.
22183         ($(objpfx)tst-initorder2.out): Likewise.
22184         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22185         $(test-program-cmd).
22186         ($(objpfx)tst-array1-static.out): Likewise.
22187         ($(objpfx)tst-array2.out): Likewise.
22188         ($(objpfx)tst-array3.out): Likewise.
22189         ($(objpfx)tst-array4.out): Likewise.
22190         ($(objpfx)tst-array5.out): Likewise.
22191         ($(objpfx)tst-array5-static.out): Likewise.
22192         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22193         $(test-program-cmd).
22194         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22195         $(run-program-prefix) with $(test-program-prefix).
22196         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22197         (test_program_prefix): This.
22198         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22199         $(run-program-prefix) with $(test-program-prefix).
22200         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22201         (test_program_prefix): This.
22202         * iconvdata/tst-tables.sh: Likewise.
22203         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22204         $(run-program-prefix) with $(test-program-prefix).
22205         ($(objpfx)tst-translit.out): Likewise.
22206         ($(objpfx)tst-gettext2.out): Likewise.
22207         ($(objpfx)tst-gettext4.out): Likewise.
22208         ($(objpfx)tst-gettext6.out): Likewise.
22209         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22210         (test_program_prefix): This.
22211         * intl/tst-gettext2.sh: Likewise.
22212         * intl/tst-gettext4.sh  Likewise.
22213         * intl/tst-gettext6.sh: Likewise.
22214         * intl/tst-translit.sh: Likewise.
22215         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22216         with $(test-program-cmd).
22217         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22218         $(run-program-prefix) with $(test-program-prefix).
22219         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22220         (test_program_prefix): This.
22221         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22222         $(run-program-prefix) with $(test-program-prefix).
22223         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22224         (test_program_prefix): This.
22225         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22226         * posix/Makefile ($(objpfx)globtest.out): Replace
22227         $(run-via-rtld-prefix) and $(test-wrapper) with
22228         $(test-program-prefix) and $(test-via-rtld-prefix).
22229         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22230         $(test-program-prefix).
22231         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22232         $(host-test-program-cmd).
22233         (tst-spawn-ARGS): Likewise.
22234         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22235         $(test-program-prefix).
22236         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22237         (test_via_rtld_prefix): This.
22238         (test_wrapper): Renamed to ...
22239         (test_program_prefix): This.
22240         (run_program_prefix): Replaced by test_program_prefix.
22241         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22242         (test_program_prefix): This.
22243         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22244         with $(host-test-program-cmd).
22245         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22246         $(run-program-prefix) with $(test-program-prefix).
22247         ($(objpfx)tst-printf.out): Likewise.
22248         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22249         $(test-program-cmd).
22250         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22251         (test_program_prefix): This.
22252         * stdio-common/tst-unbputc.sh: Likewise.
22253         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22254         $(run-program-prefix) with $(test-program-prefix).
22255         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22256         (test_program_prefix): This.
22257         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22258         $(built-program-cmd) with $(test-program-cmd).
22260 2013-01-11  Andreas Jaeger  <aj@suse.de>
22262         [BZ #15003]
22263         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22264         value. Sync with Linux 3.7.
22266 2013-01-10  David S. Miller  <davem@davemloft.net>
22268         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22269         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22270         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22272 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22274         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22275         never set.
22276         * configure: Regenerated.
22278 2013-01-10  David S. Miller  <davem@davemloft.net>
22280         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22281         sparc V9 rather than using V8 code.
22282         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22283         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22285 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22287         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22288         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22289         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22290         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22291         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22292         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22293         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22294         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22295         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22296         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22297         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22298         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22299         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22300         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22301         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22302         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22303         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22304         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22305         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22306         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22307         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22308         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22309         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22310         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22311         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22312         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22313         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22315 2013-01-10  David S. Miller  <davem@davemloft.net>
22317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22319 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22321         * posix/Makefile (tests-static): New variable.
22322         (tests): Add $(tests-static).
22323         (tst-exec-static-ARGS): New variable.
22324         (tst-spawn-static-ARGS): Likewise.
22325         * posix/tst-exec-static.c: New file.
22326         * posix/tst-spawn-static.c: Likewise.
22327         * posix/tst-exec.c: Support run directly.
22328         * posix/tst-spawn.c: Likewise.
22330 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22332         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22333         long.
22334         * math/bits/mathcalls.h (llrint): Likewise.
22335         (llround): Likewise.
22336         * stdlib/stdlib.h (struct drand48_data): Likewise.
22337         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22338         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22339         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22340         Likewise.
22341         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22342         Likewise.
22343         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22344         (elf_greg_t): Likewise.
22345         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22346         (__jmp_buf): Likewise.
22347         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22348         definitions.
22349         (llrint): Likewise, for all definitions.
22350         (llrintl): Likewise.
22352         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22353         Remove [__GNUC__] condition.
22354         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22355         condition to just [__USE_ISOC99].
22356         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22358 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22360         [BZ #14200]
22361         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22362         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22363         defined.
22364         (_POSIX_V6_ILP32_OFF32): Likewise.
22365         (_XBS5_ILP32_OFF32): Likewise.
22366         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22367         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22369 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22371         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22373         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22374         doubles __mpexp_twomm1.  Adjust usage.
22375         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22376         Remove.
22378 2013-01-10  Andreas Schwab  <schwab@suse.de>
22380         [BZ #14964]
22381         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22382         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22384 2013-01-09  David S. Miller  <davem@davemloft.net>
22386         [BZ #15003]
22387         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22388         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22389         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22390         (TCP_FASTOPEN): Define.
22391         (tcp_repair_opt): New structure.
22392         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22393         enum values.
22394         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22395         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22396         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22397         (tcp_cookie_transactions): New structure.
22399 2013-01-09  Anton Blanchard  <anton@samba.org>
22401         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22402         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22403         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22404         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22406 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22408         * include/features.h (__USE_ANSI): Remove.
22410 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22412         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22414         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22416 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22418         * sysdeps/s390/fpu/libm-test-ulps: Update.
22420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22422         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22423         (__acr): Likewise.
22424         (__cpy): Likewise.
22425         (norm): Likewise.
22426         (denorm): Likewise.
22427         (__mp_dbl): Likewise.
22428         (__dbl_mp): Likewise.
22429         (add_magnitudes): Likewise.
22430         (sub_magnitudes): Likewise.
22431         (__add): Likewise.
22432         (__sub): Likewise.
22433         (__mul): Likewise.
22434         (__inv): Likewise.
22435         (__dvd): Likewise.
22436         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22437         (__acr): Likewise.
22438         (__cpy): Likewise.
22439         (norm): Likewise.
22440         (denorm): Likewise.
22441         (__mp_dbl): Likewise.
22442         (__dbl_mp): Likewise.
22443         (add_magnitudes): Likewise.
22444         (sub_magnitudes): Likewise.
22445         (__add): Likewise.
22446         (__sub): Likewise.
22447         (__mul): Likewise.
22448         (__inv): Likewise.
22449         (__dvd): Likewise.
22450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22451         (__acr): Likewise.
22452         (__cpy): Likewise.
22453         (norm): Likewise.
22454         (denorm): Likewise.
22455         (__mp_dbl): Likewise.
22456         (__dbl_mp): Likewise.
22457         (add_magnitudes): Likewise.
22458         (sub_magnitudes): Likewise.
22459         (__add): Likewise.
22460         (__sub): Likewise.
22461         (__mul): Likewise.
22462         (__inv): Likewise.
22463         (__dvd): Likewise.
22465 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22467         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22468         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22469         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22470         2 && __USE_EXTERN_INLINES]: Likewise.
22472 2013-01-08  Andreas Jaeger  <aj@suse.de>
22474         [BZ# 14985]
22475         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22476         Remove.
22477         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22478         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22480 2013-01-07  Anton Blanchard  <anton@samba.org>
22482         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22483         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22484         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22485         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22486         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22487         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22488         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22489         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22492         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22493         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22494         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22495         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22496         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22497         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22498         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22499         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22500         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22501         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22502         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22503         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22504         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22505         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22506         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22507         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22508         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22509         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22510         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22511         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22512         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22513         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22514         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22515         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22516         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22517         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22518         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22519         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22520         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22521         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22522         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22523         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22524         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22526 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22528         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22529         (__MALLOC_PMT): Likewise.
22530         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22531         [__GNUC__], only on [_LIBC].
22532         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22533         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22534         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22535         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22536         forward declaration.
22537         (realloc_hook_ini): Likewise.
22538         (memalign_hook_ini): Likewise.
22539         (__libc_memalign): Do not use __MALLOC_PMT in variable
22540         declaration.
22541         (__libc_valloc): Likewise.
22542         (__libc_pvalloc): Likewise.
22543         (__libc_calloc): Likewise.
22544         (__posix_memalign): Likewise.
22546         [BZ #14996]
22547         * math/s_casinh.c: Include <float.h>.
22548         (__casinh): Do not do computation with squaring and square root
22549         for large arguments.
22550         * math/s_casinhf.c: Include <float.h>.
22551         (__casinhf): Do not do computation with squaring and square root
22552         for large arguments.
22553         * math/s_casinhl.c: Include <float.h>.
22554         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22555         (__casinhl): Do not do computation with squaring and square root
22556         for large arguments.
22557         * math/libm-test.inc (casin_test): Add more tests.
22558         (casinh_test): Likewise.
22559         * sysdeps/i386/fpu/libm-test-ulps: Update.
22560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22562 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22564         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22565         (__x86_64_raw_data_cache_size): Likewise.
22566         (__x86_64_data_cache_size_half): Likewise.
22567         (__x86_64_raw_data_cache_size_half): Likewise.
22568         (__x86_64_shared_cache_size): Likewise.
22569         (__x86_64_raw_shared_cache_size): Likewise.
22570         (__x86_64_shared_cache_size_half): Likewise.
22571         (__x86_64_raw_shared_cache_size_half): Likewise.
22572         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22573         to ...
22574         (__x86_data_cache_size): This.
22575         (__x86_64_raw_data_cache_size): Renamed to ...
22576         (__x86_raw_data_cache_size): This.
22577         (__x86_64_data_cache_size_half): Renamed to ...
22578         (__x86_data_cache_size_half): This.
22579         (__x86_64_raw_data_cache_size_half): Renamed to ...
22580         (__x86_raw_data_cache_size_half): This.
22581         (__x86_64_shared_cache_size): Renamed to ...
22582         (__x86_shared_cache_size): This.
22583         (__x86_64_raw_shared_cache_size): Renamed to ...
22584         (__x86_raw_shared_cache_size): This.
22585         (__x86_64_shared_cache_size_half): Renamed to ...
22586         (__x86_shared_cache_size_half): This.
22587         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22588         (__x86_raw_shared_cache_size_half): This.
22589         * sysdeps/x86_64/memcpy.S: Updated.
22590         * sysdeps/x86_64/memset.S: Likewise.
22591         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22592         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22593         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22595 2013-01-04  David S. Miller  <davem@davemloft.net>
22597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22599 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22601         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22602         1 to avoid redefinition warning.
22603         (__USE_GNU): Don't define.
22604         (init_signaling_nan): Protoize.
22606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22608 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22610         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22611         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22612         (__cpymn): Likewise.
22613         (norm): Remove commented code.
22614         (denorm): Likewise.
22615         (__mp_dbl): Likewise.
22616         (__inv): Likewise.
22617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22618         (__cpymn): Likewise.
22619         (norm): Remove commented code.
22620         (denorm): Likewise.
22621         (__mp_dbl): Likewise.
22622         (__inv): Likewise.
22624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22625         mp_no value for 1.0 and 2.0.
22626         (norm): Use RADIXI instead of radixi.d.
22627         (denorm): Likewise.
22628         (__mul): Use 0.0 instead of zero.d.
22629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22630         mp_no value for 1.0 and 2.0.
22631         (norm): Use RADIXI instead of radixi.d.
22632         (denorm): Likewise.
22633         (__mul): Use 0.0 instead of zero.d.
22635 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22637         [BZ #14994]
22638         * math/s_casinh.c (__casinh): Reduce finite argument to first
22639         quadrant then set signs of results at the end.
22640         * math/s_casinhf.c (__casinhf): Likewise.
22641         * math/s_casinhl.c (__casinhl): Likewise.
22642         * math/libm-test.inc (casin_test): Add more tests.
22643         (casinh_test): Likewise.
22644         * sysdeps/i386/fpu/libm-test-ulps: Update.
22645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22647 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22649         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22651         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22653         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22654         declarations.
22655         (denorm): Likewise.
22656         (__mp_dbl): Likewise.
22657         (__inv): Likewise.
22659         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22660         and adjust the header comment.
22662         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22663         variable name from declaration.
22665 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22668         Initialize COMMON_CPUID_INDEX_7 element.
22669         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22670         (CPUID_RTM): Likewise.
22671         (HAS_RTM): Likewise.
22672         (COMMON_CPUID_INDEX_7): New enum.
22674 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22676         [BZ #14981]
22677         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22678         size is zero, record memory as freed.
22680 2013-01-03  Andreas Jaeger  <aj@suse.de>
22682         * po/ia.po: Add new Interlingua translation.
22684 2012-01-03  Allan McRae  <allan@archlinux.org>
22686         * locale/programs/localedef.c: Fix description of '--posix' flag.
22688 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22690         * NEWS: Update dates in second copyright notice.
22691         * README: Update copyright dates in example.
22692         * manual/libc.texinfo: Update copyright dates.
22693         * scripts/test-installation.pl: Update copyright date in --version
22694         output.
22696         * hurd/ctty-input.c: Fix copyright notice formatting.
22697         * hurd/ctty-output.c: Likewise.
22698         * hurd/dtable.c: Likewise.
22699         * hurd/hurd-raise.c: Likewise.
22700         * hurd/hurdprio.c: Likewise.
22701         * hurd/msgportdemux.c: Likewise.
22702         * misc/sys/file.h: Likewise.
22703         * misc/sys/ioctl.h: Likewise.
22704         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22705         * sysdeps/mach/hurd/chdir.c: Likewise.
22706         * sysdeps/mach/hurd/fchdir.c: Likewise.
22707         * sysdeps/mach/hurd/rename.c: Likewise.
22708         * sysdeps/mach/hurd/rmdir.c: Likewise.
22709         * sysdeps/mach/hurd/seekdir.c: Likewise.
22710         * sysdeps/mach/hurd/setsid.c: Likewise.
22711         * sysdeps/posix/wait3.c: Likewise.
22713         * All files with FSF copyright notices: Update copyright dates
22714         using scripts/update-copyrights.
22715         * intl/plural.c: Regenerated.
22716         * locale/programs/charmap-kw.h: Likewise.
22717         * locale/programs/locfile-kw.h: Likewise.
22719 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22721         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22722         four values.
22724         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22725         calculation loop and add branch prediction.
22727         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22728         check access beyond bounds of m1np.
22730         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22731         MPTWO.
22732         (__inv): Remove local variable MPTWO to use the global
22733         constant.
22734         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22735         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22736         variable MPTWO.
22737         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22738         MP3HALFS static const.
22740 2013-01-01  David S. Miller  <davem@davemloft.net>
22742         * po/ca.po: Update from translation team.
22744 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22746         * scripts/update-copyrights: New file.
22747         * Makeconfig: Reformat copyright notice.
22748         * ctype/ctype.h: Likewise.
22749         * debug/swprintf_chk.c: Likewise.
22750         * elf/dl-cache.c: Likewise.
22751         * elf/dl-debug.c: Likewise.
22752         * elf/dl-object.c: Likewise.
22753         * grp/initgroups.c: Likewise.
22754         * hurd/Makefile: Likewise.
22755         * hurd/hurd/signal.h: Likewise.
22756         * hurd/hurdfault.c: Likewise.
22757         * hurd/hurdioctl.c: Likewise.
22758         * hurd/hurdlookup.c: Likewise.
22759         * hurd/intr-msg.c: Likewise.
22760         * iconv/gconv_open.c: Likewise.
22761         * libio/swprintf.c: Likewise.
22762         * locale/lc-ctype.c: Likewise.
22763         * locale/nl_langinfo.c: Likewise.
22764         * mach/Machrules: Likewise.
22765         * mach/Makefile: Likewise.
22766         * malloc/obstack.h: Likewise.
22767         * manual/Makefile: Likewise.
22768         * manual/tsort.awk: Likewise.
22769         * misc/bits/stab.def: Likewise.
22770         * nis/nis_print_group_entry.c: Likewise.
22771         * nis/nis_table.c: Likewise.
22772         * nis/nss_compat/compat-pwd.c: Likewise.
22773         * nis/nss_compat/compat-spwd.c: Likewise.
22774         * po/Makefile: Likewise.
22775         * posix/fnmatch.c: Likewise.
22776         * posix/regex.h: Likewise.
22777         * resolv/Makefile: Likewise.
22778         * resolv/nss_dns/dns-network.c: Likewise.
22779         * resolv/res_hconf.c: Likewise.
22780         * scripts/gen-sorted.awk: Likewise.
22781         * soft-fp/soft-fp.h: Likewise.
22782         * stdio-common/printf.h: Likewise.
22783         * stdlib/monetary.h: Likewise.
22784         * stdlib/random.c: Likewise.
22785         * stdlib/random_r.c: Likewise.
22786         * sysdeps/generic/Makefile: Likewise.
22787         * sysdeps/gnu/Makefile: Likewise.
22788         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22789         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22790         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22791         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22792         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22793         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22794         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22796         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22797         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22798         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22799         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22800         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22801         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22802         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22803         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22804         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22806         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22807         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22808         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22809         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22810         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22811         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22812         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22813         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22814         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22815         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22816         * sysdeps/mach/hurd/errnos.awk: Likewise.
22817         * sysdeps/mach/hurd/fork.c: Likewise.
22818         * sysdeps/mach/hurd/getcwd.c: Likewise.
22819         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22820         * sysdeps/mach/hurd/mmap.c: Likewise.
22821         * sysdeps/mach/hurd/utimes.c: Likewise.
22822         * sysdeps/mach/hurd/xmknod.c: Likewise.
22823         * sysdeps/posix/profil.c: Likewise.
22824         * sysdeps/posix/readdir_r.c: Likewise.
22825         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22826         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22827         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22828         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22829         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22830         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22831         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22832         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22834         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22835         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22836         * sysdeps/pthread/lio_listio.c: Likewise.
22837         * sysdeps/sparc/dl-procinfo.h: Likewise.
22838         * sysdeps/unix/i386/sysdep.S: Likewise.
22839         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22840         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22841         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22842         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22844         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22845         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22846         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22847         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22848         * sysdeps/wordsize-32/divdi3.c: Likewise.
22849         * time/sys/time.h: Likewise.
22850         * wcsmbs/Makefile: Likewise.
22852 2013-01-01  David S. Miller  <davem@davemloft.net>
22854         * po/fr.po: Update from translation team.
22856         * catgets/gencat.c: Update copyright year.
22857         * csu/version.c: Likewise.
22858         * debug/catchsegv.sh: Likewise.
22859         * debug/pcprofiledump.c: Likewise.
22860         * debug/xtrace.sh: Likewise.
22861         * elf/ldconfig.c: Likewise.
22862         * elf/ldd.bash.in: Likewise.
22863         * elf/pldd.c: Likewise.
22864         * elf/sotruss.ksh: Likewise.
22865         * elf/sprof.c: Likewise.
22866         * iconv/iconv_prog.c: Likewise.
22867         * iconv/iconvconfig.c: Likewise.
22868         * locale/programs/locale.c: Likewise.
22869         * locale/programs/localedef.c: Likewise.
22870         * login/programs/pt_chown.c: Likewise.
22871         * malloc/memusage.sh: Likewise.
22872         * malloc/memusagestat.c: Likewise.
22873         * malloc/mtrace.pl: Likewise.
22874         * nscd/nscd.c: Likewise.
22875         * nss/getent.c: Likewise.
22876         * nss/makedb.c: Likewise.
22877         * posix/getconf.c: Likewise.
22879 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22881         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22882         numbers.
22884 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22886         * math/bits/mathcalls.h (modf): Use __nonnull.
22888 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22890         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22891         (split): Use macro CN instead of the bare value.
22892         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22893         could be used.
22894         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22895         instead of the bare value.
22896         (power1): Likewise.
22898 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22901         __ATAN_TWOM.
22902         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22904         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22905         their values.
22906         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22907         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22908         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22909         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22911 2012-12-28  Andreas Jaeger  <aj@suse.de>
22913         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22914         values are from Linux 3.7.
22916         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22917         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22919 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22921         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22922         TRUE case.
22924         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22925         (norm): Likewise.
22926         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22927         variables with preprocessor constants.
22928         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22929         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22930         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22932 2012-12-27  Bruno Haible  <bruno@clisp.org>
22934         [BZ #14317]
22935         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22936         only if needed.
22938 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22940         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22941         and use variable directly.
22942         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22944         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22945         MPONE.
22946         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22947         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22948         variable MPONE.
22949         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22950         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22951         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22952         include directive.  Remove local variable MPONE.
22953         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22954         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22955         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22957 2012-12-25  David S. Miller  <davem@davemloft.net>
22959         * version.h (RELEASE): Set to "development".
22960         (VERSION): Set to "2.17.90".
22961         * NEWS: Add 2.18 section.
22963 2012-12-21  David S. Miller  <davem@davemloft.net>
22965         * po/hr.po: Update from translation team.
22967 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22969         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22971 2012-12-19  Steve Ellcey  <sellcey@mips.com>
22973         * NEWS:  Mention new memcpy for MIPS.
22975 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22977         * manual/contrib.texi (Contributors): Spelling correction.
22979 2012-12-15  David S. Miller  <davem@davemloft.net>
22981         * po/ru.po: Update from translation team.
22983 2012-12-13  David S. Miller  <davem@davemloft.net>
22985         * NEWS: Mention IFUNC testsuite enhancements.
22987         * po/pl.po: Update from translation team.
22988         * po/bg.po: Likewise.
22990         * manual/contrib.texi (Contributors): Update entries for Hongjiu
22991         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
22993 2012-12-11  David S. Miller  <davem@davemloft.net>
22995         * po/sv.po: Update from translation team.
22997         * po/vi.po: Update from translation team.
22999         * po/cs.po: Update from translation team.
23001         * po/de.po: Update from translation team.
23002         * po/eo.po: Likewise.
23003         * po/nl.po: Likewise.
23005 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23007         [BZ #14246]
23008         * manual/argp.texi (Argp Helper Functions): Move node to follow
23009         Argp Parsing State.
23011         [BZ #14872]
23012         * manual/conf.texi (Limits on File System Capacity): Mention if
23013         terminating null is included in the max size.
23015 2012-12-10  Andreas Jaeger  <aj@suse.de>
23017         * po/cs.po: Update from translation team.
23019 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23021         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23022         void pointer and cast to uintptr_t.
23023         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23024         path.
23025         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23026         * sysdeps/s390/s390-64/memset.S: Likewise.
23028 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23030         [BZ #14833]
23031         * menual/message.texi (Message Translation): Fix typos.
23032         (Helper programs for gettext): Likewise.
23034 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23036         [BZ #14898]
23037         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23038         Change to -1.
23040 2012-12-07  David S. Miller  <davem@davemloft.net>
23042         * po/libc.pot: Update.
23044 2012-12-07  Richard Henderson  <rth@redhat.com>
23046         [BZ #10114]
23047         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23048         normal/normal case to before the switch.
23049         (_FP_DIV): Likewise.
23051 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23052             Mike Frysinger  <vapier@gentoo.org>
23054         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23055         check for __NR_fadvise64_64.
23057 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23059         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23060         0, not just to plain "0" as a statement.
23061         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23062         with cw.
23064 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23066         * NEWS: Use sourceware.org in Bugzilla URL.
23068 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23071         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23073         * stdio-common/tst-put-error.c (do_test): Add newline to the
23074         padded test to ensure flush.
23076 2012-12-05  Jeff Law  <law@redhat.com>
23078         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23080 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23082         * README: Don't refer to ports add-on as distributed separately.
23083         Mention AArch64 in list of systems supported in the ports add-on.
23085         * LICENSES: Add more non-FSF copyright and license notices.
23087         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23088         ((unused)).
23090         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23092         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23093         10000 as width of padded output.
23095 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23097         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23099         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23100         variable LX with __attribute__ ((unused)).
23101         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23102         Likewise.
23103         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23104         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23105         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23106         with __attribute__ ((unused)).
23108 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23110         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23112 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23114         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23115         (CFLAGS-nldbl-acos.c): New variable.
23116         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23117         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23118         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23119         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23120         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23121         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23122         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23123         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23124         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23125         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23126         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23127         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23128         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23129         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23130         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23131         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23132         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23133         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23134         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23135         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23136         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23137         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23138         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23139         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23140         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23141         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23142         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23143         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23144         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23145         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23146         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23147         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23148         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23149         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23150         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23151         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23152         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23153         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23154         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23155         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23156         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23157         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23158         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23159         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23160         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23161         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23162         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23163         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23164         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23165         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23166         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23167         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23168         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23169         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23170         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23171         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23172         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23173         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23174         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23175         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23176         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23177         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23178         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23179         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23180         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23181         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23182         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23183         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23184         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23185         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23186         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23187         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23188         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23189         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23190         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23191         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23192         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23193         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23194         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23195         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23196         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23197         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23198         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23199         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23200         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23201         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23202         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23203         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23204         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23205         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23206         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23207         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23208         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23209         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23210         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23211         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23212         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23215         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23217         [BZ #14914]
23218         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23219         whole low double instead of just low 47 bits when splitting values
23220         into two parts.
23222 2012-12-03  Allan McRae  <allan@archlinux.org>
23224         * manual/stdio.texi (Predefined Printf Handlers): Remove
23225         @hsep and @vsep usage.
23227 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23229         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23230         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23232 2012-12-03  Jeff Law  <law@redhat.com>
23234         * time/sys/time.h (settimeofday): Do not mark TV argument
23235         as __nonnull.
23237 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23239         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23240         when currently writing and seek to current position when not.
23241         * libio/Makefile (tests): Remove bug-fclose1.
23242         * libio/bug-fclose1.c: Delete.
23244 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23246         * manual/arith.texi (feenableexcept): Fix typo.
23247         (fedisableexcept): Likewise.
23249 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23251         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23252         second, differently-typed declaration, rather than a cast.
23254 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23256         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23257         * include/rpc/svc.h: ... here.
23259 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23261         [BZ #13013]
23262         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23263         depending n and resplen2 to catch cases where answer
23264         equals answerp2.
23266 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23268         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23269         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23271 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23273         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23275 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23277         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23279 2012-11-28  Jeff Law  <law@redhat.com>
23281         [BZ #13761]
23282         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23283         dataset_temporary.  Track alloca usage into alloca_used.
23284         If dataset is large allocate and release it via malloc/free.
23286 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23288         [BZ #14197]
23289         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23291 2012-11-28  David S. Miller  <davem@davemloft.net>
23293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23295 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23297         [BZ #14803]
23298         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23299         of pi/2 rounded to nearest to 64 bits.
23300         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23301         nearest to 64 bits.
23302         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23303         bits.
23305 2012-11-28  Jeff Law <law@redhat.com>
23306             Martin Osvald <mosvald@redhat.com>
23308         [BZ #14889]
23309         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23310         * sunrpc/svc.c: Include time.h.
23311         (__svc_accept_failed): New function.
23312         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23313         any reason other than EINTR, call __svc_accept_failed.
23314         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23315         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23317 2012-11-28  Andreas Schwab  <schwab@suse.de>
23319         * scripts/abilist.awk: Also handle indirect functions in .opd
23320         section.
23322 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23324         [BZ #13881]
23325         * sysdeps/x86/fpu/powl_helper.c: New file.
23326         * sysdeps/x86/fpu/Makefile: Likewise.
23327         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23328         (p3): New object.
23329         (__ieee754_powl): Use __powl_helper for finite arguments except
23330         integer exponents below 8.
23331         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23332         (p3): New object.
23333         (__ieee754_powl): Use __powl_helper for finite arguments except
23334         integer exponents below 8.
23335         * math/libm-test.inc (pow_test): Add more tests and enable some
23336         previously disabled tests.
23337         * sysdeps/i386/fpu/libm-test-ulps: Update.
23338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23340 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23341             Carlos O'Donell  <carlos_odonell@mentor.com>
23343         * nss/makedb.c (is_prime): Assert that input is odd and greater
23344         than 4.  Note that fact in a comment too.
23345         (next_prime): Add 4 to input.
23347 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23349         [BZ #11741]
23350         * libio/Makefile (tests): Add test case tst-fwrite-error.
23351         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23352         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23353         * libio/tst-fwrite-error.c: New test case.
23355 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23357         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23358         before casting to void *.
23359         * include/libc-internal.h (__pointer_type): New macro.
23360         (__integer_if_pointer_type_sub): Likewise.
23361         (__integer_if_pointer_type): Likewise.
23362         (cast_to_integer): Likewise.
23363         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23364         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23365         before casting to atomic64_t.
23366         (atomic_exchange_acq): Likewise.
23367         (__arch_exchange_and_add_body): Likewise.
23368         (__arch_add_body): Likewise.
23369         (atomic_add_negative): Likewise.
23370         (atomic_add_zero): Likewise.
23372 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23374         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23375         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23376         (add_fdes): Likewise.
23377         (linear_search_fdes): Likewise.
23378         (binary_search_unencoded_fdes): Likewise.
23380 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23382         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23384 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23386         * configure.in: Autodetect C++ header directories.
23387         * configure: Regenerated.
23389 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23391         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23393 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23397 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23399         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23400         LDBL_MANT_DIG == 106]: Disable some tests.
23401         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23402         Likewise.
23403         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23404         Likewise.
23406         [BZ #14871]
23407         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23408         input for small inputs.  Return +/- pi/2 for large inputs.
23409         * math/libm-test.inc (atan_test): Add more tests.
23411         * sysdeps/generic/unwind-dw2-fde-glibc.c
23412         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23413         __attribute__ ((unused)).
23415         [BZ #14645]
23416         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23417         x * y if x and y are nonzero and z is zero.
23419         [BZ #14811]
23420         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23421         nonzero exponents with absolute value below 0x1p-117 to +/-
23422         0x1p-117.
23424         [BZ #14869]
23425         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23426         up arguments below 2**-450, not just those below 2**-500.
23427         * math/libm-test.inc (hypot_test): Add another test.
23429         [BZ #14868]
23430         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23431         Return a+b for ratio over 2**120, not 2**60.
23432         * math/libm-test.inc (hypot_test): Add another test.
23434         * math/libm-test.inc (clog_test): Use
23435         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23436         (clog10_test): Likewise.
23438         [BZ #6778]
23439         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23441 2012-11-22  Andreas Schwab  <schwab@suse.de>
23443         * sysdeps/i386/fpu/libm-test-ulps: Update.
23445 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23447         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23448         printf output with newline.
23450 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23452         [BZ #14865]
23453         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23454         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23455         -z nodlopen, -z initfirst and -z execstack support.
23456         * configure: Regenerated.
23458         * elf/elf.h (DF_1_NODIRECT): New macro.
23459         (DF_1_IGNMULDEF): Likewise.
23460         (DF_1_NOKSYMS): Likewise.
23461         (DF_1_NOHDR): Likewise.
23462         (DF_1_EDITED): Likewise.
23463         (DF_1_NORELOC): Likewise.
23464         (DF_1_SYMINTPOSE): Likewise.
23465         (DF_1_GLOBAUDIT): Likewise.
23466         (DF_1_SINGLETON): Likewise.
23467         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23468         DT_1_SUPPORTED_MASK bits.
23469         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23471 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23473         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23475 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23477         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23478         macro.
23480         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23481         (sendmmsg): Move declarations...
23482         * socket/sys/socket.h: ... here.
23483         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23484         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23485         include it from...
23486         * socket/recvmmsg.c: ... this new file.
23487         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23488         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23489         definition of __sendmmsg hidden.
23490         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23491         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23492         Move ENOSYS stub into and include it from...
23493         * socket/sendmmsg.c: ... this new file.
23494         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23495         (sysdep_routines): Move recvmmsg and sendmmsg...
23496         * socket/Makefile (routines): ... here.
23497         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23498         (GLIBC_PRIVATE): Add __sendmmsg.
23499         * include/sys/socket.h (__sendmmsg): Add declarations.
23500         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23501         sendmmsg.
23503 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23505         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23506         variable I1 with __attribute__ ((unused)).
23507         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23509 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23511         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23512         DUMMY variables with __attribute__ ((unused)).
23514         * bits/byteswap.h: Include <bits/types.h>.
23515         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23517 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23519         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23520         string_t.  Do not manually set errno.
23521         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23522         length with __strnlen.  Make sure to both set errno and return it on
23523         failure.
23525 2012-11-19  David S. Miller  <davem@davemloft.net>
23527         With help from Joseph Myers.
23528         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23529         very large arguments properly.
23530         * math/libm-test.inc (atan_test): New tests.
23531         (atan2_test): New tests.
23532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23535 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23537         [BZ #14856]
23538         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23539         Define to 3.
23541         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23542         [POSIX] (EADDRNOTAVAIL): Likewise.
23543         [POSIX] (EAFNOSUPPORT): Likewise.
23544         [POSIX] (EALREADY): Likewise.
23545         [POSIX] (ECONNABORTED): Likewise.
23546         [POSIX] (ECONNREFUSED): Likewise.
23547         [POSIX] (ECONNRESET): Likewise.
23548         [POSIX] (EDESTADDRREQ): Likewise.
23549         [POSIX] (EDQUOT): Likewise.
23550         [POSIX] (EHOSTUNREACH): Likewise.
23551         [POSIX] (EIDRM): Likewise.
23552         [POSIX] (EISCONN): Likewise.
23553         [POSIX] (ELOOP): Likewise.
23554         [POSIX] (EMULTIHOP): Likewise.
23555         [POSIX] (ENETDOWN): Likewise.
23556         [POSIX] (ENETUNREACH): Likewise.
23557         [POSIX] (ENOBUFS): Likewise.
23558         [POSIX] (ENODATA): Likewise.
23559         [POSIX] (ENOLINK): Likewise.
23560         [POSIX] (ENOMSG): Likewise.
23561         [POSIX] (ENOPROTOOPT): Likewise.
23562         [POSIX] (ENOSR): Likewise.
23563         [POSIX] (ENOSTR): Likewise.
23564         [POSIX] (ENOTCONN): Likewise.
23565         [POSIX] (ENOTSOCK): Likewise.
23566         [POSIX] (EOPNOTSUPP): Likewise.
23567         [POSIX] (EOVERFLOW): Likewise.
23568         [POSIX] (EPROTO): Likewise.
23569         [POSIX] (EPROTONOSUPPORT): Likewise.
23570         [POSIX] (EPROTOTYPE): Likewise.
23571         [POSIX] (ESTALE): Likewise.
23572         [POSIX] (ETIME): Likewise.
23573         [POSIX] (ETXTBSY): Likewise.
23574         [POSIX] (EWOULDBLOCK): Likewise.
23575         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23576         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23577         [POSIX] (SEEK_CUR): Likewise.
23578         [POSIX] (SEEK_END): Likewise.
23579         [POSIX || UNIX98] (mode_t): Do not require.
23580         [POSIX] (off_t): Likewise.
23581         [POSIX] (pid_t): Likewise.
23582         [POSIX] (sys/stat.h): Do not allow header.
23583         [POSIX] (unistd.h): Likewise.
23584         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23585         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23586         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23587         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23588         require.
23589         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23590         sigevent): Specify elements.
23591         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23592         entry.
23593         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23594         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23596         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23597         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23598         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23599         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23600         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23601         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23602         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23603         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23604         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23605         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23606         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23607         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23608         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23609         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23610         Likewise.
23611         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23612         Likewise.
23613         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23614         Likewise.
23615         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23616         Likewise.
23617         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23618         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23619         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23620         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23621         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23622         Specify lower bound on value.
23623         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23624         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23625         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23626         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23627         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23628         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23629         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23630         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23631         value.
23632         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23633         as optional.
23634         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23635         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23636         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23637         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23638         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23639         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23640         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23641         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23642         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23643         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23644         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23645         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23646         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23647         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23648         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23649         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23650         entry.
23651         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23652         optional.
23653         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23654         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23655         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23656         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23657         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23658         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23659         Likewise.
23660         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23661         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23662         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23663         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23664         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23665         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23666         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23667         as optional.
23668         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23669         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23670         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23671         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23672         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23673         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23674         specify as optional.
23675         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23676         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23677         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23678         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23679         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23680         [XPG3] (NL_LANGMAX): Likewise.
23681         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23682         [POSIX || XPG3] (NL_NMAX): Likewise.
23683         [POSIX || XPG3] (NL_SETMAX): Likewise.
23684         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23685         [XPG3] (NZERO): Likewise.
23686         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23687         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23688         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23689         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23690         (REG_ERANGE): Expect.
23691         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23692         optional-constant.
23693         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23694         Use (void) in prototype.
23695         [POSIX] (*_t): Allow.
23696         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23697         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23698         (WRDE_BADVAL): Expect.
23700         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23701         expect.
23702         [XPG3 || XPG4] (O_RSYNC): Likewise.
23703         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23704         Likewise.
23705         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23706         [XPG3 || XPG4] (sigqueue): Likewise.
23707         [XPG3 || XPG4] (sigtimedwait): Likewise.
23708         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23709         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23710         [XPG3 || XPG4] (vsnprintf): Likewise.
23711         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23712         Likewise.
23713         [XPG3 || XPG4] (blksize_t): Likewise.
23714         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23715         Likewise.
23716         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23717         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23718         [XPG3 || XPG4] (struct itimerspec): Likewise.
23719         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23720         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23721         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23722         [XPG3 || XPG4] (clockid_t): Likewise.
23723         [XPG3 || XPG4] (timer_t): Likewise.
23724         [XPG3 || XPG4] (clock_getres): Likewise.
23725         [XPG3 || XPG4] (clock_gettime): Likewise.
23726         [XPG3 || XPG4] (clock_settime): Likewise.
23727         [XPG3 || XPG4] (nanosleep): Likewise.
23728         [XPG3 || XPG4] (timer_create): Likewise.
23729         [XPG3 || XPG4] (timer_delete): Likewise.
23730         [XPG3 || XPG4] (timer_gettime): Likewise.
23731         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23732         [XPG3 || XPG4] (timer_settime): Likewise.
23733         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23734         [XPG3 || XPG4] (getlogin_r): Likewise.
23735         [XPG3 || XPG4] (pread): Likewise.
23736         [XPG3 || XPG4] (pthread_atfork): Likewise.
23737         [XPG3 || XPG4] (pwrite): Likewise.
23739         [BZ #14835]
23740         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23741         <bits/siginfo.h>.
23743 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23745         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23746         finalizing MALLSTREAM.
23748         * sysdeps/mach/hurd/syncfs.c: New file.
23750 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23752         [BZ #14719]
23753         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23754         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23755         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23756         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23757         (_nss_dns_gethostbyname4_r): Likewise.
23758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23759         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23761 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23763         [BZ #13763]
23764         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23766 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23768         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23769         * elf/cache.c (print_entry): Print ",AArch64" for
23770         FLAG_AARCH64_LIB64
23772         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23773         * elf/cache.c (print_entry): Print ",hard-float" for
23774         FLAG_ARM_LIBHF.
23776 2012-11-18  David S. Miller  <davem@davemloft.net>
23778         With help from Joseph Myers.
23779         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23780         cutoff to 2**-13.
23781         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23782         cutoff to 2**-25.
23783         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23784         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23785         small.
23786         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23787         * math/libm-test.inc (y0_test): New tests.
23788         (y1_test): New tests.
23789         * sysdeps/i386/fpu/libm-test-ulps: Update.
23790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23793 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23795         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23796         64-bit targets.
23797         * configure: Regenerated.
23799 2012-11-17  David S. Miller  <davem@davemloft.net>
23801         [BZ #14811]
23802         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23803         nonzero exponents with absolute value below 0x1p-128 to +/-
23804         0x1p-128.
23806 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23808         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23810         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23812         * posix/getconf-speclist.c: New file.
23813         * posix/posix-envs.def: Likewise.
23814         * posix/confstr.c (START_ENV_GROUP): New macro.
23815         (END_ENV_GROUP): Likewise.
23816         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23817         (KNOWN_PRESENT_ENV_STRING): Likewise.
23818         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23819         (UNKNOWN_ENVIRONMENT): Likewise.
23820         (confstr): Include posix-envs.def instead of handling
23821         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23822         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23823         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23824         (END_ENV_GROUP): Likewise.
23825         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23826         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23827         (UNKNOWN_ENVIRONMENT): Likewise.
23828         (__sysconf): Include posix-envs.def instead of handling associated
23829         cases directly here.
23830         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23831         preprocessing getconf-speclist.c rather than running getconf or
23832         generating empty file.
23834 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23836         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23838 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23840         [BZ #14672]
23841         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23843 2012-11-16  David S. Miller  <davem@davemloft.net>
23845         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23846         smaller than LDBL_EPSILON/2.0L, just return xm1.
23848 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23850         * elf/tst-array1.c (init): Set constructor priority to 1000.
23851         (fini): Set destructor priority to 1000.
23852         * elf/tst-array2dep.c: Likewise.
23854 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23856         [BZ #11741]
23857         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23858         (_IO_new_file_xsputn): Also return EOF if none of the input
23859         data was written when overflow failed.
23860         * libio/iopadn.c (_IO_padn): Likewise.
23861         * libio/iowpadn.c (_IO_wpadn): Likewise.
23862         * stdio-common/tst-put-error.c: Add copyright notice.
23863         (do_test): Add case for printing padded string.
23864         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23865         _IO_padn returned error.
23866         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23867         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23868         return EOF.
23870 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23872         * libio/libioP.h: Add comment note that the references to C++
23873         bits are now obsolete.
23875 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23877         * math/libm-test.inc (check_complex): Use asprintf.
23879 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23881         * debug/pcprofiledump.c (print_version): Update copyright year.
23882         * malloc/memusagestat.c (print_version): Likewise.
23884 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23886         [BZ #14831]
23887         * elf/Makefile (tests): Add tst-audit8.
23888         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23889         ($(objpfx)tst-audit8.out): New target.
23890         (tst-audit8-ENV): New variable.
23891         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23892         audit if l_reloc_result is NULL.
23893         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23894         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23895         * elf/tst-audit8.c: New file.
23897 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23899         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23900         * misc/Makefile (CFLAGS-select.c): Define.
23901         * posix/Makefile (CFLAGS-pause.c): Define.
23903 2012-11-13  David S. Miller  <davem@davemloft.net>
23905         * crypt/Makefile: Move test targets after toplevel Rules
23906         inclusion.  Grab any necessary sysdep routines when linking.
23907         * crypt/md5.c (md5_process_block): Remove define, we will always
23908         name it __md5_process_block.
23909         (md5_finish_ctx): Update md5_process_block call.
23910         (md5_stream): Likewise.
23911         (md5_process_bytes): Likewise.
23912         (md5_process_block): Rename to __md5_process_block and move to ...
23913         * crypt/md5-block.c: ... here.
23914         * crypt/sha256.c (sha256_process_block): Move to ...
23915         * crypt/sha256-block.c: ... here.
23916         * crypt/sha512.c (sha512_process_block): Move to ...
23917         * crypt/sha512-block.c: ... here.
23918         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23919         path.
23920         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23921         * sysdeps/sparc/sparc64/multiarch/Makefile
23922         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23923         crypt subdir.
23924         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23925         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23926         multiarch changes.
23927         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23928         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23929         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23930         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23931         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23932         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23933         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23934         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23935         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23936         file.
23937         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23938         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23939         file.
23940         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23942 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
23944         * timezone/tzselect.ksh: Update from tzcode git revision
23945         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23946         * timezone/zdump.c: Likewise.
23947         * timezone/zic.c: Likewise.
23948         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23949         in TZVERSION setting, not $(PKGVERSION).
23950         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
23951         REPORT_BUGS_TO settings.
23953         [BZ #14838]
23954         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23955         macro.
23957 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23959         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23960         detection to immediately after _FP_ROUND().
23961         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23962         bits are 0.
23964 2012-11-11  David S. Miller  <davem@davemloft.net>
23966         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23967         inttypes.h
23968         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23969         __close rather than their public counterparts.
23971 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
23973         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23974         file.
23975         [UNIX98] (sem_timedwait): Do not expect.
23976         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23977         [XPG4 || UNIX98] (sockatmark): Do not expect.
23978         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23979         (clock_getcpuclockid): Do not expect.
23980         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23981         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23982         Do not expect.
23983         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23984         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23985         [UNIX98] (vwscanf): Likewise.
23986         [UNIX98] (vswscanf): Likewise.
23988 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
23990         * timezone/version.h: Remove file.
23991         * timezone/README: Do not refer to version.h.
23992         * timezone/Makefile ($(objpfx)zic.o): New dependency on
23993         $(objpfx)version.h.
23994         ($(objpfx)zdump.o): Likewise.
23995         ($(objpfx)version.h): New target.
23997         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23998         2012i.
23999         * timezone/README: Don't mention modification to tzselect.ksh.
24000         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24001         work on unmodified tzselect.ksh.  Substitute version numbers in
24002         tzselect.ksh.
24004         * Makefile (format-me): Remove.
24005         (INSTALL): Adjust indentation.  Use commands directly instead of
24006         using $(format-me).
24008         * aclocal.m4 (ACX_PKGVERSION): New macro.
24009         (ACX_BUGURL): Likewise.
24010         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24011         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24012         (REPORT_BUGS_TO): Likewise.
24013         * configure: Regenerated.
24014         * config.h.in (PKGVERSION): New macro.
24015         (REPORT_BUGS_TO): Likewise.
24016         * config.make.in (PKGVERSION): New variable.
24017         (PKGVERSION_TEXI): Likewise.
24018         (REPORT_BUGS_TO): Likewise.
24019         (REPORT_BUGS_TEXI): Likewise.
24020         * Makefile (format-me): Use -I$(common-objpfx)manual.
24021         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24022         ($(common-objpfx)manual/%): New target.
24023         (manual/%): Remove target.
24024         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24025         (print_version): Use PKGVERSION.
24026         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24027         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24028         and REPORT_BUGS_TO.
24029         ($(objpfx)xtrace): Likewise.
24030         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24031         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24032         (print_version): Use PKGVERSION.
24033         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24034         (do_version): Use PKGVERSION.
24035         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24036         REPORT_BUGS_TO.
24037         (common-ldd-rewrite): Likewise.
24038         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24039         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24040         (print_version): Use PKGVERSION.
24041         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24042         * elf/pldd.c (argp_program_bug_address): Remove variable.
24043         (more_help): New function.
24044         (argp): Use more_help.
24045         (print_version): Use PKGVERSION.
24046         * elf/sln.c (main): Use PKGVERSION.
24047         (usage): Use REPORT_BUGS_TO.
24048         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24049         (top level): Use PKGVERSION.
24050         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24051         (print_version): Use PKGVERSION.
24052         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24053         (print_version): Use PKGVERSION.
24054         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24055         (print_version): Use PKGVERSION.
24056         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24057         (print_version): Use PKGVERSION.
24058         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24059         (print_version): Use PKGVERSION.
24060         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24061         (print_version): Use PKGVERSION.
24062         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24063         and BUGURL.
24064         ($(objpfx)memusage): Likewise.
24065         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24066         (do_version): Use PKGVERSION.
24067         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24068         (print_version): Use PKGVERSION.
24069         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24070         ($PKGVERSION): New variable.
24071         ($REPORT_BUGS_TO): Likewise.
24072         (usage): Use $REPORT_BUGS_TO.
24073         (top level): Use $PKGVERSION.
24074         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24075         ($(objpfx)pkgvers.texi): New rule.
24076         ($(objpfx)stamp-pkgvers): Likewise.
24077         * manual/install.texi: Include pkgvers.texi.
24078         (--with-pkgversion): Document new configure option.
24079         (--with-bugurl): Likewise.
24080         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24081         than necessarily for this particular distribution.  Use
24082         REPORT_BUGS_TO for where to report bugs.
24083         * INSTALL: Regenerated.
24084         * manual/libc.texinfo: Include pkgvers.texi.
24085         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24086         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24087         (print_version): Use PKGVERSION.
24088         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24089         (print_version): Use PKGVERSION.
24090         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24091         (print_version): Use PKGVERSION.
24092         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24093         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24094         macro.
24095         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24096         (print_version): Use PKGVERSION.
24097         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24098         (print_version): Use PKGVERSION.
24099         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24100         and PKGVERSION.
24102         * timezone/checktab.awk: Update from tzcode 2012i.
24103         * timezone/ialloc.c: Likewise.
24104         * timezone/private.h: Likewise.
24105         * timezone/scheck.c: Likewise.
24106         * timezone/tzfile.h: Likewise.
24107         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24108         (TZVERSION): Hardcode tzcode version number.
24109         * timezone/zdump.c: Update from tzcode 2012i.
24110         * timezone/zic.c: Likewise.
24111         * timezone/version.h: New file.
24112         * timezone/README: Describe version.h.  Update upstream location.
24114         [BZ #14824]
24115         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24116         (mktemp): Enable declaration.
24117         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24118         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24119         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24120         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24121         Likewise.
24122         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24123         Likewise.
24124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24125         Likewise.
24126         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24127         Likewise.
24128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24129         Likewise.
24130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24131         Likewise.
24133         [BZ #14821]
24134         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24135         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24136         for copies of such integer values.
24137         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24138         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24140 2012-11-09  Andreas Jaeger  <aj@suse.de>
24142         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24143         definitions and declarations that are provided by
24144         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24146 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24148         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24149         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24150         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24151         definition.
24153 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24155         * elf/elf.h: Update comment before AArch64 relocations.
24157 2012-11-07  David S. Miller  <davem@davemloft.net>
24159         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24160         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24161         (__start_context): Declare.
24162         (__makecontext_ret): Delete.
24163         (__makecontext): Hook up __start_context instead of
24164         __makecontext_ret.
24165         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24166         (sysdep_routines): Add __start_context when in stdlib.
24168 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24170         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24171         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24172         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24173         hardcoded "nm".
24174         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24175         (READELF): New variable.  Use it instead of hardcoded "readelf".
24177 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24179         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24180         * sysdeps/x86/Makefile: Here.
24181         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24182         * sysdeps/x86/tst-xmmymm.sh: This.
24184 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24186         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24187         expectations.
24188         [UNIX98] (pthread_barrier_t): Do not expect.
24189         [UNIX98] (pthread_barrierattr_t): Likewise.
24190         [UNIX98] (pthread_spinlock_t): Likewise.
24191         [UNIX98] (pthread_barrier_destroy): Likewise.
24192         [UNIX98] (pthread_barrier_init): Likewise.
24193         [UNIX98] (pthread_barrier_wait): Likewise.
24194         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24195         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24196         [UNIX98] (pthread_barrierattr_init): Likewise.
24197         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24198         [UNIX98] (pthread_getcpuclockid): Likewise.
24199         [UNIX98] (pthread_mutex_timedlock): Likewise.
24200         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24201         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24202         [UNIX98] (pthread_sigmask): Likewise.
24203         [UNIX98] (pthread_spin_destroy): Likewise.
24204         [UNIX98] (pthread_spin_init): Likewise.
24205         [UNIX98] (pthread_spin_lock): Likewise.
24206         [UNIX98] (pthread_spin_trylock): Likewise.
24207         [UNIX98] (pthread_spin_unlock): Likewise.
24208         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24209         Do not expect.
24210         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24211         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24212         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24213         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24214         [XPG3 || XPG4] (pthread_key_t): Likewise.
24215         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24216         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24217         [XPG3 || XPG4] (pthread_once_t): Likewise.
24218         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24219         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24220         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24221         [XPG3 || XPG4] (pthread_t): Likewise.
24223         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24224         not expect.
24225         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24227         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24228         Change function return type to int.
24230         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24231         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24232         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24233         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24234         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24235         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24236         [!POSIX] (posix_madvise): Likewise.
24237         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24238         && !UNIX98].
24239         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24240         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24241         (mode_t): Likewise.
24242         (posix_mem_offset): Likewise.
24243         (posix_typed_mem_get_info): Likewise.
24244         (posix_typed_mem_open): Likewise.
24246         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24247         Change condition to [XOPEN2K8].
24249         * conform/conformtest.pl: Preprocess allow-header data with -x c
24250         instead of from stdin.
24251         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24252         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24253         [C99-based standards] (cerfc): Likewise.
24254         [C99-based standards] (cexp2): Likewise.
24255         [C99-based standards] (cexpm1): Likewise.
24256         [C99-based standards] (clog10): Likewise.
24257         [C99-based standards] (clog1p): Likewise.
24258         [C99-based standards] (clog2): Likewise.
24259         [C99-based standards] (clgamma): Likewise.
24260         [C99-based standards] (ctgamma): Likewise.
24261         [C99-based standards] (cerff): Likewise.
24262         [C99-based standards] (cerfcf): Likewise.
24263         [C99-based standards] (cexp2f): Likewise.
24264         [C99-based standards] (cexpm1f): Likewise.
24265         [C99-based standards] (clog10f): Likewise.
24266         [C99-based standards] (clog1pf): Likewise.
24267         [C99-based standards] (clog2f): Likewise.
24268         [C99-based standards] (clgammaf): Likewise.
24269         [C99-based standards] (ctgammaf): Likewise.
24270         [C99-based standards] (cerfl): Likewise.
24271         [C99-based standards] (cerfcl): Likewise.
24272         [C99-based standards] (cexp2l): Likewise.
24273         [C99-based standards] (cexpm1l): Likewise.
24274         [C99-based standards] (clog10l): Likewise.
24275         [C99-based standards] (clog1pl): Likewise.
24276         [C99-based standards] (clog2l): Likewise.
24277         [C99-based standards] (clgammal): Likewise.
24278         [C99-based standards] (ctgammal): Likewise.
24279         * conform/data/inttypes.h-data [C99-based standards]: Include
24280         stdint.h-data.  Remove all expectations for stdint.h contents.
24281         [C99-based standards] (PRI*): Do not allow.
24282         [C99-based standards] (SCN*): Likewise.
24283         [C99-based standards] (*_t): Likewise.
24284         [C99-based-standards] (PRId8): Expect macro.
24285         [C99-based-standards] (PRIi8): Likewise.
24286         [C99-based-standards] (PRIo8): Likewise.
24287         [C99-based-standards] (PRIu8): Likewise.
24288         [C99-based-standards] (PRIx8): Likewise.
24289         [C99-based-standards] (PRIX8): Likewise.
24290         [C99-based-standards] (SCNd8): Likewise.
24291         [C99-based-standards] (SCNi8): Likewise.
24292         [C99-based-standards] (SCNo8): Likewise.
24293         [C99-based-standards] (SCNu8): Likewise.
24294         [C99-based-standards] (SCNx8): Likewise.
24295         [C99-based-standards] (PRIdLEAST8): Likewise.
24296         [C99-based-standards] (PRIiLEAST8): Likewise.
24297         [C99-based-standards] (PRIoLEAST8): Likewise.
24298         [C99-based-standards] (PRIuLEAST8): Likewise.
24299         [C99-based-standards] (PRIxLEAST8): Likewise.
24300         [C99-based-standards] (PRIXLEAST8): Likewise.
24301         [C99-based-standards] (SCNdLEAST8): Likewise.
24302         [C99-based-standards] (SCNiLEAST8): Likewise.
24303         [C99-based-standards] (SCNoLEAST8): Likewise.
24304         [C99-based-standards] (SCNuLEAST8): Likewise.
24305         [C99-based-standards] (SCNxLEAST8): Likewise.
24306         [C99-based-standards] (PRIdFAST8): Likewise.
24307         [C99-based-standards] (PRIiFAST8): Likewise.
24308         [C99-based-standards] (PRIoFAST8): Likewise.
24309         [C99-based-standards] (PRIuFAST8): Likewise.
24310         [C99-based-standards] (PRIxFAST8): Likewise.
24311         [C99-based-standards] (PRIXFAST8): Likewise.
24312         [C99-based-standards] (SCNdFAST8): Likewise.
24313         [C99-based-standards] (SCNiFAST8): Likewise.
24314         [C99-based-standards] (SCNoFAST8): Likewise.
24315         [C99-based-standards] (SCNuFAST8): Likewise.
24316         [C99-based-standards] (SCNxFAST8): Likewise.
24317         [C99-based-standards] (PRId16): Likewise.
24318         [C99-based-standards] (PRIi16): Likewise.
24319         [C99-based-standards] (PRIo16): Likewise.
24320         [C99-based-standards] (PRIu16): Likewise.
24321         [C99-based-standards] (PRIx16): Likewise.
24322         [C99-based-standards] (PRIX16): Likewise.
24323         [C99-based-standards] (SCNd16): Likewise.
24324         [C99-based-standards] (SCNi16): Likewise.
24325         [C99-based-standards] (SCNo16): Likewise.
24326         [C99-based-standards] (SCNu16): Likewise.
24327         [C99-based-standards] (SCNx16): Likewise.
24328         [C99-based-standards] (PRIdLEAST16): Likewise.
24329         [C99-based-standards] (PRIiLEAST16): Likewise.
24330         [C99-based-standards] (PRIoLEAST16): Likewise.
24331         [C99-based-standards] (PRIuLEAST16): Likewise.
24332         [C99-based-standards] (PRIxLEAST16): Likewise.
24333         [C99-based-standards] (PRIXLEAST16): Likewise.
24334         [C99-based-standards] (SCNdLEAST16): Likewise.
24335         [C99-based-standards] (SCNiLEAST16): Likewise.
24336         [C99-based-standards] (SCNoLEAST16): Likewise.
24337         [C99-based-standards] (SCNuLEAST16): Likewise.
24338         [C99-based-standards] (SCNxLEAST16): Likewise.
24339         [C99-based-standards] (PRIdFAST16): Likewise.
24340         [C99-based-standards] (PRIiFAST16): Likewise.
24341         [C99-based-standards] (PRIoFAST16): Likewise.
24342         [C99-based-standards] (PRIuFAST16): Likewise.
24343         [C99-based-standards] (PRIxFAST16): Likewise.
24344         [C99-based-standards] (PRIXFAST16): Likewise.
24345         [C99-based-standards] (SCNdFAST16): Likewise.
24346         [C99-based-standards] (SCNiFAST16): Likewise.
24347         [C99-based-standards] (SCNoFAST16): Likewise.
24348         [C99-based-standards] (SCNuFAST16): Likewise.
24349         [C99-based-standards] (SCNxFAST16): Likewise.
24350         [C99-based-standards] (PRId32): Likewise.
24351         [C99-based-standards] (PRIi32): Likewise.
24352         [C99-based-standards] (PRIo32): Likewise.
24353         [C99-based-standards] (PRIu32): Likewise.
24354         [C99-based-standards] (PRIx32): Likewise.
24355         [C99-based-standards] (PRIX32): Likewise.
24356         [C99-based-standards] (SCNd32): Likewise.
24357         [C99-based-standards] (SCNi32): Likewise.
24358         [C99-based-standards] (SCNo32): Likewise.
24359         [C99-based-standards] (SCNu32): Likewise.
24360         [C99-based-standards] (SCNx32): Likewise.
24361         [C99-based-standards] (PRIdLEAST32): Likewise.
24362         [C99-based-standards] (PRIiLEAST32): Likewise.
24363         [C99-based-standards] (PRIoLEAST32): Likewise.
24364         [C99-based-standards] (PRIuLEAST32): Likewise.
24365         [C99-based-standards] (PRIxLEAST32): Likewise.
24366         [C99-based-standards] (PRIXLEAST32): Likewise.
24367         [C99-based-standards] (SCNdLEAST32): Likewise.
24368         [C99-based-standards] (SCNiLEAST32): Likewise.
24369         [C99-based-standards] (SCNoLEAST32): Likewise.
24370         [C99-based-standards] (SCNuLEAST32): Likewise.
24371         [C99-based-standards] (SCNxLEAST32): Likewise.
24372         [C99-based-standards] (PRIdFAST32): Likewise.
24373         [C99-based-standards] (PRIiFAST32): Likewise.
24374         [C99-based-standards] (PRIoFAST32): Likewise.
24375         [C99-based-standards] (PRIuFAST32): Likewise.
24376         [C99-based-standards] (PRIxFAST32): Likewise.
24377         [C99-based-standards] (PRIXFAST32): Likewise.
24378         [C99-based-standards] (SCNdFAST32): Likewise.
24379         [C99-based-standards] (SCNiFAST32): Likewise.
24380         [C99-based-standards] (SCNoFAST32): Likewise.
24381         [C99-based-standards] (SCNuFAST32): Likewise.
24382         [C99-based-standards] (SCNxFAST32): Likewise.
24383         [C99-based-standards] (PRId64): Likewise.
24384         [C99-based-standards] (PRIi64): Likewise.
24385         [C99-based-standards] (PRIo64): Likewise.
24386         [C99-based-standards] (PRIu64): Likewise.
24387         [C99-based-standards] (PRIx64): Likewise.
24388         [C99-based-standards] (PRIX64): Likewise.
24389         [C99-based-standards] (SCNd64): Likewise.
24390         [C99-based-standards] (SCNi64): Likewise.
24391         [C99-based-standards] (SCNo64): Likewise.
24392         [C99-based-standards] (SCNu64): Likewise.
24393         [C99-based-standards] (SCNx64): Likewise.
24394         [C99-based-standards] (PRIdLEAST64): Likewise.
24395         [C99-based-standards] (PRIiLEAST64): Likewise.
24396         [C99-based-standards] (PRIoLEAST64): Likewise.
24397         [C99-based-standards] (PRIuLEAST64): Likewise.
24398         [C99-based-standards] (PRIxLEAST64): Likewise.
24399         [C99-based-standards] (PRIXLEAST64): Likewise.
24400         [C99-based-standards] (SCNdLEAST64): Likewise.
24401         [C99-based-standards] (SCNiLEAST64): Likewise.
24402         [C99-based-standards] (SCNoLEAST64): Likewise.
24403         [C99-based-standards] (SCNuLEAST64): Likewise.
24404         [C99-based-standards] (SCNxLEAST64): Likewise.
24405         [C99-based-standards] (PRIdFAST64): Likewise.
24406         [C99-based-standards] (PRIiFAST64): Likewise.
24407         [C99-based-standards] (PRIoFAST64): Likewise.
24408         [C99-based-standards] (PRIuFAST64): Likewise.
24409         [C99-based-standards] (PRIxFAST64): Likewise.
24410         [C99-based-standards] (PRIXFAST64): Likewise.
24411         [C99-based-standards] (SCNdFAST64): Likewise.
24412         [C99-based-standards] (SCNiFAST64): Likewise.
24413         [C99-based-standards] (SCNoFAST64): Likewise.
24414         [C99-based-standards] (SCNuFAST64): Likewise.
24415         [C99-based-standards] (SCNxFAST64): Likewise.
24416         [C99-based-standards] (PRIdMAX): Likewise.
24417         [C99-based-standards] (PRIiMAX): Likewise.
24418         [C99-based-standards] (PRIoMAX): Likewise.
24419         [C99-based-standards] (PRIuMAX): Likewise.
24420         [C99-based-standards] (PRIxMAX): Likewise.
24421         [C99-based-standards] (PRIXMAX): Likewise.
24422         [C99-based-standards] (SCNdMAX): Likewise.
24423         [C99-based-standards] (SCNiMAX): Likewise.
24424         [C99-based-standards] (SCNoMAX): Likewise.
24425         [C99-based-standards] (SCNuMAX): Likewise.
24426         [C99-based-standards] (SCNxMAX): Likewise.
24427         [C99-based-standards] (PRIdPTR): Likewise.
24428         [C99-based-standards] (PRIiPTR): Likewise.
24429         [C99-based-standards] (PRIoPTR): Likewise.
24430         [C99-based-standards] (PRIuPTR): Likewise.
24431         [C99-based-standards] (PRIxPTR): Likewise.
24432         [C99-based-standards] (PRIXPTR): Likewise.
24433         [C99-based-standards] (SCNdPTR): Likewise.
24434         [C99-based-standards] (SCNiPTR): Likewise.
24435         [C99-based-standards] (SCNoPTR): Likewise.
24436         [C99-based-standards] (SCNuPTR): Likewise.
24437         [C99-based-standards] (SCNxPTR): Likewise.
24438         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24439         allow.
24440         * conform/data/stdint.h-data: Update comments to clarify
24441         requirements.
24442         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24443         type.
24444         [C99-based standards] (INT8_MAX): Likewise.
24445         [C99-based standards] (INT16_MIN): Likewise.
24446         [C99-based standards] (INT16_MAX): Likewise.
24447         [C99-based standards] (INT32_MIN): Likewise.
24448         [C99-based standards] (INT32_MAX): Likewise.
24449         [C99-based standards] (INT64_MIN): Likewise.
24450         [C99-based standards] (INT64_MAX): Likewise.
24451         [C99-based standards] (UINT8_MAX): Likewise.
24452         [C99-based standards] (UINT16_MAX): Likewise.
24453         [C99-based standards] (UINT32_MAX): Likewise.
24454         [C99-based standards] (UINT64_MAX): Likewise.
24455         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24456         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24457         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24458         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24459         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24460         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24461         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24462         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24463         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24464         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24465         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24466         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24467         [C99-based standards] (INT_FAST8_MIN): Likewise.
24468         [C99-based standards] (INT_FAST8_MAX): Likewise.
24469         [C99-based standards] (INT_FAST16_MIN): Likewise.
24470         [C99-based standards] (INT_FAST16_MAX): Likewise.
24471         [C99-based standards] (INT_FAST32_MIN): Likewise.
24472         [C99-based standards] (INT_FAST32_MAX): Likewise.
24473         [C99-based standards] (INT_FAST64_MIN): Likewise.
24474         [C99-based standards] (INT_FAST64_MAX): Likewise.
24475         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24476         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24477         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24478         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24479         [C99-based standards] (INTPTR_MIN): Likewise.
24480         [C99-based standards] (INTPTR_MAX): Likewise.
24481         [C99-based standards] (UINTPTR_MAX): Likewise.
24482         [C99-based standards] (INTMAX_MIN): Likewise.
24483         [C99-based standards] (INTMAX_MAX): Likewise.
24484         [C99-based standards] (UINTMAX_MAX): Likewise.
24485         [C99-based standards] (PTRDIFF_MIN): Likewise.
24486         [C99-based standards] (PTRDIFF_MAX): Likewise.
24487         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24488         [C99-based standards] (SIZE_MAX): Likewise.
24489         [C99-based standards] (WCHAR_MAX): Likewise.
24490         [C99-based standards] (WINT_MAX): Likewise.
24491         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24492         constraint on value.
24493         [C99-based standards] (WCHAR_MIN): Likewise.
24494         [C99-based standards] (WINT_MIN): Likewise.
24495         [C99-based standards] (*_t): Allow.
24496         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24497         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24498         Include math.h-data and complex.h-data.  Remove all expectations
24499         of math.h and complex.h contents.
24500         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24501         at end of line.
24502         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24503         (struct tm): Expect tag.
24504         [C99-based-standards] (wcstof): Expect function.
24505         [C99-based-standards] (wcstold): Likewise.
24506         [C99-based-standards] (wcstoll): Likewise.
24507         [C99-based-standards] (wcstoull): Likewise.
24508         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24509         macro-int-constant.  Specify type.
24510         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24511         constraint on value.
24512         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24513         Specify type.
24514         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24515         Specify value.
24516         [ISO C standards]: Do not allow headers.
24517         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24518         wcs[abcdefghijklmnopqrstuvwxyz]*.
24519         [ISO C standards] (*_t): Do not allow.
24520         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24521         Expect function.
24522         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24523         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24524         Specify type.
24525         [ISO C standards]: Do not allow headers.
24526         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24527         is[abcdefghijklmnopqrstuvwxyz]*.
24528         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24529         to[abcdefghijklmnopqrstuvwxyz]*.
24530         [ISO C standards] (*_t): Do not allow.
24531         * conform/data/stdalign.h-data: New file.
24532         * conform/data/stdbool.h-data: Likewise.
24533         * conform/data/stdnoreturn.h-data: Likewise.
24535 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24537         [BZ #14815]
24538         * manual/filesys.texi (Directory Entries): Typo fix.
24539         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24541 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24543         * elf/elf.h (EM_AARCH64): New macro.
24544         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24545         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24546         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24547         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24548         (R_AARCH64_TLSDESC): Likewise.
24549         (NT_ARM_TLS): Likewise.
24550         (NT_ARM_HW_BREAK): Likewise.
24551         (NT_ARM_HW_WATCH): Likewise.
24553 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24555         [BZ #14811]
24556         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24557         (__ieee754_powl): Saturate nonzero exponents with absolute value
24558         below 0x1p-79 to +/- 0x1p-79.
24559         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24560         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24561         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24562         nonzero exponents with absolute value below 0x1p-32 to +/-
24563         0x1p-32.
24564         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24565         (__ieee754_powl): Saturate nonzero exponents with absolute value
24566         below 0x1p-79 to +/- 0x1p-79.
24567         * math/libm-test.inc (pow_test): Add more tests.
24569 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24571         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24572         _dl_s390_cap_flags with kernel. Increase string length.
24573         (_dl_s390_platforms): Add z196 and zEC12.
24575 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24577         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24578         Change XOPEN21K to XOPEN2K.
24580 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24582         * string/memmove.c: Use memcpy when possible.
24584 2012-11-06  Andreas Jaeger  <aj@suse.de>
24586         * po/eo.po: Update from translation team.
24588 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24590         [BZ #14793]
24591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24592         exponent and small x and y exponents, scale x or y up.  Increase
24593         by 2 the exponent used in scaling up.
24594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24595         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24596         * math/libm-test.inc (fma_test): Add more tests.
24597         (fma_test_towardzero): Likewise.
24598         (fma_test_downward): Likewise.
24599         (fma_test_upward): Likewise.
24601 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24603         [BZ #14805]
24604         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24605         fenv_t *.
24607         [BZ #14801]
24608         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24609         namespace for names of struct fields.
24610         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24611         fenv_t fields.
24612         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24613         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24615 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24617         [BZ #3665]
24618         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24620 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24622         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24623         PTR_DEMANGLE.
24625         [BZ #5246]
24626         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24627         PTR_DEMANGLE.
24629 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24631         [BZ #14797]
24632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24633         definitely overflow as x * y not x * y + z.
24634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24635         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24636         * math/libm-test.inc (fma_test): Add more tests.
24637         (fma_test_towardzero): Likewise.
24638         (fma_test_downward): Likewise.
24639         (fma_test_upward): Likewise.
24641 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24643         [BZ #157]
24645         * include/stub-tag.h: Remove file.
24646         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24647         '#include' of it.
24648         * manual/maint.texi (Porting): Don't reference it.
24649         * Makerules ($(objpfx)stubs): Likewise.
24650         * dirent/closedir.c: Don't include <stub-tag.h>.
24651         * dirent/dirfd.c: Likewise.
24652         * dirent/fdopendir.c: Likewise.
24653         * dirent/getdents.c: Likewise.
24654         * dirent/getdents64.c: Likewise.
24655         * dirent/opendir.c: Likewise.
24656         * dirent/readdir.c: Likewise.
24657         * dirent/readdir64.c: Likewise.
24658         * dirent/readdir64_r.c: Likewise.
24659         * dirent/readdir_r.c: Likewise.
24660         * dirent/rewinddir.c: Likewise.
24661         * dirent/seekdir.c: Likewise.
24662         * dirent/telldir.c: Likewise.
24663         * gmon/profil.c: Likewise.
24664         * grp/setgroups.c: Likewise.
24665         * inet/if_index.c: Likewise.
24666         * io/access.c: Likewise.
24667         * io/chdir.c: Likewise.
24668         * io/chmod.c: Likewise.
24669         * io/chown.c: Likewise.
24670         * io/close.c: Likewise.
24671         * io/dup.c: Likewise.
24672         * io/dup2.c: Likewise.
24673         * io/dup3.c: Likewise.
24674         * io/euidaccess.c: Likewise.
24675         * io/faccessat.c: Likewise.
24676         * io/fchdir.c: Likewise.
24677         * io/fchmod.c: Likewise.
24678         * io/fchmodat.c: Likewise.
24679         * io/fchown.c: Likewise.
24680         * io/fchownat.c: Likewise.
24681         * io/fcntl.c: Likewise.
24682         * io/flock.c: Likewise.
24683         * io/fstatfs.c: Likewise.
24684         * io/fstatfs64.c: Likewise.
24685         * io/fstatvfs.c: Likewise.
24686         * io/fstatvfs64.c: Likewise.
24687         * io/futimens.c: Likewise.
24688         * io/fxstat.c: Likewise.
24689         * io/fxstat64.c: Likewise.
24690         * io/fxstatat.c: Likewise.
24691         * io/fxstatat64.c: Likewise.
24692         * io/getcwd.c: Likewise.
24693         * io/isatty.c: Likewise.
24694         * io/lchmod.c: Likewise.
24695         * io/lchown.c: Likewise.
24696         * io/link.c: Likewise.
24697         * io/linkat.c: Likewise.
24698         * io/lseek.c: Likewise.
24699         * io/lseek64.c: Likewise.
24700         * io/lxstat64.c: Likewise.
24701         * io/mkdir.c: Likewise.
24702         * io/mkdirat.c: Likewise.
24703         * io/mkfifo.c: Likewise.
24704         * io/mkfifoat.c: Likewise.
24705         * io/open.c: Likewise.
24706         * io/open64.c: Likewise.
24707         * io/openat.c: Likewise.
24708         * io/openat64.c: Likewise.
24709         * io/pipe.c: Likewise.
24710         * io/pipe2.c: Likewise.
24711         * io/poll.c: Likewise.
24712         * io/posix_fadvise.c: Likewise.
24713         * io/posix_fadvise64.c: Likewise.
24714         * io/posix_fallocate.c: Likewise.
24715         * io/posix_fallocate64.c: Likewise.
24716         * io/read.c: Likewise.
24717         * io/readlink.c: Likewise.
24718         * io/readlinkat.c: Likewise.
24719         * io/rmdir.c: Likewise.
24720         * io/sendfile.c: Likewise.
24721         * io/sendfile64.c: Likewise.
24722         * io/statfs.c: Likewise.
24723         * io/statfs64.c: Likewise.
24724         * io/statvfs.c: Likewise.
24725         * io/statvfs64.c: Likewise.
24726         * io/symlink.c: Likewise.
24727         * io/symlinkat.c: Likewise.
24728         * io/ttyname.c: Likewise.
24729         * io/ttyname_r.c: Likewise.
24730         * io/umask.c: Likewise.
24731         * io/unlink.c: Likewise.
24732         * io/unlinkat.c: Likewise.
24733         * io/utime.c: Likewise.
24734         * io/utimensat.c: Likewise.
24735         * io/write.c: Likewise.
24736         * io/xmknod.c: Likewise.
24737         * io/xmknodat.c: Likewise.
24738         * io/xstat.c: Likewise.
24739         * io/xstat64.c: Likewise.
24740         * login/getpt.c: Likewise.
24741         * login/grantpt.c: Likewise.
24742         * login/unlockpt.c: Likewise.
24743         * math/e_acoshl.c: Likewise.
24744         * math/e_acosl.c: Likewise.
24745         * math/e_asinl.c: Likewise.
24746         * math/e_atan2l.c: Likewise.
24747         * math/e_atanhl.c: Likewise.
24748         * math/e_coshl.c: Likewise.
24749         * math/e_expl.c: Likewise.
24750         * math/e_fmodl.c: Likewise.
24751         * math/e_gammal_r.c: Likewise.
24752         * math/e_hypotl.c: Likewise.
24753         * math/e_j0l.c: Likewise.
24754         * math/e_j1l.c: Likewise.
24755         * math/e_jnl.c: Likewise.
24756         * math/e_lgammal_r.c: Likewise.
24757         * math/e_log10l.c: Likewise.
24758         * math/e_log2l.c: Likewise.
24759         * math/e_logl.c: Likewise.
24760         * math/e_powl.c: Likewise.
24761         * math/e_rem_pio2l.c: Likewise.
24762         * math/e_sinhl.c: Likewise.
24763         * math/e_sqrtl.c: Likewise.
24764         * math/fclrexcpt.c: Likewise.
24765         * math/fedisblxcpt.c: Likewise.
24766         * math/feenablxcpt.c: Likewise.
24767         * math/fegetenv.c: Likewise.
24768         * math/fegetexcept.c: Likewise.
24769         * math/fegetround.c: Likewise.
24770         * math/feholdexcpt.c: Likewise.
24771         * math/fesetenv.c: Likewise.
24772         * math/fesetround.c: Likewise.
24773         * math/feupdateenv.c: Likewise.
24774         * math/fgetexcptflg.c: Likewise.
24775         * math/fraiseexcpt.c: Likewise.
24776         * math/fsetexcptflg.c: Likewise.
24777         * math/ftestexcept.c: Likewise.
24778         * math/k_cosl.c: Likewise.
24779         * math/k_rem_pio2l.c: Likewise.
24780         * math/k_sinl.c: Likewise.
24781         * math/k_tanl.c: Likewise.
24782         * math/s_asinhl.c: Likewise.
24783         * math/s_atanl.c: Likewise.
24784         * math/s_cbrtl.c: Likewise.
24785         * math/s_erfl.c: Likewise.
24786         * math/s_expm1l.c: Likewise.
24787         * math/s_log1pl.c: Likewise.
24788         * math/s_tanhl.c: Likewise.
24789         * misc/acct.c: Likewise.
24790         * misc/brk.c: Likewise.
24791         * misc/chflags.c: Likewise.
24792         * misc/chroot.c: Likewise.
24793         * misc/fchflags.c: Likewise.
24794         * misc/fgetxattr.c: Likewise.
24795         * misc/flistxattr.c: Likewise.
24796         * misc/fremovexattr.c: Likewise.
24797         * misc/fsetxattr.c: Likewise.
24798         * misc/fsync.c: Likewise.
24799         * misc/ftruncate.c: Likewise.
24800         * misc/futimes.c: Likewise.
24801         * misc/futimesat.c: Likewise.
24802         * misc/getdomain.c: Likewise.
24803         * misc/getdtsz.c: Likewise.
24804         * misc/gethostid.c: Likewise.
24805         * misc/gethostname.c: Likewise.
24806         * misc/getloadavg.c: Likewise.
24807         * misc/getpagesize.c: Likewise.
24808         * misc/getsysstats.c: Likewise.
24809         * misc/getxattr.c: Likewise.
24810         * misc/gtty.c: Likewise.
24811         * misc/ioctl.c: Likewise.
24812         * misc/lgetxattr.c: Likewise.
24813         * misc/listxattr.c: Likewise.
24814         * misc/llistxattr.c: Likewise.
24815         * misc/lremovexattr.c: Likewise.
24816         * misc/lsetxattr.c: Likewise.
24817         * misc/lutimes.c: Likewise.
24818         * misc/madvise.c: Likewise.
24819         * misc/mincore.c: Likewise.
24820         * misc/mlock.c: Likewise.
24821         * misc/mlockall.c: Likewise.
24822         * misc/mmap.c: Likewise.
24823         * misc/mprotect.c: Likewise.
24824         * misc/msync.c: Likewise.
24825         * misc/munlock.c: Likewise.
24826         * misc/munlockall.c: Likewise.
24827         * misc/munmap.c: Likewise.
24828         * misc/preadv.c: Likewise.
24829         * misc/preadv64.c: Likewise.
24830         * misc/ptrace.c: Likewise.
24831         * misc/pwritev.c: Likewise.
24832         * misc/pwritev64.c: Likewise.
24833         * misc/readv.c: Likewise.
24834         * misc/reboot.c: Likewise.
24835         * misc/remap_file_pages.c: Likewise.
24836         * misc/removexattr.c: Likewise.
24837         * misc/revoke.c: Likewise.
24838         * misc/select.c: Likewise.
24839         * misc/setdomain.c: Likewise.
24840         * misc/setegid.c: Likewise.
24841         * misc/seteuid.c: Likewise.
24842         * misc/sethostid.c: Likewise.
24843         * misc/sethostname.c: Likewise.
24844         * misc/setregid.c: Likewise.
24845         * misc/setreuid.c: Likewise.
24846         * misc/setxattr.c: Likewise.
24847         * misc/sstk.c: Likewise.
24848         * misc/stty.c: Likewise.
24849         * misc/swapoff.c: Likewise.
24850         * misc/swapon.c: Likewise.
24851         * misc/sync.c: Likewise.
24852         * misc/syncfs.c: Likewise.
24853         * misc/syscall.c: Likewise.
24854         * misc/truncate.c: Likewise.
24855         * misc/ualarm.c: Likewise.
24856         * misc/usleep.c: Likewise.
24857         * misc/ustat.c: Likewise.
24858         * misc/utimes.c: Likewise.
24859         * misc/vhangup.c: Likewise.
24860         * misc/writev.c: Likewise.
24861         * posix/_exit.c: Likewise.
24862         * posix/alarm.c: Likewise.
24863         * posix/execve.c: Likewise.
24864         * posix/fexecve.c: Likewise.
24865         * posix/fork.c: Likewise.
24866         * posix/fpathconf.c: Likewise.
24867         * posix/getaddrinfo.c: Likewise.
24868         * posix/getegid.c: Likewise.
24869         * posix/geteuid.c: Likewise.
24870         * posix/getgid.c: Likewise.
24871         * posix/getgroups.c: Likewise.
24872         * posix/getlogin.c: Likewise.
24873         * posix/getlogin_r.c: Likewise.
24874         * posix/getpgid.c: Likewise.
24875         * posix/getpid.c: Likewise.
24876         * posix/getppid.c: Likewise.
24877         * posix/getresgid.c: Likewise.
24878         * posix/getresuid.c: Likewise.
24879         * posix/getsid.c: Likewise.
24880         * posix/getuid.c: Likewise.
24881         * posix/glob64.c: Likewise.
24882         * posix/nanosleep.c: Likewise.
24883         * posix/pathconf.c: Likewise.
24884         * posix/pause.c: Likewise.
24885         * posix/posix_madvise.c: Likewise.
24886         * posix/pread.c: Likewise.
24887         * posix/pread64.c: Likewise.
24888         * posix/pwrite.c: Likewise.
24889         * posix/pwrite64.c: Likewise.
24890         * posix/sched_getaffinity.c: Likewise.
24891         * posix/sched_getp.c: Likewise.
24892         * posix/sched_gets.c: Likewise.
24893         * posix/sched_primax.c: Likewise.
24894         * posix/sched_primin.c: Likewise.
24895         * posix/sched_rr_gi.c: Likewise.
24896         * posix/sched_setaffinity.c: Likewise.
24897         * posix/sched_setp.c: Likewise.
24898         * posix/sched_sets.c: Likewise.
24899         * posix/sched_yield.c: Likewise.
24900         * posix/setgid.c: Likewise.
24901         * posix/setlogin.c: Likewise.
24902         * posix/setpgid.c: Likewise.
24903         * posix/setresgid.c: Likewise.
24904         * posix/setresuid.c: Likewise.
24905         * posix/setsid.c: Likewise.
24906         * posix/setuid.c: Likewise.
24907         * posix/sleep.c: Likewise.
24908         * posix/spawni.c: Likewise.
24909         * posix/sysconf.c: Likewise.
24910         * posix/times.c: Likewise.
24911         * posix/wait.c: Likewise.
24912         * posix/wait3.c: Likewise.
24913         * posix/wait4.c: Likewise.
24914         * posix/waitpid.c: Likewise.
24915         * resolv/gai_sigqueue.c: Likewise.
24916         * resource/getpriority.c: Likewise.
24917         * resource/getrlimit.c: Likewise.
24918         * resource/getrusage.c: Likewise.
24919         * resource/nice.c: Likewise.
24920         * resource/setpriority.c: Likewise.
24921         * resource/setrlimit.c: Likewise.
24922         * resource/ulimit.c: Likewise.
24923         * rt/aio_cancel.c: Likewise.
24924         * rt/aio_fsync.c: Likewise.
24925         * rt/aio_read.c: Likewise.
24926         * rt/aio_sigqueue.c: Likewise.
24927         * rt/aio_suspend.c: Likewise.
24928         * rt/aio_write.c: Likewise.
24929         * rt/clock_getres.c: Likewise.
24930         * rt/clock_gettime.c: Likewise.
24931         * rt/clock_nanosleep.c: Likewise.
24932         * rt/clock_settime.c: Likewise.
24933         * rt/lio_listio.c: Likewise.
24934         * rt/mq_close.c: Likewise.
24935         * rt/mq_getattr.c: Likewise.
24936         * rt/mq_notify.c: Likewise.
24937         * rt/mq_open.c: Likewise.
24938         * rt/mq_receive.c: Likewise.
24939         * rt/mq_send.c: Likewise.
24940         * rt/mq_setattr.c: Likewise.
24941         * rt/mq_timedreceive.c: Likewise.
24942         * rt/mq_timedsend.c: Likewise.
24943         * rt/mq_unlink.c: Likewise.
24944         * rt/shm_open.c: Likewise.
24945         * rt/shm_unlink.c: Likewise.
24946         * rt/timer_create.c: Likewise.
24947         * rt/timer_delete.c: Likewise.
24948         * rt/timer_getoverr.c: Likewise.
24949         * rt/timer_gettime.c: Likewise.
24950         * rt/timer_settime.c: Likewise.
24951         * setjmp/__longjmp.c: Likewise.
24952         * setjmp/setjmp.c: Likewise.
24953         * signal/kill.c: Likewise.
24954         * signal/killpg.c: Likewise.
24955         * signal/raise.c: Likewise.
24956         * signal/sigaction.c: Likewise.
24957         * signal/sigaltstack.c: Likewise.
24958         * signal/sigblock.c: Likewise.
24959         * signal/sigignore.c: Likewise.
24960         * signal/sigintr.c: Likewise.
24961         * signal/signal.c: Likewise.
24962         * signal/sigpause.c: Likewise.
24963         * signal/sigpending.c: Likewise.
24964         * signal/sigqueue.c: Likewise.
24965         * signal/sigreturn.c: Likewise.
24966         * signal/sigset.c: Likewise.
24967         * signal/sigsetmask.c: Likewise.
24968         * signal/sigstack.c: Likewise.
24969         * signal/sigsuspend.c: Likewise.
24970         * signal/sigtimedwait.c: Likewise.
24971         * signal/sigvec.c: Likewise.
24972         * signal/sigwait.c: Likewise.
24973         * signal/sigwaitinfo.c: Likewise.
24974         * signal/sysv_signal.c: Likewise.
24975         * socket/accept.c: Likewise.
24976         * socket/accept4.c: Likewise.
24977         * socket/bind.c: Likewise.
24978         * socket/connect.c: Likewise.
24979         * socket/getpeername.c: Likewise.
24980         * socket/getsockname.c: Likewise.
24981         * socket/getsockopt.c: Likewise.
24982         * socket/isfdtype.c: Likewise.
24983         * socket/listen.c: Likewise.
24984         * socket/recv.c: Likewise.
24985         * socket/recvfrom.c: Likewise.
24986         * socket/recvmsg.c: Likewise.
24987         * socket/send.c: Likewise.
24988         * socket/sendmsg.c: Likewise.
24989         * socket/sendto.c: Likewise.
24990         * socket/setsockopt.c: Likewise.
24991         * socket/shutdown.c: Likewise.
24992         * socket/sockatmark.c: Likewise.
24993         * socket/socket.c: Likewise.
24994         * socket/socketpair.c: Likewise.
24995         * stdio-common/ctermid.c: Likewise.
24996         * stdio-common/cuserid.c: Likewise.
24997         * stdio-common/remove.c: Likewise.
24998         * stdio-common/rename.c: Likewise.
24999         * stdio-common/renameat.c: Likewise.
25000         * stdio-common/tempname.c: Likewise.
25001         * stdlib/getcontext.c: Likewise.
25002         * stdlib/makecontext.c: Likewise.
25003         * stdlib/setcontext.c: Likewise.
25004         * stdlib/swapcontext.c: Likewise.
25005         * stdlib/system.c: Likewise.
25006         * streams/fattach.c: Likewise.
25007         * streams/fdetach.c: Likewise.
25008         * streams/getmsg.c: Likewise.
25009         * streams/getpmsg.c: Likewise.
25010         * streams/putmsg.c: Likewise.
25011         * streams/putpmsg.c: Likewise.
25012         * sysdeps/unix/bsd/getpt.c: Likewise.
25013         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25014         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25015         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25017         Likewise.
25018         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25019         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25020         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25021         * sysvipc/msgctl.c: Likewise.
25022         * sysvipc/msgget.c: Likewise.
25023         * sysvipc/msgrcv.c: Likewise.
25024         * sysvipc/msgsnd.c: Likewise.
25025         * sysvipc/semctl.c: Likewise.
25026         * sysvipc/semget.c: Likewise.
25027         * sysvipc/semop.c: Likewise.
25028         * sysvipc/semtimedop.c: Likewise.
25029         * sysvipc/shmat.c: Likewise.
25030         * sysvipc/shmctl.c: Likewise.
25031         * sysvipc/shmdt.c: Likewise.
25032         * sysvipc/shmget.c: Likewise.
25033         * termios/tcdrain.c: Likewise.
25034         * termios/tcflow.c: Likewise.
25035         * termios/tcflush.c: Likewise.
25036         * termios/tcgetattr.c: Likewise.
25037         * termios/tcgetpgrp.c: Likewise.
25038         * termios/tcsendbrk.c: Likewise.
25039         * termios/tcsetattr.c: Likewise.
25040         * termios/tcsetpgrp.c: Likewise.
25041         * time/adjtime.c: Likewise.
25042         * time/clock.c: Likewise.
25043         * time/getitimer.c: Likewise.
25044         * time/gettimeofday.c: Likewise.
25045         * time/setitimer.c: Likewise.
25046         * time/settimeofday.c: Likewise.
25047         * time/stime.c: Likewise.
25048         * time/time.c: Likewise.
25050 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25052         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25053         /usr/old/bin.
25055         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25056         instead of spaces.
25057         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25059 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25061         [BZ #14796]
25062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25063         FE_TONEAREST before applying Dekker multiplication and Knuth
25064         addition.  Clear inexact exceptions and check for exact zero
25065         results afterwards.
25066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25067         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25068         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25069         * math/libm-test.inc (fma_test): Add more tests.
25070         (fma_test_towardzero): Likewise.
25071         (fma_test_downward): Likewise.
25072         (fma_test_upward): Likewise.
25073         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25074         function.
25075         (libc_fesetround): New macro.
25076         (libc_fesetroundf): Likewise.
25077         (libc_fesetroundl): Likewise.
25078         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25079         function.
25080         (libc_fesetround_387): Likewise.
25081         (libc_fesetroundf): New macro.
25082         (libc_fesetround): Likewise.
25083         (libc_fesetroundl): Likewise.
25084         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25085         function.
25086         (libc_fesetroundf): New macro.
25087         (libc_fesetround): Likewise.
25088         (libc_fesetroundl): Likewise.
25089         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25090         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25091         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25092         libm_hidden_ver.
25093         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25094         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25095         libm_hidden_def.
25096         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25097         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25098         libm_hidden_ver.
25099         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25100         libm_hidden_def.
25102         [BZ #3439]
25103         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25104         integer constant usable in #if and use that to give value to enum
25105         constant.
25106         (FE_DIVBYZERO): Likewise.
25107         (FE_UNDERFLOW): Likewise.
25108         (FE_OVERFLOW): Likewise.
25109         (FE_INVALID): Likewise.
25110         (FE_INVALID_SNAN): Likewise.
25111         (FE_INVALID_ISI): Likewise.
25112         (FE_INVALID_IDI): Likewise.
25113         (FE_INVALID_ZDZ): Likewise.
25114         (FE_INVALID_IMZ): Likewise.
25115         (FE_INVALID_COMPARE): Likewise.
25116         (FE_INVALID_SOFTWARE): Likewise.
25117         (FE_INVALID_SQRT): Likewise.
25118         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25119         (FE_TONEAREST): Likewise.
25120         (FE_TOWARDZERO): Likewise.
25121         (FE_UPWARD): Likewise.
25122         (FE_DOWNWARD): Likewise.
25123         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25124         (FE_DIVBYZERO): Likewise.
25125         (FE_OVERFLOW): Likewise.
25126         (FE_UNDERFLOW): Likewise.
25127         (FE_INEXACT): Likewise.
25128         (FE_TONEAREST): Likewise.
25129         (FE_DOWNWARD): Likewise.
25130         (FE_UPWARD): Likewise.
25131         (FE_TOWARDZERO): Likewise.
25132         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25133         (FE_UNDERFLOW): Likewise.
25134         (FE_OVERFLOW): Likewise.
25135         (FE_DIVBYZERO): Likewise.
25136         (FE_INVALID): Likewise.
25137         (FE_TONEAREST): Likewise.
25138         (FE_TOWARDZERO): Likewise.
25139         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25140         (FE_OVERFLOW): Likewise.
25141         (FE_UNDERFLOW): Likewise.
25142         (FE_DIVBYZERO): Likewise.
25143         (FE_INEXACT): Likewise.
25144         (FE_TONEAREST): Likewise.
25145         (FE_TOWARDZERO): Likewise.
25146         (FE_UPWARD): Likewise.
25147         (FE_DOWNWARD): Likewise.
25148         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25149         (FE_DIVBYZERO): Likewise.
25150         (FE_OVERFLOW): Likewise.
25151         (FE_UNDERFLOW): Likewise.
25152         (FE_INEXACT): Likewise.
25153         (FE_TONEAREST): Likewise.
25154         (FE_DOWNWARD): Likewise.
25155         (FE_UPWARD): Likewise.
25156         (FE_TOWARDZERO): Likewise.
25158 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25160         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25162 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25164         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25165         commands.  Quote $PWD.
25166         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25167         -x" by "export".
25168         (remove_newlines): Remove.
25170 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25172         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25173         * stdlib/stdlib.h (atof): Moved to ...
25174         * include/bits/stdlib-float.h: Here.  New file.
25175         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25176         * stdlib/bits/stdlib-float.h: New file.
25177         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25178         -mno-sse -mno-mmx.
25179         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25180         <xmmintrin.h>.
25182 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25184         * conform/conformtest.pl (@headers): Add fenv.h.
25185         * conform/data/fenv.h-data: New file.
25186         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25187         include of <math/fenv.h>.
25189         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25190         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25191         && !UNIX98].  Enables tests for XOPEN2K8.
25192         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25193         POSIX2008]: Likewise.
25195         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25196         (struct rusage): Do not expect type or its members.
25198         [BZ #3439]
25199         * math/math.h (FP_NAN): Define macro to integer constant usable in
25200         #if and use that to give value to enum constant.
25201         (FP_INFINITE): Likewise.
25202         (FP_ZERO): Likewise.
25203         (FP_SUBNORMAL): Likewise.
25204         (FP_NORMAL): Likewise.
25206 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25208         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25209         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25210         arguments.
25212 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25214         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25215         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25216         autoconf-time if not.
25217         * configure.in: Remove AC_PREREQ.
25219 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25221         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25222         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25223         of the internal implementation.
25225 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25227         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25228         except include of <misc/sys/syslog.h>.
25230 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25233         function returns with a NULL context exit with zero.
25235 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25237         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25239 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25241         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25242         (run_program_cmd): This.
25243         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25244         (tst_langinfo): New variable.  Use it.
25246 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25248         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25249         floating point opcodes.
25251 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25253         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25254         variable.
25256         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25258         * sysdeps/mach/hurd/powerpc: Remove directory.
25259         * sysdeps/mach/powerpc: Likewise.
25261 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25263         * scripts/check-local-headers.sh: Ignore c++ headers.
25265 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25267         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25268         __libc_cleanup_region_start argument.
25270 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25272         [BZ #14784]
25273         [BZ #14785]
25274         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25275         x * y using scaling, not as x * y + z.
25276         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25277         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25278         * math/libm-test.inc (fma_test): Add more tests.
25279         (fma_test_towardzero): Likewise.
25280         (fma_test_downward): Likewise.
25281         (fma_test_upward): Likewise.
25283 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25285         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25287 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25289         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25290         New variable.
25292 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25294         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25296 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25299         Fix sort order.
25300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25301         Likewise.
25303 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25306         Fix the order of the list for glibc 2.17.
25307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25308         Likewise.
25310 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25314 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25316         [BZ #14610]
25317         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25318         for low part of x being zero before using __atanl (y).
25319         * math/libm-test.inc (atan2_test): Add another test.
25321         * manual/install.texi (Configuring and compiling): Document
25322         general use of test-wrapper and test-wrapper-env.
25323         * INSTALL: Regenerated.
25325         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25326         (__fma): Do not extract and scale down low bits on after-rounding
25327         systems when result rounded to normal precision would have normal
25328         exponent.
25329         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25330         (__fmal): Do not extract and scale down low bits on after-rounding
25331         systems when result rounded to normal precision would have normal
25332         exponent.
25333         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25334         (__fmal): Do not extract and scale down low bits on after-rounding
25335         systems when result rounded to normal precision would have normal
25336         exponent.
25337         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25338         macro.
25339         (fma_test): Add more tests.
25340         (fma_test_towardzero): Likewise.
25341         (fma_test_downward): Likewise.
25342         (fma_test_upward): Likewise.
25344 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25346         * sysdeps/i386/tininess.h: Renamed to ...
25347         * sysdeps/x86/tininess.h: This.
25348         * sysdeps/x86_64/tininess.h: Removed.
25350 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25352         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25353         input.  Use $(build-program-cmd).
25354         ($(objpfx)tst-array1-static.out): Likewise.
25355         ($(objpfx)tst-array2.out): Likewise.
25356         ($(objpfx)tst-array3.out): Likewise.
25357         ($(objpfx)tst-array4.out): Likewise.
25358         ($(objpfx)tst-array5.out): Likewise.
25359         ($(objpfx)tst-array5-static.out): Likewise.
25361 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25363         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25364         if defined.
25366         * nss/nsswitch.h (nss_interface_function): Provide new
25367         macro for use with NSS functions.
25368         * grp/initgroups.c: Use new macro.
25369         * nss/getXXbyYY.c: Likewise.
25370         * nss/getXXbyYY_r.c: Likewise.
25371         * nss/getXXent.c: Likewise.
25372         * nss/getXXent_r.c: Likewise.
25373         * sysdeps/posix/getaddrinfo.c: Likewise.
25375 2012-10-30  Andreas Jaeger  <aj@suse.de>
25377         * po/ru.po: Update Russion translation from translation project.
25379 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25381         [BZ #14152]
25382         [BZ #14783]
25383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25384         result and shift together with sticky bit instead of replicating
25385         round-to-nearest rounding.
25386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25388         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25389         missing underflow exceptions.
25390         (fma_test_towardzero): Add more tests.
25391         (fma_test_downward): Likewise.
25392         (fma_test_upward): Likewise.
25394         [BZ #14047]
25395         * sysdeps/generic/tininess.h: New file.
25396         * sysdeps/i386/tininess.h: Likewise.
25397         * sysdeps/sh/tininess.h: Likewise.
25398         * sysdeps/x86_64/tininess.h: Likewise.
25399         * stdlib/tst-strtod-underflow.c: Likewise.
25400         * stdlib/tst-tininess.c: Likewise.
25401         * stdlib/strtod_l.c: Include <tininess.h>.
25402         (round_and_return): Do not set errno for exact underflow cases.
25403         Force an underflow exception when setting errno for underflow.
25404         Determine underflow based on rounding to normal precision if
25405         TININESS_AFTER_ROUNDING.
25406         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25407         ERANGE for exact underflow cases.
25408         * stdlib/Makefile (tests): Add tst-tininess and
25409         tst-strtod-underflow.
25410         ($(objpfx)tst-tininess): Use $(link-libm).
25411         ($(objpfx)tst-strtod-underflow): Likewise.
25413 2012-10-30  Andreas Jaeger  <aj@suse.de>
25415         [BZ#14767]
25416         * elf/Makefile (tests): Remove conditional for have-initfini-array
25417         since this is now always required and the variable does not exist
25418         anymore.
25419         (tests-static): Likewise.
25420         (modules-names): Likewise.
25422         * po/eo.po: Add Esperanto translation from translation project.
25424         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25425         merged with constructor/destructor.
25426         (init_array): Likewise.
25427         * elf/tst-array2dep.c (fini_array): Likewise.
25428         (init_array): Likewise.
25430 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25432         * manual/message.texi: Delete @cartouche tags.
25434 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25436         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25437         EOPNOTSUPP.
25438         * sysdeps/mach/hurd/fsync.c: Likewise.
25440         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25441         [_POSIX_REALTIME_SIGNALS]: Change condition to
25442         [_POSIX_REALTIME_SIGNALS > 0].
25444 2012-10-27  Andreas Jaeger  <aj@suse.de>
25446         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25447         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25448         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25449         [__WORDSIZE != 64]: Likewise.
25451 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25453         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25454         *  iconvdata/tst-tables.sh: Likewise.
25456 2012-10-25  David S. Miller  <davem@davemloft.net>
25458         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25459         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25460         of strtoull.
25462         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25463         ifunc-impl-list.c
25464         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25465         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25466         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25467         file.
25469 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25471         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25472         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25473         __getdirentries.
25475 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25476             Jim Blandy  <jimb@codesourcery.com>
25478         * scripts/cross-test-ssh.sh: New file.
25479         * manual/install.texi (Configuring and compiling): Document use of
25480         cross-test-ssh.sh.
25481         * INSTALL: Regenerated.
25483 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25485         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25486         EOPNOTSUPP.
25488 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25490         * Makeconfig (run-program-prefix): Fix comment.
25492 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25493             Jim Blandy  <jimb@codesourcery.com>
25495         * Makeconfig (test-wrapper): New variable,
25496         (test-wrapper-env): Likewise.
25497         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25498         (run-built-tests): Define to yes.
25499         (run-program-prefix): Use $(test-wrapper).
25500         (built-program-cmd): Likewise.
25501         * Rules (make-test-out): Use $(test-wrapper-env) and
25502         $(host-built-program-cmd).
25503         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25504         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25505         tst-pathopt.sh.
25506         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25507         $(test-wrapper-env) to tst-rtld-load-self.sh.
25508         ($(objpfx)order2.out): Use $(test-wrapper).
25509         ($(objpfx)tst-initorder.out): Likewise.
25510         ($(objpfx)tst-initorder2.out): Likewise.
25511         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25512         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25513         (test_wrapper_env): New variable.  Use it to run ld.so.
25514         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25515         Use it to run ld.so.
25516         (test_wrapper_env): Likewise.
25517         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25518         $(test-wrapper) to run-iconv-test.sh.
25519         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25520         (ICONV): Use $test_wrapper.
25521         * posix/Makefile ($(objpfx)globtest.out): Pass
25522         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25523         globtest.sh, not $(run-program-prefix).
25524         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25525         (test_wrapper): Likewise.
25526         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25527         set together with run_via_rtld_prefix.
25528         (run_program_prefix): Define in terms of test_wrapper and
25529         run_via_rtld_prefix.
25531 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25533         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25534         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25535         Targets removed.
25537         [BZ #14743]
25538         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25539         Declare __clock_getres, __clock_gettime, __clock_settime,
25540         __clock_nanosleep, and __clock_getcpuclockid.
25541         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25542         Remove librt_hidden_def (clock_gettime).
25543         * sysdeps/unix/clock_gettime.c: Likewise.
25544         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25545         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25546         * rt/clock_getres.c: Define __clock_getres as an alias.
25547         * sysdeps/posix/clock_getres.c: Likewise.
25548         * rt/clock_settime.c: Define __clock_settime as an alias.
25549         * sysdeps/unix/clock_settime.c: Likewise.
25550         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25551         * sysdeps/unix/clock_nanosleep.c: Likewise.
25552         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25553         * rt/clock-compat.c: New file.
25554         * rt/Makefile (librt-routines): Add clock-compat and move
25555         $(clock-routines) to ...
25556         (routines): ... here, new variable.
25557         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25558         Don't add get_clockfreq here.
25559         * rt/Versions (libc: GLIBC_2.17): New version set.
25560         Add clock_* symbols here.
25561         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25562         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25563         (GLIBC_2.17): Add clock_* symbols.
25564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25566         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25568         Likewise.
25569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25570         Likewise.
25571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25575         * NEWS: Mention the move.
25577         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25578         Use __open, __read, __close rather than their public counterparts.
25579         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25580         (__get_clockfreq_via_cpuinfo): Likewise.
25581         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25582         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25584         * config.h.in (HAVE_IFUNC): New #undef.
25585         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25586         was successful.
25587         * configure: Regenerated.
25589 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25591         * configure.in: Move READELF check to start of file.
25592         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25593         libc_cv_asm_gnu_indirect_function in the process.
25594         * configure: Regenerated.
25596 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25598         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25599         send the output to /dev/null.
25600         (libc_cv_cc_with_libunwind): Likewise.
25601         (libc_cv_as_noexecstack): Likewise.
25602         * configure: Regenerate.
25604 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25606         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25608         * posix/globtest.sh (TMPDIR): Do not set.
25609         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25610         (testout): Likewise.
25612 2012-10-24  Andreas Jaeger  <aj@suse.de>
25614         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25615         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25616         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25617         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25618         posix_fadvise64, posix_fallocate64.
25620         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25621         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25622         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25623         Likewise.
25624         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25625         Likewise.
25626         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25628         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25629         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25630         <bits/fcntl-linux.h>.
25631         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25633         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25634         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25635         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25636         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25637         [__WORDSIZE != 64]: Likewise.
25639 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25641         * Makeconfig (run-built-tests): New variable.
25642         * Rules [$(cross-compiling) = yes]: Change condition to
25643         [$(run-built-tests) = no].
25644         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25645         to [$(run-built-tests) = yes].
25646         * elf/Makefile [$(cross-compiling) = no]: Likewise
25647         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25648         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25649         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25650         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25651         * io/Makefile [$(cross-compiling) = no]: Likewise.
25652         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25653         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25654         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25655         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25656         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25657         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25658         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25659         * string/Makefile [$(cross-compiling) = no]: Likewise.
25661         * posix/Makefile ($(objpfx)globtest.out): Pass
25662         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25663         $(rtld-installed-name).
25664         * posix/globtest.sh (elf_objpfx): Remove variable.
25665         (rtld_installed_name): Likewise.
25666         (library_path): Likewise.
25667         (run_program_prefix): New variable.  Use for running globtest
25668         binary.
25670 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25671             Joseph Myers  <joseph@codesourcery.com>
25673         * Makeconfig (host-built-program-cmd): New variable.
25674         * elf/Makefile (tst-stackguard1-ARGS): Use
25675         $(host-built-program-cmd).
25676         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25677         (tst-spawn-ARGS): Likewise.
25678         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25680 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25681             Jim Blandy  <jimb@codesourcery.com>
25683         * Makeconfig (run-via-rtld-prefix): New variable.
25684         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25685         (built-program-cmd): Likewise.
25687 2012-10-22  Andreas Jaeger  <aj@suse.de>
25689         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25690         __O_RSYNC if it exists, otherwise to O_SYNC.
25692 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25693             Joseph Myers  <joseph@codesourcery.com>
25695         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25696         /dev/null.
25697         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25698         from /dev/null
25699         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25700         /dev/null.
25702 2012-10-22  Andreas Jaeger  <aj@suse.de>
25704         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25705         Define always.
25706         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25708         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25709         bits/fcntl-linux.h.
25711         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25712         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25714         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25715         to __O_LARGEFILE.
25716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25717         to __O_LARGEFILE.
25719 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25720             Joseph Myers  <joseph@codesourcery.com>
25722         * config.make.in (NM): New variable.
25724 2012-10-21  Andreas Jaeger  <aj@suse.de>
25726         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25727         definitions and declarations that are provided by
25728         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25730 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25732         [BZ #14683]
25733         * elf/Makefile (tests-static): Add tst-leaks1-static.
25734         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25735         ($(objpfx)tst-leaks1-static): New rule.
25736         ($(objpfx)tst-leaks1-static-mem): Likewise.
25737         (tst-leaks1-static-ENV): New macro.
25738         * elf/dl-open.c (dl_open_worker): Check the main application
25739         only if SHARED is defined.
25740         * elf/tst-leaks1-static.c: New file.
25742 2012-10-20  Andreas Jaeger  <aj@suse.de>
25744         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25745         generic values for Linux.
25746         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25747         and declarations that are provided by <bits/fcntl-linux.h> and
25748         include <bits/fcntl-linux.h>.
25749         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25750         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25752 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25754         * io/fcntl.h: Move include of <bits/types.h> to the top and
25755         include it unconditionally.
25757 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25759         * wcsmbs/Makefile (tests-ifunc): New variable.
25760         (tests): Add $(tests-ifunc).
25761         * wcsmbs/test-wcschr-ifunc.c: New file.
25762         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25763         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25764         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25765         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25766         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25768         * string/Makefile (tests-ifunc): New variable.
25769         (tests): Add $(tests-ifunc).
25770         * string/test-memccpy.c (TEST_NAME): New macro.
25771         * string/test-memchr.c (TEST_NAME): Likewise.
25772         * string/test-memcmp.c (TEST_NAME): Likewise.
25773         * string/test-memcpy.c (TEST_NAME): Likewise.
25774         * string/test-memmem.c (TEST_NAME): Likewise.
25775         * string/test-memmove.c (TEST_NAME): Likewise.
25776         * string/test-memset.c (TEST_NAME): Likewise.
25777         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25778         * string/test-stpcpy.c (TEST_NAME): Likewise.
25779         * string/test-stpncpy.c (TEST_NAME): Likewise.
25780         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25781         * string/test-strcasestr.c (TEST_NAME): Likewise.
25782         * string/test-strcat.c (TEST_NAME): Likewise.
25783         * string/test-strchr.c (TEST_NAME): Likewise.
25784         * string/test-strcmp.c(TEST_NAME): Likewise.
25785         * string/test-strcpy.c (TEST_NAME): Likewise.
25786         * string/test-strcspn.c (TEST_NAME): Likewise.
25787         * string/test-strlen.c (TEST_NAME): Likewise.
25788         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25789         * string/test-strncmp.c (TEST_NAME): Likewise.
25790         * string/test-strncpy.c (TEST_NAME): Likewise.
25791         * string/test-strnlen.c (TEST_NAME): Likewise.
25792         * string/test-strpbrk.c (TEST_NAME): Likewise.
25793         * string/test-strrchr.c (TEST_NAME): Likewise.
25794         * string/test-strspn.c (TEST_NAME): Likewise.
25795         * string/test-strstr.c (TEST_NAME): Likewise.
25796         * string/test-bcopy-ifunc.c: New file.
25797         * string/test-bzero-ifunc.c: Likewise.
25798         * string/test-memccpy-ifunc.c: Likewise.
25799         * string/test-memchr-ifunc.c: Likewise.
25800         * string/test-memcmp-ifunc.c: Likewise.
25801         * string/test-memcpy-ifunc.c: Likewise.
25802         * string/test-memmem-ifunc.c: Likewise.
25803         * string/test-memmove-ifunc.c: Likewise.
25804         * string/test-mempcpy-ifunc.c: Likewise.
25805         * string/test-memset-ifunc.c: Likewise.
25806         * string/test-rawmemchr-ifunc.c: Likewise.
25807         * string/test-stpcpy-ifunc.c: Likewise.
25808         * string/test-stpncpy-ifunc.c: Likewise.
25809         * string/test-strcasecmp-ifunc.c: Likewise.
25810         * string/test-strcasestr-ifunc.c: Likewise.
25811         * string/test-strcat-ifunc.c: Likewise.
25812         * string/test-strchr-ifunc.c: Likewise.
25813         * string/test-strchrnul-ifunc.c: Likewise.
25814         * string/test-strcmp-ifunc.c: Likewise.
25815         * string/test-strcpy-ifunc.c: Likewise.
25816         * string/test-strcspn-ifunc.c: Likewise.
25817         * string/test-strlen-ifunc.c: Likewise.
25818         * string/test-strncasecmp-ifunc.c: Likewise.
25819         * string/test-strncat-ifunc.c: Likewise.
25820         * string/test-strncmp-ifunc.c: Likewise.
25821         * string/test-strncpy-ifunc.c: Likewise.
25822         * string/test-strnlen-ifunc.c: Likewise.
25823         * string/test-strpbrk-ifunc.c: Likewise.
25824         * string/test-strrchr-ifunc.c: Likewise.
25825         * string/test-strspn-ifunc.c: Likewise.
25826         * string/test-strstr-ifunc.c: Likewise.
25828         * debug/Makefile (tests-ifunc): New variable.
25829         (tests): Add $(tests-ifunc).
25830         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25831         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25832         * debug/test-stpcpy_chk-ifunc.c: New file.
25833         * debug/test-strcpy_chk-ifunc.c: Likewise.
25835 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25837         [BZ #13601]
25838         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25839         header is not read in.
25841 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25843         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25844         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25845         directly.  Pass built executable to script as
25846         $(built-program-cmd).
25847         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25848         $testprogram without using LD_LIBRARY_PATH and $ldso.
25850         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25851         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25852         $(rtld-installed-name).
25853         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25854         (rtld_installed_name): Likewise.
25855         (library_path): Likewise.
25856         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25857         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25858         $(run-program-prefix) to tst-tables.sh.
25859         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25860         it to run tst-table-from and tst-table-to.
25861         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25862         Pass it to tst-table.sh.
25863         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25864         $(run-program-prefix) to tst-gettext.sh.
25865         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25866         tst-translit.sh.
25867         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25868         tst-gettext2.sh.
25869         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25870         to run tst-gettext.
25871         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25872         to run tst-gettext2.
25873         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25874         to run tst-translit.
25875         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25876         $(run-program-prefix) to tst-mtrace.sh.
25877         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25878         to run tst-mtrace.
25879         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25880         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25881         $(rtld-installed-name).
25882         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25883         (rtld_installed_name): Likewise.
25884         (run_program_prefix): New variable.  Use it to run wordexp-test.
25886         * Makeconfig (ARCH): Remove all definitions.
25887         (machine): Likewise.
25888         [ARCH]: Remove conditional code.
25889         [!objdir]: Give error.
25890         [!objdir] (objpfx): Remove.
25891         [!objdir] (common-objpfx): Likewise.
25892         [!objdir] (common-objdir): Likewise.
25893         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25894         AC_CONFIG_FILES call.
25895         * configure: Regenerated.
25897         [BZ #13888]
25898         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25899         or TMPDIR.
25900         (testout): Likewise.
25902         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25903         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25904         $(rtld-installed-name).
25905         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25906         (rtld_installed_name): Likwise.
25907         (runit): Remove function.
25908         (run_getconf): New variable,  Use it for running getconf binary.
25910 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25912         [BZ #14716]
25913         * string/test-memmem.c (check_result): New function.
25914         (do_one_test): Use it.
25915         (check1): New function.
25916         (test_main): Use it.
25918 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25920         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25922 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25924         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25925         (_G_LSEEK64): Likewise.
25926         (_G_MMAP64): Likewise.
25927         (_G_FSTAT64): Likewise.
25928         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25929         (_G_LSEEK64): Likewise.
25930         (_G_MMAP64): Likewise.
25931         (_G_FSTAT64): Likewise.
25932         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25933         unconditional.  Call __mmap64 directly.
25934         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25935         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
25936         __lseek64 directly.
25937         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25938         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
25939         __mmap64 directly.
25940         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25941         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25942         __lseek64 directly.
25943         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25944         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25945         __lseek64 directly.
25946         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25947         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
25948         __lseek64 directly.
25949         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25950         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
25951         __fxstat64 directly.
25952         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25953         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25954         unconditional.
25955         (freopen64) [!_G_OPEN64]: Remove conditional code.
25956         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25957         unconditional.
25958         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25959         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25960         unconditional.
25961         (ftello64) [!_G_LSEEK64]: Remove conditional code.
25962         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25963         unconditional.
25964         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25965         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25966         unconditional.
25967         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25968         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25969         unconditional.
25970         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25971         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25972         unconditional.
25973         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25974         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25975         unconditional.
25976         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25978 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25980         [BZ #12140]
25981         * manual/memory.texi (Malloc Tunable Parameters): Add note
25982         about free list pointers overwriting some perturb bytes.
25983         Wording suggested by Roland McGrath.
25985 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25987         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25988         (lgamma_test): Likewise.
25989         (tgamma_test): Likewise.
25991 2012-10-16  Florian Weimer  <fweimer@redhat.com>
25993         [BZ #14700]
25994         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25995         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25997 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
25999         * NEWS: Mention BZ #14716.
26000         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26001         when removing AVAILABLE1_USES_J macro.
26003 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26005         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26006         (__bswap_64): __uint64_t for unsigned 64-bit int.
26008 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26010         * include/string.h (memmem): Declare libc hidden alias.
26011         * string/memmem.c (memmem): Define libc hidden alias.
26012         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26013         __read, __close instead of open, read, close.
26015 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26017         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26018         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26019         global and hidden.
26020         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26021         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26022         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26023         Likewise.
26024         (__rawmemchr_sse2): Likewise.
26025         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26026         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26027         (__strchr_sse2): Likewise.
26028         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26029         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26030         (__strcasecmp_sse2): Likewise.
26031         (__strncasecmp_sse2): Likewise.
26032         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26033         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26034         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26035         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26036         (__strrchr_sse2): Likewise.
26037         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26038         ifunc-impl-list.c.
26039         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26040         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26041         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26042         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26043         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26044         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26045         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26046         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26047         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26048         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26049         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26050         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26051         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26052         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26053         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26054         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26055         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26056         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26057         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26058         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26059         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26060         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26061         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26062         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26063         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26064         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26065         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26066         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26067         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26068         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26070         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26071         global and hidden.
26072         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26073         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26074         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26075         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26076         Likewise.
26077         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26078         Likewise.
26079         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26080         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26081         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26082         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26083         ifunc-impl-list.c.
26084         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26085         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26086         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26087         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26088         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26089         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26090         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26091         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26092         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26093         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26094         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26095         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26096         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26097         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26098         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26099         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26100         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26101         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26102         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26103         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26104         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26105         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26106         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26107         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26108         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26109         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26110         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26111         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26112         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26113         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26114         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26115         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26116         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26117         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26118         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26119         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26120         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26121         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26122         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26123         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26124         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26126         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26127         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26128         * include/ifunc-impl-list.h: New file.
26129         * misc/ifunc-impl-list.c: Likewise.
26130         * misc/Makefile (routines): Add ifunc-impl-list.
26131         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26132         * string/test-string.h: Include <ifunc-impl-list.h>.
26133         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26134         TEST_NAME]: New variables.
26135         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26136         are defined.
26137         (test_init): Call __libc_ifunc_impl_list to initialize
26138         func_list if TEST_IFUNC and TEST_NAME are defined.
26140         * string/Makefile (strop-tests): Add bcopy and bzero.
26141         * string/test-bcopy.c: New file.
26142         * string/test-bzero.c: Likewise.
26143         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26144         defined.
26145         * string/test-memset.c: Support bzero test if TEST_BZERO is
26146         defined.
26147         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26148         __libc_memmove.
26149         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26150         __libc_memset.
26151         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26152         of memset.
26154 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26156         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26157         * configure: Regenerated.
26159         * Makeconfig (+link-static-before-libc): Don't include
26160         $(link-static-libc).
26162         * libio/libio.h (_IO_pos_t): Remove.
26164 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26166         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26167         McGrath.
26169 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26171         * crypt/crypt-entry.c: Include fips-private.h.
26172         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26173         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26174         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26175         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26177 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26179         * crypt/crypt-private.h: Include stdbool.h.
26180         (_ufc_setup_salt_r): Return bool.
26181         * crypt/crypt-entry.c: Include errno.h.
26182         (__crypt_r): Return NULL with EINVAL for bad salt.
26183         * crypt/crypt_util.c (bad_for_salt): New.
26184         (_ufc_setup_salt_r): Check that salt is long enough and within
26185         the specified alphabet.
26186         * crypt/badsalttest.c: New file.
26187         * crypt/Makefile (tests): Add it.
26188         ($(objpfx)badsalttest): New.
26190 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26192         * NEWS: Add entry for BZ #14602.
26194 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26196         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26197         type-generic.
26198         * math/libm-test.inc: Update comment listing what functions and
26199         macros are tested.
26200         (isgreater_test): New function.
26201         (isgreaterequal_test): Likewise.
26202         (isless_test): Likewise.
26203         (islessequal_test): Likewise.
26204         (islessgreater_test): Likewise.
26205         (isunordered_test): Likewise.
26206         (main): Call the new functions.
26208 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26210         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26211         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26212         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26213         * sysdeps/i386/configure: Regenerated.
26214         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26215         * sysdeps/mach/configure: Regenerated.
26216         * sysdeps/mach/hurd/configure: Regenerated.
26217         * sysdeps/powerpc/configure: Regenerated.
26218         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26219         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26220         * sysdeps/s390/s390-32/configure: Regenerated.
26221         * sysdeps/s390/s390-64/configure: Regenerated.
26222         * sysdeps/sh/configure: Regenerated.
26223         * sysdeps/sparc/configure: Regenerated.
26224         * sysdeps/unix/sysv/linux/configure: Regenerated.
26225         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26226         * sysdeps/x86_64/configure: Regenerated.
26228         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26229         defined.  Don't check if MAP is NULL.
26231 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26233         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26234         (_G_stat64): Likewise.
26235         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26236         (_G_stat64): Likewise.
26237         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26238         instead of struct _G_stat64.
26239         * libio/fileops.c (mmap_remap_check): Likewise.
26240         (decide_maybe_mmap): Likewise.
26241         (_IO_new_file_seekoff): Likewise.
26242         (_IO_file_stat): Likewise.
26243         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26244         _G_off64_t.
26245         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26246         instead of struct _G_stat64.
26247         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26249 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26251         [BZ #14602]
26252         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26253         Replace with ...
26254         (CHECK_EOL): New macro.
26255         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26256         CHECK_EOL.
26257         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26258         Replace with CHECK_EOL.
26259         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26260         Replace with CHECK_EOL.
26262 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26264         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26265         type-generic.
26266         * math/libm-test.inc: Update comment listing what functions and
26267         macros are tested.
26268         (finite_test): New function.
26269         (isinf_test): Likewise.
26270         (isnan_test): Likewise.
26271         (fpclassify_test): Test subnormal input.
26272         (isfinite_test): Likewise.
26273         (isnormal_test): Likewise.
26274         (main): Call the new functions.
26276 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26278         [BZ #14660]
26279         * Makerules (%.dynsym): Force C locale when running
26280         $(OBJDUMP) --dynamic-syms.
26282 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26284         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26285         <stdint.h>.
26287 2012-10-06  David S. Miller  <davem@davemloft.net>
26289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26290         upper 32-bits of the length value in %o2 since we use branch-on-register
26291         tests which consider the entire 64-bit register.
26293 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26295         * string/test-strstr.c (check2): Add a test for page boundary.
26297 2012-10-05  David S. Miller  <davem@davemloft.net>
26299         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26300         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26301         file.
26302         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26303         sysdep_routines.
26304         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26305         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26306         and bzero when HWCAP_SPARC_CRYPTO is present.
26308 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26310         [BZ #14602]
26311         * string/test-strstr.c (check2): New function.
26312         (test_main): Call check2.
26314         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26315         and bug-strchr1.
26316         * string/bug-strcasestr1.c (do_test): Moved to ...
26317         * string/test-strcasestr.c (check1): Here.  New function.
26318         (do_one_test): Break out result checking code into ...
26319         (check_result): This.  New function.
26320         (do_one_test): Call check_result.
26321         (test_main): Call check1.
26322         * string/bug-strchr1.c (do_test): Moved to ...
26323         * string/test-strchr.c (check1): Here.  New function.
26324         (do_one_test): Break out result checking code into ...
26325         (check_result): This.  New function.
26326         (do_one_test): Call check_result.
26327         (test_main): Call check1.
26328         * string/bug-strstr1.c (main): Moved to ...
26329         * string/test-strstr.c (check1): Here.  New function.
26330         (do_one_test): Break out result checking code into ...
26331         (check_result): This.  New function.
26332         (do_one_test): Call check_result.
26333         (test_main): Call check1.
26334         * string/bug-strcasestr1.c: Removed.
26335         * string/bug-strchr1.c: Likewise.
26336         * string/bug-strstr1.c: Likewise.
26338         * elf/Makefile (dl-routines): Add hwcaps.
26339         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26340         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26341         (_dl_important_hwcaps): Moved to ...
26342         * elf/dl-hwcaps.c: Here.  New file.
26343         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26345         [BZ #14557]
26346         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26347         if IS_IN_rtld isn't defined.
26349         * elf/dl-support.c (_dl_sysinfo_map): New.
26350         Include "get-dynamic-info.h" and "setup-vdso.h".
26351         (_dl_non_dynamic_init): Call setup_vdso.
26352         * elf/dynamic-link.h: Don't include <assert.h>.
26353         (elf_get_dynamic_info): Moved to ...
26354         * elf/get-dynamic-info.h: Here.  New file.
26355         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26356         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26357         * elf/setup-vdso.h: Here.  New file.
26358         * elf/rtld.c: Include "setup-vdso.h".
26359         (dl_main): Call setup_vdso.
26361 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26363         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26364         creal in comment listing functions tested.  List finite, isinf,
26365         isnan, isless, islessequal, isgreater, isgreaterequal,
26366         islessgreater, isunordered, lgamma_r and pow10 as functions and
26367         macros not tested.  Mention which functions not tested are aliases
26368         for other functions.  Fix typo.  Note that signs of NaNs are not
26369         tested.
26371         * scripts/config.guess: Update from config.git.
26372         * scripts/config.sub: Likewise.
26374 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26376         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26377         * misc/madvise.c (madvise): Renamed to __madvise.
26378         Make madvise a weak alias.
26379         * include/sys/mman.h: Declare __madvise.
26380         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26381         * sysdeps/unix/syscalls.list
26382         (madvise): Make __madvise the strong name, and madvise a weak alias.
26383         * sysdeps/unix/sysv/linux/syscalls.list
26384         (madvise, mmap): Remove redundant entries.
26385         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26386         * malloc/malloc.c (mtrim): Likewise.
26387         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26389 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26391         * sysdeps/mach/hurd/dl-cache.c: File removed.
26392         * config.h.in (USE_LDCONFIG): New #undef.
26393         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26394         * configure: Regenerated.
26395         * elf/Makefile (dl-routines): Add dl-cache only under
26396         [$(use-ldconfig) = yes].
26397         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26398         cache on [USE_LDCONFIG].
26399         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26400         [USE_LDCONFIG].
26401         * elf/rtld.c (dl_main): Likewise.
26403 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26405         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26406         _SC_LEVEL4_CACHE_LINESIZE.
26408 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26410         * sysdeps/unix/bsd/confstr.h: File removed.
26412 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26414         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26415         sys/sdt-config.h.
26417 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26419         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26420         Make 'mapoff' field ElfW(Off) rather than off_t.
26422 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26424         * nscd/Makefile: Remove nscd-cflags and all its users.
26425         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26426         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26428         [BZ #10631]
26429         * malloc.c (malloc_printerr): Clarify error message.
26431 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26433         [BZ #14648]
26434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26435         Set bit_FMA_Usable if FMA is supported.
26436         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26437         macro.
26438         (bit_FMA4_Usable): Updated.
26439         (index_FMA_Usable): New macro.
26440         (CPUID_FMA): Likewise
26441         (HAS_FMA): Defined with bit_FMA_Usable.
26443 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26445         * bits/types.h (__swblk_t): Type removed.
26446         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26447         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26448         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26449         (__SWBLK_T_TYPE): Likewise.
26450         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26451         (__SWBLK_T_TYPE): Likewise.
26452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26453         (__SWBLK_T_TYPE): Likewise.
26454         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26455         (__SWBLK_T_TYPE): Likewise.
26457 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26458             Honza Horak <hhorak@redhat.com>
26460         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26461         (xdr_mapname): Use YPMAXMAP as maxsize.
26462         (xdr_peername): Use YPMAXPEER as maxsize.
26463         (xdr_keydat): Use YPAXRECORD as maxsize.
26464         (xdr_valdat): Use YPMAXRECORD as maxsize.
26466 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26468         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26470         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26471         * csu/init-first.c: ... here.
26472         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26473         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26474         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26475         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26476         * sysdeps/i386/init-first.c: File removed.
26477         * sysdeps/sh/init-first.c: File removed.
26479 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26481         [BZ #14645]
26482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26483         if x * y might underflow to zero and z is zero.
26484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26486         * math/libm-test.inc (min_subnorm_value): New variable.
26487         (fma_test): Add more tests.
26488         (fma_test_towardzero): Likewise.
26489         (fma_test_downward): Likewise
26490         (fma_test_upward): Likewise.
26491         (initialize): Set min_subnorm_value.
26493 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26495         [BZ #14638]
26496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26497         0 + 0.
26498         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26499         mode for addition resulting in exact zero.
26500         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26501         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26502         exact 0 + 0.
26503         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26504         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26505         * math/libm-test.inc (fma_test): Add more tests.
26506         (fma_test_towardzero): New function.
26507         (fma_test_downward): Likewise.
26508         (fma_test_upward): Likewise.
26509         (main): Call the new functions.
26511 2012-09-28  David S. Miller  <davem@davemloft.net>
26513         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26515 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26517         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26518         instead of SIGALRM.
26520         * sysdeps/gnu/_G_config.h: Moved to ...
26521         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26522         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26523         * sysdeps/generic/_G_config.h: ... here.
26525         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26527         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26529         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26530         Conditionalize target on [libnss_test1.so-version].
26532         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26534         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26535         (elfobjdir): Move out of conditionals.
26537         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26538         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26539         (__nss_lookup_function): Conditionalize label remove_from_tree on
26540         [!DO_STATIC_NSS || SHARED], matching its only use.
26542 2012-09-28  David S. Miller  <davem@davemloft.net>
26544         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26545         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26546         file.
26547         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26548         sysdep_routines.
26549         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26551         when HWCAP_SPARC_CRYPTO is present.
26553 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26555         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26557 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26559         [BZ #6530]
26560         * stdio-common/vfprintf.c (process_string_arg): Revert
26561         2000-07-22 change.
26563 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26565         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26566         for testcase.
26567         * stdio-common/tst-sprintf.c: Include <locale.h>
26568         (main): Test sprintf's handling of incomplete multibyte
26569         characters.
26571 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26573         * elf/dl-runtime.c (VERSYMIDX): Removed.
26574         * elf/dl-version.c (VERSYMIDX): Likewise.
26575         * elf/do-rel.h (VERSYMIDX): Likewise.
26576         (VALIDX): Likewise.
26577         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26578         * elf/rtld.c (VALIDX): Likewise.
26579         (ADDRIDX): Likewise.
26580         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26581         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26582         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26583         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26584         (VALIDX): Likewise.
26585         (ADDRIDX): Likewise.
26587 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26589         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26591 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26593         [BZ #11438]
26594         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26595         to global scope.
26596         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26597         addresses are in the same scope as 192.0.2/24.
26598         * posix/gai.conf: Document new scope table defaults.
26600 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26602         [BZ #5298]
26603         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26604         for ftell.  Compute offsets from write pointers instead.
26605         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26607 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26609         [BZ #14543]
26610         * libio/Makefile (tests): New test case tst-fseek.
26611         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26612         combination works in wide mode.
26613         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26614         state when the external buffer state changes.
26616 2012-09-27  David S. Miller  <davem@davemloft.net>
26618         [BZ #14376]
26619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26620         pass reloc->r_addend in as the 'high' argument to
26621         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26625 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26627         * rt/tst-aio2.c: Include <pthread.h>.
26628         * rt/tst-aio3.c: Likewise.
26630 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26632         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26634 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26636         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26637         contents on [SHARED].
26639 2012-09-26  Marek Polacek  <polacek@redhat.com>
26641         [BZ #14530]
26642         [BZ #13741]
26643         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26644         for C++ and GCC <4.3 as well as for non GCC compilers.
26646 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26650 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26652         * Makefile.in (all, install): Declare with .PHONY.
26653         Reported by Michael Hope <michael.hope@linaro.org>.
26655 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26657         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26658         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26659         system header.
26660         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26661         Likewise.
26662         (sydep_routines): Add the new and the internal functions.
26663         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26664         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26666         (GLIBC_2.17): Add the new function.
26667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26668         (GLIBC_2.17): Likewise.
26669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26670         (GLIBC_2.17): Likewise.
26671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26672         (GLIBC_2.17): Likewise.
26673         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26675 2012-09-25  Alan Modra  <amodra@gmail.com>
26677         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26678         Add release barrier before setting once_control to say
26679         initialisation is done.  Add hints on lwarx.  Use macro in
26680         place of isync.
26681         (clear_once_control): Add release barrier.
26683 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26685         [BZ #13629]
26686         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26687         specially.
26688         * math/s_clog10.c (__clog10): Likewise.
26689         * math/s_clog10f.c (__clog10f): Likewise.
26690         * math/s_clog10l.c (__clog10l): Likewise.
26691         * math/s_clogf.c (__clogf): Likewise.
26692         * math/s_clogl.c (__clogl): Likewise.
26693         * math/Makefile (libm-calls): Add x2y2m1.
26694         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26695         (__x2y2m1): Likewise.
26696         (__x2y2m1l): Likewise.
26697         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26698         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26699         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26700         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26701         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26702         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26703         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26704         * sysdeps/i386/fpu/libm-test-ulps: Update.
26705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26707         [BZ #14621]
26708         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26709         int as type of variable DEPTH.
26710         (glob): Use size_t instead of int as type of variables NEWCOUNT
26711         and OLD_PATHC.
26713 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26715         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26716         Add s_sincosf-sse2.
26717         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26718         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26719         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26720         macros for using routine as __sincosf_ia32.
26721         Use macro for function declaration and weak_alias.
26722         * sysdeps/i386/fpu/libm-test-ulps: Update.
26724         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26727         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26728         subnormal argument.
26729         * math/s_cexpf.c (__cexpf): Likewise.
26730         * math/s_csinf.c (__csinf): Likewise.
26731         * math/s_csinhf.c (__csinhf): Likewise.
26732         * math/s_ctanf.c (__ctanf): Likewise.
26733         * math/s_ctanhf.c (__ctanhf): Likewise.
26734         * math/s_ccosh.c (__ccoshf): Likewise.
26735         * math/s_cexp.c (__cexpl): Likewise.
26736         * math/s_csin.c (__csin): Likewise.
26737         * math/s_csinh.c (__csinh): Likewise.
26738         * math/s_ctan.c (__ctan): Likewise.
26739         * math/s_ctanh.c (ctanh): Likewise.
26740         * math/s_ccoshl.c (__ccoshl): Likewise.
26741         * math/s_cexpl.c (__cexpl): Likewise.
26742         * math/s_csinl.c (__csinl): Likewise.
26743         * math/s_csinhl.c (__csinhl): Likewise.
26744         * math/s_ctanl.c (__ctanl): Likewise.
26745         * math/s_ctanhl.c (__ctanhl): Likewise.
26747 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26749         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26750         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26751         (_IO_off_t): Define to __off_t, not _G_off_t.
26752         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26753         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26754         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26755         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26756         type of __dummy and __dummy2 fields.
26757         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26758         (_G_ssize_t): Likewise.
26759         (_G_off_t): Likewise.
26760         (_G_pid_t): Likewise.
26761         (_G_uid_t): Likewise.
26762         (_G_wchar_t): Likewise.
26763         (_G_wint_t): Likewise.
26764         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26765         (_G_ssize_t): Likewise.
26766         (_G_off_t): Likewise.
26767         (_G_pid_t): Likewise.
26768         (_G_uid_t): Likewise.
26769         (_G_wchar_t): Likewise.
26770         (_G_wint_t): Likewise.
26771         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26772         (_G_ssize_t): Likewise.
26773         (_G_off_t): Likewise.
26774         (_G_pid_t): Likewise.
26775         (_G_uid_t): Likewise.
26776         (_G_wchar_t): Likewise.
26777         (_G_wint_t): Likewise.
26779 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26781         * malloc/arena.c: Include malloc-sysdep.h.
26782         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26783         is sufficient to shrink the heap or an unmap is needed.
26784         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26785         new function check_may_shrink_heap.
26786         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26787         new function check_may_shrink_heap.
26789 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26791         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26792         comments.
26794 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26796         * catgets/test-gencat.sh: Add "set -e".
26797         * elf/tst-pathopt.sh: Likewise.
26798         * grp/tst_fgetgrent.sh: Likewise.
26799         * iconvdata/run-iconv-test.sh: Likewise.
26800         * intl/tst-gettext.sh: Likewise.
26801         * intl/tst-gettext2.sh: Likewise.
26802         * intl/tst-gettext4.sh: Likewise.
26803         * intl/tst-gettext6.sh: Likewise.
26804         * intl/tst-translit.sh: Likewise.
26805         * io/ftwtest-sh: Likewise.
26806         * libio/test-freopen.sh: Likewise.
26807         * malloc/tst-mtrace.sh: Likewise.
26808         * posix/globtest.sh: Likewise.
26809         * posix/tst-getconf.sh: Likewise.
26810         * posix/wordexp-tst.sh: Likewise.
26811         * stdio-common/tst-printf.sh: Likewise.
26812         * stdio-common/tst-unbputc.sh: Likewise.
26813         * stdlib/tst-fmtmsg.sh: Likewise.
26814         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26815         * catgets/Makefile: Do not specify -e option when running
26816         testsuite shell scripts.
26817         * elf/Makefile: Likewise.
26818         * grp/Makefile: Likewise.
26819         * iconvdata/Makefile: Likewise.
26820         * intl/Makefile: Likewise.
26821         * io/Makefile: Likewise.
26822         * libio/Makefile: Likewise.
26823         * malloc/Makefile: Likewise.
26824         * posix/Makefile: Likewise.
26825         * stdio-common/Makefile: Likewise.
26826         * stdlib/Makefile: Likewise.
26827         * sysdeps/x86_64/Makefile: Likewise.
26829         * io/ftwtest-sh: Add copyright header.
26830         * posix/globtest.sh: Likewise.
26831         * posix/tst-getconf.sh: Likewise.
26832         * posix/wordexp-tst.sh: Likewise.
26833         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26835 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26837         [BZ #13679]
26838         * Makeconfig (+link): Defined as $(+link-static) if
26839         $(build-shared) isn't yes.
26840         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26841         isn't yes.
26842         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26844         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26846         [BZ #14562]
26847         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26848         new chunk size with MALLOC_ALIGN_MASK.
26850 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26852         [BZ #5044]
26853         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26854         <rounding-mode.h>.
26855         (__printf_fphex): Determine rounding using get_rounding_mode and
26856         round_away.
26857         * stdio-common/tst-printf-round.c (struct hex_test): New
26858         structure.
26859         (hex_tests): New variable.
26860         (test_hex_in_one_mode): New function.
26861         (do_test): Also run tests for hex float output.
26863 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26865         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26866         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26867         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26868         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26869         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26870         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26871         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26872         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26874 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26876         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26877         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26878         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26879         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26881 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26883         [BZ #14579]
26884         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26885         mode only.
26886         * elf/tst-rtld-load-self.sh: New test.
26887         * elf/Makefile: Run it.
26889 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26891         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26892         (tst-writev-ENV): Remove.
26893         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26895 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26897         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26899 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26901         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26902         unconditional.
26903         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26904         Likewise.
26905         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26906         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26907         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26908         Likewise.
26910 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26912         [BZ #14587]
26913         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26914         * config.make.in (have-cpp-asm-debuginfo): Removed.
26915         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26916         * configure: Regenerated.
26918 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26920         [BZ #5044]
26921         * stdio-common/printf_fp.c: Include <stdbool.h> and
26922         <rounding-mode.h>.
26923         (___printf_fp): Determine rounding using get_rounding_mode and
26924         round_away.
26925         * stdio-common/tst-printf-round.c: New file.
26926         * stdio-common/Makefile (tests): Add tst-printf-round.
26927         (link-libm): New variable.
26928         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26930 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26932         [BZ #14576]
26933         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26934         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26935         Likewise.
26936         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26937         Likewise.
26939 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
26941         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26942         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26943         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26944         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26946 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
26948         [BZ #14518]
26949         * include/rounding-mode.h: New file.
26950         * sysdeps/generic/get-rounding-mode.h: Likewise.
26951         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26952         * stdlib/strtod_l.c: Include <rounding-mode.h>.
26953         (MAX_VALUE): New macro.
26954         (MIN_VALUE): Likewise.
26955         (overflow_value): New function.
26956         (underflow_value): Likewise.
26957         (round_and_return): Use overflow_value and underflow_value to
26958         determine return values in overflow and underflow cases.  Use
26959         round_away to determine rounding depending on rounding mode.
26960         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26961         determine return values in overflow and underflow cases.
26962         * stdlib/tst-strtod-round.c: Include <fenv.h>.
26963         (struct test_results): New structure.
26964         (struct test): Use struct test_results to store expected results
26965         for all rounding modes.
26966         (TEST): Include expected results for all rounding modes.
26967         (test_in_one_mode): New function.
26968         (do_test): Use test_in_one_mode to compute and check results.
26969         Check results for all rounding modes.
26970         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26971         $(link-libm).
26973 2012-12-09  Allan McRae  <allan@archlinux.org>
26975         * sysdeps/i386/fpu/libm-test-ulps: Update
26977 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26979         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26980         (_G_int32_t): Likewise.
26981         (_G_uint16_t): Likewise.
26982         (_G_uint32_t): Likewise.
26983         (_G_HAVE_BOOL): Likewise.
26984         (_G_HAVE_ATEXIT): Likewise.
26985         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26986         (_G_HAVE_IO_FILE_OPEN): Likewise.
26987         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26988         (_G_int32_t): Likewise.
26989         (_G_uint16_t): Likewise.
26990         (_G_uint32_t): Likewise.
26991         (_G_HAVE_BOOL): Likewise.
26992         (_G_HAVE_ATEXIT): Likewise.
26993         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26994         (_G_HAVE_IO_FILE_OPEN): Likewise.
26995         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26996         (_G_int32_t): Likewise.
26997         (_G_uint16_t): Likewise.
26998         (_G_uint32_t): Likewise.
26999         (_G_HAVE_BOOL): Likewise.
27000         (_G_HAVE_ATEXIT): Likewise.
27001         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27002         (_G_HAVE_IO_FILE_OPEN): Likewise.
27004 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27006         * csu/libc-tls.c: Update copyright years.
27008 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27010         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27011         [!_G_USING_THUNKS]: Remove conditional code.
27012         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27013         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27015         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27016         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27017         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27018         (_G_VTABLE_LABEL_PREFIX): Likewise.
27019         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27020         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27021         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27022         (_G_VTABLE_LABEL_PREFIX): Likewise.
27023         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27024         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27025         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27026         (_G_VTABLE_LABEL_PREFIX): Likewise.
27027         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27029 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27031         * libio/Makefile: Include ../Makeconfig before tests.
27032         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27033         only if $(build-shared) is yes.
27035         * iconv/gconv_db.c: Update copyright years.
27037 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27039         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27040         unwind info if defined PIC. Fix special cases description.
27041         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27043         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27044         DP_HI_MASK entry.
27045         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27047 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27049         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27051         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27052         is NULL.
27054         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27055         (LDLIBS-tst-chk4): This.
27056         (LDFLAGS-tst-chk5): Renamed to ...
27057         (LDLIBS-tst-chk5): This.
27058         (LDFLAGS-tst-chk6): Renamed to ...
27059         (LDLIBS-tst-chk6): This.
27060         (LDFLAGS-tst-lfschk4): Renamed to ...
27061         (LDLIBS-tst-lfschk4): This.
27062         (LDFLAGS-tst-lfschk5): Renamed to ...
27063         (LDLIBS-tst-lfschk5): This.
27064         (LDFLAGS-tst-lfschk6): Renamed to ...
27065         (LDLIBS-tst-lfschk6): This.
27067         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27068         on $(common-objpfx)soversions.mk.
27070 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27072         [BZ #10014]
27073         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27074         example host name.
27076 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27078         * malloc/arena.c (arena_get_retry): New function that gets
27079         another arena for the caller to try its request on.
27080         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27081         current arena cannot fulfill the request.
27082         (__libc_memalign): Likewise.
27083         (__libc_memalign): Likewise.
27084         (__libc_pvalloc): Likewise.
27085         (__libc_calloc): Likewise.
27087 2012-09-05  John Tobey  <john.tobey@gmail.com>
27089         [BZ #13542]
27090         * manual/arith.texi (Operations on Complex): Fix description
27091         of carg branch cut.
27093 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27095         [BZ #10014]
27096         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27097         host name.
27099         [BZ #10038]
27100         * manual/memory.texi (Memory): Make order of menu items match
27101         order of sections.
27103 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27105         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27106         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27107         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27109 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27111         * csu/libc-tls.c (static_dtv): Renamed to ...
27112         (_dl_static_dtv): This.  Make it global.
27113         (_dl_initial_dtv): Removed.
27114         (__libc_setup_tls): Updated.
27115         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27116         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27117         DL_INITIAL_DTV.
27119 2012-09-06  Petr Machata  <pmachata@redhat.com>
27121         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27122         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27123         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27124         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27126 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27128         [BZ #14545]
27129         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27130         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27131         freeing dtv[-1].
27133 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27135         [BZ #14544]
27136         * Makeconfig (link-static-before-libc): Replace $(+prector)
27137         with $(+prectorT).
27138         (link-static-after-libc): Replace $(+postctor) with
27139         $(+postctorT).
27140         (link-bounded): Replace $(+prector)/$(+postctor) with
27141         $(+prectorT)/$(+postctorT).
27142         (+prectorT): New macro.
27143         (+postctorT): Likewise.
27145 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27147         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27148         (round_str): Handle values above the maximum for IBM long double
27149         as inexact.
27150         * stdlib/tst-strtod-round.c (tests): Regenerated.
27152 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27154         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27155         assembler flag.
27156         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27157         zarch_nohighgprs around the zarch optimized routines.
27158         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27159         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27160         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27161         for zarch.
27163 2012-09-05  David S. Miller  <davem@davemloft.net>
27165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27167         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27168         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27169         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27170         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27171         entries.
27173 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27175         * malloc/arena.c: Fold copyright years.
27176         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27178 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27180         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27182 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27184         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27186 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27188         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27189         change internal state upon failure.
27191 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27193         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27194         * malloc/memusage.c (mmap): Likewise.
27195         (mmap64, mremap): Likewise.  Adjust name in comment.
27197 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27199         * libio/fileops.c: Fix typos in comments.
27200         * libio/oldfileops.c: Likewise.
27201         * libio/wfileops.c: Likewise.
27203 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27205         [BZ #1349]
27206         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27207         (tst-malloc-usable-ENV): Set environment for test case.
27208         * malloc/hooks.c (malloc_check_get_size): New function to get
27209         requested size.
27210         * malloc/malloc.c (musable): Use malloc_check_get_size.
27211         * malloc/tst-malloc-usable.c: New test case.
27213 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27215         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27217 2012-09-05  Allan McRae  <allan@archlinux.org>
27219         [BZ #13966]
27220         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27221         determine header location.
27222         * configure: Regenerated.
27224 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27226         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27227         float format.
27228         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27229         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27230         format.
27231         (test): Regenerate.
27233 2012-09-04  David S. Miller  <davem@davemloft.net>
27235         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27236         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27237         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27239 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27241         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27242         failures.
27244         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27246 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27248         [BZ #9914]
27249         * libio/iogetdelim.c: Include <limits.h>.
27250         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27251         + len + 1 would overflow.
27253 2012-09-03  Andreas Jaeger  <aj@suse.de>
27255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27256         * sysdeps/i386/fpu/libm-test-ulps: Update.
27258 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27260         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27261         Add s_sinf-sse2, s_conf-sse2.
27263         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27264         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27265         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27266         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27268         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27269         for using routine as __sinf_ia32.
27270         Use macro for function declaration and weak_alias.
27271         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27272         for using routine as __cosf_ia32.
27273         Use macro for function declaration and weak_alias.
27275         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27276         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27278         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27279         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27280         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27282         * math/libm-test.inc (cos_test): Add more test cases.
27283         (sin_test): Likewise.
27284         (sincos_test): Likewise.
27286 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27288         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27289         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27290         hidden.
27291         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27293 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27295         [BZ #14538]
27296         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27297         first element of the GOT.
27298         (elf_machine_load_address): Return the difference between
27299         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27301 2012-09-01  Allan McRae  <allan@archlinux.org>
27303         [BZ #13412]
27304         * configure.in (AWK): Require gawk version 3.0 or later.
27305         * configure: Regenerated.
27307 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27309         * sysdeps/unix/sysv/linux/kernel-features.h
27310         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27311         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27312         [__NR_clock_getres]: Make code unconditional.
27313         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27314         (clock_getcpuclockid): Remove code left unreachable by removal of
27315         conditionals.
27316         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27317         code unconditional.
27318         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27319         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27320         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27321         Make code unconditional.
27322         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27323         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27324         * sysdeps/unix/sysv/linux/clock_settime.c
27325         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27326         conditional code.
27327         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27328         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27330 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27332         [BZ #14476]
27333         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27334         scripts/test-installation.pl.
27336         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27337         and $ld_so_version if it is set.
27339 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27341         [BZ #14516]
27342         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27343         failure if reading from procfs failed.
27344         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27346 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27348         * sysdeps/unix/sysv/linux/kernel-features.h
27349         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27350         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27351         Remove conditional code.
27352         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27353         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27354         Remove conditional code.
27355         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27356         * sysdeps/unix/sysv/linux/i386/fxstat.c
27357         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27358         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27359         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27360         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27361         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27362         * sysdeps/unix/sysv/linux/i386/lxstat.c
27363         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27364         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27365         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27366         Remove conditional code.
27367         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27368         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27369         Remove conditional code.
27370         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27371         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27372         <kernel-features.h>.
27373         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27374         Remove.
27375         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27376         Remove conditional code.
27377         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27378         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27379         Remove conditional.
27381 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27383         [BZ #5400]
27384         * NEWS: Add fixed bug number.
27386 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27388         [BZ #14519]
27389         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27390         underflowing exponent in case of negative sign.
27391         * stdlib/tst-strtod-round-data: Add more tests.
27392         * stdlib/tst-strtod-round.c (tests): Regenerated.
27394         [BZ #3479]
27395         * stdlib/strtod_l.c (NDIG): Remove.
27396         (HEXNDIG): Likewise.
27397         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27398         smallest representable value.
27399         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27400         lie within an exact representation of 1/2 ulp of the result.
27401         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27402         unconditionally.
27403         (TENS_P9_IDX): Define unconditionally.
27404         (TENS_P9_SIZE): Likewise.
27405         (TENS_P10_IDX): Likewise.
27406         (TENS_P10_SIZE): Likewise.
27407         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27408         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27409         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27410         entries for 10^2^13 and 10^2^14.
27411         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27412         (TENS_P13_IDX): Define.
27413         (TENS_P13_SIZE): Likewise.
27414         (TENS_P14_IDX): Likewise.
27415         (TENS_P14_SIZE): Likewise.
27416         (_fpioconst_pow10): Change array size to
27417         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27418         unconditional.
27419         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27420         1024]: Add entries for 10^2^13 and 10^2^14.
27421         [LAST_POW10 > _LAST_POW10]: Remove #error.
27422         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27423         (_fpioconst_pow10): Change array size to
27424         FPIOCONST_POW10_ARRAY_SIZE.
27425         * stdlib/gen-fpioconst.c: New file.
27426         * stdlib/gen-tst-strtod-round.c: Likewise.
27427         * stdlib/tst-strtod-round-data: Likewise.
27428         * stdlib/tst-strtod-round.c: Likewise.
27429         * stdlib/Makefile (tests): Add tst-strtod-round.
27431         [BZ #14459]
27432         * stdlib/strtod_l.c: Include <stdint.h>.
27433         (NDEBUG): Do not define.
27434         (round_and_return): Change EXPONENT parameter to type intmax_t.
27435         Rearrange calculations to avoid internal overflow possibilities.
27436         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27437         Rearrange calculations to avoid internal overflow possibilities.
27438         Assert that number fits inside MPNSIZE limbs.
27439         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27440         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27441         calculations and add assertions to avoid internal overflow
27442         possibilities.  Add casts to avoid signed/unsigned operations.
27443         * stdlib/tst-strtod-overflow.c: New file.
27444         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27446 2012-08-25  Marek Polacek  <polacek@redhat.com>
27448         * time/time.h: Fix some typos in comments.
27450 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27452         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27453         * posix/tst-rfc3484-2.c: Likewise.
27454         * posix/tst-rfc3484-3.c: Likewise.
27456 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27458         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27459         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27461 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27463         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27464         #include of fxstatat64.c.
27466 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27468         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27469         * shadow/getspent_r.c: Likewise.
27470         * shadow/getspnam.c: Likewise.
27471         * shadow/getspnam_r.c: Likewise.
27472         * gshadow/getsgent.c: Likewise.
27473         * gshadow/getsgent_r.c: Likewise.
27474         * gshadow/getsgnam.c: Likewise.
27475         * gshadow/getsgnam_r.c: Likewise.
27476         * inet/getnetbyad.c: Likewise.
27477         * inet/getnetbyad_r.c: Likewise.
27478         * inet/getnetbynm.c: Likewise.
27479         * inet/getnetbynm_r.c: Likewise.
27480         * inet/getnetent.c: Likewise.
27481         * inet/getnetent_r.c: Likewise.
27482         * inet/getproto.c: Likewise.
27483         * inet/getproto_r.c: Likewise.
27484         * inet/getprtent.c: Likewise.
27485         * inet/getprtent_r.c: Likewise.
27486         * inet/getprtname.c: Likewise.
27487         * inet/getprtname_r.c: Likewise.
27488         * inet/getrpcbyname.c: Likewise.
27489         * inet/getrpcbyname_r.c: Likewise.
27490         * inet/getrpcbynumber.c: Likewise.
27491         * inet/getrpcbynumber_r.c: Likewise.
27492         * inet/getrpcent.c: Likewise.
27493         * inet/getrpcent_r.c: Likewise.
27494         * inet/getaliasent.c: Likewise.
27495         * inet/getaliasent_r.c: Likewise.
27496         * inet/getaliasname.c: Likewise.
27497         * inet/getaliasname_r.c: Likewise.
27498         * nscd/getgrgid_r.c: Likewise.
27499         * nscd/getgrnam_r.c: Likewise.
27500         * nscd/gethstbyad_r.c: Likewise.
27501         * nscd/gethstbynm3_r.c: Likewise.
27502         * nscd/getpwnam_r.c: Likewise.
27503         * nscd/getpwuid_r.c: Likewise.
27504         * nscd/getsrvbynm_r.c: Likewise.
27505         * nscd/getsrvbypt_r.c: Likewise.
27506         * nscd/gai.c: Likewise.
27508         * configure.in (build_nscd): New substituted variable, set
27509         by --disable-build-nscd and defaults to $use_nscd.
27510         * configure: Regenerated.
27511         * config.make.in (build-nscd): New substituted variable.
27512         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27513         Change conditional to require [$(build-nscd) = yes] as well.
27514         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27516         [BZ# 13696]
27517         * configure.in (use_nscd): New substituted variable, set by
27518         --disable-nscd.  If enabled, define USE_NSCD.
27519         * configure: Regenerated.
27520         * config.h.in: Add USE_NSCD.
27521         * config.make.in (use-nscd): New substituted variable.
27522         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27523         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27524         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27525         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27526         (CFLAGS-getgrnam_r.c): Likewise.
27527         (CFLAGS-initgroups.c): Likewise.
27528         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27529         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27530         Variables removed.
27531         * inet/getnetgrent_r.c
27532         (nscd_setnetgrent): New function, broken out of ...
27533         (setnetgrent): ... here.  Call it.
27534         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27535         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27536         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27537         * nscd/Makefile (routines, aux): Move definitions after include of
27538         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27539         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27540         Conditionalize on [USE_NSCD].
27541         (is_nscd, nscd_init_cb): Likewise.
27542         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27543         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27544         * nss/nss_db/db-init.c: Likewise.
27545         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27546         [USE_NSCD].
27547         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27548         (make_request): Use it.
27549         (cache_valid_p): New function.
27550         (__check_pf): Use it.
27551         * NEWS: Add item for --disable-nscd.
27553 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27555         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27556         to support sed >= 4.2.1-20-ga9bf076.
27557         * configure: Regenerated.
27559 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27561         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27562         Conditionalize whole body on [IREL].
27564 2012-08-22  Jeff Law <law@redhat.com>
27566         [BZ #14505]
27567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27568         if the family is PF_UNSPEC.
27570 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27572         * Makerules (lib-version): Rename from V.
27573         (install-lib-nosubdir): Change V to lib-version.
27575 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27577         [BZ #14252]
27578         * powerpc32/power6/wcschr.c: New file.
27579         * powerpc32/power6/wcscpy.c: New file.
27580         * powerpc32/power6/wcsrchr.c: New file.
27581         * powerpc64/power6/wcschr.c: New file.
27582         * powerpc64/power6/wcscpy.c: New file.
27583         * powerpc64/power6/wcsrchr.c: New file.
27585 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27587         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27588         (two_way_short_needle): Use it.
27589         * string/strstr.c (AVAILABLE1_USES_J): Define.
27590         * string/strcasestr.c: Likewise.
27592         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27593         array references.
27594         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27596         [BZ #11607]
27597         * NEWS: Add an entry.
27598         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27599         define their defaults.
27600         (two_way_short_needle): Detect end-of-string on-the-fly.
27601         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27602         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27603         * string/bug-strcasestr1.c: New test.
27604         * string/Makefile: Run it.
27606 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27608         [BZ #11607]
27609         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27610         the first character.
27612 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27614         * csu/elf-init.c (__libc_csu_irel): Function removed.
27615         * csu/libc-start.c (apply_irel): New function.
27616         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27618 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27620         * sysdeps/unix/sysv/linux/kernel-features.h
27621         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27622         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27623         <kernel-features.h>.
27624         [__NR_fadvise64_64]: Make code unconditional.
27625         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27626         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27627         !__NR_fadvise64_64)]: Likewise.
27628         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27629         !__NR_fadvise64_64))]: Likewise.
27630         [__NR_fadvise64]: Make code unconditional.
27631         [!__NR_fadvise64]: Remove conditional code.
27632         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27633         <kernel-features.h>.
27634         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27635         unconditional.
27636         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27637         conditional code.
27638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27639         not include <kernel-features.h>.
27640         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27641         unconditional.
27642         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27643         conditional code.
27644         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27645         include <kernel-features.h>.
27646         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27647         unconditional.
27648         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27649         conditional code.
27651 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27653         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27654         slight instruction rearrangements per scrollpipe analysis.
27655         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27657 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27659         * manual/syslog.texi (syslog; vsyslog, closelog):
27660         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27661         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27663         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27664         DSOCAPS to match condition on defining it.
27666 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27668         * sysdeps/unix/sysv/linux/kernel-features.h
27669         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27671         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27672         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27674         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27675         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27677         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27678         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27680         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27681         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27683         * sysdeps/unix/sysv/linux/kernel-features.h
27684         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27685         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27686         unconditional.
27687         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27688         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27689         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27690         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27691         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27692         Make code unconditional.
27693         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27694         (__mmap64) [!__NR_mmap2]: Likewise.
27695         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27696         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27697         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27698         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27699         [__NR_mmap2]: Make code unconditional.
27700         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27701         (__mmap64) [!__NR_mmap2]: Likewise.
27703 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27705         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27707 2012-08-18  Andreas Jaeger  <aj@suse.de>
27709         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27711 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27713         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27714         * include/unistd.h (__have_sock_cloexec): Likewise.
27715         (__have_pipe2): Likewise.
27716         (__have_dup3): Likewise.
27718 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27720         [BZ #9685]
27721         * include/unistd.h (__have_pipe2): Change define into an extern int.
27722         (__have_dup3): Likewise.
27723         * socket/have_sock_cloexec.c: Include fcntl.h.
27724         (__have_pipe2): New variable.
27725         (__have_dup3): Likewise.
27727 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27729         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27731 2012-08-17  Marek Polacek  <polacek@redhat.com>
27733         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27734         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27736 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27738         * configure.in: Add AC_SUBST for sysheaders.
27739         * configure: Regenerated.
27740         * config.make.in (sysheaders): New substituted variable.
27742         * sysdeps/unix/mkfifo.c: Moved ...
27743         * sysdeps/posix/mkfifo.c: ... here.
27744         * sysdeps/unix/mkfifoat.c: Moved ...
27745         * sysdeps/posix/mkfifoat.c: ... here.
27747         * sysdeps/unix/utime.c: Moved ...
27748         * sysdeps/posix/utime.c: ... here.
27750         * sysdeps/unix/time.c: Moved ...
27751         * sysdeps/posix/time.c: ... here.
27752         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27753         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27755         * sysdeps/unix/nice.c: Moved ...
27756         * sysdeps/posix/nice.c: ... here.
27758         * sysdeps/unix/alarm.c: Moved ...
27759         * sysdeps/posix/alarm.c: ... here.
27761         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27763 2012-08-17  Jeff Law <law@redhat.com>
27765         * intl/Makefile (codeset_mo): New variable.
27766         ($(codeset_mo)): New target.
27767         (tst-codeset.out): Depend on that.  Remove explicit rule.
27768         (tst-gettext3.out, tst-gettext5.out): Likewise.
27769         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27770         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27771         * intl/tst-codeset.sh: Remove.
27772         * intl/tst-gettext3.sh: Likewise.
27773         * intl/tst-gettext5.sh: Likewise.
27775 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27777         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27778         * sysdeps/unix/syscalls.list: ... here.
27780         * sysdeps/posix/getaddrinfo.c
27781         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27782         (gaiconf_init, gaiconf_reload): Use them.
27783         [!_STATBUF_ST_NSEC]
27784         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27785         Define using time_t rather than struct timespec.
27787         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27788         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27789         Macros removed.
27790         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27791         [!NO_THREADS].
27792         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27793         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27794         Likewise.
27796         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27797         __libc_cleanup_push argument.
27799         * bits/param.h: New file.
27800         * misc/sys/param.h: New file.
27801         * include/sys/param.h: New file.
27802         * misc/Makefile (headers): Add bits/param.h.
27803         * sysdeps/generic/sys/param.h: File removed.
27804         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27805         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27806         * sysdeps/mach/hurd/bits/param.h: New file.
27807         * sysdeps/mach/hurd/sys/param.h: File removed.
27809         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27810         last change.
27812         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27813         [_IO_MTSAFE_IO].
27814         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27815         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27816         New macros.
27818         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27819         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27820         rather than -D_IO_MTSAFE_IO conditionally.
27821         * stdio-common/Makefile (CPPFLAGS): Likewise.
27822         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27823         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27824         Use $(libio-mtsafe).
27825         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27826         of -D_IO_MTSAFE_IO.
27827         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27828         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27829         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27830         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27831         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27832         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27833         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27834         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27835         (CFLAGS-fread_u_chk.c): Likewise.
27836         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27837         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27838         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27839         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27840         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27841         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27842         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27843         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27844         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27846         * libio/Makefile: Test [$(libc-reentrant) = yes]
27847         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27849         * Makeconfig
27850         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27851         * sysdeps/pthread/configure: File removed.
27852         * sysdeps/pthread/Makeconfig: New file.
27853         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27854         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27856 2012-08-16  Gary Benson  <gbenson@redhat.com>
27858         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27859         unmapping the first object in a namespace.
27861 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27863         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27864         (__internal_setnetgrent): ... this.  Add internal_function to
27865         definition.  Add libc_hidden_def.
27866         (setnetgrent): Update caller.
27867         (internal_endnetgrent): Renamed to ...
27868         (__internal_endnetgrent): ... this.  Add internal_function to
27869         definition.  Add libc_hidden_def.
27870         (endnetgrent): Update caller.
27871         (internal_getnetgrent_r): Renamed to ...
27872         (__internal_getnetgrent_r): ... this.  Add internal_function to
27873         definition.  Add libc_hidden_def.
27874         (__getnetgrent_r): Update caller.
27875         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27877 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27879         * stdlib/longlong.h: Update from GCC.
27881 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27883         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27884         on _QL, which is set by umul_ppmm but never used.
27885         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27886         variables, which are set by GMP macros but never used.
27887         * stdio-common/_itowa.c (_itowa): Likewise.
27888         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27889         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27891 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27893         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27894         struct La_sh_regs is not constant.
27895         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27896         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27897         and struct La_sparc64_regs are not constant.
27899 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27901         * sysdeps/unix/sysv/linux/kernel-features.h
27902         (__ASSUME_POSIX_TIMERS): Remove.
27903         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27904         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27905         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27906         Make code unconditional.
27907         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27908         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27909         Make code unconditional.
27910         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27911         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27912         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27913         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27914         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27915         Make code unconditional.
27916         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27917         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27918         (__libc_missing_posix_timers): Remove.
27920 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27922         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27923         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27925         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27927         * elf/dl-sym.c: Include <stdlib.h>.
27929         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27930         constants, which avoids warnings in 32-bit builds.
27932         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27933         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27935         * misc/lseek.c: File moved to ...
27936         * io/lseek.c: ... here.
27938         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27940         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27941         shifting LEN more than 31 bits at once.
27943 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27945         [BZ #14195]
27946         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27947         segmentation fault for a case of two empty input strings.
27948         * string/test-strncasecmp.c (check1): Renamed to...
27949         (bz12205): ...this.
27950         (bz14195): Add new testcase for two empty input strings and N > 0.
27951         (test_main): Call new testcase, adapt for renamed function.
27953 2012-08-15  Andreas Jaeger  <aj@suse.de>
27955         [BZ #14090]
27956         * crypt/md5test2.c: New test, based on test supplied by Serge
27957         Belyshev <belyshev@depni.sinp.msu.ru>.
27958         * crypt/Makefile (xtests): Add md5test-giant..
27959         * crypt/Makefile ($(objpfx)md5test-giant): Add.
27961 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
27963         [BZ #14090]
27964         * crypt/md5.c (md5_process_block): Don't assume the buffer
27965         length is less than 2**32.
27966         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27967         length is less than 2**64.
27969 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27971         * string/str-two-way.h: Include <sys/param.h>.
27972         (MAX): Macro removed.
27974         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27975         Move #define and #undef of memmove to just before and after
27976         including <string.h>.
27978         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27979         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27980         and after including <string.h>.  Move declarations of
27981         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27982         to before #include "string/memmove.c".
27984         * include/dirent.h: Declare __getdirentries.
27986         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27987         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27989 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
27991         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27992         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27993         * sysdeps/i386/configure: Regenerated.
27994         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27995         STABS_CURRENT_FILE, and STABS_FUN.
27996         (END): Remove call to STABS_FUN_END.
27997         (STABS_CURRENT_FILE1): Delete.
27998         (STABS_CURRENT_FILE): Likewise.
27999         (STABS_FUN): Likewise.
28000         (STABS_FUN_END): Likewise.
28001         (STABS_FUN2): Likewise.
28002         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28003         * sysdeps/x86_64/configure: Regenerated.
28005 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28007         * elf/dl-open.c: Include <atomic.h>.
28008         * elf/dl-lookup.c: Likewise.
28010 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28012         * sysdeps/unix/sysv/linux/kernel-features.h
28013         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28014         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28015         unconditionally.
28016         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28017         unconditionally.
28018         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28019         condition on __ASSUME_CLONE_THREAD_FLAGS.
28021 2012-08-14  Andreas Jaeger  <aj@suse.de>
28023         * sysdeps/i386/fpu/libm-test-ulps: Update.
28025 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28027         * include/atomic.h (atomic_exchange_and_add): Split into ...
28028         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28029         New atomic macros.
28031 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28035 2012-08-13  Jeff Law <law@redhat.com>
28037         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28038         null byte in the output string.
28040 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28042         * sysdeps/unix/sysv/linux/kernel-features.h
28043         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28044         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28045         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28046         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28047         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28048         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28049         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28051 2012-08-09  Jeff Law <law@redhat.com>
28053         [BZ #13939]
28054         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28055         When avoid_arena is set, don't retry in the that arena.  Pick the
28056         next one, whatever it might be.
28057         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28058         (arena_lock): Pass in new parameter to arena_get2.
28059         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28060         arena_get2.
28061         (__libc_malloc): Unify retrying after main arena failure with
28062         __libc_memalign version.
28063         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28065 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28067         [BZ #14166]
28068         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28069         to __redirect_strstr.
28070         (__strstr_sse42): Use typeof __redirect_strstr.
28071         (__strstr_ia32): Likewise.
28072         (__libc_strstr): New prototype.
28073         (strstr): Renamed to ...
28074         (__libc_strstr): This.
28075         (strstr): New strong alias of __libc_strstr.
28076         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28077         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28078         __redirect_time.
28079         Include <time.h>.
28080         (__libc_time): New prototype.
28081         (time_ifunc): Replace time with __libc_time.
28082         (time): New strong alias and hidden definition of __libc_time.
28083         (__GI_time): Remove strong alias.
28084         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28085         Include <stddef.h>.
28086         (memmove): Redefined to __redirect_memmove.
28087         (__memmove_sse2): Use typeof __redirect_memmove.
28088         (__memmove_ssse3): Likewise.
28089         (__memmove_ssse3_back): Likewise.
28090         (__libc_memmove): New prototype.
28091         (memmove): Renamed to ...
28092         (__libc_memmove): This.
28093         (memmove): New strong alias of __libc_memmove.
28095 2012-08-08  Mark Salter  <msalter@redhat.com>
28097         * elf/elf.h
28098         (R_MN10300_TLS_GD): Define.
28099         (R_MN10300_TLS_LD): Likewise.
28100         (R_MN10300_TLS_LDO): Likewise.
28101         (R_MN10300_TLS_GOTIE): Likewise.
28102         (R_MN10300_TLS_IE): Likewise.
28103         (R_MN10300_TLS_LE): Likewise.
28104         (R_MN10300_TLS_DTPMOD): Likewise.
28105         (R_MN10300_TLS_DTPOFF): Likewise.
28106         (R_MN10300_TLS_TPOFF): Likewise.
28107         (R_MN10300_SYM_DIFF): Likewise.
28108         (R_MN10300_ALIGN): Likewise.
28109         (R_MN10300_NUM): Update.
28111 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28114         Remove.
28116 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28118         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28120         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28121         sysdeps/unix -> sysdeps/posix move.
28122         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28124 2012-08-07      Allan McRae     <allan@archlinux.org>
28126         [BZ #14303]
28127         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28128         (SUNOS_CPP): Likewise.
28129         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28130         not found.
28131         (open_input): Call CPP using execvp.
28133 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28135         * sysdeps/unix/sysv/linux/kernel-features.h
28136         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28137         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28138         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28139         (__ASSUME_WAITID_SYSCALL): Likewise.
28140         * sysdeps/unix/sysv/linux/dl-execstack.c
28141         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28142         code unconditional.
28143         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28144         conditional code.
28145         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28146         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28147         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28148         code.
28149         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28150         unconditional.
28151         [__ASSUME_WAITID_SYSCALL]: Likewise.
28152         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28154 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28156         * sysdeps/unix/closedir.c: Renamed to ...
28157         * sysdeps/posix/closedir.c: ... here.
28158         * sysdeps/unix/dirfd.c: Renamed to ...
28159         * sysdeps/posix/dirfd.c: ... here.
28160         * sysdeps/unix/dirstream.h: Renamed to ...
28161         * sysdeps/posix/dirstream.h: ... here.
28162         * sysdeps/unix/fdopendir.c: Renamed to ...
28163         * sysdeps/posix/fdopendir.c: ... here.
28164         * sysdeps/unix/opendir.c: Renamed to ...
28165         * sysdeps/posix/opendir.c: ... here.
28166         * sysdeps/unix/readdir.c: Renamed to ...
28167         * sysdeps/posix/readdir.c: ... here.
28168         * sysdeps/unix/readdir_r.c: Renamed to ...
28169         * sysdeps/posix/readdir_r.c: ... here.
28170         * sysdeps/unix/rewinddir.c: Renamed to ...
28171         * sysdeps/posix/rewinddir.c: ... here.
28172         * sysdeps/unix/seekdir.c: Renamed to ...
28173         * sysdeps/posix/seekdir.c: ... here.
28174         * sysdeps/unix/telldir.c: Renamed to ...
28175         * sysdeps/posix/telldir.c: ... here.
28176         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28177         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28178         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28179         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28181         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28182         * bits/fcntl.h: ... here.
28184         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28185         not 0.
28186         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28187         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28188         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28189         (struct flock): Move l_start, l_len to the beginning.
28190         Use __pid_t for l_pid.
28191         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28192         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28193         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28194         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28195         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28196         [__USE_LARGEFILE64] (struct flock64): New type.
28197         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28199         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28200         * bits/dirent.h: ... here.
28202         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28203         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28205 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28207         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28208         Change from 2.6.0 to 2.6.16.
28209         * sysdeps/unix/sysv/linux/configure: Regenerated.
28210         * sysdeps/unix/sysv/linux/kernel-features.h
28211         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28212         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28213         version.
28214         (__ASSUME_UTIMES): Likewise.
28215         (__ASSUME_CLONE_STOPPED): Remove.
28216         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28217         architectures, not kernel version.
28218         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28219         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28220         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28221         (__ASSUME_WAITID_SYSCALL): Likewise.
28222         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28223         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28224         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28225         refer to older versions.
28227 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28229         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28230         Define alphasort64 as an alias.
28231         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28232         Define versionsort64 as an alias.
28233         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28234         Define scandir64 as an alias.
28235         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28236         Define scandirat64 as an alias.
28237         * dirent/alphasort64.c (alphasort64):
28238         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28239         * dirent/versionsort64.c: Likewise.
28240         * dirent/scandir64.c: Likewise.
28241         * dirent/scandirat64.c: Likewise.
28242         * sysdeps/wordsize-64/alphasort.c: File removed.
28243         * sysdeps/wordsize-64/alphasort64.c: File removed.
28244         * sysdeps/wordsize-64/scandir.c: File removed.
28245         * sysdeps/wordsize-64/scandir64.c: File removed.
28246         * sysdeps/wordsize-64/scandirat.c: File removed.
28247         * sysdeps/wordsize-64/scandirat64.c: File removed.
28248         * sysdeps/wordsize-64/versionsort.c: File removed.
28249         * sysdeps/wordsize-64/versionsort64.c: File removed.
28250         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28251         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28252         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28253         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28254         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28255         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28256         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28257         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28259         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28260         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28261         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28262         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28263         [defined __arch64__ || defined __sparcv9]
28264         (__INO_T_MATCHES_INO64_T): New macro.
28265         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28266         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28267         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28268         * sysdeps/unix/sysv/linux/bits/dirent.h
28269         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28270         (_DIRENT_MATCHES_DIRENT64): New macro.
28272         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28273         Define lockf64 as an alias.
28274         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28275         Define fseeko64 as an alias.
28276         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28277         Define ftello64 as an alias.
28278         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28279         Define _IO_fgetpos64 and fgetpos64 as aliases.
28280         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28281         Define _IO_fsetpos64 and fsetpos64 as aliases.
28282         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28283         Conditionalize body on this.
28284         * libio/fseeko64.c: Likewise.
28285         * libio/ftello64.c: Likewise.
28286         * libio/iofgetpos64.c: Likewise.
28287         * libio/iofsetpos64.c: Likewise.
28288         * sysdeps/wordsize-64/lockf.c: File removed.
28289         * sysdeps/wordsize-64/lockf64.c: File removed.
28290         * sysdeps/wordsize-64/fseeko.c: File removed.
28291         * sysdeps/wordsize-64/fseeko64.c: File removed.
28292         * sysdeps/wordsize-64/ftello.c: File removed.
28293         * sysdeps/wordsize-64/ftello64.c: File removed.
28294         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28295         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28296         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28297         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28298         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28299         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28300         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28301         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28302         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28303         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28304         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28305         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28307         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28309         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28310         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28311         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28312         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28313         [defined __arch64__ || defined __sparcv9]
28314         (__OFF_T_MATCHES_OFF64_T): New macro.
28315         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28316         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28317         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28318         (__OFF_T_MATCHES_OFF64_T): New macro.
28320 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28322         * stdlib/secure-getenv.c (__secure_getenv): Replace
28323         GLIBC_2_16 with GLIBC_2_17.
28325 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28327         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28328         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28330 2012-08-03  David S. Miller  <davem@davemloft.net>
28332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28334 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28337         Remove.
28338         (__ASSUME_CORRECT_SI_PID): Likewise.
28339         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28340         (__ASSUME_TMPFS_NAME): Likewise.
28341         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28342         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28343         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28344         (HAVE_AUX_SECURE): Make definition unconditional.
28345         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28346         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28348 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28350         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28351         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28352         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28353         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28354         __eloop_threshold instead of SYMLOOP_MAX.
28356         * sysdeps/generic/eloop-threshold.h: New file.
28357         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28358         of MAXSYMLINKS.
28359         * elf/chroot_canon.c (chroot_canon): Likewise.
28361 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28363         [BZ #13717]
28364         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28365         Change to 2.6.0 everywhere.
28366         * sysdeps/unix/sysv/linux/configure: Regenerated.
28367         * sysdeps/unix/sysv/linux/kernel-features.h
28368         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28369         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28370         kernel versions.
28371         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28372         (__ASSUME_FUTEX_REQUEUE): Remove.
28373         (__ASSUME_STATFS64): Define unconditionally.
28374         (__ASSUME_AT_SECURE): Likewise.
28375         (__ASSUME_CORRECT_SI_PID): Likewise.
28376         (__ASSUME_TGKILL): Define without depending on kernel version for
28377         i386.
28378         (__ASSUME_UTIMES): Likewise.
28379         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28380         kernel version.
28381         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28382         (__ASSUME_TMPFS_NAME): Likewise.
28383         * README: Update reference to Linux kernel versions.
28385 2012-08-02  Marek Polacek  <polacek@redhat.com>
28387         [BZ# 14150]
28388         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28389         libc_cv_asm_type_prefix with %.
28390         * configure: Regenerated.
28391         * include/libc-symbols.h: Remove comment about
28392         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28393         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28394         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28395         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28396         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28397         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28398         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28399         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28400         * elf/tst-unique2mod1.c: Likewise.
28401         * elf/tst-unique1mod2.c: Likewise.
28402         * elf/tst-unique1mod1.c: Likewise.
28403         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28404         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28405         Replace ASM_TYPE_DIRECTIVE with .type.
28406         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28407         * sysdeps/i386/sysdep.h: Likewise.
28408         * sysdeps/x86_64/sysdep.h: Likewise.
28409         * sysdeps/sh/sysdep.h: Likewise.
28410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28411         Do not define ASM_TYPE_DIRECTIVE.
28412         * sysdeps/powerpc/sysdep.h: Likewise.
28413         * sysdeps/powerpc/powerpc32/sysdep.h:
28414         Replace ASM_TYPE_DIRECTIVE with .type.
28415         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28416         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28417         * sysdeps/i386/fpu/e_powf.S: Likewise.
28418         * sysdeps/i386/fpu/e_expl.S: Likewise.
28419         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28420         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28421         * sysdeps/i386/fpu/e_pow.S: Likewise.
28422         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28423         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28424         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28425         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28426         * sysdeps/i386/fpu/e_log2.S: Likewise.
28427         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28428         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28429         * sysdeps/i386/fpu/e_powl.S: Likewise.
28430         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28431         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28432         * sysdeps/i386/fpu/e_logl.S: Likewise.
28433         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28434         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28435         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28436         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28437         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28438         * sysdeps/i386/fpu/e_log.S: Likewise.
28439         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28440         * sysdeps/i386/fpu/e_logf.S: Likewise.
28441         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28442         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28443         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28444         * sysdeps/i386/fpu/e_log10.S: Likewise.
28445         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28446         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28447         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28448         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28449         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28450         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28451         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28452         * sysdeps/i386/i686/strtok.S: Likewise.
28453         * sysdeps/i386/i386-mcount.S: Likewise.
28454         * sysdeps/i386/strtok.S: Likewise.
28455         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28456         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28457         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28458         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28459         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28460         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28461         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28462         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28463         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28464         * sysdeps/x86_64/_mcount.S: Likewise.
28465         * sysdeps/x86_64/strtok.S: Likewise.
28466         * sysdeps/sh/_mcount.S: Likewise.
28468 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28470         * libio/iofopen.c: Include <fcntl.h>.
28471         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28472         (_IO_fopen64, fopen64): Define as aliases.
28473         * libio/iofopen64.c: Include <fcntl.h>.
28474         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28475         Conditionalize body on this.
28476         * sysdeps/wordsize-64/iofopen.c: File removed.
28477         * sysdeps/wordsize-64/iofopen64.c: File removed.
28479 2012-08-01  Marek Polacek  <polacek@redhat.com>
28481         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28482         Use dlfcn directly instead of a variable.
28483         (binfmt-subdir): Do not define.
28484         (dlfcn): Likewise.
28486 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28488         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28489         Remove all definitions.
28490         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28491         <kernel-features.h>.
28492         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28493         (miss_F_GETOWN_EX): Remove all definitions.
28494         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28495         macro definition.
28496         [!__ASSUME_FCNTL64]: Remove conditional code.
28497         [__ASSUME_FCNTL64]: Make code unconditional.
28498         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28499         <kernel-features.h>.
28500         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28501         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28502         (lockf64) [__NR_fcntl64]: Make code unconditional.
28503         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28505         * sysdeps/unix/sysv/linux/kernel-features.h
28506         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28507         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28508         Make code unconditional.
28509         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28510         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28512         [__NR_vfork]: Make code unconditional.
28513         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28514         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28516         [__NR_vfork]: Make code unconditional.
28517         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28518         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28520 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28522         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28523         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28525         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28526         Define mkstemp64 as an alias.
28527         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28528         Define mkstemps64 as an alias.
28529         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28530         Define mkostemp64 as an alias.
28531         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28532         Define mkostemps64 as an alias.
28533         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28534         Conditionalize body on this.
28535         * misc/mkostemp64.c: Likewise.
28536         * misc/mkostemps64.c: Likewise.
28537         * misc/mkstemps64.c: Likewise.
28538         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28539         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28540         * sysdeps/wordsize-64/mkostemp.c: File removed.
28541         * sysdeps/wordsize-64/mkstemp.c: File removed.
28542         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28543         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28544         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28545         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28547         [BZ #14138]
28548         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28549         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28550         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28551         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28553         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28554         compat_symbol macros from <shlib-compat.h> rather than the underlying
28555         default_symbol_version and symbol_version macros, so that DEFAULT
28556         lines in shlib-versions are respected.
28557         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28559 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28561         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28562         Declare with warn_unused_result.
28563         (setgid, setregid, setegid, setresgid): Likewise.
28564         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28565         Likewise.
28566         * WUR-REPORT: Remove set*id functions.
28568 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28570         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28572 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28574         [BZ #10191]
28575         * include/sys/socket.h (__libc_accept, __libc_accept4):
28576         Add attribute_hidden.
28577         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28579         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28580         use of PTR_MANGLE.
28581         * inet/getnetgrent_r.c (setup): Likewise.
28583         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28585 2012-07-31  David S. Miller  <davem@davemloft.net>
28587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28589 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28591         [BZ #13629]
28592         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28593         value between 1.0 and 2.0 and smaller part has absolute value less
28594         than 1.0.
28595         * math/s_clog10.c (__clog10): Likewise.
28596         * math/s_clog10f.c (__clog10f): Likewise.
28597         * math/s_clog10l.c (__clog10l): Likewise.
28598         * math/s_clogf.c (__clogf): Likewise.
28599         * math/s_clogl.c (__clogl): Likewise.
28600         * math/libm-test.inc (clog_test): Add more tests.
28601         (clog10_test): Likewise.
28602         * sysdeps/i386/fpu/libm-test-ulps: Update.
28603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28605 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28607         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28608         Exit with zero in case no suitable GID is found, and write a
28609         message to standard error.
28611 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28613         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28614         rather than to 1.
28615         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28616         (MAXPATHLEN): Removed.
28617         (NOGROUP, NODEV): New macros.
28618         (setbit, clrbit, isset, isclr): New macros.
28619         (howmany, roundup, powerof2): New macros.
28620         (DEV_BSIZE): New macro.
28622         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28623         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28625         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28626         definition on [!__NO_LONG_DOUBLE_MATH].
28628         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28629         PTR_MANGLE and PTR_DEMANGLE.
28631         * socket/accept4.c (accept4): Rename to __libc_accept4.
28632         Define accept4 as a weak alias.
28634         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28635         on [_DIRENT_HAVE_D_TYPE].
28636         * io/ftw.c (ftw_dir): Likewise.
28638         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28640         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28642         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28643         Use the BSD numbers rather than the arbitrary ones we had.
28644         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28645         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28646         (SIGXCPU, SIGXFSZ): New macros.
28647         (_NSIG): Now 32.
28649         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28650         initializer on [_LIBC_REENTRANT].
28652         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28653         definitions inside [_POSIX_MAPPED_FILES].
28655         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28657         * dirent/opendir.c: Include <fcntl.h>.
28659         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28660         (__libc_getspecific): Likewise.
28661         (__libc_key_create): Likewise.
28663         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28664         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28665         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28666         (tmpfile64): Define as alias.
28667         * sysdeps/wordsize-64/tmpfile.c: File removed.
28668         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28669         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28670         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28672         * stdio-common/vfscanf.c: Include <stdbool.h>.
28673         * nss/makedb.c: Likewise.
28674         * stdio-common/_i18n_number.h: Likewise.
28675         * argp/argp-help.c: Likewise.
28676         * posix/wordexp.c: Likewise.
28677         * sysdeps/posix/spawni.c: Likewise.
28678         * nss/nss_files/files-initgroups.c: Likewise.
28679         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28680         * nss/nss_files/files-initgroups.c: Likewise.
28681         * nss/nss_db/db-netgrp.c: Likewise.
28682         * nss/nss_db/db-initgroups.c: Likewise.
28683         * io/fchmodat.c: Include <sys/stat.h>.
28685         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28686         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28688         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28689         [HAVE_MMAP].
28691         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28692         Add multiple inclusion protection.
28694 2012-07-27  David S. Miller  <davem@davemloft.net>
28696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28698 2012-07-27  Gary Benson  <gbenson@redhat.com>
28700         [BZ #14298]
28701         * elf/rtld.c: Include <stap-probe.h>.
28702         (dl_main): Added static probes "init_start" and "init_complete".
28703         * elf/dl-load.c: Include <stap-probe.h>.
28704         (lose): Take new parameter "nsid".
28705         Added static probe "map_failed".
28706         (_dl_map_object_from_fd): Pass namespace id to lose.
28707         Added static probe "map_start".
28708         (open_verify): Pass namespace id to lose.
28709         * elf/dl-open.c: Include <stap-probe.h>.
28710         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28711         and "reloc_complete".
28712         * elf/dl-close.c: Include <stap-probe.h>.
28713         (_dl_close_worker): Added static probes "unmap_start" and
28714         "unmap_complete".
28715         * elf/rtld-debugger-interface.txt: New file documenting the above.
28717 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28719         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28720         rather than a string variable.
28721         * sunrpc/rpc_main.c (h_output): Likewise.
28722         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28724 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28726         * inet/check_native.c: New file.
28728 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28730         [BZ #13629]
28731         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28732         if larger part has absolute value 1.0.
28733         * math/s_clog10.c (__clog10): Likewise.
28734         * math/s_clog10f.c (__clog10f): Likewise.
28735         * math/s_clog10l.c (__clog10l): Likewise.
28736         * math/s_clogf.c (__clogf): Likewise.
28737         * math/s_clogl.c (__clogl): Likewise.
28738         * math/libm-test.inc (clog_test): Add more tests.
28739         (clog10_test): Likewise.
28740         * sysdeps/i386/fpu/libm-test-ulps: Update.
28741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28743         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28744         (pltexit): Likewise.
28745         (La_regs): Likewise.
28746         (La_retval): Likewise.
28747         (int_retval): Likewise.
28748         Update #error for removed macros to refer only to definitions in
28749         tst-audit.h.
28750         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28751         macro.
28752         (pltexit): Likewise.
28753         (La_regs): Likewise.
28754         (La_retval): Likewise.
28755         (int_retval): Likewise.
28756         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28757         macro.
28758         (pltexit): Likewise.
28759         (La_regs): Likewise.
28760         (La_retval): Likewise.
28761         (int_retval): Likewise.
28762         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28763         macro.
28764         (pltexit): Likewise.
28765         (La_regs): Likewise.
28766         (La_retval): Likewise.
28767         (int_retval): Likewise.
28768         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28769         macro.
28770         (pltexit): Likewise.
28771         (La_regs): Likewise.
28772         (La_retval): Likewise.
28773         (int_retval): Likewise.
28774         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28775         macro.
28776         (pltexit): Likewise.
28777         (La_regs): Likewise.
28778         (La_retval): Likewise.
28779         (int_retval): Likewise.
28780         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28781         macro.
28782         (pltexit): Likewise.
28783         (La_regs): Likewise.
28784         (La_retval): Likewise.
28785         (int_retval): Likewise.
28786         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28787         macro definitions in tst-audit.h.
28788         * sysdeps/i386/tst-audit.h: New file.
28789         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28790         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28791         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28792         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28793         * sysdeps/sh/tst-audit.h: Likewise.
28794         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28795         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28796         * sysdeps/x86_64/tst-audit.h: Likewise.
28798 2012-07-26  Andreas Jaeger  <aj@suse.de>
28800         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28801         ptrace.
28803         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28804         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28805         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28806         PTRACE_O_MASK.
28807         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28808         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28809         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28811         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28812         value.
28814         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28815         _sigsys.
28816         (si_call_addr, si_syscall, si_arch): Define new macro.
28817         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28818         _sigsys.
28819         (si_call_addr, si_syscall, si_arch): Define new marcro.
28820         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28821         _sigsys.
28822         (si_call_addr, si_syscall, si_arch): Define new macro.
28823         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28824         _sigsys.
28825         (si_call_addr, si_syscall, si_arch): Define new macro.
28827 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28829         [BZ #13717]
28830         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28831         Change to 2.4.21 where previously 2.4.1.
28832         * sysdeps/unix/sysv/linux/configure: Regenerated.
28833         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28834         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28835         Linux kernel version.
28836         (__ASSUME_STD_AUXV): Remove.
28837         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28838         kernel version.
28839         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28840         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28841         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28842         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28843         (__ASSUME_NETLINK_SUPPORT): Likewise.
28844         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28845         (__no_netlink_support): Remove conditional definition.
28846         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28847         Remove.
28848         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28849         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28850         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28851         (if_nameindex_ioctl): Remove.
28852         (if_nameindex_netlink): Do not handle __no_netlink_support.
28853         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28854         code.
28855         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28856         Remove conditional code.
28857         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28858         code.
28859         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28860         unconditional.
28861         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28862         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28863         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28864         Remove.
28865         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28866         [!__ASSUME_STD_AUXV]: Remove conditional code.
28867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28868         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28869         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28871         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28872         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28873         code.
28874         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28876         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28877         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28878         conditional code.
28879         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28881         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28882         code.
28883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28884         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28885         conditional code.
28886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28887         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28888         code unconditional.
28889         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28890         conditional code.
28891         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28892         unconditional.
28893         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28894         conditional code.
28895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28896         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28897         unconditional.
28898         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28899         conditional code.
28900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28901         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28902         code unconditional.
28903         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28904         conditional code.
28905         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28906         unconditional.
28907         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28908         conditional code.
28909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28910         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28911         code unconditional.
28912         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28913         conditional code.
28914         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28915         unconditional.
28916         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28917         conditional code.
28919 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28921         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28922         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28923         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28924         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28925         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28926         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28927         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28928         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28929         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28930         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28931         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28932         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28933         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28934         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28935         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28936         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28937         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28938         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28939         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28941         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28942         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28943         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28945 2012-07-25  Florian Weimer  <fweimer@redhat.com>
28947         * Versions.def: Add GLIBC_2.17.
28948         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28949         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28950         Introduce __libc_secure_getenv.
28951         * stdlib/Versions (2.17): Add secure_getenv
28952         (GLIBC_PRIVATE): Add __libc_secure_getenv.
28953         * stdlib/secure-getenv.c: Rename __secure_getenv to
28954         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
28955         symbol __secure_getenv for GLIBC_2.0.
28956         * stdlib/tst-secure-getenv.c: New.
28957         * stdlib/Makefile (tests): Add testcase.
28958         * manual/startup.texi (Environment Access): Document
28959         secure_getenv.
28960         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28961         __libc_secure_getenv.
28962         * inet/ruserpass.c (ruserpass): Likewise.
28963         * malloc/mtrace.c (mtrace): Likewise.
28964         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28965         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28966         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28967         * sysdeps/posix/tempname.c: Likewise.  Evaluate
28968         HAVE_SECURE_GETENV.
28969         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28970         __secure_getenv to __libc_secure_getenv.
28971         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28973         Likewise.
28974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28975         Likewise.
28976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28978         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28984 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28986         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28987         (struct La_i86_retval): Likewise.
28988         (struct La_x86_64_regs): Likewise.
28989         (struct La_x86_64_retval): Likewise.
28990         (struct La_x32_regs): Likewise.
28991         (struct La_x32_retval): Likewise.
28992         (struct La_ppc32_regs): Likewise.
28993         (struct La_ppc32_retval): Likewise.
28994         (struct La_ppc64_regs): Likewise.
28995         (struct La_ppc64_retval): Likewise.
28996         (struct La_sh_regs): Likewise.
28997         (struct La_sh_retval): Likewise.
28998         (struct La_s390_32_regs): Likewise.
28999         (struct La_s390_32_retval): Likewise.
29000         (struct La_s390_64_regs): Likewise.
29001         (struct La_s390_64_retval): Likewise.
29002         (struct La_sparc32_regs): Likewise.
29003         (struct La_sparc32_retval): Likewise.
29004         (struct La_sparc64_regs): Likewise.
29005         (struct La_sparc64_retval): Likewise.
29006         (struct audit_ifaces): Remove architecture-specific pltenter and
29007         pltexit members.
29008         * sysdeps/i386/ldsodefs.h: New file.
29009         * sysdeps/powerpc/ldsodefs.h: Likewise.
29010         * sysdeps/s390/ldsodefs.h: Likewise.
29011         * sysdeps/sh/ldsodefs.h: Likewise.
29012         * sysdeps/sparc/ldsodefs.h: Likewise.
29013         * sysdeps/x86_64/ldsodefs.h: Likewise.
29015 2012-07-25  Marek Polacek  <polacek@redhat.com>
29017         [BZ #6808]
29018         * math/libm-test.inc (yn_test): Add another test.
29019         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29020         to ERANGE when the result is +-Inf.
29021         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29022         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29023         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29024         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29026 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29028         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29029         equal to 0.
29030         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29031         clock_t.
29032         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29034 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29036         * configure.in <sysdeps resolving>: Correct printing
29037         Implies_before.
29038         * configure: Regenerate.
29040 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29042         * math/w_ilogb.c: Include <limits.h>.
29043         * math/w_ilogbl.c: Likewise.
29045 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29047         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29048         va_copy.  Document allowing for unavailable va_copy only as
29049         pre-C99 compatibility.
29050         * manual/string.texi (Copying and Concatenation): Use va_copy
29051         instead of __va_copy in concat example.
29053 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29055         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29056         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29057         it if not null.
29059         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29060         with O_NOLINK passed to __file_name_lookup.
29062         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29063         with O_NOLINK passed to __file_name_lookup.
29065         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29066         negative N or less than NGIDS.
29068         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29069         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29070         enough.  Use memcpy instead of strncpy.
29072 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29074         * elf/Makefile (check-data): Remove.
29075         (localplt.data): New vpath directive.
29076         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29077         instead of $(check-data).
29078         * scripts/data/localplt-generic.data: Move to ...
29079         * sysdeps/generic/localplt.data: ... here.
29080         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29081         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29082         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29084         ... here.
29085         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29087         ... here.
29088         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29090         ... here.
29091         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29093         ... here.
29094         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29096         ... here.
29097         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29098         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29099         ... here.
29101 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29103         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29104         PPC32 and PPC64 files.
29105         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29106         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29108 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29110         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29111         __makecontext_ret to ...
29112         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29113         ... here and call exit if uc_link is NULL.  New file.
29114         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29115         __makecontext_ret.S.
29116         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29117         __makecontext_ret to ...
29118         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29119         ... here and call exit if uc_link is NULL.  New file.
29120         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29121         __makecontext_ret.S.
29123 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29125         * elf/elf.h (R_390_IRELATIVE): New definition.
29126         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29127         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29128         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29130         (elf_machine_lazy_rel): Likewise.
29131         * sysdeps/s390/dl-irel.h: New file.
29132         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29133         * sysdeps/s390/s390-64/memset.S: New asm code.
29134         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29135         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29136         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29137         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29138         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29139         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29140         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29141         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29142         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29143         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29144         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29145         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29146         * sysdeps/s390/s390-32/memset.S: New asm code.
29147         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29149 2012-07-17  Marek Polacek  <polacek@redhat.com>
29151         [BZ #14349]
29152         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29153         * sysdeps/s390/s390-64/configure.in: Likewise.
29154         * sysdeps/sparc/configure.in: Likewise.
29155         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29156         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29157         * sysdeps/i386/configure.in: Likewise.
29158         * sysdeps/x86_64/configure.in: Likewise.
29159         * sysdeps/sh/configure.in: Likewise.
29160         * sysdeps/s390/s390-32/configure: Regenerated.
29161         * sysdeps/s390/s390-64/configure: Likewise.
29162         * sysdeps/x86_64/configure: Likewise.
29163         * sysdeps/sh/configure: Likewise.
29164         * sysdeps/powerpc/powerpc64/configure: Likewise.
29165         * sysdeps/powerpc/powerpc32/configure: Likewise.
29166         * sysdeps/sparc/configure: Likwise.
29167         * sysdeps/i386/configure: Likewise.
29169         * elf/dl-open.c: Comment fixes.
29171 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29173         * Makefile [CXX] (check-data): Remove.
29174         [CXX] (c++-types.data): New vpath directive.
29175         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29176         vpath.  Do not allow for C++ type data being missing.
29177         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29178         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29179         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29180         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29181         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29182         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29183         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29185         ... here.
29186         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29188         ... here.
29189         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29191         ... here.
29192         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29194         ... here.
29195         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29197         ... here.
29198         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29200         ... here.
29201         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29202         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29203         ... here.
29204         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29207         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29208         definitions to architecture-specific files.
29209         (TLS_IE): Likewise.
29210         (TLS_LD): Likewise.
29211         (TLS_GD): Likewise.
29212         * sysdeps/i386/tls-macros.h: New file.
29213         * sysdeps/powerpc/tls-macros.h: Likewise.
29214         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29215         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29216         * sysdeps/sh/tls-macros.h: Likewise.
29217         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29218         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29219         * sysdeps/x86_64/tls-macros.h: Likewise.
29221 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29223         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29224         zero value for regular exit case.
29226         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29227         (__start_context): Preserve zero value for regular exit case.
29229 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29230             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29232         * manual/setjmp.texi (setcontext): Clarify normal process
29233         termination when uc_link is the null pointer.
29234         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29235         exit call.
29237 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29239         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29240         preprocessor.  Test for each exception mask separately.
29242 2012-07-16  Andreas Jaeger  <aj@suse.de>
29244         * po/ru.po: Update from translation team.
29246 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29248         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29249         equal to 0.
29250         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29251         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29252         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29253         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29256 2012-07-13  Andreas Jaeger  <aj@suse.de>
29258         * po/fr.po: Update from translation team.
29260 2012-07-12  Marek Polacek  <polacek@redhat.com>
29262         [BZ #14173]
29263         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29264         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29265         loop condition.
29267 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29269         [BZ #13717]
29270         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29271         Change to 2.4.1 where previously 2.4.0.
29272         * sysdeps/unix/sysv/linux/configure: Regenerated.
29273         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29274         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29275         version.
29276         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29277         (__ASSUME_AT_CLKTCK): Remove.
29278         (__ASSUME_AT_PAGESIZE): Likewise.
29279         (__ASSUME_AT_XID): Likewise.
29280         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29281         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29282         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29283         unconditionally.
29284         (HAVE_AUX_PAGESIZE): Likewise.
29285         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29286         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29287         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29289 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29291         [BZ #14307]
29292         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29293         the temporary buffer used to invoke __gethostbyname2_r,
29294         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29295         host_data / struct gaih_addrtuple.
29296         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29297         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29298         header file nss/nsswitch.h.
29299         * nss/nsswitch.h (global scope): Add definition of implementation
29300         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29301         resolv/nss_dns/dns-host.c).
29303 2012-07-11  Andreas Jaeger  <aj@suse.de>
29305         * po/fr.po: Update from translation team.
29307         * po/sv.po: Update from translation team
29308         * po/fr.po: Another update from translation team.
29310 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29312         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29313         for subnormals or multiply small sinh result by itself.
29314         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29315         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29317 2012-07-11  David S. Miller  <davem@davemloft.net>
29319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29321 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29323         [BZ #14347]
29324         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29325         (INTERNAL_MARK): Shift it here.
29327 2012-07-10  Marek Polacek  <polacek@redhat.com>
29329         [BZ #14151]
29330         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29331         libc_cv_asm_global_directive with .globl.
29332         * configure: Regenerated.
29333         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29334         with .globl.
29335         * sysdeps/i386/configure: Regenerated.
29336         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29337         with .globl.
29338         * sysdeps/x86_64/configure: Regenerated.
29339         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29340         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29341         * elf/tst-unique2mod2.c: Likewise.
29342         * elf/tst-unique2mod1.c: Likewise.
29343         * elf/tst-unique1mod2.c: Likewise.
29344         * elf/tst-unique1mod1.c: Likewise.
29345         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29346         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29347         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29348         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29349         * sysdeps/mach/sysdep.h: Likewise.
29350         * sysdeps/i386/sysdep.h: Likewise.
29351         * sysdeps/i386/i386-mcount.S: Likewise.
29352         * sysdeps/x86_64/_mcount.S: Likewise.
29353         * sysdeps/x86_64/sysdep.h: Likewise.
29354         * sysdeps/sh/_mcount.S: Likewise.
29355         * sysdeps/sh/sysdep.h: Likewise.
29356         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29357         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29358         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29359         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29360         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29361         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29362         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29363         * locale/localeinfo.h: Likewise.
29364         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29365         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29367 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29369         [BZ #14336]
29370         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29371         system".
29372         * manual/message.texi (The Uniforum approach): Likewise.
29373         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29374         (glibc iconv Implementation): Likewise.
29376 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29378         [BZ #14337]
29379         * math/s_clog.c (__clog): Avoid scaling a value down where that
29380         could result in underflow.
29381         * math/s_clog10.c (__clog10): Likewise.
29382         * math/s_clog10f.c (__clog10f): Likewise.
29383         * math/s_clog10l.c (__clog10l): Likewise.
29384         * math/s_clogf.c (__clogf): Likewise.
29385         * math/s_clogl.c (__clogl): Likewise.
29386         * math/libm-test.inc (clog_test): Add more tests.
29387         (clog10_test): Likewise.
29388         * sysdeps/i386/fpu/libm-test-ulps: Update.
29389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29391 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29393         [BZ #14283]
29394         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29395         by 7 not 8 to examine high bit of fractional part.
29397         [BZ #14042]
29398         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29399         for call to __mcount_internal.
29400         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29401         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29402         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29404 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29406         [BZ #14154]
29407         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29408         approximation for values within 0x1p-13f of an odd multiple of
29409         pi/4.
29410         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29411         exception.  Add more tests.
29412         * sysdeps/i386/fpu/libm-test-ulps: Update.
29414         [BZ #6778]
29415         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29416         inputs and return -1 for them.  Do not check for +Inf in case not
29417         reachable for +Inf.
29418         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29419         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29420         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29421         and return -1 for them.  Do not check for +Inf in case not
29422         reachable for +Inf.
29423         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29424         define.
29425         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29426         and return -1 for them.  Do not check for +Inf in case not
29427         reachable for +Inf.
29428         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29429         spurious underflow.
29430         * sysdeps/i386/fpu/libm-test-ulps: Update.
29431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29433 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29435         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29437 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29439         [BZ #14157]
29440         [BZ #14331]
29441         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29442         could result in spurious underflow.  Scale down values above
29443         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29444         * math/s_csqrtf.c (__csqrtf): Likewise.
29445         * math/s_csqrtl.c (__csqrtl): Likewise.
29446         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29447         spurious underflow.
29448         * sysdeps/i386/fpu/libm-test-ulps: Update.
29449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29451 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29453         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29454         xopen-msg.sed.
29455         * catgets/xopen-msg.awk: New file.
29456         * catgets/xopen-msg.sed: Removed.
29458         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29459         po2text.sed.
29460         * intl/po2test.awk: New file.
29461         * intl/po2test.sed: Removed.
29463 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29465         [BZ #14328]
29466         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29467         or multiply small sinh result by itself.
29468         * math/s_ctanf.c (__ctanf): Likewise.
29469         * math/s_ctanh.c (__ctanh): Likewise.
29470         * math/s_ctanhf.c (__ctanhf): Likewise.
29471         * math/s_ctanhl.c (__ctanhl): Likewise.
29472         * math/s_ctanl.c (__ctanl): Likewise.
29473         * math/libm-test.inc (ctan_test_tonearest): New function.
29474         (ctan_test_towardzero): Likewise.
29475         (ctan_test_downward): Likewise.
29476         (ctan_test_upward): Likewise.
29477         (ctanh_test_tonearest): Likewise.
29478         (ctanh_test_towardzero): Likewise.
29479         (ctanh_test_downward): Likewise.
29480         (ctanh_test_upward): Likewise.
29481         (main): Call these new functions.
29482         * sysdeps/i386/fpu/libm-test-ulps: Update.
29483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29485 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29487         * .gitignore: Delete /ports entry.
29489 2012-07-03  Andreas Jaeger  <aj@suse.de>
29491         * po/bg.po: Update from translation team.
29492         * po/cs.po: Likewise.
29493         * po/de.po: Likewise.
29494         * po/hr.po: Likewise.
29495         * po/nl.pl: Likewise.
29496         * po/pl.po: Likewise.
29497         * po/vi.po: Likewise.
29499 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29501         * Makeconfig [!+link] (+link-before-libc): New variable.
29502         [!+link] (+link-after-libc): Likewise.
29503         [!+link] (+link-tests): Likewise.
29504         [!+link] (+link): Define in terms of $(+link-before-libc) and
29505         $(+link-after-libc).
29506         [!+link-static] (+link-static-before-libc): New variable.
29507         [!+link-static] (+link-static-after-libc): Likewise.
29508         [!+link-static] (+link-static-tests): Likewise.
29509         [!+link-static] (+link-static): Define in terms of
29510         $(+link-static-before-libc) and $(+link-static-after-libc).
29511         [build-shared] (link-libc-before-gnulib): New variable.
29512         [build-shared] (link-libc-tests): Likewise.
29513         [build-shared] (link-libc): Define in terms of
29514         $(link-libc-before-gnulib).
29515         [!build-shared] (link-libc-tests): New variable.
29516         (link-libc-static-tests): New variable.
29517         [!gnulib] (gnulib-arch): New variable.
29518         [!gnulib] (gnulib-tests): Likewise.
29519         [!gnulib] (static-gnulib-arch): Likewise.
29520         [!gnulib] (static-gnulib-tests): Likewise.
29521         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29522         Define with "=" instead of ":=".
29523         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29524         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29525         * Rules (binaries-all-notests): New variable.
29526         (binaries-all-tests): Likewise.
29527         (binaries-static-notests): Likewise.
29528         (binaries-static-tests): Likewise.
29529         (binaries-all): Define using $(binaries-all-notests) and
29530         $(binaries-all-tests).
29531         (binaries-static): Define using $(binaries-static-notests) and
29532         $(binaries-static-tests).
29533         (binaries-shared-tests): New variable.
29534         (binaries-shared-notests): Likewise.
29535         (binaries-shared): Remove variable.
29536         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29537         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29538         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29539         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29540         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29541         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29542         * elf/Makefile (sln-modules): New variable.
29543         (extra-objs): Add $(sln-modules:=.o).
29544         (ldconfig-modules): Add static-stubs.
29545         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29546         * elf/static-stubs.c: New file.
29548         [BZ #14283]
29549         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29550         by 7 not 8 to examine high bit of fractional part.  Use volatile
29551         variables when splitting into final array of floats if
29552         __FLT_EVAL_METHOD__ != 0.
29553         * math/libm-test.inc (cos_test): Add another test.
29554         (sin_test): Likewise.
29555         * sysdeps/i386/fpu/libm-test-ulps: Update.
29557         [BZ #14273]
29558         * math/libm-test.inc (cosh_test): Add more tests.
29560         * version.h (RELEASE): Set to "development".
29561         (VERSION): Set to "2.16.90".
29563 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29565         * NEWS: Update copyright. Remove last-updated date.
29566         Mention math library bug fixes and timezone data changes.
29567         * README: Mention GNU/Hurd, x32, and HPPA support status.
29569 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29571         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29573 2012-06-27  Andreas Jaeger  <aj@suse.de>
29575         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29577 2012-06-25  Andreas Jaeger  <aj@suse.de>
29579         * sysdeps/s390/fpu/libm-test-ulps: Update.
29581 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29582             Thomas Schwinge  <thomas@codesourcery.com>
29584         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29585         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29586         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29587         fanotify_mark.
29589 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29591         * sysdeps/mach/start.c: Remove file.
29592         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29593         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29594         * sysdeps/sh/init-first.c: Likewise.
29596         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29597         registers for frame unwinding purposes, add CFI directives.
29598         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29599         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29600         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29601         Likewise.
29603         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29604         __fortify_fail returning.
29605         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29607         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29608         sysdeps/sh/____longjmp_chk.S.
29609         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29610         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29611         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29612         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29614         * sysdeps/sh/abort-instr.h: New file.
29615         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29616         process in case exit returns.
29618         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29619         initialize the GOT register before use.
29621         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29622         calculation of ARGC > 4.
29624         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29625         meaningful names to some local labels.
29627 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29628             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29630         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29631         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29632         (__arch_compare_and_exchange_val_16_acq): Likewise.
29633         (__arch_compare_and_exchange_val_32_acq): Likewise.
29634         (atomic_exchange_and_add): Fix gUSA sequence.
29635         (atomic_add): Likewise.
29636         (atomic_add_negative): Likewise.
29637         (atomic_add_zero): Likewise.
29638         (atomic_bit_test_set): Likewise.
29640 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29642         [BZ #13579]
29643         * include/link.h (struct link_map): Add l_free_initfini.
29644         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29645         l_initfini.
29646         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29647         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29648         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29649         set.
29651 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29653         * configure.in: Use AC_LANG_SOURCE.
29654         * configure: Regenerate.
29656 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29658         * configure.in (libc_cv_localstatedir): New substituted variable.
29659         * configure: Regenerated.
29660         * config.make.in (localstatedir): New variable, substituted from
29661         libc_cv_localstatedir.
29662         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29663         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29664         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29665         * sysdeps/gnu/configure: Regenerated.
29667 2012-06-21  Jeff Law  <law@redhat.com>
29669         [BZ #14277]
29670         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29671         free.  Simplify list management for _LIBC case.
29673 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29675         [BZ #14273]
29676         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29677         Clear sign bit of 64-bit integer value before comparing against
29678         overflow value.
29680         * sysdeps/mach/configure: Regenerated.
29682 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29684         [BZ #14278]
29685         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29687 2012-06-21  Jeff Law  <law@redhat.com>
29689         [BZ #13882]
29690         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29691         uint16_t for elements in the "seen" array to avoid char overflows.
29692         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29693         * elf/dl-open.c (dl_open_worker): Likewise.
29695 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29697         * scripts/list-sources.sh: Scan PORTS for translations.
29698         * po/libc.pot: Regenerated.
29700 2012-06-21  Andreas Jaeger  <aj@suse.de>
29702         [BZ #12194]
29703         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29704         warning.
29705         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29706         * bits/byteswap-16.h (__bswap_16): Likewise.
29707         * bits/byteswap.h (__bswap_constant_16): Likewise.
29709 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29711         [BZ #14117]
29712         * sysdeps/i386/fpu_control.h: Removed.
29713         * sysdeps/x86_64/fpu_control.h: Moved to ...
29714         * sysdeps/x86/fpu_control.h: Here.
29716         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29717         (_FPU_SETCW): Likewise.
29719 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29721         [BZ #14117]
29722         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29723         * sysdeps/x86/fpu/bits/mathinline.h: This.
29724         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29726         [BZ #14050]
29727         [BZ #14117]
29728         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29729         functions if __x86_64__ is defined.
29731 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29733         * string/endian.h: Add !__ASSEMBLER__ condition for including
29734         conversion interfaces.
29736 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29738         [BZ #14241]
29739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29740         of ABS(x) in calculating zero to negative powers other than odd
29741         integers.
29742         * math/libm-test.inc (pow_test): Add more tests.
29744 2012-06-15  Andreas Jaeger  <aj@suse.de>
29746         * manual/contrib.texi (Contributors): Update entry of Liubov
29747         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29748         Machado Filho.
29750 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29752         * string/string.h: Add __wur to GNU version of strerror_r.
29754 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29756         [BZ #14229]
29757         * string/Makefile (tests): Add tst-strtok_r.
29758         * string/tst-strtok_r.c: New file.
29759         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29760         RAX_LP/RDX_LP on SAVE_PTR.
29762 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29764         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29766 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29768         * libm_test.inc (csqrt_test): Allow more spurious underflow
29769         exceptions.
29770         (j0_test): Likewise.
29771         (j1_test): Likewise.
29772         (y0_test): Likewise.
29773         (y1_test): Likewise.
29775 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29777         * po/Makefile (libc.pot): Use UTF-8 charset.
29779 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29781         [BZ #14210]
29782         Suppress sign-conversion warning from FD_SET.
29783         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29784         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29785         not unsigned long int.
29786         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29788 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29790         [BZ #14050]
29791         [BZ #14117]
29792         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29793         __extern_always_inline instead of __extern_inline.
29794         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29795         (__signbit): Likewise.
29796         (__signbitl): Support C++ namespace.
29797         (lrintf): New inline function.
29798         (lrint): Likewise.
29799         (llrintf): Likewise.
29800         (llrint): Likewise.
29801         (fmaxf): Likewise.
29802         (fmax): Likewise.
29803         (fminf): Likewise.
29804         (fmin): Likewise.
29805         (rint): Likewise.
29806         (rintf): Likewise.
29807         (ceil): Likewise.
29808         (ceilf): Likewise.
29809         (floor): Likewise.
29810         (floorf): Likewise.
29811         (nearbyint): Likewise.
29812         (nearbyintf): Likewise.
29814 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29816         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29817         non-default versions.
29819 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29821         [BZ #14218]
29822         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29824 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29826         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29827         (FE_UPWARD, FE_DOWNWARD): Don't define.
29828         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29829         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29831         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29832         reading it.
29833         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29834         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29836 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29838         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29839         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29840         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29841         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29843 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29845         [BZ #14117]
29846         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29847         * sysdeps/i386/fpu/Implies: New file.
29848         * sysdeps/x86_64/fpu/Implies: Likewise.
29849         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29850         * sysdeps/x86/fpu/bits/fenv.h: This.
29852         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29853         __SSE_MATH__.
29855 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29857         [BZ #14134]
29858         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29859         character 0xffff that matches the last element of the
29860         conversion table.
29862 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29864         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29865         fmodl commit.
29867 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29869         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29870         values higher than 25.6283.
29872 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29874         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29875         subnormal exponent extraction and add some __builtin_expect.
29876         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29877         Fix for subnormal mantissa calculation.
29879 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29881         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29882         cpu2 is -1 and errno is not ENOSYS.
29884 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29886         [BZ #14117]
29887         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29888         * sysdeps/x86/bits/string.h: This.
29889         * sysdeps/x86_64/bits/string.h: Removed.
29891         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29892         if not compiling for x86-64, but compiling for >= i486.
29894         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29895         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29897         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29898         New macro from Linux kernel 3.4.0.
29899         (FP_XSTATE_MAGIC2): Likewise.
29900         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29901         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29902         (struct _fpx_sw_bytes): New struct.
29903         (struct _xsave_hdr): Likewise.
29904         (struct _ymmh_state): Likewise.
29905         (struct _xstate): Likewise.
29907         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29908         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29909         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29910         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29911         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29912         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29914         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29915         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29916         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29917         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29918         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29919         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29921 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29923         [BZ #13743]
29924         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29925         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29926         (sysdep_headers): Include sys/platform/ppc.h.
29927         * sysdeps/powerpc/test-gettimebase.c: Test for
29928         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29929         * manual/Makefile (appendices): Include platform.texi.
29930         * manual/contrib.texi (Contributors): Update @node pointers.
29931         * manual/maint.texi (Maintenance): Likewise.
29932         (Platform): New node.
29933         * manual/platform.texi: New file.  Document the new features.
29935 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29936             Jakub Jelinek  <jakub@redhat.com>
29938         [BZ #14188]
29939         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29940         where __builtin_expect is unavailable.
29942 2012-06-03  David S. Miller  <davem@davemloft.net>
29944         * stdlib/longlong.h: Updated from GCC.
29946 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
29948         [BZ #14042]
29949         * sysdeps/powerpc/powerpc32/mcount.c: New file.
29950         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29951         __mcount_internal.
29952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29953         (GLIBC_2.16): Likewise.
29955 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29957         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29959 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29962         (default-abi): New variable.
29963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29964         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29965         variable.
29966         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29967         Likewise.
29968         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29969         Likewise.
29970         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29971         Likewise.
29973         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29974         definition.  Document in comment.
29976 2012-06-01  David S. Miller  <davem@davemloft.net>
29978         * stdlib/longlong.h: Updated from GCC.
29980 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29982         [BZ #14117]
29983         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29984         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29985         sys/debugreg.h sys/io.h here.
29986         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29987         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29988         sys/io.h.
29989         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29990         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29991         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29992         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29993         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29994         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29996         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29997         Define only if __x86_64__ is defined.
29999 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30001         [BZ #14048]
30002         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30003         Use int64_t for variable i.
30004         * math/libm-test.inc (fmod_test): Add more tests.
30006         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30007         z computation is not scheduled after fetestexcept.
30008         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30009         Use math_force_eval instead of asm to ensure calculation scheduled
30010         before exception test.
30011         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30012         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30014 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30017         computation is not scheduled after fetestexcept.
30019 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30021         [BZ #14117]
30022         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30023         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30025 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30027         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30028         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30030 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30032         [BZ #14117]
30033         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30034         <bits/wordsize.h>.
30035         (__WCHAR_MIN): Support __WORDSIZE == 64.
30036         (__WCHAR_MAX): Likewise.
30038         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30039         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30041         [BZ #14183]
30042         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30043         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30045         [BZ #14117]
30046         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30047         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30049         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30050         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30052         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30053         Defined to 1 if __x86_64__ isn't defined.
30054         (_STAT_VER_LINUX_OLD): New.
30055         (st_atime): Remove duplicate.
30056         (st_mtime): Likewise.
30057         (st_ctime): Likewise.
30059 2012-05-31  David S. Miller  <davem@davemloft.net>
30061         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30062         entries.
30064 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30066         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30067         gen-libm-test.pl.
30069         [BZ #14132]
30070         * elf/dl-reloc.c: Include <_itoa.h>.
30071         (_dl_reloc_bad_type): Remove use of INTUSE.
30072         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30073         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30074         * stdio-common/psiginfo.c (psiginfo): Likewise.
30075         * stdio-common/psignal.c (psignal): Likewise.
30076         * string/strsignal.c (strsignal): Likewise.
30077         * include/signal.h (_sys_siglist): Declare hidden proto.
30078         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30079         INTVARDEF with libc_hidden_data_def.
30080         * stdio-common/itoa-udigits.c: Likewise.
30081         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30082         (_itoa_lower_digits_internal): Remove declaration.
30083         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30084         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30085         (_sys_sigabbrev_internal): Remove aliases.
30086         (_sys_siglist): Define hidden alias.
30088 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30090         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30091         bits/sysctl.h.
30093 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30095         [BZ #14117]
30096         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30097         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30099         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30100         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30101         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30102         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30103         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30104         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30106         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30107         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30108         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30110         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30111         with __addr.
30112         (insw): Likewise.
30113         (insl): Likewise.
30114         (outsb): Likewise.
30115         (outsw): Likewise.
30116         (outsl): Likewise.
30118         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30119         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30120         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30122         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30123         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30124         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30125         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30126         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30127         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30129         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30130         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30132         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30133         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30135         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30136         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30137         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30139         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30140         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30141         to ...
30142         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30144         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30145         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30146         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30148         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30149         for x86-64.
30150         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30152 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30154         * math/math.h (M_El): Use two more decimal places.
30155         (M_LOG2El): Likewise.
30156         (M_LOG10El): Likewise.
30157         (M_LN2l): Likewise.
30158         (M_LN10l): Likewise.
30159         (M_PIl): Likewise.
30160         (M_PI_2l): Likewise.
30161         (M_PI_4l): Likewise.
30162         (M_1_PIl): Likewise.
30163         (M_2_PIl): Likewise.
30164         (M_2_SQRTPIl): Likewise.
30165         (M_SQRT2l): Likewise.
30166         (M_SQRT1_2l): Likewise.
30168 2012-05-31  David S. Miller  <davem@davemloft.net>
30170         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30171         values between float registers.
30172         * sysdeps/sparc/sparc64/memset.S: Likewise.
30173         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30175 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30177         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30178         -D_FORTIFY_SOURCE=1.
30179         (CPPFLAGS-tst-longjmp_chk.c): Define.
30180         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30181         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30182         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30183         CFLAGS-tst-wchar-h.c.
30185 2012-05-31  Marek Polacek  <polacek@redhat.com>
30187         [BZ #14132]
30188         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30189         __endmntent_internal): Remove declaration.
30190         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30191         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30192         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30194 2012-05-30  David S. Miller  <davem@davemloft.net>
30196         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30197         (___Q_simulate_exceptions): Use real FP ops rather than writing
30198         into the %fsr.
30199         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30200         Likewise.
30202 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30204         [BZ #14117]
30205         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30206         * sysdeps/x86/bits/xtitypes.h: This.
30208         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30209         * sysdeps/x86/bits/wordsize.h: This.
30211         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30212         * sysdeps/x86/bits/huge_vall.h: This.
30214         * sysdeps/i386/bits/select.h: Removed.
30215         * sysdeps/x86_64/bits/select.h: Renamed to ...
30216         * sysdeps/x86/bits/select.h: This.
30218         * sysdeps/i386/bits/setjmp.h: Removed.
30219         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30220         * sysdeps/x86/bits/setjmp.h: This.
30222         * sysdeps/i386/bits/mathdef.h: Removed.
30223         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30224         * sysdeps/x86/bits/mathdef.h: This.
30226 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30228         [BZ #14132]
30229         * include/sys/socket.h (__connect_internal)
30230         (__libc_sa_len_internal): Remove declaration.
30231         (__connect, __libc_sa_len): Declare hidden_proto.
30232         (SA_LEN): Remove use of INTUSE.
30233         * socket/connect.c: Add libc_hidden_def.
30234         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30235         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30236         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30237         alias.
30238         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30239         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30240         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30241         of adding _internal alias.
30243 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30245         [BZ #14117]
30246         * sysdeps/i386/bits/link.h: Removed.
30247         * sysdeps/i386/bits/linkmap.h: Likewise.
30248         * sysdeps/x86_64/bits/link.h: Renamed to ...
30249         * sysdeps/x86/bits/link.h: This.
30250         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30251         * sysdeps/x86/bits/linkmap.h: This.
30253         * sysdeps/i386/bits/endian.h: Removed.
30254         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30255         * sysdeps/x86/bits/endian.h: This.
30257         * sysdeps/i386/bits/byteswap.h: Removed.
30258         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30259         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30260         * sysdeps/x86/bits/byteswap.h: This.
30261         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30262         * sysdeps/x86/bits/byteswap-16.h: This.
30263         * sysdeps/i386/Implies: Add x86.
30264         * sysdeps/x86_64/Implies: Likewise.
30266 2012-05-30  David S. Miller  <davem@davemloft.net>
30268         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30269         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30270         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30271         (FP_TRAPPING_EXCEPTIONS): Define.
30272         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30273         (FP_TRAPPING_EXCEPTIONS): Define.
30274         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30275         subnormals only when inexact has been signalled or underflow
30276         exceptions are enabled.
30277         (_FP_PACK_CANONICAL): Likewise.
30279 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30281         [BZ #14183]
30282         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30283         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30285 2012-05-30  Richard Henderson  <rth@twiddle.net>
30287         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30288         with #ifndef NOT_IN_libc.
30290         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30291         marked to avoid plt entry.
30293 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30295         [BZ #14112]
30296         * Makeconfig (default-abi): New macro.
30297         (abi-includes): Likewise.
30298         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30299         $(abi-$(default-abi)-lib-soname) for soname if defined.
30300         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30301         abi-variants.
30302         * Makefile (installed-stubs): Likewise.
30303         * include/stubs-biarch.h: Removed.
30304         * scripts/lib-names.awk: Only handle one library at a time.
30305         * scripts/soversions.awk: Remove WORDSIZE support.
30306         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30307         entries.
30308         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30309         Removed.
30310         (syscall-list-default-condition): Likewise.
30311         (syscall-list-default-condition): Likewise.
30312         (syscall-list-includes): Likewise.
30313         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30314         syscall-list-* with abi-*.  Handle undefined abi-variants.
30315         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30316         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30317         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30318         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30319         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30320         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30321         Removed.
30322         (syscall-list-32-options): Likewise.
30323         (syscall-list-32-condition): Likewise.
30324         (syscall-list-64-options): Likewise.
30325         (syscall-list-64-condition): Likewise.
30326         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30327         macro.
30328         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30329         Renamed to ...
30330         (abi-*): This.
30331         (abi-64-ld-soname): New macro.
30332         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30333         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30334         Renamed to ...
30335         (abi-*): This.
30336         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30337         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30339 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30341         * sysdeps/unix/sysv/linux/kernel-features.h
30342         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30343         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30344         include <kernel-features.h>.
30345         [!__NR_ftruncate64]: Remove conditional code.
30346         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30347         [__NR_ftruncate64]: Make code unconditional.
30348         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30349         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30350         include <kernel-features.h>.
30351         [!__NR_ftruncate64]: Remove conditional code.
30352         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30353         [__NR_ftruncate64]: Make code unconditional.
30354         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30356         include <kernel-features.h>.
30357         [!__NR_ftruncate64]: Remove conditional code.
30358         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30359         [__NR_ftruncate64]: Make code unconditional.
30360         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30362         include <kernel-features.h>.
30363         [!__NR_ftruncate64]: Remove conditional code.
30364         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30365         [__NR_ftruncate64]: Make code unconditional.
30366         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30368         * configure.in (libc_cv_fpie): Weaken to a compile test using
30369         LIBC_TRY_CC_OPTION.
30370         * configure: Regenerated.
30372 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30378         Refreshed.
30379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30383         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30385         Refreshed.
30387 2012-05-27  David S. Miller  <davem@davemloft.net>
30389         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30390         (___Q_zero): New.
30391         (__Q_simulate_exceptions): Return void.  Change to simulate
30392         exceptions by writing into the %fsr.
30393         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30394         (__Qp_handle_exceptions): Likewise.
30395         (numbers): Delete.
30396         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30397         __Qp_handle_exceptions.
30398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30399         __Qp_handle_exceptions.
30400         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30401         as unused and give dummy FP_RND_NEAREST initializer.
30402         (FP_INHIBIT_RESULTS): Define.
30403         (___Q_simulate_exceptions): Update declaration.
30404         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30405         formatting.
30406         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30407         as unused and give dummy FP_RND_NEAREST initializer.
30408         (__Qp_handle_exceptions): Update declaration.
30409         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30410         formatting.
30412 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30414         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30415         the temporary FPU control word.
30416         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30417         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30418         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30419         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30420         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30421         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30422         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30423         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30424         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30425         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30426         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30428 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30430         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30431         fields.
30433 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30435         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30436         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30437         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30438         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30439         Likewise.
30440         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30441         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30442         Likewise.
30444 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30446         * po/h.po: Update from translation team.
30448 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30450         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30452         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30453         handling of denormals.
30454         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30455         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30456         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30457         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30458         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30459         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30460         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30461         Likewise.
30463 2012-05-26  Marek Polacek  <polacek@redhat.com>
30465         [BZ #14152]
30466         * math/libm-test.inc (fma_test): Don't always expect underflow
30467         exception.
30469 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30471         [BZ #12416]
30472         * elf/tst-execstack.c: Include stackinfo.h.
30473         (do_test): Adjust test case to ensure that pthread_getattr_np
30474         behaviour remains the same after marking stack executable.
30476 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30478         * sysdeps/unix/sysv/linux/kernel-features.h
30479         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30480         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30481         kernel-features.h.
30482         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30483         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30484         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30485         kernel-features.h.
30486         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30487         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30489 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30491         * configure.in: Define the default includes to being none.
30492         * configure: Regenerated.
30494 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30496         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30497         * sysdeps/x86_64/setjmp.S: Likewise.
30498         * sysdeps/i386/bsd-setjmp.S: Likewise.
30499         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30500         * sysdeps/i386/setjmp.S: Likewise.
30501         * sysdeps/i386/__longjmp.S: Likewise.
30502         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30503         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30505         * include/stap-probe.h: New file.
30506         * configure.in: Handle --enable-systemtap.
30507         * configure: Regenerated.
30508         * config.h.in (USE_STAP_PROBE): New #undef.
30509         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30510         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30511         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30513 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30515         [BZ #13717]
30516         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30517         to 2.4.0 where earlier.
30518         * sysdeps/unix/sysv/linux/configure: Regenerated.
30519         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30520         <kernel-features.h>.
30521         [__ASSUME_32BITUIDS]: Make code unconditional.
30522         [!__ASSUME_32BITUIDS]: Remove conditional code.
30523         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30524         <kernel-features.h>.
30525         [__ASSUME_32BITUIDS]: Make code unconditional.
30526         [!__ASSUME_32BITUIDS]: Remove conditional code.
30527         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30528         [__ASSUME_32BITUIDS]: Make code unconditional.
30529         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30530         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
30539         <kernel-features.h>.
30540         [__ASSUME_32BITUIDS]: Make code unconditional.
30541         [!__ASSUME_32BITUIDS]: Remove conditional code.
30542         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30543         <kernel-features.h>.
30544         [__ASSUME_32BITUIDS]: Make code unconditional.
30545         [!__ASSUME_32BITUIDS]: Remove conditional code.
30546         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30547         <kernel-features.h>.
30548         [__ASSUME_32BITUIDS]: Make code unconditional.
30549         [!__ASSUME_32BITUIDS]: Remove conditional code.
30550         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30551         <kernel-features.h>.
30552         [__ASSUME_32BITUIDS]: Make code unconditional.
30553         [!__ASSUME_32BITUIDS]: Remove conditional code.
30554         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30555         <kernel-features.h>.
30556         [__ASSUME_32BITUIDS]: Make code unconditional.
30557         [!__ASSUME_32BITUIDS]: Remove conditional code.
30558         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30559         <kernel-features.h>.
30560         [__ASSUME_32BITUIDS]: Make code unconditional.
30561         [!__ASSUME_32BITUIDS]: Remove conditional code.
30562         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30563         <kernel-features.h>.
30564         [__ASSUME_32BITUIDS]: Make code unconditional.
30565         [!__ASSUME_32BITUIDS]: Remove conditional code.
30566         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30567         <kernel-features.h>.
30568         [__ASSUME_32BITUIDS]: Make code unconditional.
30569         [!__ASSUME_32BITUIDS]: Remove conditional code.
30570         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30571         <kernel-features.h>.
30572         [__NR_setresgid] (__setresgid): Do not declare.
30573         [__ASSUME_32BITUIDS]: Make code unconditional.
30574         [!__ASSUME_32BITUIDS]: Remove conditional code.
30575         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30576         <kernel-features.h>.
30577         [__NR_setresuid] (__setresuid): Do not declare.
30578         [__ASSUME_32BITUIDS]: Make code unconditional.
30579         [!__ASSUME_32BITUIDS]: Remove conditional code.
30580         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30581         <kernel-features.h>.
30582         [__ASSUME_32BITUIDS]: Make code unconditional.
30583         [!__ASSUME_32BITUIDS]: Remove conditional code.
30584         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30585         <kernel-features.h>.
30586         [__ASSUME_32BITUIDS]: Make code unconditional.
30587         [!__ASSUME_32BITUIDS]: Remove conditional code.
30588         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30589         <kernel-features.h>.
30590         [__ASSUME_32BITUIDS]: Make code unconditional.
30591         [!__ASSUME_32BITUIDS]: Remove conditional code.
30592         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30593         <kernel-features.h>.
30594         [__ASSUME_32BITUIDS]: Make code unconditional.
30595         [!__ASSUME_32BITUIDS]: Remove conditional code.
30596         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30597         <kernel-features.h>.
30598         [__ASSUME_32BITUIDS]: Make code unconditional.
30599         [!__ASSUME_32BITUIDS]: Remove conditional code.
30600         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30601         <kernel-features.h>.
30602         [__ASSUME_32BITUIDS]: Make code unconditional.
30603         [!__ASSUME_32BITUIDS]: Remove conditional code.
30604         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30605         <kernel-features.h>.
30606         [__ASSUME_32BITUIDS]: Make code unconditional.
30607         [!__ASSUME_32BITUIDS]: Remove conditional code.
30608         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30609         <kernel-features.h>.
30610         [__ASSUME_32BITUIDS]: Make code unconditional.
30611         [!__ASSUME_32BITUIDS]: Remove conditional code.
30612         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30613         <kernel-features.h>.
30614         [__ASSUME_32BITUIDS]: Make code unconditional.
30615         [!__ASSUME_32BITUIDS]: Remove conditional code.
30616         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30617         <kernel-features.h>.
30618         [__ASSUME_32BITUIDS]: Make code unconditional.
30619         [!__ASSUME_32BITUIDS]: Remove conditional code.
30620         * sysdeps/unix/sysv/linux/kernel-features.h
30621         (__ASSUME_SETRESUID_SYSCALL): Remove.
30622         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30623         (__ASSUME_32BITUIDS): Likewise.
30624         (__ASSUME_LDT_WORKS): Likewise.
30625         (__ASSUME_O_DIRECTORY): Likewise.
30626         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30627         architecture but not kernel version.
30628         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30629         (__ASSUME_MMAP2_SYSCALL): Likewise.
30630         (__ASSUME_STAT64_SYSCALL): Likewise.
30631         (__ASSUME_IPC64): Likewise.
30632         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30633         <kernel-features.h>.
30634         [__ASSUME_32BITUIDS]: Make code unconditional.
30635         [!__ASSUME_32BITUIDS]: Remove conditional code.
30636         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30637         <kernel-features.h>.
30638         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30639         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30640         132096]: Remove conditional code.
30641         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30642         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30643         <kernel-features.h>.
30644         [__ASSUME_32BITUIDS]: Make code unconditional.
30645         [!__ASSUME_32BITUIDS]: Remove conditional code.
30646         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30647         <kernel-features.h>.
30648         [__ASSUME_32BITUIDS]: Make code unconditional.
30649         [!__ASSUME_32BITUIDS]: Remove conditional code.
30650         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30651         <kernel-features.h>.
30652         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30653         unconditional.
30654         (__setresgid): Do not declare.
30655         [__ASSUME_32BITUIDS]: Make code unconditional.
30656         [!__ASSUME_32BITUIDS]: Remove conditional code.
30657         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30658         <kernel-features.h>.
30659         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30660         unconditional.
30661         (__setresuid): Do not declare.
30662         [__ASSUME_32BITUIDS]: Make code unconditional.
30663         [!__ASSUME_32BITUIDS]: Remove conditional code.
30664         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30665         <kernel-features.h>.
30666         [__ASSUME_32BITUIDS]: Make code unconditional.
30667         [!__ASSUME_32BITUIDS]: Remove conditional code.
30668         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30669         <kernel-features.h>.
30670         [__ASSUME_32BITUIDS]: Make code unconditional.
30671         [!__ASSUME_32BITUIDS]: Remove conditional code.
30673 2012-05-25  Richard Henderson  <rth@twiddle.net>
30675         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30676         dl_hwcap to ifunc resolver.
30677         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30678         elf_ifunc_invoke.
30679         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30680         dl_hwcap to ifunc resolver.
30681         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30683 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30685         [BZ #14153]
30686         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30687         for |x| <= 2**-26, not 2**-57.
30688         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30689         exception.
30691 2012-05-24  Jeff Law  <law@redhat.com>
30693         * stdio-common/Makefile (tests): Add bug25.
30694         * stdio-common/bug25.c: New test.
30696 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30698         [BZ #13576]
30699         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30700         multiple of MALLOC_ALIGNMENT in size.
30701         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30703 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30705         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30706         Require >= 256.
30707         (FILENAME_MAX): Use macro-int-constant.
30708         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30709         (_IOFBF): Use macro-int-constant.
30710         (_IOLBF): Likewise.
30711         (_IONBF): Likewise.
30712         (SEEK_CUR): Likewise.
30713         (SEEK_END): Likewise.
30714         (SEEK_SET): Likewise.
30715         (TMP_MAX): Likewise.
30716         (EOF): Use macro-int-constant.  Require < 0.
30717         (NULL): Use macro-constant.  Require == 0.
30718         (stdin): Require type to be FILE *.
30719         (stdout): Likewise.
30720         (stderr): Likewise.
30721         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30722         macro-int-constant.
30723         (EXIT_SUCCESS): Likewise.
30724         (NULL): Use macro-constant.  Require == 0.
30725         (RAND_MAX): Use macro-int-constant.
30726         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30727         [C99-based standards] (strtof): Require function.
30728         [C99-based standards] (strtold): Likewise.
30729         [C99-based standards] (strtoll): Likewise.
30730         [C99-based standards] (strtoull): Likewise.
30731         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30732         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30733         [ISO || ISO99 || ISO11] (math.h): Likewise.
30734         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30735         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30736         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30738 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30740         [BZ #14132]
30741         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30742         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30743         * intl/dgettext.c (DCGETTEXT): Likewise.
30744         * intl/gettext.c (DCGETTEXT): Likewise.
30745         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30746         * posix/regex_internal.h (gettext): Likewise.
30747         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30748         Remove declaration.
30749         * include/argz.h (__argz_count_internal)
30750         (__argz_stringify_internal): Remove declaration.
30751         (__argz_count, __argz_stringify): Declare hidden proto.
30752         * intl/dcgettext.c: Remove use of INTDEF.
30753         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30754         * string/argz-stringify.c: Likewise.
30755         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30756         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30757         Declare hidden proto.
30758         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30759         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30760         Declare hidden proto.
30761         * include/stdio.h (__asprintf_internal): Don't declare.
30762         (__asprintf): Don't define as macro.  Declare hidden proto.
30763         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30764         (__fsetlocking): Declare hidden proto.
30765         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30766         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30767         hidden proto.
30768         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30769         (_IO_setlinebuf): Remove use of INTUSE.
30770         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30771         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30772         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30773         Remove declaration.
30774         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30775         (_IO_do_flush): Remove use of INTUSE.
30776         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30777         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30778         (_IO_adjust_column, _IO_least_wmarker)
30779         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30780         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30781         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30782         (_IO_default_doallocate, _IO_wdefault_doallocate)
30783         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30784         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30785         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30786         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30787         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30788         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30789         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30790         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30791         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30792         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30793         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30794         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30795         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30796         proto.
30797         (_IO_flush_all_internal, _IO_adjust_column_internal)
30798         (_IO_default_uflow_internal, _IO_default_finish_internal)
30799         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30800         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30801         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30802         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30803         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30804         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30805         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30806         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30807         (_IO_file_close_internal, _IO_file_close_it_internal)
30808         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30809         (_IO_file_init_internal, _IO_file_attach_internal)
30810         (_IO_file_fopen_internal, _IO_file_read_internal)
30811         (_IO_file_sync_internal, _IO_file_seek_internal)
30812         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30813         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30814         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30815         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30816         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30817         (_IO_list_all_internal, _IO_link_in_internal)
30818         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30819         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30820         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30821         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30822         (_IO_do_write_internal, _IO_padn_internal)
30823         (_IO_getline_info_internal, _IO_getline_internal)
30824         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30825         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30826         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30827         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30828         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30829         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30830         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30831         with libc_hidden_ver, remove use of INTUSE.
30832         * libio/genops.c: Likewise.
30833         * libio/freopen.c: Likewise.
30834         * libio/freopen64.c: Likewise.
30835         * libio/iofclose.c: Likewise.
30836         * libio/iofdopen.c: Likewise.
30837         * libio/iofflush.c: Likewise.
30838         * libio/iofflush_u.c: Likewise.
30839         * libio/iofgets.c: Likewise.
30840         * libio/iofgets_u.c: Likewise.
30841         * libio/iofopen.c: Likewise.
30842         * libio/iofopncook.c: Likewise.
30843         * libio/iofread.c: Likewise.
30844         * libio/iofread_u.c: Likewise.
30845         * libio/ioftell.c: Likewise.
30846         * libio/iofwrite.c: Likewise.
30847         * libio/iogetline.c: Likewise.
30848         * libio/iogets.c: Likewise.
30849         * libio/iogetwline.c: Likewise.
30850         * libio/iopadn.c: Likewise.
30851         * libio/iopopen.c: Likewise.
30852         * libio/ioseekoff.c: Likewise.
30853         * libio/ioseekpos.c: Likewise.
30854         * libio/iosetbuffer.c: Likewise.
30855         * libio/iosetvbuf.c: Likewise.
30856         * libio/ioungetc.c: Likewise.
30857         * libio/ioungetwc.c: Likewise.
30858         * libio/iovdprintf.c: Likewise.
30859         * libio/iovsprintf.c: Likewise.
30860         * libio/iovsscanf.c: Likewise.
30861         * libio/memstream.c: Likewise.
30862         * libio/obprintf.c: Likewise.
30863         * libio/oldfileops.c: Likewise.
30864         * libio/oldiofclose.c: Likewise.
30865         * libio/oldiofdopen.c: Likewise.
30866         * libio/oldiofopen.c: Likewise.
30867         * libio/oldiopopen.c: Likewise.
30868         * libio/oldstdfiles.c: Likewise.
30869         * libio/putc.c: Likewise.
30870         * libio/setbuf.c: Likewise.
30871         * libio/setlinebuf.c: Likewise.
30872         * libio/stdfiles.c: Likewise.
30873         * libio/strops.c: Likewise.
30874         * libio/vasprintf.c: Likewise.
30875         * libio/vscanf.c: Likewise.
30876         * libio/vsnprintf.c: Likewise.
30877         * libio/vswprintf.c: Likewise.
30878         * libio/wfiledoalloc.c: Likewise.
30879         * libio/wfileops.c: Likewise.
30880         * libio/wgenops.c: Likewise.
30881         * libio/wmemstream.c: Likewise.
30882         * libio/wstrops.c: Likewise.
30883         * libio/__fpurge.c: Likewise.
30884         * libio/__fsetlocking.c: Likewise.
30885         * assert/assert.c: Likewise.
30886         * debug/fgets_chk.c: Likewise.
30887         * debug/fgets_u_chk.c: Likewise.
30888         * debug/fread_chk.c: Likewise.
30889         * debug/fread_u_chk.c: Likewise.
30890         * debug/gets_chk.c: Likewise.
30891         * debug/obprintf_chk.c: Likewise.
30892         * debug/vasprintf_chk.c: Likewise.
30893         * debug/vdprintf_chk.c: Likewise.
30894         * debug/vsnprintf_chk.c: Likewise.
30895         * debug/vsprintf_chk.c: Likewise.
30896         * malloc/mtrace.c: Likewise.
30897         * misc/error.c: Likewise.
30898         * misc/syslog.c: Likewise.
30899         * stdio-common/asprintf.c: Likewise.
30900         * stdio-common/fxprintf.c: Likewise.
30901         * stdio-common/getw.c: Likewise.
30902         * stdio-common/isoc99_fscanf.c: Likewise.
30903         * stdio-common/isoc99_scanf.c: Likewise.
30904         * stdio-common/isoc99_vfscanf.c: Likewise.
30905         * stdio-common/isoc99_vscanf.c: Likewise.
30906         * stdio-common/isoc99_vsscanf.c: Likewise.
30907         * stdio-common/printf-prs.c: Likewise.
30908         * stdio-common/printf_fp.c: Likewise.
30909         * stdio-common/printf_fphex.c: Likewise.
30910         * stdio-common/printf_size.c: Likewise.
30911         * stdio-common/putw.c: Likewise.
30912         * stdio-common/scanf.c: Likewise.
30913         * stdio-common/sprintf.c: Likewise.
30914         * stdio-common/tmpfile.c: Likewise.
30915         * stdio-common/vfprintf.c: Likewise.
30916         * stdio-common/vfscanf.c: Likewise.
30917         * stdlib/strfmon_l.c: Likewise.
30918         * sunrpc/openchild.c: Likewise.
30919         * sunrpc/xdr_stdio.c: Likewise.
30920         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30921         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30923 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30925         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30927         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30928         in the third column, to generate for the shared library an IFUNC
30929         that uses _dl_vdso_vsym.
30930         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30931         * Makeconfig (object-suffixes-noshared): New variable.
30933         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30934         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30935         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30936         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30938         [BZ #14132]
30939         * include/sys/time.h (__gettimeofday): Remove macro.
30940         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30941         * time/gettimeofday.c (__gettimeofday): Remove #undef.
30942         Remove INTDEF.
30943         (__gettimeofday): Add libc_hidden_def.
30944         (gettimeofday): Add libc_hidden_weak.
30945         * sysdeps/mach/gettimeofday.c: Likewise.
30946         * sysdeps/posix/gettimeofday.c: Likewise.
30947         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30948         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30949         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30950         (__gettimeofday_internal): Remove strong_alias.
30951         (__gettimeofday): Add libc_hidden_def.
30952         (gettimeofday): Add libc_hidden_weak.
30953         * sysdeps/unix/syscalls.list (gettimeofday):
30954         Remove __gettimeofday_internal alias.
30956 2012-05-24  Daniel Jacobowitz  <drow@false.org>
30957             H.J. Lu  <hongjiu.lu@intel.com>
30959         [BZ #12495]
30960         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30961         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30962         (largebin_index_32_big): New.
30963         (largebin_index): Use it for 16-byte alignment.
30964         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
30965         correction with front_misalign.
30967 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30971         Likewise.
30972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30973         Likewise.
30974         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30975         Likewise.
30976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30977         Likewise.
30978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30979         Likewise.
30980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30981         Likewise.
30982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30983         Likewise.
30984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30985         Likewise.
30986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30987         Likewise.
30988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30989         Likewise.
30990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30991         Likewise.
30992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30993         Likewise.
30995         * scripts/data/c++-types-x32-linux-gnu.data: New file.
30996         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30998 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31000         [BZ #10846]
31001         [BZ #14036]
31002         * math/libm-test.inc (exp_test): Add test from bug 14036.
31003         (pow_test): Add test from bug 10846.
31005         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31006         and other flags.
31007         (special_function): Do not include flags in test name.
31008         (parse_args): Likewise.
31009         * sysdeps/i386/fpu/libm-test-ulps: Update.
31010         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31011         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31012         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31015         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31016         exceptions.
31017         * math/libm-test.inc ("Philosophy"): Update comment about
31018         exception testing.
31019         (UNDERFLOW_EXCEPTION): New macro.
31020         (UNDERFLOW_EXCEPTION_OK): Likewise.
31021         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31022         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31023         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31024         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31025         (INVALID_EXCEPTION_OK): Update value.
31026         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31027         (OVERFLOW_EXCEPTION_OK): Likewise.
31028         (IGNORE_ZERO_INF_SIGN): Likewise.
31029         (test_exceptions): Handle underflow exceptions.
31030         (acos_test): Update for underflow exception expectations.
31031         (cexp_test): Likewise.
31032         (clog_test): Likewise.
31033         (clog10_test): Likewise.
31034         (csqrt_test): Likewise.
31035         (ctan_test): Likewise.
31036         (ctanh_test): Likewise.
31037         (exp_test): Likewise.
31038         (exp10_test): Likewise.
31039         (exp2_test): Likewise.
31040         (expm1_test): Likewise.
31041         (fma_test): Likewise.
31042         (j0_test): Likewise.
31043         (jn_test): Likewise.
31044         (nexttoward_test): Likewise.
31045         (pow_test): Likewise.
31046         (scalbn_test): Likewise.
31047         (scalbln_test): Likewise.
31048         (tan_test): Likewise.
31049         (y1_test): Likewise.
31050         * sysdeps/i386/fpu/libm-test-ulps: Update.
31051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31053 2012-05-23  David S. Miller  <davem@davemloft.net>
31055         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31056         (__libc_sigaction): Remove unused local variables.
31058 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31060         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31062 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31064         mktime: avoid signed integer overflow
31065         * time/mktime.c (__mktime_internal): Do not mishandle the case
31066         where diff == INT_MIN.
31068         mktime: simplify computation of average
31069         * time/mktime.c (ranged_convert): Use new time_t_avg function
31070         instead of rolling our own (probably-slower) code.
31072         mktime: do not assume signed right shift propagates sign bit
31073         * time/mktime.c (isdst_differ): New static function.
31074         (__mktime_internal): No need to normalize tm_isdst now.
31075         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31076         tm_isdst values.
31078         mktime: merge another wrapv change from gnulib
31079         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31080         from some compilers.
31082         mktime: remove incorrect attempt at unusual arithmetics
31083         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31084         The code didn't really work on such machines anyway.
31085         (TYPE_MINIMUM): Assume two's complement.
31086         (twos_complement_arithmetic): Verify that long_int and time_t
31087         are two's complement (or unsigned, in the latter case).
31089         mktime: check signed shifts on long_int and time_t, too
31090         * time/mktime.c (SHR): Check that shifts work as desired
31091         on the types long_int and time_t too, as SHR is used on
31092         such types.
31094         mktime: do not assume 'long' is wide enough
31095         * time/mktime.c (verify): Move decl up.
31096         (long_int): New type.
31097         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31098         to remove assumption in the code that 'long' is wide enough to
31099         store year values.  This assumption is not true on x32 and on
31100         some non-glibc platforms.
31102         mktime: merge wrapv change from gnulib
31103         * time/mktime.c (WRAPV): New macro.
31104         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31105         (guess_time_tm, __mktime_internal): Do not assume that signed
31106         integer overflow wraps around; modern compilers generate code
31107         where this assumption is no longer valid.
31109 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31111         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31112         Replace "jmp L(pseudo_end)" with "ret".
31113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31114         Likewise.
31116 2012-05-23  Andreas Jaeger  <aj@suse.de>
31118         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31119         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31121 2012-05-23  Andreas Jaeger  <aj@suse.de>
31122             Maximilian Attems  <max@stro.at>
31124         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31125         New macros.
31127 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31129         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31130         code so that pseudo_end is just ret and the stack pointer is
31131         correct also for static library in error case.
31133 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31135         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31136         move to syscalls.list.
31137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31142         * manual/install.texi (Running make install): Do not mention Linux
31143         kernel version for which pt_chown is not needed.
31144         (Linux): Do not mention problems with nscd with 2.0 kernels.
31145         * INSTALL: Regenerated.
31147 2012-05-23  Andreas Jaeger  <aj@suse.de>
31149         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31150         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31151         macro.
31152         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31153         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31154         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31155         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31156         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31157         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31158         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31159         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31160         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31161         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31162         * sysdeps/unix/sysv/linux/bits/in.h
31163         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31165 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31167         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31168         (PREPARE_VERSION): Just use assert instead, it will be elided
31169         under [NDEBUG] anyway.
31171 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31173         * sysdeps/unix/sysv/linux/Makefile: Include
31174         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31175         (sysdep_routines): Remove sysctl.
31176         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31177         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31178         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31179         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31180         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31182 2012-05-22  Andreas Jaeger  <aj@suse.de>
31184         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31185         that pseudo_end is just ret and the stack pointer is correct also
31186         for static library in error case.
31188 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31190         [BZ #14122]
31191         * nss/nsswitch.c (defconfig_entries): New variable.
31192         (__nss_database_lookup): Don't leak defconfig entries.
31193         (nss_parse_service_list): Don't leak on error paths.
31194         (free_database_entries): New function.
31195         (free_defconfig): New function.
31196         (free_mem): Move common code to free_database_entries.
31198 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31200         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31201         Add arch_prctl.
31202         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31204         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31205         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31206         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31207         New macro.
31208         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31209         (INTERNAL_SYSCALL_TYPES): Likewise.
31210         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31211         (LOAD_REGS_TYPES_[1-6]): Likewise.
31212         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31213         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31215 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31217         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31218         copysignl for GLIBC_2_0.
31219         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31220         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31221         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31222         logbl for GLIBC_2_0.
31223         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31224         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31226 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31228         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31229         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31231         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31232         Use "neg %eax".
31234         * time/mktime.c: Update copyright years.
31236 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31238         mktime: merge comment-quoting-style change from gnulib
31239         * time/mktime.c: Quote 'like this' in comments.
31240         The GNU coding standards suggest that we no longer quote `like this',
31241         as "`" and "'" are typically rendered asymmetrically nowadays.
31242         The typical gnulib style is to quote 'like this' when quoting
31243         code, and "like this" when quoting English.
31245         * time/mktime.c (compile-command): Add "-I.".
31247         mktime: merge mktime-internal.h change from gnulib
31248         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31250         mktime: merge time_r change from gnulib
31251         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31253         mktime: merge DEBUG change from gnulib
31254         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31255         case system <time.h> has a #define.
31257         mktime: merge <sys/types.h> change from gnulib
31258         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31259         since <time.t> is now guaranteed to define time_t.
31261         mktime: merge HAVE_CONFIG_H change from gnulib
31262         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31264 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31267         Use "neg %eax".
31269         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31270         __rlim_t cast.
31271         (struct rusage): Use anonymous union to pad each field to
31272         __syscall_slong_t.
31274 2012-05-21  David S. Miller  <davem@davemloft.net>
31276         * Makefules (o-iterator): Remove .s cases.
31277         (compile-command.s): Delete.
31278         (COMPILE.s): Delete.
31279         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31281 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31283         * configure.in (libc_cv_predef_stack_protector): Only consider
31284         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31285         * configure: Regenerated.
31287 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31290         New macro.  Use R*LP on int and pointer.
31291         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31292         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31293         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31294         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31296         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31297         [__WORDSIZE_TIME64_COMPAT32] instead of
31298         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31299         (struct utmp): Likewise.
31300         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31301         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31302         Renamed to ...
31303         (__WORDSIZE_TIME64_COMPAT32): This.
31304         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31305         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31306         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31307         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31308         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31309         (__WORDSIZE_TIME64_COMPAT32): New macro.
31311 2012-05-21  Andreas Jaeger  <aj@suse.de>
31313         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31314         only if [SHARED]. Add prototype for __wcschr_ia32.
31316 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31318         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31319         of %rbp unmolested in the jmp_buf while mangling the low bits.
31320         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31321         unmolested high bits of %rbp while demangling the low bits.
31322         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31324 2012-05-21  Andreas Jaeger  <aj@suse.de>
31326         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31327         * sunrpc/svc_simple.c: Use it for registerrpc.
31328         * sunrpc/xcrypt.c: Use it for passwd2des.
31330         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31332 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31334         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31335         Don't define if [__SYSCALL_WORDSIZE != 32].
31336         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31337         New macro.
31339 2012-05-21  Bruno Haible  <bruno@clisp.org>
31340             Andreas Jaeger  <aj@suse.de>
31342         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31343         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31344         inptr and inend for must_buffer_ch.
31345         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31346         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31347         * stdio-common/Makefile (tests): Remove bug15.
31348         (bug15-ENV): Remove macro.
31349         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31350         anymore.
31352 2012-05-19  Andreas Jaeger  <aj@suse.de>
31353             Roland McGrath  <roland@hack.frob.com>
31355         * manual/contrib.texi: Completely rewritten. It contains now an
31356         alphabetical list of contributors and their contributions.
31358 2012-05-21  Richard Henderson  <rth@twiddle.net>
31360         * misc/getauxval.c (__getauxval): Use unsigned long int.
31361         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31362         (getauxval): Use unsigned long int.
31364 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31366         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31368 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31370         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31371         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31372         __alignof__ (long double).
31374 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31378 2012-05-20  Richard Henderson  <rth@twiddle.net>
31380         * misc/getauxval.c: New file.
31381         * misc/sys/auxv.h: New file.
31382         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31383         (routines): Add getauxval.
31384         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31385         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31386         * elf/dl-sysdep.c (_dl_auxv): Remove.
31387         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31388         * elf/dl-support.c (_dl_auxv): New variable.
31389         (_dl_aux_init): Initialize it.
31390         * manual/startup.texi (Auxiliary Vector): New node.
31391         * sysdeps/generic/bits/hwcap.h: New file.
31392         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31393         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31394         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31395         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31396         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31397         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31399         Update.
31400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31405         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31409 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31413 2012-05-19  David S. Miller  <davem@davemloft.net>
31415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31417 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31419         [BZ #14123]
31420         * math/s_ccosh.c: Include <float.h>
31421         (__ccosh): Avoid internal overflow calculating sinh and cosh
31422         values before multiplying by sin and cos values.
31423         * math/s_ccoshf.c: Likewise.
31424         * math/s_ccoshl.c: Likewise.
31425         * math/s_csin.c: Likewise.
31426         * math/s_csinf.c: Likewise.
31427         * math/s_csinl.c: Likewise.
31428         * math/s_csinh.c: Likewise.
31429         * math/s_csinhf.c: Likewise.
31430         * math/s_csinhl.c: Likewise.
31431         * math/libm-test.inc (ccos_test): Add more tests.
31432         (ccosh_test): Likewise.
31433         (csin_test): Likewise.
31434         (csinh_test): Likewise.
31435         * sysdeps/i386/fpu/libm-test-ulps: Update.
31436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31438 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31440         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31441         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31443         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31445 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31447         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31448         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31449         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31450         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31451         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31452         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31453         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31454         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31455         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31456         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31457         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31458         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31459         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31460         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31461         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31462         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31463         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31464         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31465         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31466         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31467         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31468         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31469         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31470         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31471         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31472         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31473         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31474         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31475         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31476         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31477         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31479 2012-05-18  Andreas Jaeger  <aj@suse.de>
31481         * csu/.gitignore: Delete.
31483 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31485         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31486         (timex): Use __syscall_slong_t.
31488 2012-05-18  Andreas Jaeger  <aj@suse.de>
31489             Carlos O'Donell  <carlos_odonell@mentor.com>
31491         * manual/install.texi (Configuring and compiling): Update
31492         description about files modified in the source directory.
31493         * INSTALL: Regenerated.
31495 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31497         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31498         value.  Use "or" to set return value to -1.
31499         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31500         negate return value.
31502 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31504         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31505         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31506         failure if the compiler has Graphite support disabled.
31507         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31508         Likewise.
31509         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31510         (CFLAGS-memmove.c): Likewise.
31511         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31512         Likewise.
31514 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31516         * sysdeps/x86_64/x32/_itoa.h: New file.
31518         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31519         getdents system call only if kernel and user dirents have the
31520         same d_ino and d_off.
31522         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31523         LLONG_MAX != LONG_MAX.
31524         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31525         (_fitoa_word): Likewise.
31527         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31528         years.
31529         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31530         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31531         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31533         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31534         include <bits/wordsize.h>.  Check __x86_64__ instead of
31535         __WORDSIZE.
31536         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31537         if __x86_64__ is defined.  Use anonymous union on fpstate.
31539         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31540         anonymous union.
31542 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31544         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31545         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31546         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31547         Refer to _rtld_local_ro instead of _rtld_global_ro.
31548         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31549         Likewise.
31550         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31551         Likewise.
31552         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31553         Likewise.
31554         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31555         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31556         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31558         * sysdeps/powerpc/powerpc32/dl-machine.c
31559         (__elf_machine_runtime_setup) [PROF]: Don't reference
31560         _dl_prof_resolve.
31562 2012-05-18  Andreas Jaeger  <aj@suse.de>
31564         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31565         function only available for GCCs before 3.4 since GCC 3.4
31566         introduced a builtin.
31567         (lrint): Likewise.
31568         (llrintf): Likewise.
31569         (llrint): Likewise.
31570         (fmaxf): Likewise.
31571         (fmax): Likewise.
31572         (fminf): Likewise.
31573         (fmin): Likewise.
31574         (rint): Likewise.
31575         (rintf): Likewise.
31576         (nearbyint): Likewise.
31577         (nearbyintf): Likewise.
31578         (ceil): Likewise.
31579         (ceilf): Likewise.
31580         (floor): Likewise.
31581         (floorf): Likewise.
31583 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31585         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31586         on both fields and cast pointer to __syscall_ulong_t.
31588         * bits/types.h (__fsword_t): New type.
31589         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31590         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31591         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31592         (__FSWORD_T_TYPE): Likewise.
31593         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31594         (__FSWORD_T_TYPE): Likewise.
31595         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31596         (__FSWORD_T_TYPE): Likewise.
31597         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31598         (__FSWORD_T_TYPE): Likewise.
31599         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31600         __SWORD_TYPE with __fsword_t.
31601         (statfs64): Likewise.
31603 2012-05-17  David S. Miller  <davem@davemloft.net>
31605         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31607 2012-05-17  Andreas Jaeger  <aj@suse.de>
31609         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31610         warning.
31612 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31614         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31616 2012-05-17  Andreas Jaeger  <aj@suse.de>
31618         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31619         when it is used.
31621 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31623         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31625 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31627         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31628         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31630 2012-05-17  Andreas Jaeger  <aj@suse.de>
31631             Carlos O'Donell  <carlos_odonell@mentor.com>
31633         [BZ #14059]
31634         * sysdeps/x86_64/multiarch/init-arch.h
31635         (bit_YMM_Usable): Rename to...
31636         (bit_AVX_Usable): ... this.
31637         (bit_FMA4_Usable): New macro.
31638         (bit_XMM_state): New macro.
31639         (bit_YMM_state): New macro.
31640         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31641         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31642         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31643         (CPUID_OSXSAVE): New macro.
31644         (CPUID_AVX): New macro.
31645         (CPUID_FMA4): New macro.
31646         (index_YMM_Usable): Rename to...
31647         (index_AVX_Usable): ... this.
31648         (HAS_AVX): Use HAS_ARCH_FEATURE.
31649         (HAS_FMA4): Likewise.
31650         (HAS_YMM_USABLE): Remove.
31651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31652         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31653         are present.
31654         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31655         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31656         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31657         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31658         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31660 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31662         * math/libm-test.c: Support platforms without multiple rounding modes.
31663         * math/bug-nextafter.c: Support platforms without FP exceptions.
31664         * math/bug-nexttoward.c: Likewise.
31665         * math/test-fenv.c: Likewise.
31666         * math/test-misc.c: Likewise.
31667         * stdlib/bug-getcontext.c: Likewise.
31669 2012-05-17  Andreas Jaeger  <aj@suse.de>
31671         * manual/examples/search.c (critter_cmp): Change signature to
31672         avoid warnings.
31673         * manual/string.texi (Collation Functions): Likewise.
31675 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31677         * bits/types.h: Fold copyright years.
31678         * bits/typesizes.h: Likewise.
31679         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31682         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31683         * time/time.h: Likewise.
31685 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31687         [BZ #208]
31688         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31689         in instead of returning them.  Return void.
31690         (__libc_mallinfo): Accumulate over all arenas.
31691         (__malloc_stats): Adjust for change in int_mallinfo interface.
31693 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31695         [BZ #10375]
31696         * configure.in (NM): Add AC_CHECK_TOOL for it.
31697         (libc_extra_cflags): New substituted variable.
31698         Check for -fstack-protector being used implicitly.
31699         * configure: Regenerated.
31700         * config.make.in (config-extra-cflags): New variable,
31701         gets @libc_extra_cflags@.
31702         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31704         [BZ #10375]
31705         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31706         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31707         * configure: Regenerated.
31708         * config.make.in (CPPUNDEFS): New substituted variable.
31709         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31710         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31711         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31713 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31715         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31716         (mq_attr): Use __syscall_slong_t.
31718 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31720         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31721         Check __x86_64__ instead of __WORDSIZE.
31722         (_STAT_VER_LINUX): Likewise.
31723         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31724         __syscall_ulong_t and __syscall_slong_t.
31725         (stat64): Likewise.
31727 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31729         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31733         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31735 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31737         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31738         __syscall_ulong_t.
31740         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31741         include <bits/wordsize.h>.  Check __x86_64__ instead of
31742         __WORDSIZE.
31743         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31744         defined.
31745         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31747         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31748         include <bits/wordsize.h>.  Check __x86_64__ instead of
31749         __WORDSIZE.
31750         (user_regs_struct): Use "__extension__ unsigned long long"
31751         instead of "unsigned long" if __x86_64__ is defined.
31752         (user): Likewise.  Pad after pointer field if __ILP32__ is
31753         defined.
31755 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31757         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31758         versions 5 to 9.
31759         * configure: Regenerated.
31760         * manual/install.texi (texinfo): Increase version requirement to
31761         4.5 or later.
31762         * INSTALL: Regenerated.
31764         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31766 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31768         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31770         * sysdeps/x86_64/x32/ffs.c: New file.
31772         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31773         __syscall_ulong_t.
31774         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31775         defined.  Use __syscall_ulong_t.
31776         (shminfo): Use __syscall_ulong_t.
31777         (shm_info): Likewise.
31779         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31780         __syscall_ulong_t.
31782         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31783         <bits/wordsize.h>.
31784         (msgqnum_t): Use __syscall_ulong_t.
31785         (msglen_t): Likewise.
31786         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31787         __syscall_ulong_t.
31789         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31790         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31792         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31794         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31795         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31797         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31798         __syscall_slong_t.
31800         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31801         include <bits/wordsize.h>.  Check __x86_64__ instead of
31802         __WORDSIZE.
31804         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31805         "unsigned long long int" if __x86_64__ is defined.
31806         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31808         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31809         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31810         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31812         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31813         <stdint.h>.
31814         (GET_PC): Cast to uintptr_t first.
31815         (GET_FRAME): Likewise.
31816         (GET_STACK): Likewise.
31818         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31819         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31820         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31821         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31822         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31823         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31824         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31825         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31826         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31827         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31828         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31829         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31830         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31831         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31832         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31833         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31834         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31835         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31836         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31837         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31838         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31839         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31840         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31841         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31842         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31843         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31844         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31845         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31846         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31848 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31850         * Makerules (+depfiles): Also collect depfiles from .oS in
31851         $(extra-objs).
31852         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31853         .oS, $(libnldbl-routines)).
31855         * Makerules (native-compile-mkdep-flags): Define.
31856         * sunrpc/Makefile (extra-objs): Add $(addprefix
31857         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31858         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31859         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31860         calling $(make-target-directory).
31862 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31864         * bits/types.h (__snseconds_t): Removed.
31865         * time/time.h (struct timespec): Replace __snseconds_t with
31866         __syscall_slong_t.
31867         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31868         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31869         Likewise.
31870         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31871         (__SNSECONDS_T_TYPE): Likewise.
31872         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31873         (__SNSECONDS_T_TYPE): Likewise.
31874         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31875         (__SNSECONDS_T_TYPE): Likewise.
31877 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31879         * sysdeps/mach/hurd/bits/typesizes.h
31880         (__SYSCALL_SLONG_TYPE): New macro.
31881         (__SYSCALL_ULONG_TYPE): Likewise.
31883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31885         * bits/types.h (__syscall_slong_t): New type.
31886         (__syscall_ulong_t): Likewise.
31888         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31889         (__SYSCALL_ULONG_TYPE): Likewise.
31890         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31891         (__SYSCALL_SLONG_TYPE): Likewise.
31892         (__SYSCALL_ULONG_TYPE): Likewise.
31893         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31894         (__SYSCALL_SLONG_TYPE): Likewise.
31895         (__SYSCALL_ULONG_TYPE): Likewise.
31896         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31897         (__SYSCALL_SLONG_TYPE): Likewise.
31898         (__SYSCALL_ULONG_TYPE): Likewise.
31900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31902         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31903         Add sigaltstack-offsets.sym.
31904         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31905         <sigaltstack-offsets.h>.
31906         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31907         longjmp_msg pointer.
31908         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31909         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31910         signal stack.
31911         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31913 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31915         * elf/stackguard-macros.h: Remove file.
31916         * sysdeps/generic/stackguard-macros.h: New file.
31917         * sysdeps/i386/stackguard-macros.h: Likewise.
31918         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31919         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31920         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31921         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31922         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31923         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31924         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31925         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31926         <elf/stackguard-macros.h>.
31928         [BZ #14109]
31929         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31930         __aligned__ in attribute.
31931         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31932         (gregset_t): Likewise.
31934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31936         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31937         * sysdeps/x86_64/64/Implies-after: Here.  New file.
31938         * sysdeps/x86_64/x32/Implies-after: New file.
31940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31942         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31943         and access return value for _dl_profile_fixup.  Use R10_LP to
31944         load frame size.
31946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31948         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31950 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31952         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31953         * sysdeps/x86_64/x32/sysdep.h: New file.
31955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31957         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31958         * sysdeps/x86_64/setjmp.S: Likewise.
31960 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31962         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31963         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31964         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31965         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31966         remove unused global constant.
31968 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31970         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31971         include of <not-cancel.h>.
31973 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31975         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31977 2012-05-15  Jeff Law  <law@redhat.com>
31978             Andreas Jaeger  <aj@suse.de>
31980         [BZ #13594]
31981         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31982         out from...
31983         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31984         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31985         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31986         code changing __hst_map_handle.map.
31988 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31990         * configure.in (sysnames): Look for Implies-before and Implies-after
31991         files.
31992         * configure: Regenerated.
31994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31996         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31997         8-byte data alignment with LP_SIZE alignment.
31999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32001         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32002         into R10_LP.
32004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32006         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32010         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32011         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32012         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32013         Likewise.
32014         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32018         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32019         (stackinfo_sub_sp): Likewise.
32021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32023         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32024         RAX_LP.
32026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32028         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32029         into R*_LP.
32031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32033         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32034         sizes into R*_LP.
32036 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32038         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32040 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32042         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32043         into R11_LP and load __x86_64_shared_cache_size_half into
32044         R8_LP.
32046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32048         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32049         R8_LP.
32051 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32054         logb for POWER7.
32055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32056         logbf for POWER7.
32057         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32058         logbl for POWER7.
32059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32060         powerpc32/power7/fpu/s_logb.c via #include.
32061         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32062         powerpc32/power7/fpu/s_logbf.c via #include.
32063         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32064         powerpc32/power7/fpu/s_logbl.c via #include.
32066 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32068         * README.libm: Remove file.
32070 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32072         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32073         count for x32.  Use R*_LP and omit operand-size suffix.
32075 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32077         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32078         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32079         * sysdeps/x86_64/x32/shlib-versions: New file.
32081 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32083         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32084         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32085         Use _dl_fatal_printf instead.
32087 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32089         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32090         set if not set by the user.  Do not allow for being unset.
32091         * sysdeps/unix/sysv/linux/configure: Regenerated.
32093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32095         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32096         the `q' suffix from lea and replace .quad with ASM_ADDR.
32098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32101         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32102         instead of $17.
32103         (PTR_DEMANGLE): Likewise.
32105 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32107         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32108         (LP_OP): Likewise.
32109         (ASM_ADDR): Likewise.
32110         (RAX_LP): Likewise.
32111         (RBP_LP): Likewise.
32112         (RBX_LP): Likewise.
32113         (RCX_LP): Likewise.
32114         (RDI_LP): Likewise.
32115         (RSI_LP): Likewise.
32116         (RSP_LP): Likewise.
32117         (R8_LP): Likewise.
32118         (R9_LP): Likewise.
32119         (R10_LP): Likewise.
32120         (R10_LP): Likewise.
32121         (R11_LP): Likewise.
32122         (R12_LP): Likewise.
32123         (R13_LP): Likewise.
32124         (R14_LP): Likewise.
32125         (R15_LP): Likewise.
32127 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32129         * sysdeps/x86_64/x32/dl-machine.h: New file.
32131 2012-05-14  Andreas Jaeger  <aj@suse.de>
32133         * manual/Makefile (subdir): Remove export of subdir.
32134         (all): Remove target.
32135         (.PHONY): Remove all from list.
32136         (mkinstalldirs): Remove.
32137         (.PHONY): Remove installdirs from list.
32138         ($(inst_infodir)/libc.info): Use make-target-directory.
32139         (installdirs): Remove.
32140         (subdir_%): Remove.
32141         (glibc-targets): Remove.
32142         (lib): Remove.
32143         (stubs): Remove.
32144         ($(objpfx)stubs ../po/manual.pot): Remove.
32145         ($(objpfx)stamp%): Remove.
32146         (make-target-directory): Remove.
32147         (subdir_install): Remove.
32148         (routines): Remove.
32149         (aux): Remove.
32150         (sources): Remove.
32151         (objects): Remove.
32152         (headers): Remove.
32154         [BZ #13750]
32155         * manual/.gitignore: Remove, it's not needed anymore.
32156         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32157         all files in it.
32158         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32159         directory.
32160         (texis): Renamed to $(objpfx)texis.
32161         (texis-path): New, contains path to generated files.
32162         (chapters.%): Use texis-path for complete path, add extra argument
32163         libc-texinfo.sh.
32164         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32165         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32166         (summary,texi, stamp-summary): Use complete path of
32167         files. Generate files in build dir.
32168         (dir-add.texi): Build in build dir.
32169         (libm-err.texi,stamp-libm-err): Likewise.
32170         (version.texi, stamp-version): Likewise.
32171         (.%c.texi): Likewise.
32172         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32173         (mostlyclean): Remove target.
32174         (realclean): Remove target.
32175         (generated): Add new variable with contents from mostlyclean and
32176         realclean, remove entries duplicated in common-mostlyclean, add
32177         stamp-libm-err and stamp-version.
32178         (generated-dirs): Add libc directory.
32179         ($(inst_infodir)/libc.info): Install files from build dir.
32181         * manual/install.texi (Configuring and compiling): Adjust since
32182         the info files are not part of the tar ball anymore.
32184 2012-05-14  Andreas Jaeger  <aj@suse.de>
32186         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32187         variable.
32189 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32191         [BZ #13717]
32192         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32193         to 2.2.0 where earlier.
32194         * sysdeps/unix/sysv/linux/configure: Regenerated.
32195         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32196         Remove conditional code.
32197         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32198         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32199         Remove conditional code.
32200         [!__NR_lchown]: Likewise.
32201         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32202         [__NR_lchown]: Likewise.
32203         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32204         comment referencing __ASSUME_LCHOWN_SYSCALL.
32205         * sysdeps/unix/sysv/linux/i386/sigaction.c
32206         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32207         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32208         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32209         Remove conditional code.
32210         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32211         (__protocol_available): Remove #if 0 code.
32212         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32213         conditional code.
32214         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32215         * sysdeps/unix/sysv/linux/kernel-features.h
32216         (__ASSUME_GETCWD_SYSCALL): Don't define.
32217         (__ASSUME_REALTIME_SIGNALS): Likewise.
32218         (__ASSUME_PREAD_SYSCALL): Likewise.
32219         (__ASSUME_PWRITE_SYSCALL): Likewise.
32220         (__ASSUME_POLL_SYSCALL): Likewise.
32221         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32222         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32223         non-SPARC.
32224         (__ASSUME_SIOCGIFNAME): Don't define.
32225         (__ASSUME_MSG_NOSIGNAL): Likewise.
32226         (__ASSUME_SENDFILE): Define unconditionally.
32227         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32228         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32229         conditional code.
32230         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32231         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32232         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32233         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32234         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32235         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32236         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32238         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32239         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32241         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32242         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32244         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32245         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32247         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32248         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32250         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32251         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32253         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32254         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32256         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32257         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32259         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32260         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32261         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32262         Remove conditional code.
32263         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32264         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32265         Remove conditional code.
32266         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32267         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32268         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32269         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32270         Remove conditional code.
32271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32272         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32273         Remove conditional code.
32274         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32275         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32276         Remove conditional code.
32277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32278         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32279         Remove conditional code.
32280         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32281         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32282         Remove conditional code.
32283         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32284         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32285         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32286         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32287         * sysdeps/unix/sysv/linux/sigaction.c
32288         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32289         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32290         * sysdeps/unix/sysv/linux/sigpending.c
32291         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32292         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32293         * sysdeps/unix/sysv/linux/sigprocmask.c
32294         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32295         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32296         * sysdeps/unix/sysv/linux/sigsuspend.c
32297         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32298         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32299         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32300         (__libc_missing_rt_sigs): Remove.
32301         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32302         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32303         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32304         Remove conditional code.
32305         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32306         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32307         return 1.
32308         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32309         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32310         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32311         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32313 2012-05-14  Andreas Jaeger  <aj@suse.de>
32315         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32316         it's not used in glibc.
32317         (__coshm1): Likewise.
32318         (__acosh1p): Likewise.
32319         (__sgn): Likewise.
32321         * manual/string.texi (Copying and Concatenation): Add missing
32322         variable in concat example.
32323         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32325 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32327         [BZ #14103]
32328         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32329         __builtin_clzl with __builtin_clzll.
32331 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32333         [BZ #14104]
32334         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32335         libc_freeres_ptr.
32337 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32339         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32340         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32341         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32342         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32344 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32346         * NEWS: Update ia64 info.
32348 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32350         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32351         used as bcopy.
32353 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32355         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32356         * sysdeps/unix/syscalls.list (dup3): Likewise.
32357         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32358         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32360 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32362         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32363         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32365 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32367         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32368         thread pointer.
32369         (TLS_IE): Use mov/add instead of movq/addq to load thread
32370         pointer.
32371         (TLS_GD_PREFIX): New.
32372         (TLS_GD): Use it.
32374 2012-05-11  David S. Miller  <davem@davemloft.net>
32376         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32377         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32378         (_FPU_SETCW): Likewise.
32380 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32382         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32383         is 32-byte aligned.
32385 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32387         [BZ #11837]
32388         * iconvdata/gb18030.c: Update tables.
32389         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32390         characters specially.
32391         (BODY for TO_LOOP): Add encoding of missing ranges.
32393 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32395         [BZ #13673]
32396         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32397         * sysdeps/mach/hurd/dup3.c: Likewise.
32398         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32399         * sysdeps/powerpc/memmove.c:: Likewise.
32401 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32403         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32404         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32406 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32408         * elf/elf.h (R_X86_64_RELATIVE64): New.
32409         (R_X86_64_NUM): Updated.
32410         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32411         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32412         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32413         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32414         tst-quad1pie tst-quad2pie
32415         (modules-names): Add tst-quadmod1 tst-quadmod2.
32416         ($(objpfx)tst-quad1): New dependency.
32417         ($(objpfx)tst-quad2): Likewise.
32418         ($(objpfx)tst-quad1pie): Likewise.
32419         ($(objpfx)tst-quad2pie): Likewise.
32420         * sysdeps/x86_64/tst-quad1.c: New file.
32421         * sysdeps/x86_64/tst-quad1pie.c: New file.
32422         * sysdeps/x86_64/tst-quad2.c: Likewise.
32423         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32424         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32425         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32426         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32427         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32431         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32432         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32433         * streams/stropts.h (t_scalar_t): Define type.
32435         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32436         (_PATH_PRESERVE): Set to "/var/lib".
32437         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32439         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32440         instead of int.
32442         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32443         if __dir_mkfile succeeded.
32445         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32446         checking for _hurd_dtablesize.  Unlock it right after having
32447         finished _hurd_dtable allocation.
32449 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32451         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32452         * sysdeps/mach/hurd/configure: Regenerated.
32453         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32454         special-casing to...
32455         * sysdeps/gnu/configure.in: ... this new file.
32456         * sysdeps/unix/sysv/linux/configure: Regenerated.
32457         * sysdeps/gnu/configure: New generated file.
32459         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32460         for Linux: use nsec instead of usec, as well as:
32461         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32462         members of type struct timespec.
32463         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32464         New macros.
32465         (struct stat64): Likewise.
32466         (_STATBUF_ST_NSEC): New macro.
32467         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32469         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32470         __strtoul_internal rather than strtoul.
32472 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32474         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32475         and reject them.
32477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32479         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32480         which preserves existing values.
32481         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32483 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32485         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32486         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32487         greater than FD_SETSIZE.
32489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32491         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32492         allocated, call __vm_protect to finish enabling the existing space, and
32493         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32494         allocate the remainder.
32496 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32498         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32499         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32503         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32504         sysdeps/mach/hurd/readlink.c.
32506         * posix/tst-sysconf.c (posix_options): Only use
32507         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32508         _POSIX_SYNCHRONIZED_IO when they are defined
32509         * sysdeps/mach/hurd/bits/posix_opt.h:
32510         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32511         (_XOPEN_REALTIME): Undefine macro.
32512         (_XOPEN_REALTIME_THREADS): Undefine macro.
32513         (_XOPEN_SHM): Undefine macro.
32514         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32515         macro to -1.
32516         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32517         macro to -1.
32518         (_POSIX_ASYNC_IO): Undefine macro.
32519         (_POSIX_PRIORITIZED_IO): Undefine macro.
32520         (_POSIX_SPIN_LOCKS): Define macro to -1.
32522         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32523         SA_NODEFER, SA_RESETHAND.
32524         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32525         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32526         F_DUPFD_CLOEXEC.
32528 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32530         * elf/Makefile (pldd-modules): Define unconditionally.
32532 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32534         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32536 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32538         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32539         Return ENOENT when name is empty.
32540         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32544         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32546         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32548 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32550         Fix mlock in all cases except non-readable pages.
32551         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32552         instead of VM_PROT_ALL as parameter to __vm_wire function.
32554         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32555         (__mkdir): When path is `/', just fail with EEXIST.
32556         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32558 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32560         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32561         <sys/uio.h> (for writev).
32562         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32563         and <sys/param.h> (for MIN).
32565 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32567         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32568         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32569         if interrupted.
32571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32573         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32574         Depend on against $(link-rpcuserlibs).
32576 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32578         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32579         (__libc_stack_end): Do not use attribute_relro.
32580         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32581         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32582         to libthread-provided value.
32583         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32584         attribute_relro.
32586 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32588         [BZ #3748]
32589         * bits/libc-lock.h (__libc_once_get): New macro.
32590         * sysdeps/mach/bits/libc-lock.h: Likewise.
32591         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32592         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32593         instead of using implementation details.
32595         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32596         * libio/freopen.c: Likewise.
32597         * libio/freopen64.c: Likewise.
32598         * misc/syslog.c: Likewise.
32599         * nscd/connections.c: Likewise.
32600         * nscd/netgroupcache.c: Likewise.
32601         * sysdeps/posix/getcwd.c: Likewise.
32603 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32605         * math/w_ilogbf.c: Add #include <limits.h>.
32607 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32609         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32610         path instead of returning without unlocking.
32612         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32613         immediate-write ioctls.
32614         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32616 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32618         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32619         __builtin_frame_address instead of making assumptions about the
32620         location of the return address relative to DATA.  Force early load of
32621         the return address.
32622         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32623         __builtin_frame_address.
32625         dup3 for GNU Hurd.
32626         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32627         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32628         implement dup3 and do some further code clean-ups.
32629         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32630         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32634         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32636         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32637         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32638         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32639         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32640         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32641         d->port.lock.
32643         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32644         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32645         when handler == SIG_ERR, not when handler != SIG_ERR.
32647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32649         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32650         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32651         definitions.
32653         accept4 for GNU Hurd.
32654         * include/sys/socket.h (__libc_accept4): New prototype.
32655         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32656         to implement __libc_accept4.
32657         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32658         __libc_accept4.
32659         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32661         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32662         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32663         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32664         signal-defines.sym.
32666 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32668         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32670 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32672         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32673         assertion on O_CLOEXEC flag.
32674         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32675         * hurd/intern-fd.c: Likewise.
32676         * hurd/port2fd.c: Likewise.
32678 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32680         [BZ #3906]
32681         * bits/in.h (IPV6_PKTINFO): Define new macro.
32682         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32684 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32686         [BZ #13954]
32687         [BZ #13955]
32688         [BZ #13956]
32689         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32690         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32691         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32692         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32694         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32695         * math/libm-test.inc (logb_test) : Additional logb tests.
32697 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32698             Andreas Jaeger  <aj@suse.de>
32700         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32701         * configure: Regenerated.
32702         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32703         * config.make.in (link-obsolete-rpc): New substituted variable.
32704         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32705         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32706         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32707         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32708         so that libc.a contains the symbols.
32709         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32710         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32711         * sunrpc/auth_none.c: Likewise.
32712         * sunrpc/auth_unix.c: Likewise.
32713         * sunrpc/authdes_prot.c: Likewise.
32714         * sunrpc/authuxprot.c: Likewise.
32715         * sunrpc/clnt_gen.c: Likewise.
32716         * sunrpc/clnt_perr.c: Likewise.
32717         * sunrpc/clnt_raw.c: Likewise.
32718         * sunrpc/clnt_simp.c: Likewise.
32719         * sunrpc/clnt_tcp.c: Likewise.
32720         * sunrpc/clnt_udp.c: Likewise.
32721         * sunrpc/clnt_unix.c: Likewise.
32722         * sunrpc/des_crypt.c: Likewise.
32723         * sunrpc/des_soft.c: Likewise.
32724         * sunrpc/get_myaddr.c: Likewise.
32725         * sunrpc/key_call.c: Likewise.
32726         * sunrpc/key_prot.c: Likewise.
32727         * sunrpc/netname.c: Likewise.
32728         * sunrpc/pm_getmaps.c: Likewise.
32729         * sunrpc/pm_getport.c: Likewise.
32730         * sunrpc/pmap_clnt.c: Likewise.
32731         * sunrpc/pmap_prot.c: Likewise.
32732         * sunrpc/pmap_prot2.c: Likewise.
32733         * sunrpc/pmap_rmt.c: Likewise.
32734         * sunrpc/publickey.c: Likewise.
32735         * sunrpc/rpc_cmsg.c: Likewise.
32736         * sunrpc/rpc_common.c: Likewise.
32737         * sunrpc/rpc_dtable.c: Likewise.
32738         * sunrpc/rpc_prot.c: Likewise.
32739         * sunrpc/rpc_thread.c: Likewise.
32740         * sunrpc/rtime.c: Likewise.
32741         * sunrpc/svc.c: Likewise.
32742         * sunrpc/svc_auth.c: Likewise.
32743         * sunrpc/svc_raw.c: Likewise.
32744         * sunrpc/svc_run.c: Likewise.
32745         * sunrpc/svc_tcp.c: Likewise.
32746         * sunrpc/svc_udp.c: Likewise.
32747         * sunrpc/svc_unix.c: Likewise.
32748         * sunrpc/svcauth_des.c: Likewise.
32749         * sunrpc/xcrypt.c: Likewise.
32750         * sunrpc/xdr.c: Likewise.
32751         * sunrpc/xdr_array.c: Likewise.
32752         * sunrpc/xdr_float.c: Likewise.
32753         * sunrpc/xdr_intXX_t.c: Likewise.
32754         * sunrpc/xdr_mem.c: Likewise.
32755         * sunrpc/xdr_rec.c: Likewise.
32756         * sunrpc/xdr_ref.c: Likewise.
32757         * sunrpc/xdr_sizeof.c: Likewise.
32758         * sunrpc/xdr_stdio.c: Likewise.
32760 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32763         change.  Update copyright years.
32765 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32767         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32769 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32770             Joseph Myers  <joseph@codesourcery.com>
32771             Paul Pluzhnikov  <ppluzhnikov@google.com>
32773         [BZ #14012]
32774         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32775         requiring rpcgen.
32776         [cross-compiling] (extra-libs): Likewise.
32777         [cross-compiling] (extra-libs-others): Likewise.
32778         [cross-compiling] (librpcsvc-routines): Likewise.
32779         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32780         [cross-compiling] (omit-deps): Likewise.
32781         (sunrpc-CPPFLAGS): New variable.
32782         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32783         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32784         (cross-rpcgen-objs): New variable.
32785         (extra-objs): Append $(cross-rpcgen-objs).
32786         ($(cross-rpcgen-objs)): New rule.
32787         ($(objpfx)cross-rpcgen): Likewise.
32788         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32789         comment.
32790         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32791         ($(objpfx)x%.stmp): Likewise.
32792         * sunrpc/proto.h [IS_IN_build] (_): Define.
32793         [IS_IN_build] (_libc_intl_domainname): Likewise.
32795 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32797         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32798         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32799         and R_X86_64_TPOFF64.
32801 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32803         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32804         sysdeps/unix/sysv/syscalls.list.
32805         (stime): Likewise.
32806         (utime): Likewise.
32807         * sysdeps/unix/sysv/syscalls.list: Remove file.
32809 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32811         [BZ #3440]
32812         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32813         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32814         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32815         (__LC_IDENTIFICATION): Make these macros useful in #if
32816         expressions, as required by C99.
32818 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32820         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32821         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32822         after this.
32824 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32826         * stdlib/longlong.h: Updated from GCC.
32828 2012-05-09  Andreas Jaeger  <aj@suse.de>
32830         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32831         default is first entry.
32832         (run_mode): Set type.
32833         (main): Remove informal message about syslog.
32834         (options): Fix typo.
32836         [BZ #14053]
32837         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32838         to asm.
32839         (lrint): Likewise.
32840         (llrintf): Likewise.
32841         (llrint): Likewise.
32842         (rint): Likewise.
32843         (rintf): Likewise.
32844         (nearbyint): Likewise.
32845         (nearbyintf): Likewise.
32847 2012-05-09  Andreas Jaeger  <aj@suse.de>
32848             Pedro Alves  <palves@redhat.com>
32850         * nscd/nscd.c (run_mode): Use enum.
32851         (main): Cleanup coding style issue.
32853 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32854             Andreas Jaeger  <aj@suse.de>
32856         * nscd/nscd.c (go_background): Replaced with...
32857         (run_mode): ... this.
32858         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32859         (options): Add -F --foreground.
32860         (main): Implement it.
32861         (parse_opt): Parse it.
32863 2012-05-09  Andreas Jaeger  <aj@suse.de>
32865         [BZ #14083]
32866         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32867         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32868         -Wconversion warning.
32869         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32870         Likewise.
32872 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32874         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32875         == 0.
32876         (LC_ALL): Use macro-int-constant.
32877         (LC_COLLATE): Likewise.
32878         (LC_CTYPE): Likewise.
32879         (LC_MESSAGES): Likewise.
32880         (LC_MONETARY): Likewise.
32881         (LC_NUMERIC): Likewise.
32882         (LC_TIME): Likewise.
32883         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32884         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32885         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32886         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32887         Specify type.
32888         [C99-based standards] (float_t): Expect type.
32889         [C99-based standards] (double_t): Expect type.
32890         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32891         type.
32892         [C99-based standards] (HUGE_VALL): Likewise.
32893         [C99-based standards] (INFINITY): Likewise.
32894         [C99-based standards] (NAN): Likewise.
32895         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32896         [C99-based standards] (FP_NAN): Likewise.
32897         [C99-based standards] (FP_NORMAL): Likewise.
32898         [C99-based standards] (FP_SUBNORMAL): Likewise.
32899         [C99-based standards] (FP_ZERO): Likewise.
32900         [C99-based standards] (FP_FAST_FMA): Use
32901         optional-macro-int-constant.  Specify type.  Require == 1.
32902         [C99-based standards] (FP_FAST_FMAF): Likewise.
32903         [C99-based standards] (FP_FAST_FMAL): Likewise.
32904         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32905         [C99-based standards] (FP_ILOGBNAN): Likewise.
32906         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32907         Specify type.
32908         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32909         [C99-based standards] (math_errhandling): Specify type.
32910         [ISO99 || ISO11] (signgam): Do not allow.
32911         [non-C99-based standards] (copysignf): Do not allow.
32912         [non-C99-based standards] (exp2f): Likewise.
32913         [non-C99-based standards] (log2f): Likewise.
32914         [non-C99-based standards] (modff): Allow.
32915         [non-C99-based standards] (erff): Do not allow.
32916         [non-C99-based standards] (erfcf): Likewise.
32917         [non-C99-based standards] (gammaf): Likewise.
32918         [non-C99-based standards] (hypotf): Likewise.
32919         [non-C99-based standards] (j0f): Likewise.
32920         [non-C99-based standards] (j1f): Likewise.
32921         [non-C99-based standards] (jnf): Likewise.
32922         [non-C99-based standards] (lgammaf): Likewise.
32923         [non-C99-based standards] (tgammaf): Likewise.
32924         [non-C99-based standards] (y0f): Likewise.
32925         [non-C99-based standards] (y1f): Likewise.
32926         [non-C99-based standards] (ynf): Likewise.
32927         [non-C99-based standards] (isnanf): Likewise.
32928         [non-C99-based standards] (acoshf): Likewise.
32929         [non-C99-based standards] (asinhf): Likewise.
32930         [non-C99-based standards] (atanhf): Likewise.
32931         [non-C99-based standards] (cbrtf): Likewise.
32932         [non-C99-based standards] (expm1f): Likewise.
32933         [non-C99-based standards] (ilogbf): Likewise.
32934         [non-C99-based standards] (log1pf): Likewise.
32935         [non-C99-based standards] (logbf): Likewise.
32936         [non-C99-based standards] (nextafterf): Likewise.
32937         [non-C99-based standards] (remainderf): Likewise.
32938         [non-C99-based standards] (rintf): Likewise.
32939         [non-C99-based standards] (scalbf): Likewise.
32940         [non-C99-based standards] (copysignl): Likewise.
32941         [non-C99-based standards] (exp2l): Likewise.
32942         [non-C99-based standards] (log2l): Likewise.
32943         [non-C99-based standards] (modfl): Allow.
32944         [non-C99-based standards] (erfl): Do not allow.
32945         [non-C99-based standards] (erfcl): Likewise.
32946         [non-C99-based standards] (gammal): Likewise.
32947         [non-C99-based standards] (hypotl): Likewise.
32948         [non-C99-based standards] (j0l): Likewise.
32949         [non-C99-based standards] (j1l): Likewise.
32950         [non-C99-based standards] (jnl): Likewise.
32951         [non-C99-based standards] (lgammal): Likewise.
32952         [non-C99-based standards] (tgammal): Likewise.
32953         [non-C99-based standards] (y0l): Likewise.
32954         [non-C99-based standards] (y1l): Likewise.
32955         [non-C99-based standards] (ynl): Likewise.
32956         [non-C99-based standards] (isnanl): Likewise.
32957         [non-C99-based standards] (acoshl): Likewise.
32958         [non-C99-based standards] (asinhl): Likewise.
32959         [non-C99-based standards] (atanhl): Likewise.
32960         [non-C99-based standards] (cbrtl): Likewise.
32961         [non-C99-based standards] (expm1l): Likewise.
32962         [non-C99-based standards] (ilogbl): Likewise.
32963         [non-C99-based standards] (log1pl): Likewise.
32964         [non-C99-based standards] (logbl): Likewise.
32965         [non-C99-based standards] (nextafterl): Likewise.
32966         [non-C99-based standards] (remainderl): Likewise.
32967         [non-C99-based standards] (rintl): Likewise.
32968         [non-C99-based standards] (scalbl): Likewise.
32969         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32970         [non-C99-based standards] (FP_*): Do not allow.
32971         [C99-based standards] (FP_*): Change to
32972         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32973         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32974         allow.
32975         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32976         (SIG_ERR): Likewise.
32977         [X/Open-based standards] (SIG_HOLD): Likewise.
32978         (SIG_IGN): Likewise.
32979         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32980         positive value.
32981         (SIGFPE): Likewise.
32982         (SIGILL): Likewise.
32983         (SIGINT): Likewise.
32984         (SIGSEGV): Likewise.
32985         (SIGTER): Likewise.
32986         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32987         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32988         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32989         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32990         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32991         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32992         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32993         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32994         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32995         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32996         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32997         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32998         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32999         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33000         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33001         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33002         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33003         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33004         [X/Open-based standards] (SIGTRAP): Likewise.
33005         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33006         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33007         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33008         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33009         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33010         allow.
33012 2012-05-08  Ian Wienand  <ianw@vmware.com>
33014         [BZ #14080]
33015         * time/tzset.c (__tzset_parse_tz): Update default rules for
33016         daylight time changes in the Energy Policy Act of 2005.
33018 2012-05-09  Andreas Jaeger  <aj@suse.de>
33020         [BZ #13983]
33021         * elf/ldconfig.c (parse_conf): Change string to make clear that
33022         ldconfig only issued a warning if ld.so.conf does not exist.
33024 2012-05-08  David S. Miller  <davem@davemloft.net>
33026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33027         movxtod instead of popping the value on the stack.
33029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33031 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33033         * config.h.in: Add HAVE_ARM_PCS_VFP.
33035 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33037         [BZ #13979]
33038         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33039         checking but the checks are disabled for any reason.
33041 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33043         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33044         and ELF64_R_TYPE with ELFW(R_TYPE).
33046 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33048         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33049         (ulimit): Likewise.
33051         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33052         (settimeofday): Likewise.
33054 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33056         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33057         a struct th_u2 inside the union, and move tu_block/tu_code into
33058         a new th_u3 union of tu_block/tu_code inside of that.  Move
33059         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33060         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33061         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33062         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33063         (th_stuff): Change to th_u1.tu_stuff.
33064         (th_data): Define.
33065         (th_msg): Change to th_u1.th_u2.tu_data.
33067 2012-05-07  David S. Miller  <davem@davemloft.net>
33069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33071         [BZ #14074]
33072         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33073         (SETUP_PIC_REG): Use it.
33074         (SETUP_PIC_REG_LEAF): Use it.
33076 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33078         [BZ #13885]
33079         [BZ #13923]
33080         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33081         USE_AS_EXPM1L.
33082         (EXPL_FINITE): Likewise.
33083         (FLDLOG): Likewise.
33084         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33085         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33086         e_expl.S.
33087         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33088         USE_AS_EXPM1L.
33089         (EXPL_FINITE): Likewise.
33090         (FLDLOG): Likewise.
33091         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33092         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33093         e_expl.S.
33094         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33095         test of -max_value argument for long double.
33096         * sysdeps/i386/fpu/libm-test-ulps: Update.
33097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33099 2012-05-06  David S. Miller  <davem@davemloft.net>
33101         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33102         quad soft-float symbols whose references which are compiler
33103         generated.
33104         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33106 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33108         [BZ #13884]
33109         [BZ #13914]
33110         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33111         USE_AS_EXP10L.
33112         (EXPL_FINITE): Likewise.
33113         (FLDLOG): Likewise.
33114         (c0): Likewise.
33115         (c1): Likewise.
33116         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33117         Adjust comments for base varying.
33118         (__expl_finite): Change alias to EXPL_FINITE.
33119         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33120         e_expl.S.
33121         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33122         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33123         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33124         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33125         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33126         USE_AS_EXP10L.
33127         (EXPL_FINITE): Likewise.
33128         (FLDLOG): Likewise.
33129         (c0): Likewise.
33130         (c1): Likewise.
33131         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33132         Adjust comments for base varying.
33133         (__expl_finite): Change alias to EXPL_FINITE.
33134         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33135         tests for bugs.
33136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33138         [BZ #14064]
33139         * math/libm-test.inc (check_float_internal): Correct ulp
33140         calculation for subnormal expected results.
33142 2012-05-06  Andreas Jaeger  <aj@suse.de>
33144         * Makeconfig (+math-flags): New, set to -frounding-math.
33145         (+cflags): Add +math-flags so that all of glibc gets compiled with
33146         it.
33148         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33150 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33152         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33153         Disable one test.
33155         [BZ #13787]
33156         [BZ #13922]
33157         [BZ #14036]
33158         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33159         (__ieee754_expl): Allow for and saturate large arguments.
33160         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33161         (u_threshold): Likewise.
33162         (__exp): Call __ieee754_exp before checking for overflow and
33163         underflow.
33164         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33165         (u_threshold): Likewise.
33166         (__expf): Call __ieee754_expf before checking for overflow and
33167         underflow.
33168         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33169         (u_threshold): Likewise.
33170         (__expl): Call __ieee754_expl before checking for overflow and
33171         underflow.
33172         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33173         (__ieee754_expl): Allow for and saturate large arguments.
33174         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33175         missing overflow exception on overflow.
33176         (expm1_test): Do not allow missing overflow exception on overflow.
33178         * sysdeps/i386/fpu/e_expl.c: Move to ...
33179         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33180         rather than using inline asm.
33181         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33182         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33183         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33185         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33186         (nice): Likewise.
33187         (poll): Likewise.
33188         (signal): Likewise.
33189         (time): Likewise.
33190         (times): Likewise.
33192 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33194         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33195         sysdeps/unix/common/syscalls.list.
33196         (fchmod): Likewise.
33197         (fchown): Likewise.
33198         (ftruncate): Likewise.
33199         (getrusage): Likewise.
33200         (gettimeofday): Likewise.
33201         (setpgid): Likewise.
33202         (setregid): Likewise.
33203         (setreuid): Likewise.
33204         (sigaction): Likewise.
33205         (truncate): Likewise.
33206         (vhangup): Likewise.
33207         * sysdeps/unix/common/syscalls.list: Remove file.
33208         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33209         * sysdeps/unix/sysv/linux/Implies: Likewise.
33211 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33213         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33215         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33216         Moved to ...
33217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33218         Here.
33219         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33220         to ...
33221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33222         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33223         to ...
33224         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33225         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33226         to ...
33227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33228         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33229         to ...
33230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33231         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33232         to ...
33233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33234         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33235         to ...
33236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33237         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33238         to ...
33239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33240         Here.
33241         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33242         to ...
33243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33244         Here.
33245         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33246         to ...
33247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33248         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33249         Moved to ...
33250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33251         Here.
33252         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33253         to ...
33254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33256 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33258         * sysdeps/unix/common/bits/dirent.h: Remove file.
33259         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33261         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33262         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33263         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33264         * sysdeps/unix/bsd/isatty.c: Likewise.
33265         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33266         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33267         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33269 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33271         [BZ #13563]
33272         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33273         long double comparison inaccuracies.
33274         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33277 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33279         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33280         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33282 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33284         [BZ #14049]
33285         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33286         nonzero digits before rounding a hex value.
33287         * stdlib/tst-strtod.c (tests): Add another test.
33289 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33291         * sysdeps/s390/fpu/libm-test-ulps: Update.
33293 2012-05-03  Andreas Jaeger  <aj@suse.de>
33295         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33296         does not get optimized out.
33297         (malloc_opt_barrier): New.
33299 2012-05-03  Andreas Jaeger  <aj@suse.de>
33300             Roland McGrath  <roland@hack.frob.com>
33302         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33303         intermediate file deletion.
33304         (generated): Add .symlist files.
33306 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33308         [BZ #13775]
33309         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33310         Redirect under this condition.
33311         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33312         [__USE_GNU] (__dprintf_chk): Not under this condition.
33313         [__USE_GNU] (__vdprintf_chk): Likewise.
33314         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33315         under this condition.
33316         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33317         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33318         [__USE_XOPEN2K8] (vdprintf): Likewise.
33319         [__USE_GNU] (__dprintf_chk): Not under this condition.
33320         [__USE_GNU] (__vdprintf_chk): Likewise.
33321         [__USE_GNU] (dprintf): Likewise.
33322         [__USE_GNU] (vdprintf): Likewise.
33324 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33326         * elf/Makefile (common-generated): Set this instead of generated for
33327         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33328         $(all-built-dso)-derived lists.
33330 2012-05-03  Andreas Jaeger  <aj@suse.de>
33332         * sysdeps/i386/fpu/libm-test-ulps: Update.
33334         * FAQ: Removed.
33335         * FAQ.in: Likewise.
33336         * scripts/gen-FAQ.pl: Likewise.
33337         * manual/install.texi (Installation): Point to online location of
33338         FAQ.
33339         * Makefile (files-for-dist): Remove FAQ.
33340         (FAQ): Remove.
33342 2012-05-02  Allan McRae  <allan@archlinux.org>
33344         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33345         (LDFLAGS-reldepmod5.so): Likewise.
33346         (LDFLAGS-reldep6mod1.so): Likewise.
33347         (LDFLAGS-reldep6mod4.so): Likewise.
33348         (LDFLAGS-reldep8mod3.so): Likewise.
33349         (LDFLAGS-unload4mod1.so): Likewise.
33350         (LDFLAGS-unload4mod2.so): Likewise.
33351         (LDFLAGS-tst-initorder): Likewise.
33352         (LDFLAGS-tst-initordera2.so): Likewise.
33353         (LDFLAGS-tst-initordera3.so): Likewise.
33354         (LDFLAGS-tst-initordera4.so): Likewise.
33355         (LDFLAGS-tst-initorderb2.so): Likewise.
33356         (LDFLAGS-noload): Likewise.
33357         (LDFLAGS-next): Likewise.
33358         (LDFLAGS-order2mod1.so): Likewise.
33359         (LDFLAGS-order2mod2.so): Likewise.
33360         (LDFLAGS-tst-initorder2): Likewise.
33361         (LDFLAGS-tst-initorder2a.so): Likewise.
33362         (LDFLAGS-tst-initorder2b.so): Likewise.
33363         (LDFLAGS-tst-initorder2c.so): Likewise.
33364         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33366 2012-05-02  David S. Miller  <davem@davemloft.net>
33368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33370 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33372         [BZ #14055]
33373         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33375 2012-05-02  Andreas Jaeger  <aj@suse.de>
33377         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33378         since we manipulate rounding mode.
33379         (CPPFLAGS-test-idouble.c): Likewise.
33380         (CPPFLAGS-test-ifloat.c): Likewise.
33381         (CFLAGS-test-ldouble.c): Likewise.
33382         (CFLAGS-test-double.c): Likewise.
33383         (CFLAGS-test-float.c): Likewise.
33384         (CFLAGS-test-misc.c): Likewise.
33385         (CFLAGS-test-test-fenv.c): Likewise.
33387 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33389         [BZ #2550]
33390         [BZ #2570]
33391         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33392         comparisons to determine direction to adjust input.
33394 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33396         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33397         output to the target.
33399         * scripts/localplt.awk: New file.
33400         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33401         (check-localplt-CFLAGS): Variable removed.
33402         ($(all-built-dso:=.jmprel)): New static pattern rule.
33403         (generated): Add those targets.
33404         (localplt-built-dso): New variable.
33405         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33407         * elf/check-localplt.c: File removed.
33409         * scripts/check-execstack.awk: New file.
33410         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33411         (check-execstack-CFLAGS): Variable removed.
33412         ($(objpfx)check-execstack.h): Target removed.
33413         ($(objpfx)execstack-default): New target.
33414         (generated): Add that instead of check-execstack.h.
33415         ($(all-built-dso:=.phdr)): New static pattern rule.
33416         (generated): Add those targets.
33417         * elf/check-execstack.c: File removed.
33419         * scripts/check-textrel.awk: New file.
33420         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33421         (check-textrel-CFLAGS): Variable removed.
33422         (all-built-dso): Use := to define.o
33423         ($(all-built-dso:=.dyn)): New static pattern rule.
33424         (generated): Add those targets.
33425         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33426         * config.make.in (READELF): New substituted variable.
33427         * elf/check-textrel.c: File removed.
33429 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33431         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33432         allow.
33433         * conform/data/ctype.h-data [C99-based standards] (isblank):
33434         Expect function.
33435         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33436         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33437         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33438         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33439         Specify type.  Require positive value.
33440         (EILSEQ): Likewise.
33441         (ERANGE): Likewise.
33442         [ISO || POSIX] (EILSEQ): Do not expect.
33443         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33444         Specify type.  Require positive value.
33445         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33446         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33447         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33448         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33449         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33450         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33451         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33452         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33453         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33454         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33455         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33456         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33457         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33458         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33459         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33460         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33461         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33462         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33463         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33464         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33465         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33466         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33467         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33468         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33469         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33470         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33471         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33472         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33473         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33474         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33475         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33476         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33477         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33478         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33479         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33480         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33481         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33482         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33483         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33484         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33485         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33486         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33487         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33488         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33489         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33490         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33491         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33492         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33493         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33494         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33495         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33496         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33497         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33498         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33499         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33500         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33501         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33502         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33503         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33504         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33505         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33506         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33507         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33508         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33509         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33510         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33511         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33512         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33513         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33514         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33515         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33516         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33517         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33518         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33519         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33520         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33521         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33522         Require >= 2.
33523         (FLT_ROUNDS): Expect as macro, not constant.
33524         (FLT_MANT_DIG): Use macro-int-constant.
33525         (DBL_MANT_DIG): Likewise.
33526         (LDBL_MANT_DIG): Likewise.
33527         (FLT_DIG): Likewise.
33528         (DBL_DIG): Likewise.
33529         (LDBL_DIG): Likewise.
33530         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33531         (DBL_MIN_EXP): Likewise.
33532         (LDBL_MIN_EXP): Likewise.
33533         (FLT_MAX_EXP): Use macro-int-constant.
33534         (DBL_MAX_EXP): Likewise.
33535         (LDBL_MAX_EXP): Likewise.
33536         (FLT_MAX_10_EXP): Likewise.
33537         (DBL_MAX_10_EXP): Likewise.
33538         (LDBL_MAX_10_EXP): Likewise.
33539         (FLT_MAX): Use macro-constant.
33540         (DBL_MAX): Likewise.
33541         (LDBL_MAX): Likewise.
33542         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33543         (DBL_EPSILON): Likewise.
33544         (LDBL_EPSILON): Likewise.
33545         (FLT_MIN): Likewise.
33546         (DBL_MIN): Likewise.
33547         (LDBL_MIN): Likewise.
33548         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33549         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33550         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33551         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33552         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33553         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33554         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33555         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33556         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33557         [ISO11] (FLT_TRUE_MIN): Likewise.
33558         [ISO11] (LDBL_TRUE_MIN): Likewise.
33559         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33560         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33561         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33562         (SCHAR_MAX): Likewise.
33563         (UCHAR_MAX): Likewise.
33564         (CHAR_MIN): Likewise.
33565         (CHAR_MAX): Likewise.
33566         (MB_LEN_MAX): Use macro-int-constant.
33567         (SHRT_MIN): Use macro-int-constant.  Specify type.
33568         (SHRT_MAX): Likewise.
33569         (USHRT_MAX): Likewise.
33570         (INT_MAX): Likewise.
33571         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33572         bound negative.
33573         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33574         bound with "U".
33575         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33576         bound with "L".
33577         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33578         bound negative.  Suffix upper bound with "L".
33579         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33580         bound with "UL".
33581         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33582         Specify type.
33583         [C99-based standards] (LLONG_MAX): Likewise.
33584         [C99-based standards] (ULLONG_MAX): Likewise.
33585         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33586         == 0.
33587         [ISO11] (max_align_t): Require type.
33588         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33590         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33591         from $CFLAGS, without defining away __attribute__ calls.
33592         (checknamespace): Use $CFLAGS_namespace.
33594         * conform/conformtest.pl (@keywords): Only include C99 keywords
33595         for standards based on C99 or C11.
33597         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33598         Disable tests.
33599         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33600         UNIX98]: Likewise.
33602         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33603         usability of symbols in #if.
33605         * conform/conformtest.pl: If macro or constant types start
33606         "promoted:", expect the symbol to be of the following type
33607         promoted by the integer promotions.
33609         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33610         in one place.  Also handle "macro-constant".
33612         * conform/conformtest.pl: Only accept expected macro values with
33613         "==".  Parse all "macro" lines in one place.
33614         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33616         * conform/conformtest.pl: Handle braced types on "constant" lines
33617         instead of handling "typed-constant".
33618         * conform/data/signal.h-data: Use "constant" instead of
33619         "typed-constant".
33621         * conform/conformtest.pl: Handle "optional-" at start of lines in
33622         one place rather than duplicating several cases.  Handle each
33623         format of "macro" line with initial "optional-".
33625         * conform/conformtest.pl: Only accept expected constant or
33626         optional-constant values with "==".  Parse all "constant" lines in
33627         one place.  Parse all "optional-constant" lines in one place.
33628         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33629         * conform/data/fmtmsg.h-data: Likewise.
33630         * conform/data/netinet/in.h-data: Likewise.
33631         * conform/data/tar.h-data: Likewise.
33632         * conform/data/limits.h-data: Use "==" form on "constant" and
33633         "optional-constant" lines.
33635         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33636         Use -std=c99 for XOPEN2K.
33637         (@knownproblems): Remove.
33638         (newtoken): Don't check %isknown.
33640         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33641         Do not expect macro.
33642         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33643         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33644         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33645         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33646         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33647         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33648         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33649         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33650         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33651         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33652         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33653         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33654         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33655         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33656         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33657         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33658         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33659         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33660         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33661         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33662         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33663         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33664         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33665         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33666         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33667         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33668         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33669         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33670         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33671         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33672         [XPG3] (acosh): Likewise.
33673         [XPG3] (asinh): Likewise.
33674         [XPG3] (atanh): Likewise.
33675         [XPG3] (cbrt): Likewise.
33676         [XPG3] (expm1): Likewise.
33677         [XPG3] (ilogb): Likewise.
33678         [XPG3] (log1p): Likewise.
33679         [XPG3] (logb): Likewise.
33680         [XPG3] (nextafter): Likewise.
33681         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33682         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33683         [XPG3] (remainder): Likewise.
33684         [XPG3] (rint): Likewise.
33685         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33686         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33687         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33688         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33689         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33690         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33691         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33692         [UNIX98 || XOPEN2K] (scalb): Expect.
33693         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33694         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33695         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33696         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33697         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33698         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33699         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33700         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33701         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33702         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33703         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33704         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33705         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33706         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33707         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33708         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33709         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33710         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33711         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33712         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33713         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33714         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33715         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33716         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33717         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33718         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33719         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33720         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33721         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33722         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33723         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33724         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33725         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33726         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33727         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33728         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33729         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33730         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33731         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33732         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33733         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33734         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33735         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33736         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33737         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33738         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33739         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33740         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33741         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33742         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33743         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33744         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33745         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33746         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33747         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33748         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33749         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33750         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33751         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33752         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33753         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33754         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33755         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33756         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33757         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33758         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33759         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33760         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33761         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33762         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33763         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33764         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33765         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33766         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33767         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33768         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33769         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33770         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33771         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33772         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33773         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33776         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33777         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33778         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33782         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33783         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33788         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33789         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33791         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33792         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33793         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33831         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33832         _XOPEN_SOURCE_EXTENDED for XPG4.
33834         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33836         * Makeconfig (localtime): Remove variable.
33837         (inst_localtime-file): Likewise.
33839 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33842         Update.
33843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33844         Update.
33845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33846         Update.
33847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33848         Update.
33849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33850         Update.
33851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33852         Update.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33854         Update.
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33856         Update.
33857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33858         Update.
33860 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33862         [BZ #2550]
33863         [BZ #2570]
33864         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33865         comparisons to determine direction to adjust input.
33866         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33867         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33868         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33869         Likewise.
33870         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33871         Likewise.
33872         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33873         Likewise.
33874         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33875         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33876         Likewise.
33877         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33878         Likewise.
33879         * math/libm-test.inc (nexttoward_test): Add more tests.
33881 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33883         [BZ #14040]
33884         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33885         in version GLIBC_2.1, not GLIBC_2.0.
33886         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33887         Likewise.
33889 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33891         [BZ #13942]
33892         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33893         (1 - x) * (1 + x).
33894         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33895         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33896         * math/libm-test.inc (acos_test): Add more tests.
33897         (asin_test): Likewise.
33898         * sysdeps/i386/fpu/libm-test-ulps: Update.
33899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33901         [BZ #14034]
33902         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33903         of square root.
33904         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33905         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33906         * math/libm-test.inc (acos_test_tonearest): New function.
33907         (acos_test_towardzero): Likewise.
33908         (acos_test_downward): Likewise.
33909         (acos_test_upward): Likewise.
33910         (asin_test_tonearest): Likewise.
33911         (asin_test_towardzero): Likewise.
33912         (asin_test_downward): Likewise.
33913         (asin_test_upward): Likewise.
33914         (main): Call the new functions.
33915         * sysdeps/i386/fpu/libm-test-ulps: Update.
33916         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33918         [BZ #13884]
33919         [BZ #13924]
33920         * math/e_exp10.c: Include <float.h>.
33921         (__ieee754_exp10): Handle underflow here rather than multiplying
33922         large negative argument by M_LN10.
33923         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33924         of __ieee754_expf.
33925         * math/e_exp10l.c: Include <float.h>.
33926         (__ieee754_exp10l): Handle underflow here rather than multiplying
33927         large negative argument by M_LN10l.
33928         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33929         spurious overflow exception on underflow.
33931 2012-04-29  Marek Polacek  <polacek@redhat.com>
33933         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33934         (__fortify_function): New macro.
33935         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33936         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33937         __extern_always_inline.
33938         * libio/bits/stdio2.h: Likewise.
33939         * libio/bits/stdio.h: Likewise.
33940         * string/string.h: Likewise.
33941         * string/bits/string3.h: Likewise.
33942         * include/stdio.h: Likewise.
33943         * stdlib/bits/stdlib.h: Likewise.
33944         * stdlib/stdlib.h: Likewise.
33945         * rt/bits/mqueue2.h: Likewise.
33946         * rt/mqueue.h: Likewise.
33947         * posix/bits/unistd.h: Likewise.
33948         * posix/unistd.h: Likewise.
33949         * io/bits/poll2.h: Likewise.
33950         * io/bits/fcntl2.h: Likewise.
33951         * io/fcntl.h: Likewise.
33952         * io/sys/poll.h: Likewise.
33953         * misc/bits/syslog.h: Likewise.
33954         * misc/bits/syslog-ldbl.h: Likewise.
33955         * misc/sys/syslog.h: Likewise.
33956         * socket/bits/socket2.h: Likewise.
33957         * socket/sys/socket.h: Likewise.
33958         * debug/tst-chk1.c: Likewise.
33959         * wcsmbs/bits/wchar2.h: Likewise.
33960         * wcsmbs/bits/wchar-ldbl.h: Likewise.
33961         * wcsmbs/wchar.h: Likewise.
33963 2012-04-29  Andreas Jaeger  <aj@suse.de>
33965         * Makerules (tests): Remove enable-check-abi protection.
33966         (check-abi-warn): Remove.
33967         (check-abi-%): Remove check-abi-warn usage.
33969         * configure.in: Remove check-abi configure option.
33970         * configure: Regenerated.
33971         * config.make.in (enable-check-abi): Remove.
33973 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
33975         [BZ #14033]
33976         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33977         double functions to double *_finite functions.
33979         [BZ #13941]
33980         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33981         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33982         LDBL_MIN_EXP.
33983         * stdio-common/Makefile (tests): Add tst-sprintf3.
33984         * stdio-common/tst-sprintf3.c: New file.
33986         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33987         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33989 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33991         * conform/conformtest.pl: Remove duplicate typed-constant
33992         handling.
33994 2012-04-28  David S. Miller  <davem@davemloft.net>
33996         * Makerules (%.abilist): Add vpath on sysdep_dirs.
33997         (check-abi-%): Remove AWK script prerequisite and explicit
33998         abilist directory.
33999         (check-abi): Rewrite to just diff the symlist with the abilist.
34000         (config-tls, config-abi-config): Delete, no longer used.
34001         (update-abi-%): Remove AWK script and explicit abilist directory.
34002         (update-abi): Rewrite to simply compare and conditionally copy the
34003         symlist and the sysdep abilist file.  Remove update-abi-config
34004         checks.
34005         * abilist/ld.abilist: Remove.
34006         * abilist/libBrokenLocale.abilist: Remove.
34007         * abilist/libanl.abilist: Remove.
34008         * abilist/libcrypt.abilist: Remove.
34009         * abilist/libdl.abilist: Remove.
34010         * abilist/librt.abilist: Remove.
34011         * abilist/libthread_db.abilist: Remove.
34012         * abilist/libutil.abilist: Remove.
34013         * scripts/extract-abilist.awk: Remove.
34014         * scripts/merge-abilist.awk: Remove.
34015         * sysdeps/generic/libcidn.abilist: New file.
34016         * sysdeps/generic/libnss_compat.abilist: New file.
34017         * sysdeps/generic/libnss_db.abilist: New file.
34018         * sysdeps/generic/libnss_dns.abilist: New file.
34019         * sysdeps/generic/libnss_files.abilist: New file.
34020         * sysdeps/generic/libnss_hesiod.abilist: New file.
34021         * sysdeps/generic/libnss_nis.abilist: New file.
34022         * sysdeps/generic/libnss_nisplus.abilist: New file.
34023         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34024         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34025         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34026         file.
34027         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34028         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34029         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34030         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34031         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34032         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34033         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34034         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34035         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34036         file.
34037         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34038         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34039         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34040         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34041         file.
34042         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34043         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34044         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34045         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34046         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34047         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34048         file.
34049         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34050         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34051         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34052         file.
34053         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34054         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34055         New file.
34056         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34057         New file.
34058         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34059         New file.
34060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34061         New file.
34062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34063         New file.
34064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34065         New file.
34066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34067         New file.
34068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34069         New file.
34070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34071         New file.
34072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34073         New file.
34074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34075         New file.
34076         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34077         New file.
34078         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34079         New file.
34080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34081         file.
34082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34083         New file.
34084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34085         New file.
34086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34087         file.
34088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34089         New file.
34090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34091         New file.
34092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34093         file.
34094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34095         New file.
34096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34097         New file.
34098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34099         New file.
34100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34101         New file.
34102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34103         New file.
34104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34105         New file.
34106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34108         file.
34109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34110         New file.
34111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34112         file.
34113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34114         file.
34115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34116         file.
34117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34118         file.
34119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34120         file.
34121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34122         New file.
34123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34124         file.
34125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34126         file.
34127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34128         New file.
34129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34130         file.
34131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34133         file.
34134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34135         New file.
34136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34137         file.
34138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34139         file.
34140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34141         file.
34142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34143         file.
34144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34145         file.
34146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34147         New file.
34148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34149         file.
34150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34151         file.
34152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34153         New file.
34154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34155         file.
34156         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34157         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34158         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34159         file.
34160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34161         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34162         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34163         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34164         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34165         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34166         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34167         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34168         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34169         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34170         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34172         file.
34173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34174         New file.
34175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34176         file.
34177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34178         file.
34179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34180         file.
34181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34182         file.
34183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34184         file.
34185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34186         New file.
34187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34188         New file.
34189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34190         file.
34191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34192         New file.
34193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34194         file.
34195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34197         file.
34198         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34199         New file.
34200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34201         file.
34202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34203         file.
34204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34205         file.
34206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34207         file.
34208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34209         file.
34210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34211         New file.
34212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34213         New file.
34214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34215         file.
34216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34217         New file.
34218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34219         file.
34221 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34223         * conform/conformtest.pl: Fix typo in handling typed-constant from
34224         allow-header.
34226 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34228         * README: Cut down references to pre-2.6 Linux kernels and
34229         Linuxthreads.  Update lists of configurations in libc and ports
34230         and sort alphabetically.  Say "or newer" with Linux kernel version
34231         requirements.
34233         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34235 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34237         [BZ #887]
34238         * math/libm-test.inc (logb_test_downward): New test to expose
34239         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34240         rounding mode.
34242 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34244         [BZ #14027]
34245         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34246         to be done.
34247         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34248         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34250 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34252         * sysdeps/unix/i386/brk.S: Remove file.
34253         * sysdeps/unix/i386/dl-brk.S: Likewise.
34254         * sysdeps/unix/i386/pipe.S: Likewise.
34255         * sysdeps/unix/i386/sigreturn.S: Likewise.
34256         * sysdeps/unix/i386/syscall.S: Likewise.
34257         * sysdeps/unix/i386/vfork.S: Likewise.
34258         * sysdeps/unix/i386/wait.S: Likewise.
34260         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34261         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34263         * configure.in (arm*-none*): Do not allow without
34264         --enable-hacker-mode.
34265         (netbsd*): Remove case setting base_os.
34266         (386bsd*): Likewise.
34267         (freebsd*): Likewise.
34268         (bsdi*): Likewise.
34269         (osf*): Likewise.
34270         (sunos*): Likewise.
34271         (ultrix*): Likewise.
34272         (newsos*): Likewise.
34273         (dynix*): Likewise.
34274         (*bsd*): Likewise.
34275         (sysv*): Likewise.
34276         (isc*): Likewise.
34277         (esix*): Likewise.
34278         (sco*): Likewise.
34279         (minix*): Likewise.
34280         (irix4*): Likewise.
34281         (irix6*): Likewise.
34282         (solaris[2-9]*): Likewise.
34283         (none): Likewise.
34284         * configure: Regenerated.
34286 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34288         [BZ #11521]
34289         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34290         overflow or cancellation in calculating denominator.
34291         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34292         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34293         down expression to avoid unexpected rounding in newer GCCs.
34294         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34296 2012-04-26  David S. Miller  <davem@davemloft.net>
34298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34299         long-double compat symbols.
34300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34306         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34314 2012-04-25  David S. Miller  <davem@davemloft.net>
34316         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34317         HWCAP_* values only after the memory barriers have been defined.
34318         (atomic_full_barrier): Define.
34319         (atomic_read_barrier): Define.
34320         (atomic_write_barrier): Define.
34322 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34324         * shlib-versions: Add libgcc_s version information.
34325         * sysdeps/generic/libgcc_s.h: Remove.
34326         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34327         libgcc_s.h.
34328         * sysdeps/gnu/unwind-resume.c: Likewise.
34329         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34331 2012-04-25  David S. Miller  <davem@davemloft.net>
34333         * sysdeps/unix/sparc/brk.S: Delete.
34334         * sysdeps/unix/sparc/dl-brk.S: Delete.
34335         * sysdeps/unix/sparc/pipe.S: Delete.
34336         * sysdeps/unix/sparc/sysdep.S: Delete.
34337         * sysdeps/unix/sparc/sysdep.h: Delete.
34338         * sysdeps/unix/sparc/vfork.S: Delete.
34339         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34340         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34341         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34342         (ret_ERRVAL, r0, r1, MOVE): Define.
34343         (JUMPTARGET): Remove.
34344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34345         sysdeps/unix/sparc/sysdep.h
34346         (ENTRY, END): Remove.
34347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34349 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34351         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34352         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34353         -DIS_IN_build.
34355         * timezone/README: Update upstream location and email address for
34356         tzcode and tzdata.
34357         * timezone/zdump.c: Update from tzcode 2012b.
34358         * timezone/zic.c: Likewise.
34360         * configure.in (libc_cv_as_needed): Remove test.
34361         * configure: Regenerated.
34362         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34363         conditional definition.
34364         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34365         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34366         * config.make.in (have-as-needed): Remove variable.
34368 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34369             Paul Pluzhnikov  <ppluzhnikov@google.com>
34371         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34372         strings correctly.
34374 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34376         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34377         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34378         * sysdeps/sh/strlen.S: Likewise.
34380 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34382         * sysdeps/unix/fork.S: Remove file.
34383         * sysdeps/unix/i386/fork.S: Likewise.
34384         * sysdeps/unix/sparc/fork.S: Likewise.
34386         * sysdeps/unix/system.c: Remove file.
34387         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34389         * sysdeps/unix/getegid.S: Remove file.
34390         * sysdeps/unix/geteuid.S: Likewise.
34392 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34394         * scripts/check-localplt.awk: New file.
34395         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34396         of diff.
34397         * scripts/data/localplt-generic.data: Add a comment.
34399         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34400         NODE when __dir_mkfile failed.
34401         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34402         Reported by Ludovic Courtès <ludo@gnu.org>.
34404 2012-04-24  Andreas Jaeger  <aj@suse.de>
34406         * Makerules (common-clean): Also remove gen-as-const-headers
34407         files.
34409 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34411         * Makerules (native-compile): Do not change working directory for
34412         build.  Use $(OUTPUT_OPTION) in command.
34413         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34415 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34417         [BZ #13886]
34418         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34419         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34420         * math/libm-test.inc (floor_test): Add more tests.
34421         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34423 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34425         * sysdeps/unix/getdents.c: Remove file.
34426         * sysdeps/unix/sysv/getdents.c: Likewise.
34427         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34429         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34430         sysdeps/unix/mman/syscalls.list.
34431         (mmap): Likewise.
34432         (mprotect): Likewise.
34433         (msync): Likewise.
34434         (munmap): Likewise.
34435         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34436         * sysdeps/unix/mman/syscalls.list: Remove.
34437         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34439         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34440         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34441         * configure: Regenerated.
34442         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34443         $(libgcc_s_suffix).
34444         * config.make.in (libgcc_s_suffix): Remove variable.
34446 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34448         * sysdeps/unix/sysv/gethostname.c: Move to ...
34449         * sysdeps/posix/gethostname.c: ... here.
34451         * sysdeps/unix/execve.S: Remove file.
34453         * sysdeps/unix/_exit.S: Remove file.
34455 2012-04-23  Andreas Jaeger  <aj@suse.de>
34457         [BZ #13739]
34458         * manual/Makefile: Remove make dist support, there's no
34459         need for a stand-alone documentation tar ball.
34460         (TEXI2DVI): Define always, it's not in Makeconfig.
34461         (dist): Removed.
34462         (tar-it): Removed.
34463         (edition): Removed.
34464         (glibc-doc-$(edition).tar): Removed
34465         (%.Z): Removed.
34466         (%.gz): Removed.
34467         (%.uu): Removed.
34468         (ETAGS): Remove, it's in Makeconfig.
34469         (move-if-change): Remove, it's in Makeconfig.
34471 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34473         [BZ #13970]
34474         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34475         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34476         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34477         (strtod_l, strtof_l, strtold_l): Remove __wur.
34478         It is not necessarily an error to ignore strtol's return value.
34479         One can reliably look at the stored endptr to decide whether
34480         the number had valid syntax.
34482 2012-04-21  Andreas Jaeger  <aj@suse.de>
34484         [BZ #13739]
34485         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34487 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34489         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34490         * sysdeps/unix/sysv/Versions: Remove file.
34492 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34494         [BZ #13927]
34495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34497 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34499         [BZ #7064]
34500         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34501         version from __vm86.
34503 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34505         * sysdeps/unix/common/lxstat.c: Remove file.
34506         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34508         * sysdeps/unix/sysv/Makefile: Remove file.
34510         * sysdeps/unix/sysv/direct.h: Remove file.
34512         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34513         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34514         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34515         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34516         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34517         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34518         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34520         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34522         * sysdeps/unix/xmknod.c: Remove file.
34523         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34525         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34527         * sysdeps/unix/sysv/i386/time.S: Remove file.
34529         * sysdeps/unix/fxstat.c: Remove file.
34530         * sysdeps/unix/xstat.c: Likewise.
34531         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34533         * sysdeps/unix/sysv/sigaction.c: Remove file.
34535         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34536         (sysdep_headers): Remove variable.
34537         [termio.h not in sysdep_headers] (generated): Likewise.
34538         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34539         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34540         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34541         * sysdeps/unix/sysv/tcflow.c: Likewise.
34542         * sysdeps/unix/sysv/tcflush.c: Likewise.
34543         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34544         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34545         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34546         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34547         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34549         * sysdeps/unix/siglist.c: Remove file.
34551         * sysdeps/unix/getppid.S: Remove file.
34553         * sysdeps/unix/mkdir.c: Remove file.
34554         * sysdeps/unix/rmdir.c: Likewise.
34556 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34558         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34559         ERR_MAX value.
34560         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34561         errlist-compat value.
34563 2012-04-18  David S. Miller  <davem@davemloft.net>
34565         * sysdeps/generic/memcopy.h (reg_char): Delete.
34566         * debug/strcat_chk.c: Use char, not reg_char.
34567         * debug/strcpy_chk.c: Likewise.
34568         * debug/strncat_chk.c: Likewise.
34569         * debug/strncpy_chk.c: Likewise.
34570         * string/memchr.c: Likewise.
34571         * string/memrchr.c: Likewise.
34572         * string/rawmemchr.c: Likewise.
34573         * string/strcat.c: Likewise.
34574         * string/strchr.c: Likewise.
34575         * string/strchrnul.c: Likewise.
34576         * string/strcmp.c: Likewise.
34577         * string/strcpy.c: Likewise.
34578         * string/strncat.c: Likewise.
34579         * string/strncmp.c: Likewise.
34580         * string/strncpy.c: Likewise.
34582 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34584         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34585         __builtin_memcopy is called when src and dest ranges are known to not
34586         overlap.
34588 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34590         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34591         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34592         fwd_align_merge macro call.
34593         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34594         bwd_align_merge macro call.
34595         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34597 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34599         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34600         bwd_align_merge macros.
34601         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34602         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34603         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34605 2012-04-18  David S. Miller  <davem@davemloft.net>
34607         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34609 2012-04-18  Andreas Jaeger  <aj@suse.de>
34611         [BZ# 6794]
34612         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34613         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34614         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34616         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34617         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34618         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34620         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34621         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34622         Adjust for changed ldbl-128 files.
34624         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34625         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34626         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34628 2012-04-17  David S. Miller  <davem@davemloft.net>
34630         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34632 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34634         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34635         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34636         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34637         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34638         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34639         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34641 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34643         [BZ #6794]
34644         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34645         * math/libm-test.inc: Add ilogb errno and exception tests.
34646         * math/w_ilogb.c: New file: ilogb wrapper.
34647         * math/w_ilogbf.c: New file: ilogbf wrapper.
34648         * math/w_ilogbl.c: New file: ilogbl wrapper.
34649         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34650         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34651         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34652         exception being thrown with 0.0 as argument.
34653         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34654         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34655         exception being thrown with 0.0 as argument.
34656         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34657         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34658         exception being thrown with 0.0 as argument.
34659         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34660         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34661         exception being thrown with 0.0 as argument.
34662         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34663         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34664         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34665         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34666         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34667         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34668         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34669         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34670         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34672 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34674         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34675         with altivec.
34677 2012-04-16  Marek Polacek  <polacek@redhat.com>
34679         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34681 2012-04-16  Marek Polacek  <polacek@redhat.com>
34683         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34684         operands of fdivp instruction.
34686 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34688         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34689         * elf/tst-auditmod3b.c: Likewise.
34690         * elf/tst-auditmod4b.c: Likewise.
34691         * elf/tst-auditmod5b.c: Likewise.
34692         * elf/tst-auditmod6b.c: Likewise.
34693         * elf/tst-auditmod6c.c: Likewise.
34694         * elf/tst-auditmod7b.c: Likewise.
34695         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34696         * sysdeps/x86_64/preconfigure.in: Likewise.
34697         * sysdeps/x86_64/preconfigure: Regenerated.
34699 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34701         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34702         __ILP32__.
34704 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34707         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34709 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34711         [BZ #13973]
34712         * locale/iso-639.def: Fix gl language name. Spotted by
34713         Yaron Shahrabani.
34715 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34717         [BZ #2074]
34718         * libio/libio.h (__io_write_fn): Update comment.
34720 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34722         [BZ #2074]
34723         * stdio.texi (Hook Functions): The user provided writer function
34724         is not allowed to return -1.
34726 2012-04-11  David S. Miller  <davem@davemloft.net>
34728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34730 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34732         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34733         Add a leading slash to rtkaio.
34735 2012-04-11  Jim Meyering  <meyering@redhat.com>
34737         [BZ #11959]
34738         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34739         It is not necessarily an error to ignore fwrite's return
34740         value.  One can reliably use ferror to test for errors after
34741         the fact.
34743 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34745         * bits/types.h (__snseconds_t): New type.
34746         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34748         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34750         (__SNSECONDS_T_TYPE): Likewise.
34751         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34752         (__SNSECONDS_T_TYPE): Likewise.
34753         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34754         (__SNSECONDS_T_TYPE): Likewise.
34756 2012-04-10  Andreas Jaeger  <aj@suse.de>
34758         [BZ #2636]
34759         * manual/time.texi (Processor Time): Return type of times is
34760         elapsed real time since an arbitrary point in the past.
34761         (CPU Time): Move CLK_TCK from here...
34762         (Processor Time): ...to here.  Correct description.
34763         * manual/conf.texi (Constants for Sysconf): Correct description of
34764         _SC_CLK_TCK.
34766 2012-04-10  David S. Miller  <davem@davemloft.net>
34768         [BZ #13967]
34769         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34770         where the is a gap between DT_REL(A) and DT_JMPREL.
34772 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34774         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34775         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34776         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34778 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34780         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34781         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34782         (dl_main): Handle --inhibit-cache.
34783         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34784         _dl_inhibit_cache.
34785         * elf/dl-load.c (_dl_map_object): Use it.
34786         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34788 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34790         [BZ #13872]
34791         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34792         (__ieee754_powl): Saturate large exponents rather than testing for
34793         overflow of y*log2(x).
34794         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34795         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34796         exceptions.
34798         [BZ #11521]
34799         * math/s_ctan.c: Include <float.h>.
34800         (__ctan): Avoid internal overflow or cancellation in calculating
34801         denominator.
34802         * math/s_ctanf.c: Likewise.
34803         * math/s_ctanl.c: Likewise.
34804         * math/s_ctanh.c: Likewise.
34805         * math/s_ctanhf.c: Likewise.
34806         * math/s_ctanhl.c: Likewise.
34807         * math/libm-test.inc (ctan_test): Add more tests.
34808         (ctanh_test): Likewise.
34809         * sysdeps/i386/fpu/libm-test-ulps: Update.
34810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34812 2012-04-09  Andreas Jaeger  <aj@suse.de>
34814         [BZ #6894]
34815         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34816         is an optional BSD extension.
34818         [BZ #10254]
34819         * manual/stdio.texi (Opening Streams): Document additional fopen
34820         parameters.
34822 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34824         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34825         %eax without telling the compiler.
34827 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34829         [BZ # 13963]
34830         * manual/install.texi: Use sourceware.org.
34832 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34834         [BZ #13873]
34835         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34836         (__ieee754_pow): Generate overflow and underflow using huge*huge
34837         and tiny*tiny rather than just returning constant infinity or zero
34838         for large exponents.
34839         * math/libm-test.inc (pow_test): Require overflow exceptions for
34840         applicable cases of large exponents.
34842         [BZ #706]
34843         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34844         (__ieee754_pow): Use iterative multiplication algorithm only for
34845         integer exponents with absolute value below 1024.  Check for odd
34846         integer exponents when using algorithm for real exponents.
34847         * math/libm-test.inc (pow_test): Add more tests.
34848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34850 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34852         [BZ #13705]
34853         * math/libm-test.inc (exp_test): Do not allow overflow exception
34854         on underflow test.
34856 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34858         [BZ #13705]
34859         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34860         instead of __kernel_standard_f.
34862 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34864         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34865         * sysdeps/x86_64/memset_chk.S: Likewise.
34867 2012-04-08  Andreas Jaeger  <aj@suse.de>
34869         [BZ #10153]
34870         * manual/startup.texi (Environment Access): Describe return value
34871         for putenv and setenv.
34873         [BZ #6895]
34874         * manual/filesys.texi (Directory Entries): Add description for
34875         DT_LNK.
34877         [BZ #6890]
34878         * manual/filesys.texi (Directory Entries): Clarify that it's file
34879         system not operating system in the description of DT_UNKNOWN.
34881         [BZ #6578]
34882         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34884 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34886         [BZ #6649]
34887         * manual/llio.texi (Opening and Closing Files): Add cross
34888         reference to explain mode argument.
34890 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34892         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34893         * sysdeps/x86_64/memset_chk.S: Likewise.
34895 2012-04-07  David S. Miller  <davem@davemloft.net>
34897         * elf/elf.h (R_SPARC_WDISP10): Define.
34898         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34899         R_SPARC_SIZE32.
34900         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34901         R_SPARC_SIZE64 and R_SPARC_H34.
34903 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34905         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34906         conditions and remove no longer applicable assertion.
34908 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34910         * bits/byteswap.h: Include <features.h>.
34911         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34912         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34914 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34916         * bits/byteswap.h (__bswap_16): Removed.
34917         Include <bits/byteswap-16.h> to get __bswap_16.
34918         * sysdeps/i386/bits/byteswap.h: Likewise.
34919         * sysdeps/s390/bits/byteswap.h: Likewise.
34920         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34921         * bits/byteswap-16.h: New file.
34922         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34923         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34924         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34925         * string/Makefile (headers): Add bits/byteswap-16.h.
34927 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34929         [BZ #13895]
34930         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34931         extra indirection.
34932         * nss/Makefile (tests-static, tests): Add tst-nss-static.
34933         * nss/tst-nss-static.c: New.
34935 2012-04-06  Robert Millan  <rmh@gnu.org>
34937         [BZ #6486]
34938         * manual/llio.texi (File Position Primitive): lseek
34939         refers to WHENCE when it really means OFFSET.
34941 2012-04-06  Andreas Jaeger  <aj@suse.de>
34943         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34944         strncmp declarations.
34946         * abilist/libc.abilist: Add __poll and __ppoll.
34948 2012-04-05  David S. Miller  <davem@davemloft.net>
34950         * scripts/check-local-headers.sh: Accept a host triplet in the
34951         path matched by the exclude regexp.
34953         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34954         definition.
34955         * sysdeps/powerpc/powerpc32/dl-machine.h
34956         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34957         * sysdeps/s390/s390-32/dl-machine.h
34958         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34959         * sysdeps/sparc/sparc32/dl-machine.h
34960         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34961         * sysdeps/sparc/sparc64/dl-machine.h
34962         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34964         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34965         lazy binding.
34966         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34967         undefined symbol errors.
34969         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34970         DT_NEEDED entries.
34972 2012-04-05  Michael Matz  <matz@suse.de>
34974         [BZ #13592]
34975         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34977 2012-04-05  Andreas Jaeger  <aj@suse.de>
34979         [BZ #13908]
34980         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34981         comment.
34983 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34985         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34986         which ROUND is no valid rounding mode.
34988 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34990         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34991         read again.
34992         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34994 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34996         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34997         an exception using FPU order intentionally.
34999 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35001         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35002         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35003         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35004         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35006 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35008         [BZ #12340]
35009         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35010         EINVAL when BUFLEN is too smal.
35012 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35014         [BZ #13553]
35015         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35016         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35018 2012-04-03  Andreas Jaeger  <aj@suse.de>
35020         [BZ #13938]
35021         * manual/setjmp.texi (System V contexts): Fix sentence.
35023         [BZ #13926]
35024         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35025         New macro for this case.
35026         [!__GNUC__] (__bswap_64): New inline function for this case.
35027         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35028         * bits/byteswap.h: Likewise.
35029         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35030         ull, guard with __GLIBC_HAVE_LONG_LONG.
35032         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35033         __GLIBC_HAVE_LONG_LONG.
35035         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35036         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35038 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35040         [BZ #13691]
35041         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35042         inptr and inend, rather than using last_ch.
35044 2012-04-02  David S. Miller  <davem@davemloft.net>
35046         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35047         * stdio-common/printf-parse.h (read_int): Change return type to
35048         'int', return -1 on INT_MAX overflow.
35049         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35050         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35051         overflows INT_MAX.  Check for overflow of in-format-string precision
35052         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35053         SIZE_MAX not INT_MAX for integer overflow test.
35054         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35055         skip the construct in the format string but do not record anything.
35056         * stdio-common/bug22.c: Adjust to test both width/prevision
35057         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35058         explicitly for proper errno values.
35060 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35062         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35063         CHAR_MAX.
35064         * string/test-strcmp.c [! WIDE]: Likewise.
35065         * time/tst-mktime2.c: Likewise for INT_MAX.
35066         * string/test-string.h: #include <sys/param.h> for MIN.
35068         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35069         * sysdeps/i386/init-first.c (init): Likewise.
35070         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35071         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35072         * sysdeps/sh/init-first.c (init): Likewise.
35074 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35076         * po/ru.po: Update from translation team.
35077         * po/vi.po: Likewise.
35079 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35081         * resolv/nss_dns/dns-host.c: Merge copyright years.
35083 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35085         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35086         Optimize memcpy with prefetch if
35087         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35088         src, dst pointers have unequal 16 byte alignments.
35090 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35092         [BZ #13928]
35093         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35094         from a CNAME entry and return the minimum ttl for the query.
35095         (gaih_getanswer_slice): Likewise.
35097 2012-03-30  Jeff Law  <law@redhat.com>
35099         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35100         due to long keys.
35101         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35102         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35104         * resolv/nss_dns/dns-host.c: Update copyright year.
35106 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35108         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35109         requests to save a system call.  Fix check that all bytes are sent.
35111         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35112         comments for sendmmsg.
35114 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35116         [BZ #13691]
35117         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35118         with only 1 character between 0x0041 and 0x01b0.
35119         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35120         * wcsmbs/tst-mbsnrtowcs.c: New file.
35122 2012-03-29  David S. Miller  <davem@davemloft.net>
35124         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35125         small copies by hand.
35127 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35129         [BZ #13761]
35130         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35131         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35132         group memberships.
35134 2012-03-28  David S. Miller  <davem@davemloft.net>
35136         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35137         that branches into memcpy.
35138         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35140         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35141         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35142         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35143         bits.
35144         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35145         implementation too.
35146         * sysdeps/sparc/mempcpy.S: New file.
35148         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35149         the IFUNC routine in the libc case.
35150         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35152         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35153         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35154         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35155         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35156         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35157         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35158         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35159         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35161         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35162         loop to 256 bytes instead of 64 bytes and fix test signedness.
35164         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35165         * sysdeps/sparc/sparc32/Makefile: rather than here...
35166         * sysdeps/sparc/sparc64/Makefile: and here.
35168 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35170         * malloc/mallocbug.c: Avoid warnings about unused variables.
35172 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35174         [BZ #13760]
35175         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35176         in the right place. Discard and retry query if response is
35177         larger than input buffer size.
35179 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35181         [BZ #369]
35182         [BZ #2678]
35183         [BZ #3866]
35184         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35185         x for large integer exponent.
35186         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35187         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35188         sign of result as needed afterwards.
35189         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35190         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35191         result for underflowing pow the same as for overflow.
35192         (__kernel_standard_l): Handle powl overflow and underflow here
35193         rather than calling __kernel_standard.
35194         * math/libm-test.inc (pow_test): Add more tests.
35196         [BZ #3868]
35197         [BZ #13879]
35198         [BZ #13910]
35199         [BZ #13911]
35200         [BZ #13912]
35201         [BZ #13913]
35202         [BZ #13915]
35203         [BZ #13916]
35204         [BZ #13917]
35205         [BZ #13918]
35206         [BZ #13919]
35207         [BZ #13920]
35208         [BZ #13921]
35209         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35210         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35211         (__kernel_standard_l): New function.
35212         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35213         __kernel_standard.
35214         * math/w_acosl.c (__acosl): Likewise.
35215         * math/w_asinl.c (__asinl): Likewise.
35216         * math/w_atan2l.c (__atan2l): Likewise.
35217         * math/w_atanhl.c (__atanhl): Likewise.
35218         * math/w_coshl.c (__coshl): Likewise.
35219         * math/w_exp10l.c (__exp10l): Likewise.
35220         * math/w_exp2l.c (__exp2l): Likewise.
35221         * math/w_fmodl.c (__fmodl): Likewise.
35222         * math/w_hypotl.c (__hypotl): Likewise.
35223         * math/w_j0l.c (__j0l, __y0l): Likewise.
35224         * math/w_j1l.c (__j1l, __y1l): Likewise.
35225         * math/w_jnl.c (__jnl, __ynl): Likewise.
35226         * math/w_lgammal.c (__lgammal): Likewise.
35227         * math/w_log10l.c (__log10l): Likewise.
35228         * math/w_log2l.c (__log2l): Likewise.
35229         * math/w_logl.c (__logl): Likewise.
35230         * math/w_powl.c (__powl): Likewise.
35231         * math/w_remainderl.c (__remainderl): Likewise.
35232         * math/w_scalbl.c (sysv_scalbl): Likewise.
35233         * math/w_sinhl.c (__sinhl): Likewise.
35234         * math/w_sqrtl.c (__sqrtl): Likewise.
35235         * math/w_tgammal.c (__tgammal): Likewise.
35236         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35237         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35238         * math/libm-test.inc (acos_test): Add more tests.
35239         (acosh_test): Likewise.
35240         (asin_test): Likewise.
35241         (atanh_test): Likewise.
35242         (exp_test): Likewise.
35243         (exp10_test): Likewise.
35244         (exp2_test): Likewise.
35245         (expm1_test): Likewise.
35246         (lgamma_test): Likewise.
35247         (log_test): Likewise.
35248         (log10_test): Likewise.
35249         (log1p_test): Likewise.
35250         (log2_test): Likewise.
35251         (pow_test): Do not allow some spurious overflow exceptions.
35252         (sqrt_test): Add more tests.
35253         (tgamma_test): Likewise.
35254         (y0_test): Likewise.
35255         (y1_test): Likewise.
35256         (yn_test): Likewise.
35258 2012-03-27  Anton Blanchard  <anton@samba.org>
35260         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35261         MAP_HUGETLB.
35262         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35263         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35264         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35266 2012-03-27  David S. Miller  <davem@davemloft.net>
35268         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35270         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35271         have-as-vis3 check.
35273 2012-03-27  Andreas Jaeger  <aj@suse.de>
35275         * sysdeps/x86_64/elf/configure.in: Moved to ...
35276         * sysdeps/x86_64/configure.in: ... here.
35277         * sysdeps/x86_64/elf/start.S: Moved to ...
35278         * sysdeps/x86_64/start.S: ... here.
35279         * sysdeps/x86_64/elf/configure: Delete.
35281         * sysdeps/x86_64/configure.in: Merge contents from
35282         sysdeps/i386/configure.in (without i686 check).
35284         * sysdeps/i386/elf/Versions: Merge into ...
35285         * sysdeps/i386/Versions: ... this.
35286         * sysdeps/i386/elf/Versions: Delete file.
35287         * sysdeps/i386/elf/start.S: Moved to ...
35288         * sysdeps/i386/start.S: ...here.
35289         * sysdeps/i386/elf/configure.in: Merge into...
35290         * sysdeps/i386/configure.in: ...here.
35291         * sysdeps/i386/elf/configure.in: Delete file.
35292         * sysdeps/i386/elf/configure: Delete file.
35294         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35295         * debug/backtracesyms.c: ... here.
35296         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35297         * debug/backtracesymsfd.c: ... here.
35298         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35299         * sysdeps/generic/ifunc-sel.h: ... here.
35301         * sysdeps/unix/i386/start.c: Delete file.
35302         * sysdeps/unix/sparc/start.c: Delete file.
35303         * sysdeps/unix/start.c: Delete file.
35305         * sysdeps/sh/elf/configure.in: Moved to ...
35306         * sysdeps/sh/configure.in: ... here.
35307         * sysdeps/sh/elf/start.S: Moved to ...
35308         * sysdeps/sh/start.S: ... here.
35309         * sysdeps/sh/elf/configure: Delete file.
35311         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35312         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35313         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35314         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35315         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35316         * sysdeps/powerpc/powerpc64/start.S: here.
35317         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35318         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35319         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35320         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35321         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35323         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35324         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35325         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35326         * sysdeps/powerpc/powerpc32/start.S: ... here.
35327         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35328         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35329         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35331         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35332         * sysdeps/powerpc/ifunc-sel.h: ... here.
35333         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35334         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35336         * sysdeps/sparc/elf/configure.in: Moved to ...
35337         * sysdeps/sparc/configure.in: ... here.
35338         * sysdeps/sparc/elf/configure: Delete file.
35339         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35340         * sysdeps/sparc/sparc32/start.S: ... here.
35341         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35342         * sysdeps/sparc/sparc64/start.S: ... here.
35343         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35344         * sysdeps/sparc/sparc32/Makefile: ... this.
35345         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35346         * sysdeps/sparc/sparc64/Makefile: ... this.
35348         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35349         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35350         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35351         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35352         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35353         * sysdeps/s390/s390-32/setjmp.S: ... here.
35354         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35355         * sysdeps/s390/s390-32/configure.in: ... here.
35356         * sysdeps/s390/s390-32/elf/configure: Delete file.
35357         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35358         * sysdeps/s390/s390-32/start.S: ... here.
35360         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35361         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35362         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35363         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35364         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35365         * sysdeps/s390/s390-64/setjmp.S: ... here.
35366         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35367         * sysdeps/s390/s390-64/configure.in: ... here
35368         * sysdeps/s390/s390-64/elf/configure: Delete file.
35369         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35370         * sysdeps/s390/s390-64/start.S: ... here.
35371         * sysdeps/s390/s390-64/elf/configure: Delete.
35373         * configure.in: Remove support for elf directories in sysdeps.
35375         * configure: Regenerated.
35376         * sysdeps/i386/configure: Regenerated.
35377         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35378         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35379         * sysdeps/s390/s390-32/configure: Regenerated.
35380         * sysdeps/s390/s390-64/configure: Regenerated.
35381         * sysdeps/sh/configure: Regenerated.
35382         * sysdeps/sparc/configure: Regenerated.
35383         * sysdeps/x86_64/configure: Regenerated.
35385 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35389         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35390         denormal result into account.
35392 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35394         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35395         Reported by Allan McRae <allan@archlinux.org>.
35397 2012-03-23  Jeff Law  <law@redhat.com>
35399         * nss/getnssent.c (__nss_getent): Fix typo.
35401 2012-03-23  David S. Miller  <davem@davemloft.net>
35403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35405 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35407         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35408         to pad to uint64_t for each field.
35409         (dl_tls_index): Replace unsigned long with uint64_t.
35411 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35412         Paul Pluzhnikov  <ppluzhnikov@google.com>
35414         [BZ #6528]
35415         * grp/Makefile (otherlibs): Don't set it.
35416         * inet/Makefile (otherlibs): Likewise.
35417         * login/Makefile (otherlibs): Likewise.
35418         * nscd/Makefile (otherlibs): Likewise.
35419         * posix/Makefile (otherlibs): Likewise.
35420         * pwd/Makefile (otherlibs): Likewise.
35421         * rt/Makefile (otherlibs): Likewise.
35422         * sunrpc/Makefile (otherlibs): Likewise.
35423         * nss/Makefile (otherlibs): Likewise.
35424         Add libnss_files to routines and static-only-routines.
35425         ($(objpfx)getent): Remove rule.
35426         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35427         static-only-routines.
35429 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35431         [BZ #13892]
35432         * math/s_cexp.c: Include <float.h>.
35433         (__cexp): Handle exp result overflowing not necessarily
35434         overflowing both real and imaginary parts of result.
35435         * math/s_cexpf.c: Likewise.
35436         * math/s_cexpl.c: Likewise.
35437         * math/libm-test.inc (cexp_test): Add more tests.
35438         * sysdeps/i386/fpu/libm-test-ulps: Update.
35439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35441 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35443         * include/link.h (ELFW): New macro.
35444         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35445         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35447 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35449         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35450         with uint64_t.
35452 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35454         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35455         declaration.
35456         (struct La_x32_retval): Likewise.
35458 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35460         * sysdeps/x86_64/preconfigure.in: New file.
35461         * sysdeps/x86_64/preconfigure: New generated file.
35463 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35465         [BZ #13824]
35466         * math/e_exp2l.c: Include <float.h>.
35467         (__ieee754_exp2l): Handle overflow and underflow cases
35468         separately.  Only pass fractional part of argument to
35469         __ieee754_expl.
35470         * math/libm-test.inc (exp2_test): Add more tests.
35472         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35473         negating x to take absolute value.
35474         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35475         Likewise.
35476         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35477         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35478         Likewise.
35479         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35480         computing low part if x was negated.
35481         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35483 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35485         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35486         la_x32_gnu_pltexit.
35487         (pltexit): Cast int_retval to ptrdiff_t.
35488         * elf/tst-auditmod3b.c: Likewise.
35489         * elf/tst-auditmod4b.c: Likewise.
35490         * elf/tst-auditmod5b.c: Likewise.
35491         * elf/tst-auditmod6b.c: Likewise.
35492         * elf/tst-auditmod6c.c: Likewise.
35493         * elf/tst-auditmod7b.c: Likewise.
35495         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35496         and x32_gnu_pltexit.
35498         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35499         __ELF_NATIVE_CLASS.
35500         (La_x32_regs): New macro.
35501         (La_x32_retval): Likewise.
35502         (la_x32_gnu_pltenter): New function prototype.
35503         (la_x32_gnu_pltexit): Likewise.
35505 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35507         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35508         exponent.
35510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35512         * configure.in (libc_cv_cc_nofma): Check for option to disable
35513         generation of FMA instructions.
35514         * configure: Regenerate.
35515         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35516         * sysdeps/ieee754/dbl-64/Makefile: New file.
35517         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35518         Remove brandred-fma4.
35519         (CFLAGS-brandred-fma4.c): Remove.
35520         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35521         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35522         define.
35523         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35524         define.
35526 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35528         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35529         LLONG_MAX != LONG_MAX.
35530         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35531         (_fitoa_word): Likewise.
35532         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35533         LLONG_MAX != LONG_MAX.
35534         * stdio-common/_itowa.h: Include <_itoa.h>.
35535         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35536         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35537         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35538         only if not defined.
35539         (_ITOA_WORD_TYPE): Likewise.
35540         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35541         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35543 2012-03-21  David S. Miller  <davem@davemloft.net>
35545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35547 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35549         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35550         of x86_64 when setting libc_cv_slibdir, libdir and
35551         libc_cv_localedir.
35552         * sysdeps/unix/sysv/linux/configure: Regenerated.
35554 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35556         * manual/lang.texi (Old Varargs): Remove section.
35557         (How Variadic): Update menu.
35558         (va_start): Do not mention varargs.h.
35560 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35561             Joseph Myers  <joseph@codesourcery.com>
35563         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35564         link test.
35565         * configure: Regenerated.
35567 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35569         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35570         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35571         conformtest.pl
35573 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35575         * NOTES: Remove.
35576         * Makefile (files-for-dist): Remove NOTES.
35577         (NOTES): Remove rule.
35578         * README: Don't refer to NOTES.
35579         * manual/creature.texi: Don't include macros.texi.
35580         * manual/intro.texi (creature.texi): Remove comment referring to
35581         NOTES.
35583         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35584         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35585         * configure: Regenerated.
35586         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35587         LIBC_TRY_CC_OPTION.
35588         (libc_cv_as_i686): Likewise.
35589         (libc_cv_cc_avx): Likewise.
35590         (libc_cv_cc_sse2avx): Likewise.
35591         (libc_cv_cc_fma4): Likewise.
35592         (libc_cv_cc_novzeroupper): Likewise.
35593         * sysdeps/i386/configure: Regenerated.
35595         [BZ #13883]
35596         * sysdeps/i386/fpu/s_cexp.S: Remove.
35597         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35598         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35599         * math/libm-test.inc (cexp_test): Add more tests.
35600         * sysdeps/i386/fpu/libm-test-ulps: Update.
35601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35603 2012-03-21  Allan McRae  <allan@archlinux.org>
35605         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35607 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35609         [BZ #13871]
35610         * math/w_exp2.c: Do not include <float.h>.
35611         (o_threshold, u_threshold): Remove.
35612         (__exp2): Calculate result before checking finiteness and calling
35613         __kernel_standard.
35614         * math/w_exp2f.c: Likewise.
35615         * math/w_exp2l.c: Likewise.
35616         * math/libm-test.inc (exp2_test): Require overflow exception for
35617         1e6 input.
35619         [BZ #3866]
35620         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35621         range of signed 64-bit integers before using fistpll.  Remove
35622         checks for whether integers fit in mantissa bits.
35623         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35624         the range of signed 32-bit integers before using fistpl.  Remove
35625         checks for whether integers fit in mantissa bits.
35626         * sysdeps/i386/fpu/e_powl.S (p64): New object.
35627         (__ieee754_powl): Test for y outside the range of signed 64-bit
35628         integers before using fistpll.  Reduce 64-bit values to 63-bit
35629         ones as needed.
35630         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35631         divide-by-zero is raised for zero to large negative powers.
35632         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35633         (__ieee754_powl): Test for y outside the range of signed 64-bit
35634         integers before using fistpll.  Reduce 64-bit values to 63-bit
35635         ones as needed.
35636         * math/libm-test.inc (pow_test): Add more tests.
35638 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35640         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35641         <stdio-common/_itoa.h>.
35642         * debug/segfault.c: Likewise.
35643         * elf/dl-cache.c: Likewise.
35644         * elf/dl-minimal.c: Likewise.
35645         * elf/dl-misc.c: Likewise.
35646         * elf/dl-sysdep.c: Likewise.
35647         * elf/dl-version.c: Likewise.
35648         * elf/rtld.c: Likewise.
35649         * hurd/hurdsock.c: Likewise.
35650         * hurd/lookup-retry.c: Likewise.
35651         * malloc/malloc.c: Likewise.
35652         * malloc/mtrace.c: Likewise.
35653         * nscd/nscd_getgr_r.c: Likewise.
35654         * nscd/nscd_getpw_r.c: Likewise.
35655         * nscd/nscd_getserv_r.c: Likewise.
35656         * posix/getopt_init.c: Likewise.
35657         * posix/wordexp.c: Likewise.
35658         * stdio-common/_itoa.c: Likewise.
35659         * stdio-common/printf_fphex.c: Likewise.
35660         * stdio-common/vfprintf.c: Likewise.
35661         * string/_strerror.c: Likewise.
35662         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35663         * sysdeps/i386/i686/hp-timing.h: Likewise.
35664         * sysdeps/mach/_strerror.c: Likewise.
35665         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35666         * sysdeps/mach/hurd/sethostid.c: Likewise.
35667         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35668         * sysdeps/mach/xpg-strerror.c: Likewise.
35669         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35671         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35672         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35673         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35674         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35675         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35676         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35677         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35678         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35679         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35680         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35681         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35682         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35683         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35684         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35685         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35686         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35687         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35688         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35689         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35691         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35693         * stdio-common/_itoa.h: Moved to ...
35694         * sysdeps/generic/_itoa.h: Here.
35696         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35698         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35699         instead of "_itoa.h" and "_itowa.h".
35700         * stdio-common/vfprintf.: Likewise.
35702 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35704         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35705         <bits/wordsize.h>.
35706         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35707         (__signbit): Likwise.
35708         (llrintf): Likwise.
35709         (llrint): Likwise.
35711 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35713         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35714         __WORDSIZE != 64.
35716 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35718         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35719         OVERFLOW_EXCEPTION_OK.
35720         * math/libm-test.inc ("Philosophy"): Update comment about
35721         exception testing.
35722         (OVERFLOW_EXCEPTION): Define.
35723         (OVERFLOW_EXCEPTION_OK): Likewise.
35724         (INVALID_EXCEPTION_OK): Renumber.
35725         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35726         (IGNORE_ZERO_INF_SIGN): Likewise.
35727         (test_exceptions): Handle FE_OVERFLOW.
35728         (exp10_test): Expect overflow exceptions.
35729         (exp2_test): Likewise.
35730         (expm1_test): Likewise.
35731         (nextafter_test): Likewise.
35732         (pow_test): Likewise.
35733         (scalbn_test): Likewise.
35734         (scalbln_test): Likewise.
35736 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35738         * sysdeps/x86_64/bits/atomic.h
35739         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35740         64bit integer.
35741         (atomic_exchange_acq): Likewise.
35742         (__arch_exchange_and_add_body): Likewise.
35743         (__arch_add_body): Likewise.
35744         (atomic_add_negative): Likewise.
35745         (atomic_add_zero): Likewise.
35747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35749         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35750         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35752 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35754         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35755         Check __x86_64__ instead of __WORDSIZE.
35757 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35759         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35761 2012-03-19  David S. Miller  <davem@davemloft.net>
35763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35765         * sysdeps/sparc/fpu/fenv_private.h: New file.
35766         * sysdeps/sparc/fpu/math_private.h: Use it.
35767         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35768         Remove.
35769         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35770         (libc_feholdexcept_setroundl): Remove.
35771         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35772         Remove.
35773         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35774         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35776 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35778         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35779         int64_t instead of long int.
35780         (INSERT_WORDS64): Likwise.
35782 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35784         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35785         _Unwind_GetCFA return to _Unwind_Ptr first.
35787 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35789         [BZ #13629]
35790         * math/s_clog.c: Include <float.h>.
35791         (__clog): Scale large or subnormal inputs.
35792         * math/s_clogf.c: Likewise.
35793         * math/s_clogl.c: Likewise.
35794         * math/s_clog10.c: Include <float.h>.
35795         (M_LOG10_2): Define.
35796         (__clog10): Scale large or subnormal inputs.
35797         * math/s_clog10f.c: Likewise.
35798         * math/s_clog10l.c: Likewise.
35799         * math/libm-test.inc (clog_test): Add more tests.
35800         (clog10_test): Likewise.
35801         * sysdeps/i386/fpu/libm-test-ulps: Update.
35802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35804         [BZ #11451]
35805         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35806         x and y.
35807         * math/libm-test.inc (atan2_test): Add another test.
35809         * Makerules (common-objdir-compile): Remove.
35810         * sysdeps/unix/Makefile (config-generated): Do not add
35811         $(unix-generated) to variable.
35812         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35813         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35814         Remove rule.
35815         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35816         Likewise.
35817         [generic bits/local_lim.h] (before-compile): Do not append to
35818         variable.
35819         [generic bits/local_lim.h] (common-generated): Likewise.
35820         [generic sys/param.h] (before-compile): Do not append to variable.
35821         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35822         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35823         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35824         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35825         include.
35826         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35827         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35828         [generic sys/param.h] ($(addprefix
35829         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35830         [generic sys/param.h] (common-generated): Do not append to
35831         variable.
35832         [generic sys/param.h] (sysdep_headers): Likewise.
35833         [generic bits/errno.h] (before-compile): Do not append to
35834         variable.
35835         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35836         rule.
35837         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35838         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35839         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35840         [generic bits/errno.h] (common-generated): Do not append to
35841         variable.
35842         [generic bits/ioctls.h] (before-compile): Do not append to
35843         variable.
35844         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35845         rule.
35846         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35847         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35848         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35849         rule.
35850         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35851         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35852         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35853         [generic bits/ioctls.h] (common-generated): Do not append to
35854         variable.
35855         [generic sys/syscall.h] (syscall.h): Remove variable.
35856         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35857         rule.
35858         [generic sys/syscall.h] (before-compile): Do not append to
35859         variable.
35860         [generic sys/syscall.h] (common-generated): Likewise.
35861         * sysdeps/unix/errnos-tmpl.c: Remove file.
35862         * sysdeps/unix/errnos.awk: Likewise.
35863         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35864         * sysdeps/unix/ioctls.awk: Likewise.
35865         * sysdeps/unix/mk-local_lim.c: Likewise.
35866         * sysdeps/unix/snarf-ioctls: Likewise.
35868 2012-03-19  Richard Henderson  <rth@twiddle.net>
35870         * sysdeps/i386/fpu/fenv_private.h: New file.
35871         * sysdeps/i386/fpu/math_private.h: Use it.
35872         (math_opt_barrier, math_force_eval): Remove.
35873         (libc_feholdexcept_setround_53bit): Remove.
35874         (libc_feupdateenv_53bit): Remove.
35875         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35876         (math_opt_barrier, math_force_eval): Remove.
35877         (libc_feholdexcept): Remove.
35878         (libc_feholdexcept_setround): Remove.
35879         (libc_fetestexcept, libc_fesetenv): Remove.
35880         (libc_feupdateenv_test): Remove.
35881         (libc_feupdateenv, libc_feholdsetround): Remove.
35882         (libc_feresetround): Remove.
35884         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35885         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35887         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35888         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35889         (libc_feupdateenv_testl): New.
35890         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35891         (libc_feupdateenv_testf): New.
35892         (libc_feupdateenv): Use libc_feupdateenv_test.
35893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35894         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35896         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35897         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35898         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35899         (libc_feresetround_noex): New.
35900         (libc_feresetround_noexf): New.
35901         (libc_feresetround_noexl): New.
35902         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35903         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35904         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35905         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35906         SET_RESTORE_ROUND.
35907         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35908         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35909         (__cos): Likewise.
35910         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35911         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35912         SET_RESTORE_ROUND_NOEX.
35913         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35914         SET_RESTORE_ROUND_NOEXF.
35915         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35916         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35917         (libc_feholdsetroundf): New.
35918         (libc_feresetround, libc_feresetroundf): New.
35920         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35921         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35922         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35924         * sysdeps/generic/math_private.h: Include <fenv.h>.
35925         (default_libc_feholdexcept): New.
35926         (default_libc_feholdexcept_setround): New.
35927         (default_libc_fesetenv, default_libc_feupdateenv): New.
35928         (libc_feholdexcept): Only define if undefined.
35929         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35930         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35931         (libc_feholdexcept_setroundl): Likewise.
35932         (libc_feholdexcept_setround_53bit): Likewise.
35933         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35934         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35935         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35936         (libc_feupdateenv_53bit): Likewise.
35937         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35938         (libc_feholdexcept): Convert from macro to inline function.
35939         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35940         (libc_fesetenv, libc_feupdateenv): Likewise.
35942         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35943         not previously defined.
35944         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35945         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35946         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35947         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35948         * sysdeps/ieee754/flt-32/math_private.h: New file.
35949         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35950         math_private.h below SET_FLOAT_WORD.
35951         (__isnan, __isinf_ns, __finite): Remove.
35952         (__isnanf, __isinf_nsf, __finitef): Remove.
35954 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
35956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35958 2012-03-17  David S. Miller  <davem@davemloft.net>
35960         [BZ #6471]
35961         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35962         for 2.16.
35964 2012-03-16  David S. Miller  <davem@davemloft.net>
35966         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35967         warnings.
35969         [BZ #6471]
35970         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35971         properly.
35972         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35973         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35974         sysdep_routines when subdir is sysvipc.
35975         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35976         __getshmlba helper.
35978         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35980 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35982         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35983         [__LP64__].
35985 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35987         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35988         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35989         (__lround): Renamed to ...
35990         (__llround): This.  Replace long int with long long int.
35991         Define lround functions as aliases of llround functions.
35992         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35994 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35996         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35997         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
35998         adresses to uintptr_t.  Replace "long int" and "unsigned long
35999         int" with "greg_t" on va_arg.
36001 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36003         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36004         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36006         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36007         Move e_machine check before EI_CLASS check.  Handle x32
36008         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36009         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36010         SKIP_EM_IA_64 and include
36011         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36013         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36014         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36015         (add_system_dir): New macro.
36017         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36018         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36020 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36022         [BZ #2551]
36023         [BZ #2552]
36024         [BZ #2553]
36025         [BZ #2554]
36026         [BZ #2562]
36027         [BZ #2563]
36028         [BZ #2565]
36029         [BZ #2566]
36030         [BZ #2576]
36031         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36032         (y0): Likewise.
36033         * math/w_j0f.c (j0f): Likewise.
36034         (y0f): Likewise.
36035         * math/w_j0l.c (__j0l): Likewise.
36036         (__y0l): Likewise.
36037         * math/w_j1.c (j1): Likewise.
36038         (y1): Likewise.
36039         * math/w_j1f.c (j1f): Likewise.
36040         (y1f): Likewise.
36041         * math/w_j1l.c (__j1l): Likewise.
36042         (__y1l): Likewise.
36043         * math/w_jn.c (jn): Likewise.
36044         (yn): Likewise.
36045         * math/w_jnf.c (jnf): Likewise.
36046         (ynf): Likewise.
36047         * math/w_jnl.c (__jnl): Likewise.
36048         (__ynl): Likewise.
36049         * math/libm-test.inc (j0_test): Add more tests.
36050         (j1_test): Likewise.
36051         (jn_test): Likewise.  Add trailing semicolon to existing test.
36052         (y0_test): Likewise.
36053         (y1_test): Likewise.
36054         * sysdeps/i386/fpu/libm-test-ulps: Update.
36055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36057         [BZ #13851]
36058         [BZ #13854]
36059         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36060         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36061         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36062         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36063         (__tanl): Set errno for infinite argument.
36064         * sysdeps/i386/fpu/mptan.c: Remove.
36065         * sysdeps/i386/fpu/s_tan.S: Likewise.
36066         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36067         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36068         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36069         * math/libm-test.inc (tan_test): Add more tests and enable more
36070         tests for double and long double.
36071         * sysdeps/i386/fpu/libm-test-ulps: Update.
36072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36074 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36076         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36077         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36079 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36081         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36082         * configure.in: Use it for both main tree and add-ons.
36083         * configure: Regenerated.
36085 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36087         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36089 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36091         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36092         in comment.
36094         [BZ #13851]
36095         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36096         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36097         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36098         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36099         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36100         infinite argument.
36101         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36102         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36103         != 0 for prec == 2.
36104         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36105         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36106         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36107         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36108         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36109         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36110         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36111         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36112         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36113         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36114         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36115         * math/libm-test.inc (cos_test): Add more tests and enable more
36116         tests for long double.
36117         (sin_test): Likewise.
36118         (sincos_test): Likewise.
36119         * sysdeps/i386/fpu/libm-test-ulps: Update.
36120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36122 2012-03-16  David S. Miller  <davem@davemloft.net>
36124         * sysdeps/sparc/fpu/math_private.h: New file.
36126 2012-03-15  David S. Miller  <davem@davemloft.net>
36128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36129         file.
36130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36132         file.
36133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36136         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36137         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36138         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36139         sysdep routines.
36140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36142         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36143         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36145         * sysdeps/sparc/sparc-ifunc.h: New file.
36146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36147         sparc-ifunc.h
36148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36150         Likewise.
36151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36152         Likewise.
36153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36157         Likewise.
36158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36163         Likewise.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36165         Likewise.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36172         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36173         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36176         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36177         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36178         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36179         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36182         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36184         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36185         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36186         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36187         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36188         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36189         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36191 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36193         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36194         scaling.
36195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36197 2012-03-15  Andreas Jaeger  <aj@suse.de>
36199         [BZ #13852]
36200         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36201         ieee754/flt-32 implementation for sin, cos and sincos.
36202         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36203         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36204         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36205         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36206         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36207         ieee754/flt-32 implementation for tan.
36209         * math/libm-test.inc (cos_test): Enable some large input tests for
36210         float as well
36211         (sin_test): Likewise.
36212         (sincos_test): Likewise.
36213         (tan_test): Add tests for large input.
36215         * sysdeps/i386/fpu/libm-test-ulps: Update.
36217 2012-03-15  Andreas Jaeger  <aj@suse.de>
36219         [BZ #13658]
36220         * math/libm-test.inc (cos_test): Add more test cases.
36221         (sin_test): Likewise.
36222         (sincos_test): Likewise.
36224 2012-03-15  Andreas Jaeger  <aj@suse.de>
36226         [BZ #13837]
36227         * math/libm-test.inc (cos_test): Add a test case for large input
36228         value.
36229         (sin_test): Likewise.
36230         (sincos_test): Likewise.
36232 2012-03-15  Andreas Jaeger  <aj@suse.de>
36233             Joseph Myers  <joseph@codesourcery.com>
36235         [BZ #13658]
36236         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36237         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36238         * sysdeps/i386/fpu/branred.c: Likewise.
36239         * sysdeps/i386/fpu/dosincos.c: Likewise.
36240         * sysdeps/i386/fpu/mpa.c: Likewise.
36241         * sysdeps/i386/fpu/s_cos.S: Likewise.
36242         * sysdeps/i386/fpu/s_sin.S: Likewise.
36243         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36244         * sysdeps/i386/fpu/sincos32.c: Likewise.
36246         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36247         Define.
36248         (libc_feupdateenv_53bit): Define.
36249         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36250         Define.
36251         (libc_feupdateenv_53bit): Define.
36253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36254         53 bit (without extend i386 double precision).
36256         * math/libm-test.inc (sincos_test): Add tests for large input.
36257         (sin): Likewise.
36258         (cos): Likewise.
36260         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36262 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36266 2012-03-15  David S. Miller  <davem@davemloft.net>
36268         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36269         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36270         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36271         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36277         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36278         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36284         file.
36285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36287         file.
36288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36290         file.
36291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36293         file.
36294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36296         fmin/fmax sysdep routines.
36297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36299 2012-03-14  David S. Miller  <davem@davemloft.net>
36301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36303         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36304         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36305         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36306         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36307         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36308         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36310         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36311         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36312         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36315         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36316         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36317         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36318         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36321         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36322         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36327         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36328         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36329         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36330         routines.
36331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36332         file.
36333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36335         file.
36336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36338         file.
36339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36341         file.
36342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36344         file.
36345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36347         file.
36348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36349         file.
36350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36351         file.
36352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36353         file.
36354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36355         New file.
36356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36357         file.
36358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36359         file.
36360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36362         file.
36363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36365         file.
36366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36368         file.
36369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36371         VIS3 routines.
36373         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36374         New file.
36376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36378         * sysdeps/sparc/configure.in: New file.
36379         * sysdeps/sparc/configure: Generate.
36380         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36381         * configure: Regenerate.
36382         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36383         * config.make.in (have-as-vis3): New.
36384         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36385         available use -Av9d instead of -Av9a.
36386         * sysdeps/sparc/sparc64/Makefile: Likewise.
36387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36389         New file.
36390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36391         file.
36392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36393         New file.
36394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36395         file.
36396         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36397         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36398         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36399         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36400         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36402         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36403         fzeros/fnegs to load 0x80000000 into a float register instead of
36404         using the stack.
36405         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36407 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36409         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36410         bits/syscall.h.
36411         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36412         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36413         ($(inst_includedir)/bits/syscall.h): Remove rule.
36414         ($(objpfx)bits/syscall.d): Include instead of
36415         $(objpfx)syscall-list.d.
36416         (generated): Change syscall-list.h and syscall-list.d to
36417         bits/syscall.h and bits/syscall.d.
36419 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36421         [BZ #13846]
36422         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36424 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36426         [BZ #13841]
36427         * math/s_csqrt.c: Include <float.h>.
36428         (__csqrt): Scale large or subnormal inputs.
36429         * math/s_csqrtf.c: Likewise.
36430         * math/s_csqrtl.c: Likewise.
36431         * math/libm-test.inc (csqrt_test): Add more tests.
36432         * sysdeps/i386/fpu/libm-test-ulps: Update.
36433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36435         [BZ #13840]
36436         * math/libm-test.inc (hypot_test): Add more tests.
36438 2012-03-13  David S. Miller  <davem@davemloft.net>
36440         [BZ #13840]
36441         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36442         double-precision for the calculation instead of scaling.
36444 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36446         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36447         manipulate bits before adding and subtracting TWO52[sx].
36448         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36449         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36450         Likewise.
36451         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36453 2012-03-13  David S. Miller  <davem@davemloft.net>
36455         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36456         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36458         rtld-global-offsets.h
36459         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36461         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36462         large parameters.
36464         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36466         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36467         'err' in the ifdef scope in which it is actually used.
36469         * nss/nss_db/db-init.c: Include string.h
36471 2012-03-12  David S. Miller  <davem@davemloft.net>
36473         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36474         masking out of the most significant byte of random value used.
36475         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36476         Fix coding style in previous change.
36478         * sysdeps/unix/sysv/linux/kernel-features.h
36479         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36480         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36481         expression.
36482         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36483         later.
36485 2012-03-11  David S. Miller  <davem@davemloft.net>
36487         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36488         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36489         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36490         for 'resultvar' otherwise things get truncated on 64-bit.
36492         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36493         Fix masking out of the most significant byte of random value used.
36495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36497 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36501 2012-03-09  David S. Miller  <davem@davemloft.net>
36503         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36504         variables with appropriate CPP guards.
36505         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36506         from the frame pointer, not the stack pointer.  Correct layout
36507         comments.  Fix test on resulting framesize and the management of
36508         the outregs buffer for pltexit.  Preserve floating point return
36509         values across _dl_call_pltexit call.
36510         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36511         framesize and the management of the outregs buffer for pltexit.
36512         Preserve floating point return values across _dl_call_pltexit
36513         call.
36514         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36515         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36516         (la_sparc64_gnu_pltexit): New functions.
36517         (print_exit): Fix format string for return register value.
36519 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36521         * sunrpc/Makefile (others): Add rpcgen.
36522         ($(objpfx)rpcgen): Remove special build rule and dependency on
36523         libc.
36524         * sunrpc/rpcgen.c: New file.
36526 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36528         [BZ #13673]
36529         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36530         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36531         * sysdeps/i386/crti.S: Likewise.
36532         * sysdeps/i386/crtn.S: Likewise.
36533         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36534         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36535         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36536         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36537         * sysdeps/sh/crti.S: Likewise.
36538         * sysdeps/sh/crtn.S: Likewise.
36539         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36541         [BZ #13673]
36542         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36543         with URL.
36544         * locale/programs/locfile-kw.gperf: Likewise.
36545         * locale/programs/charmap-kw.h: Regenerated.
36546         * locale/programs/locfile-kw.h: Likewise.
36548         [BZ #13673]
36549         * intl/plural.y: Replace FSF snail mail address with URL.
36550         * intl/plural.c: Regenerated.
36552 2012-03-09  Richard Henderson  <rth@twiddle.net>
36554         * include/math_private.h: Remove file.
36555         * math/math_private.h: Move file ...
36556         * sysdeps/generic/math_private.h: ... here.
36558         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36559         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36560         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36562         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36563         and <math_private.h>.
36564         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36565         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36566         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36567         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36568         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36569         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36570         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36571         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36572         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36573         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36574         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36575         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36576         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36577         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36578         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36579         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36580         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36581         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36582         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36583         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36584         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36585         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36586         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36588         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36589         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36590         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36591         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36592         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36593         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36594         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36595         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36596         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36597         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36599         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36600         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36601         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36602         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36603         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36604         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36605         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36606         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36607         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36608         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36609         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36610         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36611         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36612         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36613         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36614         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36615         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36616         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36617         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36618         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36620         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36621         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36622         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36623         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36624         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36625         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36626         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36627         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36628         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36629         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36630         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36631         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36632         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36633         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36634         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36635         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36636         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36637         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36638         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36639         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36640         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36641         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36642         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36643         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36644         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36645         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36646         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36647         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36648         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36649         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36650         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36651         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36652         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36653         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36654         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36655         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36656         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36657         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36658         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36659         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36660         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36661         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36662         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36663         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36664         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36665         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36666         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36667         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36668         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36669         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36670         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36671         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36672         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36673         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36674         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36675         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36676         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36677         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36678         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36679         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36680         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36681         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36682         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36683         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36684         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36685         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36686         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36687         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36688         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36689         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36690         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36691         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36692         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36693         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36694         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36695         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36696         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36697         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36698         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36699         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36700         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36701         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36702         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36703         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36704         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36705         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36706         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36707         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36708         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36709         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36710         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36711         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36712         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36713         * sysdeps/ieee754/k_standard.c: Likewise.
36714         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36715         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36716         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36717         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36718         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36719         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36720         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36721         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36722         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36723         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36724         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36725         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36726         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36727         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36728         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36729         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36730         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36731         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36732         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36733         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36734         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36735         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36737         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36738         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36739         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36740         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36741         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36742         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36743         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36744         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36745         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36746         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36747         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36748         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36749         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36750         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36751         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36752         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36753         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36754         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36755         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36756         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36757         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36758         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36759         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36760         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36761         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36762         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36763         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36764         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36765         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36766         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36767         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36768         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36769         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36770         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36771         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36772         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36773         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36774         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36775         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36776         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36777         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36778         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36779         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36780         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36781         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36782         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36783         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36784         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36785         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36786         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36787         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36788         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36789         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36790         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36791         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36792         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36793         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36794         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36795         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36796         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36797         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36798         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36799         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36800         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36817         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36818         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36828         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36829         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36830         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36833         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36834         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36835         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36836         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36839         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36840         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36841         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36842         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36843         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36844         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36846         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36847         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36848         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36849         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36852         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36855         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36856         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36857         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36859         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36862         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36863         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36864         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36868         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36869         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36870         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36874         * sysdeps/ieee754/s_lib_version.c: Likewise.
36875         * sysdeps/ieee754/s_matherr.c: Likewise.
36876         * sysdeps/ieee754/s_signgam.c: Likewise.
36877         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36878         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36879         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36880         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36881         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36882         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36883         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36884         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36885         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36886         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36887         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36888         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36889         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36890         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36891         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36892         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36893         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36894         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36895         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36896         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36897         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36899 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36901         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36902         * sunrpc/rpc_main.c: Likewise.
36903         * sunrpc/rpc_svcout.c: Likewise.
36905 2012-03-09  David S. Miller  <davem@davemloft.net>
36907         * include/math_private.h: New file.
36909 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36911         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36912         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36913         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36914         from <bits/socket_type.h>.
36915         (enum __socket_type): Don't define here.
36916         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36918         bits/socket_type.h.
36920         [BZ #13566]
36921         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36922         checking __USE_GNU.
36924         * Makerules ($(inst_includedir)/%.h): New rule.
36925         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36926         (install-others): Remove variable setting.
36927         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36929 2012-03-08  Richard Henderson  <rth@twiddle.net>
36931         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36932         from macro to inline function; merge with the
36933         !__LIBC_INTERNAL_MATH_INLINES version.
36934         (__ieee754_sqrtf): Likewise.
36936         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36937         to inline function.
36938         (__rintf, __floor, __floorf): Likewise.
36940         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36941         macro to inline function.
36942         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36944         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36945         not <math/math_private.h>.
36947 2012-03-08  David S. Miller  <davem@davemloft.net>
36949         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36950         copyright year.
36951         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36953 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
36955         * resolv/gai_misc.c (handle_requests): Fix struct timespec
36956         normalization.
36957         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36958         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36960 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
36962         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
36963         be defined individually, they must be defined as a block.  Define
36964         S for printing a string instead of hidint the different by using a
36965         macro for adding the 'l'.
36966         * stdio-common/tst-fphex-wide.c: Adjust.
36968 2012-03-07  Marek Polacek  <polacek@redhat.com>
36970         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36972 2012-03-08  Marek Polacek  <polacek@redhat.com>
36974         [BZ #13806]
36975         * stdio-common/Makefile (tests): Add tst-fphex-wide.
36976         * stdio-common/tst-fphex.c: Define a few macros to make the
36977         test reusable.  Use them.
36978         * stdio-common/tst-fphex-wide.c: New file.
36980 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36982         [BZ #6911]
36983         * manual/macros.texi (gnusystems): New macro.
36984         (nongnusystems): Likewise.
36985         (gnulinuxhurdsystems): Likewise.
36986         (gnuhurdsystems): Likewise..
36987         (gnulinuxsystems): Likewise.
36988         * manual/charset.texi: Use new macros or @theglibc{} to refer to
36989         variants of the GNU system, not "GNU system".
36990         * manual/conf.texi: Likewise.
36991         * manual/errno.texi: Likewise.  Update example of errno macro
36992         expansion.
36993         * manual/filesys.texi: Likewise.
36994         (getumask): Document as specific to GNU/Hurd.
36995         * manual/install.texi: Likewise.  Reword some references to
36996         GNU/Linux.
36997         * manual/intro.texi: Likewise.
36998         * manual/io.texi: Likewise.
36999         (File Name Portability): Detail which constraints are inapplicable
37000         to all GNU systems and which are only inapplicable to GNU/Hurd.
37001         * manual/job.texi: Likewise.
37002         * manual/llio.texi: Likewise.
37003         (O_NOCTTY): Document as present on GNU/Linux.
37004         * manual/maint.texi: Likewise.
37005         * manual/memory.texi: Likewise.
37006         * manual/pattern.texi: Likewise.
37007         * manual/pipe.texi: Likewise.
37008         * manual/process.texi: Likewise.
37009         * manual/resource.texi: Likewise.
37010         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37011         child on GNU/Hurd.
37012         * manual/setjmp.texi: Likewise.
37013         * manual/signal.texi: Likewise.
37014         * manual/startup.texi: Likewise.
37015         * manual/stdio.texi: Likewise.
37016         * manual/terminal.texi: Likewise.
37017         (ONLCR): Document as POSIX.
37018         (OXTABS): Document availability on GNU/Linux as XTABS.
37019         (ONOEOT): Document availability separately from other bits.
37020         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37021         * manual/time.texi: Likewise.
37022         * manual/users.texi: Likewise.
37023         * INSTALL: Regenerated.
37024         * sysdeps/gnu/errlist.c: Regenerated.
37026         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37027         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37028         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37029         puts.
37030         * configure: Regenerated.
37032 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37034         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37035         default includes instead of AC_HEADER_CHECK.
37036         * sysdeps/i386/configure: Regenerated.
37038         [BZ #10716]
37039         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37040         * math/s_cacoshf.c (__cacoshf): Likewise.
37041         * math/s_cacoshl.c (__cacoshl): Likewise.
37042         * math/s_casinh.c (__casinh): Set signs of result from argument.
37043         * math/s_casinhf.c (__casinhf): Likewise.
37044         * math/s_casinhl.c (__casinhl): Likewise.
37045         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37046         (casinh_test): Add more tests.
37047         * sysdeps/i386/fpu/libm-test-ulps: Update.
37048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37050 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37052         * po/zh_TW.po: Update from translation team.
37054         * login/Makefile (distribute): Remove variable.
37055         * catgets/Makefile: Likewise.
37056         * mach/Makefile: Likewise.
37057         * malloc/Makefile: Likewise.
37058         * misc/Makefile: Likewise.
37059         * iconv/Makefile: Likewise.
37060         * nscd/Makefile: Likewise.
37061         * hurd/Makefile: Likewise.
37062         * manual/Makefile: Likewise.
37063         * locale/Makefile: Likewise.
37064         * intl/Makefile: Likewise.
37065         * conform/Makefile: Likewise.
37066         * nss/Makefile: Likewise.
37067         * time/Makefile: Likewise.
37068         * soft-fp/Makefile: Likewise.
37069         * dirent/Makefile: Likewise.
37070         * gmon/Makefile: Likewise.
37071         * po/Makefile: Likewise.
37072         * rt/Makefile: Likewise.
37073         * socket/Makefile: Likewise.
37074         * math/Makefile: Likewise.
37075         * signal/Makefile: Likewise.
37076         * debug/Makefile: Likewise.
37077         * elf/Makefile: Likewise.
37078         * timezone/Makefile: Likewise.
37079         * stdlib/Makefile: Likewise.
37080         * iconvdata/Makefile: Likewise.
37081         * sunrpc/Makefile: Likewise.
37082         * io/Makefile: Likewise.
37083         * argp/Makefile: Likewise.
37084         * inet/Makefile: Likewise.
37085         * hesiod/Makefile: Likewise.
37086         * grp/Makefile: Likewise.
37087         * csu/Makefile: Likewise.
37088         * wctype/Makefile: Likewise.
37089         * crypt/Makefile: Likewise.
37090         * libio/Makefile: Likewise.
37091         * string/Makefile: Likewise.
37092         * nis/Makefile: Likewise.
37093         * resolv/Makefile: Likewise.
37094         * stdio-common/Makefile: Likewise.
37095         * wcsmbs/Makefile: Likewise.
37096         * dlfcn/Makefile: Likewise.
37097         * posix/Makefile: Likewise.
37099         [BZ #6959]
37100         * timezone/Makefile: Don't install timezone files, just the programs
37101         and scripts.
37103 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37105         * nss/databases.def: Add missing gshadow entry.
37107         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37109 2012-03-06  Marek Polacek  <polacek@redhat.com>
37111         [BZ #13726]
37112         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37113         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37114         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37115         * stdio-common/tst-long-dbl-fphex.c: New file.
37117 2012-03-06  David S. Miller  <davem@davemloft.net>
37119         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37120         (set_obp_int): New function.
37121         (get_obp_int): New function.
37122         (__get_clockfreq_via_dev_openprom): Likewise.
37123         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37124         Avoid unused variable warnings on 'val' and use builtin_expect.
37125         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37126         __builtin_expect.
37127         (INLINE_CLONE_SYSCALL): Likewise.
37129 2012-03-05  David S. Miller  <davem@davemloft.net>
37131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37133 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37137         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37138         only for |x| >= 40.
37139         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37141 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37143         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37144         Replace gettimeofday with __vdso_gettimeofday.
37146         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37147         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37148         __vdso_clock_gettime and __vdso_getcpu.
37150         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37151         time with __vdso_time.
37153 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37155         * manual/lang.texi (size_t): Note types to which size_t may be
37156         equivalent with the GNU C Library, but do not describe when
37157         differences between them are significant.
37159 2012-03-05  Andreas Jaeger  <aj@suse.de>
37161         * sysdeps/i386/fpu/libm-test-ulps: Update.
37163 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37165         [BZ #3976]
37166         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37167         (__ieee754_pow): Save and restore rounding mode and use
37168         round-to-nearest for main computations.
37169         * math/libm-test.inc (pow_test_tonearest): New function.
37170         (pow_test_towardzero): Likewise.
37171         (pow_test_downward): Likewise.
37172         (pow_test_upward): Likewise.
37173         (main): Call the new functions.
37174         * sysdeps/i386/fpu/libm-test-ulps: Update.
37175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37177         [BZ #3976]
37178         * math/libm-test.inc (cosh_test_tonearest): New function.
37179         (cosh_test_towardzero): Likewise.
37180         (cosh_test_downward): Likewise.
37181         (cosh_test_upward): Likewise.
37182         (sinh_test_tonearest): Likewise.
37183         (sinh_test_towardzero): Likewise.
37184         (sinh_test_downward): Likewise.
37185         (sinh_test_upward): Likewise.
37186         (main): Call the new functions.
37187         * sysdeps/i386/fpu/libm-test-ulps: Update.
37188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37190 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37192         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37193         default stack guard is set in last bytes.
37194         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37196 2012-03-05  Kees Cook  <keescook@chromium.org>
37198         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37200         [BZ #13656]
37201         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37202         possibly allocate from heap instead of stack.
37203         * stdio-common/bug-vfprintf-nargs.c: New file.
37204         * stdio-common/Makefile (tests): Add nargs overflow test.
37206 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37210 2012-03-03  Marek Polacek  <polacek@redhat.com>
37212         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37213         * math/math_private.h: Likewise.
37214         * stdlib/tst-strtod.c: Likewise.
37215         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37216         * sysdeps/x86_64/bits/atomic.h: Likewise.
37218 2012-03-02  David S. Miller  <davem@davemloft.net>
37220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37224         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37225         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37226         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37227         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37229 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37231         [BZ #13792]
37232         * manual/examples/README: New file, says the example source files
37233         can be used under GPL>=2.
37234         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37235         line containing just "*/".
37236         * manual/examples/add.c: Add copyright header (GPL>=2).
37237         * manual/examples/argp-ex1.c: Likewise.
37238         * manual/examples/argp-ex2.c: Likewise.
37239         * manual/examples/argp-ex3.c: Likewise.
37240         * manual/examples/argp-ex4.c: Likewise.
37241         * manual/examples/atexit.c: Likewise.
37242         * manual/examples/db.c: Likewise.
37243         * manual/examples/dir.c: Likewise.
37244         * manual/examples/dir2.c: Likewise.
37245         * manual/examples/execinfo.c: Likewise.
37246         * manual/examples/filecli.c: Likewise.
37247         * manual/examples/filesrv.c: Likewise.
37248         * manual/examples/fmtmsgexpl.c: Likewise.
37249         * manual/examples/genpass.c: Likewise.
37250         * manual/examples/inetcli.c: Likewise.
37251         * manual/examples/inetsrv.c: Likewise.
37252         * manual/examples/isockad.c: Likewise.
37253         * manual/examples/longopt.c: Likewise.
37254         * manual/examples/memopen.c: Likewise.
37255         * manual/examples/memstrm.c: Likewise.
37256         * manual/examples/mkfsock.c: Likewise.
37257         * manual/examples/mkisock.c: Likewise.
37258         * manual/examples/mygetpass.c: Likewise.
37259         * manual/examples/pipe.c: Likewise.
37260         * manual/examples/popen.c: Likewise.
37261         * manual/examples/rprintf.c: Likewise.
37262         * manual/examples/search.c: Likewise.
37263         * manual/examples/select.c: Likewise.
37264         * manual/examples/setjmp.c: Likewise.
37265         * manual/examples/sigh1.c: Likewise.
37266         * manual/examples/sigusr.c: Likewise.
37267         * manual/examples/stpcpy.c: Likewise.
37268         * manual/examples/strdupa.c: Likewise.
37269         * manual/examples/strftim.c: Likewise.
37270         * manual/examples/strncat.c: Likewise.
37271         * manual/examples/subopt.c: Likewise.
37272         * manual/examples/swapcontext.c: Likewise.
37273         * manual/examples/termios.c: Likewise.
37274         * manual/examples/testopt.c: Likewise.
37275         * manual/examples/testpass.c: Likewise.
37276         * manual/examples/timeval_subtract.c: Likewise.
37278         [BZ #13792]
37279         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37280         function to ...
37281         * manual/timeval_subtract.c.texi: ... here, new file.
37283 2012-03-02  David S. Miller  <davem@davemloft.net>
37285         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37287 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37289         [BZ #3976]
37290         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37291         (__sin): Save and restore rounding mode and use round-to-nearest
37292         for all computations.
37293         (__cos): Save and restore rounding mode and use round-to-nearest
37294         for all computations.
37295         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37296         <fenv.h>.
37297         (tan): Save and restore rounding mode and use round-to-nearest for
37298         all computations.
37299         * math/libm-test.inc (cos_test_tonearest): New function.
37300         (cos_test_towardzero): Likewise.
37301         (cos_test_downward): Likewise.
37302         (cos_test_upward): Likewise.
37303         (sin_test_tonearest): Likewise.
37304         (sin_test_towardzero): Likewise.
37305         (sin_test_downward): Likewise.
37306         (sin_test_upward): Likewise.
37307         (tan_test_tonearest): Likewise.
37308         (tan_test_towardzero): Likewise.
37309         (tan_test_downward): Likewise.
37310         (tan_test_upward): Likewise.
37311         (main): Call the new functions.
37312         * sysdeps/i386/fpu/libm-test-ulps: Update.
37313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37315         [BZ #10135]
37316         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37317         small n, then large n, before computing and testing k+n.
37318         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37319         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37320         Likewise.
37321         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37322         Likewise.
37323         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37324         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37325         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37326         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37327         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37328         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37329         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37330         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37331         * math/libm-test.inc (scalbn_test): Add more tests.
37332         (scalbln_test): Likewise.
37334         * manual/filesys.texi (mode_t): Describe constraints on size and
37335         signedness, not exact equivalence to a particular type.
37336         (ino_t): Likewise.
37337         (ino64_t): Likewise.
37338         (dev_t): Likewise.
37339         (nlink_t): Likewise.
37340         (blkcnt_t): Likewise.
37341         (blkcnt64_t): Likewise.
37342         * manual/llio.texi (off_t): Likewise.
37344         [BZ #3976]
37345         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37346         (__ieee754_exp): Save and restore rounding mode and use
37347         round-to-nearest for all computations.
37348         * math/libm-test.inc (exp_test_tonearest): New function.
37349         (exp_test_towardzero): Likewise.
37350         (exp_test_downward): Likewise.
37351         (exp_test_upward): Likewise.
37352         (main): Call the new functions.
37353         * sysdeps/i386/fpu/libm-test-ulps: Update.
37354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37356 2012-03-01  Chris Demetriou  <cgd@google.com>
37358         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37359         have predictable order.
37361 2012-03-01  David S. Miller  <davem@davemloft.net>
37363         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37365         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37366         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37367         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37368         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37370         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37371         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37372         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37374         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37375         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37376         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37377         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37378         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37382         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37383         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37384         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37386         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37387         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37388         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37389         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37390         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37391         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37392         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37393         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37394         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37395         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37396         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37397         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37399         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37400         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37401         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37402         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37403         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37404         * sysdeps/sparc/elf/configure: Regenerated.
37406 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37408         * configure.in (AS, LD): Require binutils 2.20 or later.
37409         * configure: Regenerated.
37410         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37411         as required minimum version.
37412         * INSTALL: Regenerated.
37414         [BZ #2541]
37415         [BZ #4108]
37416         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37417         before squaring exponent.
37418         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37419         bottom long double and 27 bits of top long double before squaring
37420         exponent.
37421         * math/libm-test.inc (erfc_test): Add more tests.
37422         * sysdeps/i386/fpu/libm-test-ulps: Update.
37423         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37426 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37428         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37429         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37430         containing bit-fields.
37431         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37432         * soft-fp/single.h (_FP_UNION_S): Likewise.
37433         * soft-fp/double.h (_FP_UNION_D): Likewise.
37435 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37437         [BZ #13786]
37438         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37439         not include ../strcmp.S.
37440         [USE_AS_STRNCASECMP_L]: Likewise.
37441         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37442         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37443         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37444         (__strncasecmp_l_ia32): Define as alias to
37445         __strncasecmp_l_nonascii.
37447         [BZ #5794]
37448         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37449         * sysdeps/i386/fpu/libm-test-ulps: Update.
37450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37452         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37455 2012-02-29  Jeff Law  <law@redhat.com>
37457         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37458         out of bounds read.
37460 2012-02-29  Marek Polacek  <polacek@redhat.com>
37462         [BZ #13706]
37463         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37464         * elf/Makefile: Add rules to run tst-unused-dep.out.
37466 2012-02-28  David S. Miller  <davem@davemloft.net>
37468         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37469         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37470         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37471         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37472         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37473         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37475 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37477         * math/libm-test.inc (llround_test): Move one test from
37478         lround_test.  Use TEST_f_L in moved test.
37479         (lround_test): Move misplaced test to llround_test.  Add testcase
37480         from bug 2561.
37482 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37484         * sysdeps/x86_64/fpu/e_expf.S: New file.
37485         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37487 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37489         [BZ #13637]
37490         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37491         of remain_len that may cause incomplete multi-byte character and
37492         false match.
37493         * posix/bug-regex33.c: New file.
37494         * posix/Makefile (tests): Add bug-regex33.
37496 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37498         * manual/macros.texi: New file.
37499         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37500         * manual/libc.texinfo: Include macros.texi.
37501         * manual/creatute.texi: Likewise.
37502         * manual/install.texi: Likewise.
37503         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37504         @glibcadj{} in references to the GNU C Library.
37505         * manual/charset.texi: Likewise.
37506         * manual/conf.texi: Likewise.
37507         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37508         when not using those macros.
37509         * manual/creature.texi: Likewise.
37510         * manual/crypt.texi: Likewise.
37511         * manual/errno.texi: Likewise.
37512         * manual/filesys.texi: Likewise.
37513         * manual/header.texi: Likewise.
37514         * manual/install.texi: Likewise.
37515         * manual/intro.texi: Likewise.
37516         * manual/io.texi: Likewise.
37517         * manual/job.texi: Likewise.
37518         * manual/lang.texi: Likewise.
37519         * manual/libc.texiinfo: Likewise.
37520         * manual/llio.texi: Likewise.
37521         * manual/locale.texi: Likewise.
37522         * manual/maint.texi: Likewise.
37523         * manual/math.texi: Likewise.
37524         * manual/memory.texi: Likewise.
37525         * manual/message.texi: Likewise.
37526         * manual/nss.texi: Likewise.
37527         * manual/pattern.texi: Likewise.
37528         * manual/process.texi: Likewise.
37529         * manual/resource.texi: Likewise.
37530         * manual/search.texi: Likewise.
37531         * manual/setjmp.texi: Likewise.
37532         * manual/signal.texi: Likewise.
37533         * manual/socket.texi: Likewise.
37534         * manual/startup.texi: Likewise.
37535         * manual/stdio.texi: Likewise.
37536         * manual/string.texi: Likewise.
37537         * manual/sysinfo.texi: Likewise.
37538         * manual/syslog.texi: Likewise.
37539         * manual/terminal.texi: Likewise.
37540         * manual/time.texi: Likewise.
37541         * manual/users.texi: Likewise.
37542         * INSTALL: Regenerated.
37543         * NOTES: Regenerated.
37544         * sysdeps/gnu/errlist.c: Regenerated.
37546 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37548         * include/dirent.h: Include <dirstream.h> before
37549         <dirent/dirent.h>.
37551 2012-02-28  David S. Miller  <davem@davemloft.net>
37553         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37554         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37555         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37556         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37558 2012-02-27  David S. Miller  <davem@davemloft.net>
37560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37562         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37563         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37566         frame pointer instead of stack pointer relative arg slot.
37567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37568         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37569         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37571 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37573         [BZ #3992]
37574         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37576 2012-02-27  David S. Miller  <davem@davemloft.net>
37578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37582         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37583         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37584         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37585         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37587 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37589         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37590         later.  Allow versions 5-9.
37591         * configure: Regenerated.
37592         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37593         required minimum version and 4.6 as recommended version.  Do not
37594         mention bugs in GCC 2.7 and 2.8.
37595         * INSTALL: Regenerated.
37597 2012-02-27  David S. Miller  <davem@davemloft.net>
37599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37600         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37601         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37603         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37604         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37605         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37606         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37608         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37609         manipulate bits before adding and subtracting TWO112[sx].
37610         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37612 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37614         [BZ #13775]
37615         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37616         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37617         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37618         being in POSIX, because they are in 1003.1-2008.
37620         * rt/tst-aio.c: Include <fcntl.h>.
37621         * rt/tst-aio7.c: Likewise.
37622         * rt/tst-aio64.c: Likewise.
37624         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37626 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37628         * manual/install.texi (--with-headers): Describe headers as
37629         interface headers, not private headers.
37630         (Specific advice for GNU/Linux systems): Describe use of headers
37631         from "make headers_install", not private headers from older
37632         kernels.
37633         * INSTALL: Regenerated.
37634         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37635         Change to 2.6.19.
37636         * sysdeps/unix/sysv/linux/configure: Regenerated.
37638         * manual/llio.texi (fclean): Remove documentation.
37640         * manual/Makefile (libc-texi-generated): New variable.  Include
37641         version.texi.
37642         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37643         $(libc-texi-generated), not duplicated list of files.
37644         (version.texi, stamp-version): New rules.
37645         (realclean): Remove $(libc-texi-generated), not individual files
37646         from that list.  Do not remove dir-add.texinfo.
37647         * manual/libc.texinfo: Comment out uses of edition numbers and
37648         references to printed manual.  Remove last-updated dates.
37649         (EDITION): Comment out.
37650         (ISBN): Likewise.
37651         (VERSION, UPDATED): Remove.
37652         (version.texi): Include.
37654 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37656         * sysdeps/posix/spawni.c: Include <signal.h>.
37657         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37658         * sysdeps/pthread/aio_fsync.c: Likewise.
37660 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37662         * conform/Makefile (tests): Run only when not cross-compiling and
37663         when fast-check is not defined.
37665         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37666         * conform/data/limits.h-data: Fixes for POSIX2008.
37667         * conform/run-conformtest.sh: Run all tests.
37668         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37669         headers.
37670         * include/bits/dlfcn.h: Likewise.
37671         * include/langinfo.h: Likewise.
37672         * include/monetary.h: Likewise.
37673         * include/sys/poll.h: Likewise.
37675         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37676         for __USE_GNU.
37677         * posix/spawn.h: Define __need_sigset_t.
37678         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37679         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37680         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37681         to get sigevent_t only.
37682         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37683         only for __USE_GNU.
37684         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37685         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37686         process_vm_writev only for __USE_GNU.
37687         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37689         * conform/Makefile: For now ignore errors from run-conformtest.
37690         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37691         POSIX to avoid namespace pollution.  Don't prepend headers.
37692         * conform/data/aio.h-data: Fixes for POSIX testing.
37693         * conform/data/fcntl.h-data: Likewise.
37694         * conform/data/glob.h-data: Likewise.
37695         * conform/data/grp.h-data: Likewise.
37696         * conform/data/pthread.h-data: Likewise.
37697         * conform/data/pwd.h-data: Likewise.
37698         * conform/data/signal.h-data: Likewise.
37699         * conform/data/spawn.h-data: Likewise.
37700         * conform/data/stdio.h-data: Likewise.
37701         * conform/data/stdlib.h-data: Likewise.
37702         * conform/data/stropts.h-data: Likewise.
37703         * conform/data/sys/mman.h-data: Likewise.
37704         * conform/data/sys/stat.h-data: Likewise.
37705         * conform/data/sys/types.h-data: Likewise.
37706         * conform/data/sys/wait.h-data: Likewise.
37707         * conform/data/time.h-data: Likewise.
37708         * conform/data/unistd.h-data: Likewise.
37709         * conform/data/utime.h-data: Likewise.
37711         * io/sys/stat.h: fchmod was always in POSIX.
37712         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37713         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37714         * rt/aio.h: Define __need_timespec before including <time.h>.
37715         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37716         struct.  Add forward declaration of pthread_attr_t and use it in
37717         sigevent.
37718         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37719         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37720         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37721         always remove CLK_TCK definition.
37723 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37725         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37727 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37729         * conform/run-conformtest.sh: New file.
37730         * conform/Makefile: Run run-conformtest for tests.
37731         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37732         support.
37734         * conform/data/uchar.h-data: New file.
37735         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37736         * conform/data/arpa/inet.h-data: Likewise.
37737         * conform/data/assert.h-data: Likewise.
37738         * conform/data/complex.h-data: Likewise.
37739         * conform/data/cpio.h-data: Likewise.
37740         * conform/data/ctype.h-data: Likewise.
37741         * conform/data/dirent.h-data: Likewise.
37742         * conform/data/dlfcn.h-data: Likewise.
37743         * conform/data/errno.h-data: Likewise.
37744         * conform/data/fcntl.h-data: Likewise.
37745         * conform/data/float.h-data: Likewise.
37746         * conform/data/fmtmsg.h-data: Likewise.
37747         * conform/data/fnmatch.h-data: Likewise.
37748         * conform/data/ftw.h-data: Likewise.
37749         * conform/data/glob.h-data: Likewise.
37750         * conform/data/grp.h-data: Likewise.
37751         * conform/data/iconv.h-data: Likewise.
37752         * conform/data/inttypes.h-data: Likewise.
37753         * conform/data/langinfo.h-data: Likewise.
37754         * conform/data/libgen.h-data: Likewise.
37755         * conform/data/limits.h-data: Likewise.
37756         * conform/data/locale.h-data: Likewise.
37757         * conform/data/math.h-data: Likewise.
37758         * conform/data/monetary.h-data: Likewise.
37759         * conform/data/mqueue.h-data: Likewise.
37760         * conform/data/ndbm.h-data: Likewise.
37761         * conform/data/net/if.h-data: Likewise.
37762         * conform/data/netdb.h-data: Likewise.
37763         * conform/data/netinet/in.h-data: Likewise.
37764         * conform/data/nl_types.h-data: Likewise.
37765         * conform/data/poll.h-data: Likewise.
37766         * conform/data/pthread.h-data: Likewise.
37767         * conform/data/pwd.h-data: Likewise.
37768         * conform/data/regex.h-data: Likewise.
37769         * conform/data/sched.h-data: Likewise.
37770         * conform/data/search.h-data: Likewise.
37771         * conform/data/semaphore.h-data: Likewise.
37772         * conform/data/setjmp.h-data: Likewise.
37773         * conform/data/signal.h-data: Likewise.
37774         * conform/data/spawn.h-data: Likewise.
37775         * conform/data/stdarg.h-data: Likewise.
37776         * conform/data/stdio.h-data: Likewise.
37777         * conform/data/stdlib.h-data: Likewise.
37778         * conform/data/string.h-data: Likewise.
37779         * conform/data/strings.h-data: Likewise.
37780         * conform/data/stropts.h-data: Likewise.
37781         * conform/data/sys/ipc.h-data: Likewise.
37782         * conform/data/sys/mman.h-data: Likewise.
37783         * conform/data/sys/msg.h-data: Likewise.
37784         * conform/data/sys/resource.h-data: Likewise.
37785         * conform/data/sys/select.h-data: Likewise.
37786         * conform/data/sys/sem.h-data: Likewise.
37787         * conform/data/sys/shm.h-data: Likewise.
37788         * conform/data/sys/socket.h-data: Likewise.
37789         * conform/data/sys/stat.h-data: Likewise.
37790         * conform/data/sys/statvfs.h-data: Likewise.
37791         * conform/data/sys/time.h-data: Likewise.
37792         * conform/data/sys/timeb.h-data: Likewise.
37793         * conform/data/sys/times.h-data: Likewise.
37794         * conform/data/sys/types.h-data: Likewise.
37795         * conform/data/sys/uio.h-data: Likewise.
37796         * conform/data/sys/un.h-data: Likewise.
37797         * conform/data/sys/utsname.h-data: Likewise.
37798         * conform/data/sys/wait.h-data: Likewise.
37799         * conform/data/syslog.h-data: Likewise.
37800         * conform/data/tar.h-data: Likewise.
37801         * conform/data/termios.h-data: Likewise.
37802         * conform/data/utime.h-data: Likewise.
37803         * conform/data/utmpx.h-data: Likewise.
37804         * conform/data/varargs.h-data: Likewise.
37805         * conform/data/wchar.h-data: Likewise.
37806         * conform/data/wctype.h-data: Likewise.
37807         * conform/data/wordexp.h-data: Likewise.
37809         * include/stropts.h: New file.
37810         * include/uchar.h: New file.
37811         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37812         * include/assert.h: Likewise.
37813         * include/ctype.h: Likewise.
37814         * include/dirent.h: Likewise.
37815         * include/dlfcn.h: Likewise.
37816         * include/fcntl.h: Likewise.
37817         * include/fnmatch.h: Likewise.
37818         * include/glob.h: Likewise.
37819         * include/grp.h: Likewise.
37820         * include/libio.h: Likewise.
37821         * include/locale.h: Likewise.
37822         * include/math.h: Likewise.
37823         * include/net/if.h: Likewise.
37824         * include/netdb.h: Likewise.
37825         * include/netinet/in.h: Likewise.
37826         * include/pthread.h: Likewise.
37827         * include/pwd.h: Likewise.
37828         * include/regex.h: Likewise.
37829         * include/sched.h: Likewise.
37830         * include/search.h: Likewise.
37831         * include/setjmp.h: Likewise.
37832         * include/signal.h: Likewise.
37833         * include/stdio.h: Likewise.
37834         * include/stdlib.h: Likewise.
37835         * include/string.h: Likewise.
37836         * include/sys/cdefs.h: Likewise.
37837         * include/sys/mman.h: Likewise.
37838         * include/sys/msg.h: Likewise.
37839         * include/sys/resource.h: Likewise.
37840         * include/sys/select.h: Likewise.
37841         * include/sys/socket.h: Likewise.
37842         * include/sys/stat.h: Likewise.
37843         * include/sys/statvfs.h: Likewise.
37844         * include/sys/time.h: Likewise.
37845         * include/sys/times.h: Likewise.
37846         * include/sys/uio.h: Likewise.
37847         * include/sys/utsname.h: Likewise.
37848         * include/sys/wait.h: Likewise.
37849         * include/termios.h: Likewise.
37850         * include/time.h: Likewise.
37851         * include/ulimit.h: Likewise.
37852         * include/unistd.h: Likewise.
37853         * include/utime.h: Likewise.
37854         * include/wchar.h: Likewise.
37855         * include/wctype.h: Likewise.
37856         * include/wordexp.h: Likewise.
37858         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37860         * time/time.h: TIME_UTC must be a macro.
37861         Make timespec_get available for ISO C11 only as well.
37863 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37865         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37866         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37868 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37870         * configure.in: Use -o not -a in test for unsupported multi-arch.
37872 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37874         * manual/texinfo.tex: Update to version 2012-01-19.16.
37876 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37878         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37880 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37882         [BZ #13738]
37883         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37884         * manual/fdl-1.3.texi: New file.
37885         * manual/fdl-1.1.texi: File removed.
37887         [BZ #13738]
37888         * manual/libc.texinfo (FDL_VERSION): New @set.
37889         Use it for mention of FDL in cover text.
37890         (Documentation License): Use it in @include file name.
37892 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37893             Roland McGrath  <roland@hack.frob.com>
37895         [BZ #5461]
37896         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37897         (not LONG_LONG_MAX and LONG_LONG_MIN.
37898         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37899         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37900         name.
37901         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37905         [BZ #2547]
37906         [BZ #11365]
37907         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37908         manipulate bits before adding and subtracting TWO23[sx].
37909         * math/libm-test.inc (nearbyint_test): Add more tests.
37911 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37913         [BZ #2548]
37914         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37915         bits before adding and subtracting TWO23[sx].
37916         * math/libm-test.inc (rint_test): Add more tests.
37917         (rint_test_tonearest): Likewise.
37918         (rint_test_towardzero): Likewise.
37919         (rint_test_downward): Likewise.
37920         (rint_test_upward: Likewise.
37922 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37924         [BZ #10110]
37925         * include/stdc-predef.h: New file.  Extracted from features.h.
37926         * include/features.h: Include stdc-predef.h.
37927         * Makefile (headers): Add stdc-predef.h.
37928         * CONFORMANCE (Compiler limitations): Update.
37930 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37932         * manual/libc.texinfo (VERSION, UPDATED): Revert.
37934 2012-02-21  David S. Miller  <davem@davemloft.net>
37936         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37937         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37939 2012-02-20  David S. Miller  <davem@davemloft.net>
37941         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37942         using a normal save/restore sequence, rather than allocating a
37943         dummy stack frame just to store a frame pointer and restore.
37944         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37946 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37948         * manual/install.texi: Fix stray word in line-wrapped comment.
37950 2012-02-20  David S. Miller  <davem@davemloft.net>
37952         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37953         both binutils and gcc support GOTDATA.
37955         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37956         "rd %pc" in the PIC register setup sequences.
37958         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37959         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37960         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37961         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37962         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37963         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37964         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37965         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37967         (SYSCALL_ERROR_HANDLER): Likewise.
37968         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37969         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37970         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37971         (SYSCALL_ERROR_HANDLER): Likewise.
37973         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37974         (HAVE_GCC_GOTDATA): New.
37975         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37976         relocation support in both binutils and gcc.
37977         * sysdeps/sparc/elf/configure: Regenerate.
37979         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37980         * sysdeps/sparc/sparc32/elf/configure: Delete.
37981         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37982         * sysdeps/sparc/sparc64/elf/configure: Delete.
37983         * sysdeps/sparc/elf/configure.in: New file.
37984         * sysdeps/sparc/elf/configure: Generate.
37986         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37987         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37988         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37989         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37990         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37992 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37994         * manual/install.texi: Do not mention specific glibc version
37995         numbers.
37996         * manual/libc.texinfo (VERSION, UPDATED): Update.
37997         (@copying): Use @copyright{} and range of years.
37999 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38001         [BZ #13695]
38002         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38003         [crti.S not in sysdirs] (generated): Do not append.
38004         [crti.S not in sysdirs] (omit-deps): Likewise.
38005         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38006         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38007         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38008         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38009         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38010         Likewise.
38011         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38012         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38013         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38014         * csu/defs.awk: Remove file.
38015         * sysdeps/generic/initfini.c: Likewise.
38016         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38017         variable.
38018         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38019         Likewise.
38021 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38023         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38024         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38025         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38026         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38027         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38028         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38029         <bits/epoll.h>.
38030         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38031         (__EPOLL_PACKED): Define to empty if not defined by
38032         <bits/epoll.h>.
38033         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38034         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38035         bits/epoll.h.
38037 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38039         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38040         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38041         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38042         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38043         <bits/timerfd.h>.
38044         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38046         bits/timerfd.h.
38048 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38050         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38051         in C locale.
38052         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38053         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38054         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38057 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38059         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38060         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38062 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38064         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38065         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38066         defined.
38067         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38068         Likewise.
38069         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38070         entry for 2.16.
38072 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38074         * math/w_acos.c: Use non-signaling floating-point comparisons.
38075         * math/w_acosf.c: Likewise.
38076         * math/w_acosh.c: Likewise.
38077         * math/w_acoshf.c: Likewise.
38078         * math/w_acoshl.c: Likewise.
38079         * math/w_acosl.c: Likewise.
38080         * math/w_asin.c: Likewise.
38081         * math/w_asinf.c: Likewise.
38082         * math/w_asinl.c: Likewise.
38083         * math/w_atanh.c: Likewise.
38084         * math/w_atanhf.c: Likewise.
38085         * math/w_atanhl.c: Likewise.
38086         * math/w_exp2.c: Likewise.
38087         * math/w_exp2f.c: Likewise.
38088         * math/w_exp2l.c: Likewise.
38089         * math/w_j0.c: Likewise.
38090         * math/w_j0f.c: Likewise.
38091         * math/w_j0l.c: Likewise.
38092         * math/w_j1.c: Likewise.
38093         * math/w_j1f.c: Likewise.
38094         * math/w_j1l.c: Likewise.
38095         * math/w_jn.c: Likewise.
38096         * math/w_jnf.c: Likewise.
38097         * math/w_log.c: Likewise.
38098         * math/w_log10.c: Likewise.
38099         * math/w_log10f.c: Likewise.
38100         * math/w_log10l.c: Likewise.
38101         * math/w_log2.c: Likewise.
38102         * math/w_log2f.c: Likewise.
38103         * math/w_log2l.c: Likewise.
38104         * math/w_logf.c: Likewise.
38105         * math/w_logl.c: Likewise.
38106         * math/w_sqrt.c: Likewise.
38107         * math/w_sqrtf.c: Likewise.
38108         * math/w_sqrtl.c: Likewise.
38109         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38110         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38111         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38112         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38113         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38115 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38117         [BZ #9739]
38118         * manual/string.texi (strnlen): Use correct parameter name in
38119         equivalent expression.
38121 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38123         [BZ #11174]
38124         * manual/users.texi (seteuid): Consistently use neweuid for
38125         argument name.
38127 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38129         [BZ #13704]
38130         * manual/nss.texi (Services in the NSS configuration): Correct
38131         list of services in example configuration file.
38133 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38135         [BZ #11322]
38136         * manual/arith.texi: Remove statements about negative zero
38137         behaving identically to zero.
38139 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38141         [BZ #5993]
38142         * manual/install.texi: Do not document upgrading from libc5.
38144 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38146         [BZ #4596]
38147         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38149 2012-02-18  David S. Miller  <davem@davemloft.net>
38151         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38152         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38153         %o7 across the call.
38154         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38155         instead.
38156         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38157         SETUP_PIC_REG_LEAF.
38158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38159         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38160         * sysdeps/sparc/crtn.S: Likewise.
38162 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38164         * aout/Makefile: Remove.
38166 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38168         [BZ #13058]
38169         * manual/examples/argp-ex1.c (main): Format definition in GNU
38170         style.
38171         * manual/examples/argp-ex2.c (main): Likewise.
38172         * manual/examples/argp-ex3.c (main): Likewise.
38173         * manual/examples/argp-ex4.c (main): Likewise.
38174         * manual/examples/longopt.c (main): Use new-style prototype
38175         definition.
38176         * manual/examples/strncat.c (main): Specify return type and use
38177         (void) for arguments.
38178         * manual/examples/subopt.c (main): Use char **argv argument.
38180 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38182         [BZ #5077]
38183         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38184         rounding modes.
38186 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38188         [BZ #6907]
38189         * manual/string.texi (strchr): Change when strchrnul is
38190         recommended.
38192 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38194         [BZ #174]
38195         * manual/locale.texi (setlocale): Document LOCPATH.
38197 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38199         [BZ #10210]
38200         * manual/process.texi (execle): Move @dots{} before last argument.
38202 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38204         [BZ #12047]
38205         * manual/charset.texi (Generic Charset Conversion): Fix typo
38206         (LC_TYPE -> LC_CTYPE).
38208 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38210         [BZ #5805]
38211         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38212         (scalbnf): Likewise.
38213         (scalbnl): Likewise.
38214         (scalbln): Likewise.
38215         (scalblnf): Likewise.
38216         (scalblnl): Likewise.
38217         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38218         (vwarnx): Likewise.
38219         (verr): Likewise.
38220         (verrx): Likewise.
38221         * manual/filesys.texi (telldir): Use braces around return type.
38222         * manual/llio.texi (mmap): Add space after comma.
38223         (mmap64): Likewise.
38224         * manual/math.texi (jn): Use @var{} on parameter names.
38225         (jnf): Likewise.
38226         (jnl): Likewise.
38227         (yn): Likewise.
38228         (ynf): Likewise.
38229         (ynl): Likewise.
38230         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38231         line.
38232         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38233         "...".
38234         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38235         (sched_get_priority_max): Likewise.
38236         * manual/signal.texi (sigvec): Add space after comma.
38237         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38238         names.
38239         (if_indextoname): Likewise.
38240         (if_freenameindex): Likewise.
38241         (sendto): Use ',' instead of '.' in prototype.
38242         * manual/startup.texi (syscall): Use @dots{} instead of literal
38243         "...".
38244         * manual/stdio.texi (__fpending): Separate initial words of
38245         paragraph from @deftypefun line.
38246         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38247         "...".
38248         (vsyslog): Use @var{} on parameter names.
38249         * manual/terminal.texi (stty): Use @var{} on parameter names.
38250         * manual/users.texi (getutmp): Use @var{} on parameter names.
38251         (getutmpx): Likewise.
38253 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38255         [BZ #6884]
38256         * manual/stdio.texi (fopen): Fix typos in description of
38257         ",ccs=STRING".
38259 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38261         [BZ #4026]
38262         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38263         get clock_id definition.
38265 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38267         [BZ #4822]
38268         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38269         (madvise): Cast every argument to void on its own.
38271 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38273         [BZ #9902]
38274         * manual/startup.texi (Exit Status): Fix typo.
38276 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38278         [BZ #10140]
38279         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38280         * manual/examples/argp-ex2.c: Likewise.
38281         * manual/examples/argp-ex3.c: Likewise.
38283 2012-02-16  Richard Henderson  <rth@redhat.com>
38285         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38286         * sysdeps/s390/s390-32/initfini.c: Remove.
38287         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38288         * sysdeps/s390/s390-64/initfini.c: Remove.
38290 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38292         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38293         compiler output for sysdeps/generic/initfini.c.
38294         * sysdeps/sh/elf/initfini.c: Remove file.
38296 2012-02-16  David S. Miller  <davem@davemloft.net>
38298         [BZ #11494]
38299         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38301         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38302         * sysdeps/sparc/crti.S: New file.
38303         * sysdeps/sparc/crtn.S: New file.
38304         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38305         * sysdeps/sparc/sparc64/Makefile: Likewise.
38307 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38309         [BZ #3335]
38310         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38312 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38314         [BZ #4822]
38315         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38317         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38318         (write, read, close): Likewise.
38319         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38321 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38323         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38324         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38325         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38326         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38327         <bits/signalfd.h>.
38328         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38330         bits/signalfd.h.
38332 2012-02-14  Marek Polacek  <polacek@redhat.com>
38334         * sysdeps/x86_64/crti.S: New file.
38335         * sysdeps/x86_64/crtn.S: New file.
38336         * sysdeps/x86_64/elf/initfini.c: Remove file.
38338 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38340         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38341         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38342         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38343         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38344         <bits/inotify.h>.
38345         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38346         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38347         bits/inotify.h.
38349 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38351         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38352         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38353         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38354         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38355         <bits/eventfd.h>.
38356         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38358         bits/eventfd.h.
38360 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38362         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38363         __feraiseexcept instead of feraiseexcept.
38365         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38366         nanosleep invocations.
38367         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38368         strings, and add error checking for a nanosleep invocations.
38370 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38372         Replace FSF snail mail address with URLs, as per GNU coding standards.
38373         Most of the snail mail addresses were wrong anyway, and omitting
38374         them makes the source code easier to maintain.  Almost all of the
38375         changes are to license notices and to locale LC_IDENTIFICATION
38376         addresses, except for this one:
38377         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38378         not its snail mail address.
38380 2012-02-09  Richard Henderson  <rth@twiddle.net>
38382         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38383         of kernel-features.h.
38385         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38387 2012-02-08  Marek Polacek  <polacek@redhat.com>
38389         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38390         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38391         * sysdeps/gnu/_G_config.h: Likewise.
38392         * sysdeps/generic/_G_config.h: Likewise.
38394 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38396         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38397         tests.
38398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38400         * sysdeps/powerpc/powerpc32/crti.S: New file.
38401         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38402         * sysdeps/powerpc/powerpc64/crti.S: New file.
38403         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38405         * Makeconfig (have-initfini): Don't set.
38406         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38407         * configure.in (nopic_initfini): Don't substitute.
38408         * config.h.in (HAVE_INITFINI): Don't #undef.
38409         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38410         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38412 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38414         Support crti.S and crtn.S provided directly by architectures.
38415         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38416         [crti.S in sysdirs] (omit-deps): Likewise.
38417         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38418         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38419         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38420         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38421         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38422         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38423         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38424         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38425         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38426         compiler output for sysdeps/generic/initfini.c.
38427         * sysdeps/i386/elf/Makefile: Remove file.
38428         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38430 2012-02-07  Marek Polacek  <polacek@redhat.com>
38432         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38433         * sysdeps/gnu/_G_config.h: Likewise.
38434         * sysdeps/mach/hurd/_G_config.h: Likewise.
38436 2012-02-07  Marek Polacek  <polacek@redhat.com>
38438         * math/Makefile (tests): Add tst-CMPLX2.
38439         * math/tst-CMPLX2.c: New file.
38441 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38443         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38445         * math/libm-test.inc (jn_test): Add missing L suffix.
38447 2012-02-06  Marek Polacek  <polacek@redhat.com>
38449         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38450         * sysdeps/i386/fpu/e_powf.S: Likewise.
38451         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38452         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38453         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38454         * sysdeps/i386/fpu/e_pow.S: Likewise.
38455         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38456         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38457         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38458         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38459         * sysdeps/i386/fpu/e_log2.S: Likewise.
38460         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38461         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38462         * sysdeps/i386/fpu/e_powl.S: Likewise.
38463         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38464         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38465         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38466         * sysdeps/i386/fpu/e_logl.S: Likewise.
38467         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38468         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38469         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38470         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38471         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38472         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38473         * sysdeps/i386/fpu/e_log.S: Likewise.
38474         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38475         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38476         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38477         * sysdeps/i386/fpu/e_logf.S: Likewise.
38478         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38479         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38480         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38481         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38482         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38483         * sysdeps/i386/fpu/e_log10.S: Likewise.
38484         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38485         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38486         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38487         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38488         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38489         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38490         * sysdeps/i386/asm-syntax.h: Likewise.
38491         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38492         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38493         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38494         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38495         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38496         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38497         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38498         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38499         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38500         * sysdeps/powerpc/sysdep.h: Likewise.
38501         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38502         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38504 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38506         [BZ #411]
38507         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38509 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38511         * sysdeps/i386/sysdep.h: Include <features.h>.
38512         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38513         version.
38515 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38517         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38518         Define.
38519         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38520         LOAD_PIC_REG_STR.
38522 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38524         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38525         (SETUP_PIC_REG): Use GET_PC_THUNK.
38526         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38527         macro.
38529 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38531         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38532         for non-PIC compilation.
38533         (SETUP_PIC_REG): Add .p2align directive.
38534         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38535         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38536         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38537         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38538         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38539         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38540         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38541         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38542         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38543         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38544         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38545         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38546         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38547         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38548         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38549         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38550         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38551         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38552         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38553         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38554         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38555         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38556         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38557         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38558         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38559         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38560         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38561         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38562         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38563         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38564         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38565         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38566         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38567         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38568         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38569         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38570         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38571         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38572         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38573         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38574         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38576 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38578         * math/tst-CMPLX.c: Include <stdio.h>.
38580 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38582         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38583         float.
38584         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38585         * sysdeps/sparc/bits/mathdef.h: Likewise.
38587 2012-01-31  Marek Polacek  <polacek@redhat.com>
38589         * libio/libio.h: Don't define _PARAMS.
38590         * locale/programs/config.h: Don't define PARAMS.
38591         * stdlib/strtol_l.c: Likewise.
38592         (__strtol_l): Remove PARAMS from the prototype.
38594 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38596         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38597         names.  Just use the correct names.  Remove unnecessary wrapper
38598         functions.
38599         * malloc/arena.c: Likewise.
38600         * malloc/hooks.c: Likewise.
38602         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38603         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38604         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38606 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38608         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38609         into tail calls.
38610         (update_get_addr): New function.
38611         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38612         GET_ADDR_MODULE parameter.
38614 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38616         * crypt/cert.c: Remove __STDC__ conditionals.
38617         * crypt/crypt-entry.c: Likewise.
38618         * crypt/crypt_util.c: Likewise.
38619         * libio/filedoalloc.c: Likewise.
38620         * libio/fileops.c: Likewise.
38621         * libio/genops.c: Likewise.
38622         * libio/iofclose.c: Likewise.
38623         * libio/iofdopen.c: Likewise.
38624         * libio/iofopen.c: Likewise.
38625         * libio/iofopen64.c: Likewise.
38626         * libio/iogetdelim.c: Likewise.
38627         * libio/iopopen.c: Likewise.
38628         * libio/obprintf.c: Likewise.
38629         * libio/oldfileops.c: Likewise.
38630         * libio/oldiofclose.c: Likewise.
38631         * libio/oldiofdopen.c: Likewise.
38632         * libio/oldiofopen.c: Likewise.
38633         * libio/oldiopopen.c: Likewise.
38634         * libio/wfiledoalloc.c: Likewise.
38635         * libio/wgenops.c: Likewise.
38636         * locale/programs/xmalloc.c: Likewise.
38637         * misc/syslog.c: Likewise.
38638         * stdio-common/xbug.c: Likewise.
38639         * string/memchr.c: Likewise.
38640         * string/memcmp.c: Likewise.
38641         * string/memrchr.c: Likewise.
38642         * string/rawmemchr.c: Likewise.
38643         * sysdeps/posix/getcwd.c: Likewise.
38644         * time/strftime_l.c: Likewise.
38646 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38648         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38649         * config.make.in (config-cflags-sse2avx): Define.
38650         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38651         Fix typo.
38653 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38655         * scripts/config.guess: Update from upstream config git repository.
38656         * scripts/config.sub: Likewise.
38658 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38660         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38661         (EM_NUM): Update.
38662         (R_TILEPRO_*, R_TILEGX_*): New macros.
38664         * scripts/firstversions.awk: Fix bug in version range handling.
38666         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38668         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38670         * include/sys/epoll.h: New file.
38671         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38672         libc_hidden_def.
38674 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38676         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38677         Avoid unnecessary __WORDSIZE == 64 test.
38678         (fmaxf): Use VEX format if possible.
38679         (fmax): Likewise.
38680         (fminf): Likewise.
38681         (fmin): Likewise.
38683         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38684         * math/math_private.h: Remove libc_fegetround* and
38685         libc_fesetround*.
38686         * sysdeps/i386/configure.in: Check for -msse2avx.
38687         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38688         also if SSE2AVX is defined.
38689         Remove libc_fegetround* and libc_fesetround*.
38690         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38691         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38692         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38693         of HAS_YMM_USABLE.
38694         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38695         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38696         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38697         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38698         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38700         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38702 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38704         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38705         size is not set.
38706         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38708 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38710         [BZ #13618]
38711         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38712         relocation.
38713         * Makeconfig (libm): Define.
38714         * elf/Makefile: Add rules to build and run tst-relsort1.
38715         * elf/tst-relsort1.c: New file.
38716         * elf/tst-relsort1mod1.c: New file.
38717         * elf/tst-relsort1mod2.c: New file.
38719 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38721         * math/s_ldexp.c: Remove __STDC__ conditionals.
38722         * math/s_ldexpf.c: Likewise.
38723         * math/s_ldexpl.c: Likewise.
38724         * math/s_nextafter.c: Likewise.
38725         * math/s_nexttowardf.c: Likewise.
38726         * math/s_significand.c: Likewise.
38727         * math/s_significandf.c: Likewise.
38728         * math/s_significandl.c: Likewise.
38729         * math/w_jnl.c: Likewise.
38730         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38731         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38732         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38733         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38734         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38735         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38737         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38738         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38739         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38740         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38741         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38742         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38743         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38744         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38745         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38746         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38747         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38748         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38749         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38750         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38751         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38752         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38753         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38754         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38755         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38756         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38757         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38758         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38759         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38760         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38761         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38762         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38763         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38764         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38765         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38766         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38767         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38768         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38769         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38770         * sysdeps/ieee754/k_standard.c: Likewise.
38771         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38772         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38773         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38774         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38775         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38776         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38777         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38778         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38779         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38780         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38781         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38782         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38783         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38784         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38785         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38786         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38787         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38788         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38789         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38790         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38791         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38792         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38793         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38794         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38795         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38796         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38797         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38798         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38799         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38800         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38801         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38802         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38803         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38804         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38805         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38806         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38807         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38808         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38809         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38810         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38811         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38812         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38813         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38814         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38815         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38816         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38817         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38818         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38819         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38820         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38822         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38823         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38824         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38825         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38826         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38827         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38828         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38829         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38830         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38831         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38832         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38833         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38834         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38835         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38836         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38837         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38838         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38839         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38840         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38841         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38842         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38843         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38844         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38845         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38846         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38847         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38848         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38849         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38850         * sysdeps/ieee754/s_matherr.c: Likewise.
38851         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38852         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38853         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38854         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38856 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38858         * crypt/md5.h: Remove __STDC__ conditionals.
38859         * libio/libioP.h: Likewise.
38860         * locale/programs/config.h: Likewise.
38861         * sysdeps/generic/sysdep.h: Likewise.
38862         * sysdeps/i386/asm-syntax.h: Likewise.
38863         * sysdeps/s390/asm-syntax.h: Likewise.
38864         * sysdeps/unix/sysdep.h: Likewise.
38865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38868 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38870         * libio/libio.h: Remove __STDC__ conditionals.
38871         * malloc/obstack.h: Likewise.
38872         * math/complex.h: Likewise.
38873         * math/math.h: Likewise.
38874         * sysdeps/generic/_G_config.h: Likewise.
38875         * sysdeps/gnu/_G_config.h: Likewise.
38876         * sysdeps/mach/hurd/_G_config.h: Likewise.
38877         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38878         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38879         * sysdeps/sparc/bits/mathdef.h: Likewise.
38881 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38883         [BZ #13583]
38884         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38885         Clean up HAS_* macros.
38886         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38887         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38888         possible.
38889         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38890         HAS_AVX.
38891         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38892         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38893         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38894         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38895         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38897 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38899         * elf/tst-unique3.cc (gets): Remove declaration.
38900         * elf/tst-unique3lib.cc (gets): Likewise.
38901         * elf/tst-unique3lib2.cc (gets): Likewise.
38902         * elf/tst-unique4.cc (gets): Likewise.
38904 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38906         * include/stdio.h: Add C++ protection.  Add gets declarations and
38907         definitions.
38908         * debug/tst-chk1.c: Don't declare gets here.
38909         * stdio-common/tst-gets.c: Likewise.
38911 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38913         * posix/glob: Remove directory.
38915 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38917         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38919 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38921         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38922         of the non-standard EPFNOSUPPORT.
38924 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38926         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38927         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38928         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38930 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38932         * wcsmbs/uchar.h: Test __STDC_VERSION__.
38934 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
38936         * nscd/aicache.c (addhstaiX): Do not cache negative results of
38937         transient errors.
38938         * nscd/grpcache.c (cache_addgr): Likewise.
38939         * nscd/hstcache.c (cache_addhst): Likewise.
38940         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38941         * nscd/pwdcache.c (cache_addpw): Likewise.
38942         * nscd/servicescache.c (cache_addserv): Likewise.
38944 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
38946         * malloc/malloc.c: Various cleanups.
38947         * malloc/hooks.c: Likewise.
38949         * stdlib/Makefile (tests): Add bug-fmtmsg1.
38950         * stdlib/bug-fmtmsg1.c: New file.
38952         * stdlib/fmtmsg.c (init): Add missing unlock.
38953         Patch by Peng Haitao <penght@cn.fujitsu.com>.
38955 2012-01-12  Marek Polacek  <polacek@redhat.com>
38957         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38958         and _GNU_SOURCE.
38960 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38962         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38963         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38964         macro to ensure uniqueness of label name.
38965         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38966         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38968 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
38970         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38972         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38973         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38974         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38975         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38977 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38979         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38981         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38982         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38983         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38985         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38987         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38988         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38989         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38990         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38992         * math/bits/math-finite.h: Add ldexp support.
38994 2012-01-10  Marek Polacek  <polacek@redhat.com>
38996         * locale/programs/localedef.h (show_archive_content): Add noreturn
38997         attribute.
38999 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39001         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39003 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39005         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39007         * io/Makefile (headers): Add bits/poll2.h.
39009 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39012         typo #include statement.
39014 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39016         * include/sys/cdefs.h: Define __attribute_alloc_size.
39017         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39018         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39019         * elf/pldd.c: Likewise.
39020         * iconv/iconv_charmap.c: Likewise.
39021         * iconv/iconvconfig.c: Likewise.
39022         * iconv/strtab.c: Likewise.
39023         * locale/programs/locale.c: Likewise.
39024         * locale/programs/localedef.h: Likewise.
39025         * locale/programs/simple-hash.c: Likewise.
39026         * nscd/nscd.h: Likewise.
39027         * nss/makedb.c: Likewise.
39028         * sysdeps/generic/ldconfig.h: Likewise.
39029         * locale/programs/localedef.c: Remove xmalloc prototype.
39030         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39032 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39034         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39035         appropriate.
39037 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39039         * math/Makefile (tests): Add tst-CMPLX.
39040         * math/tst-CMPLX.c: New file.
39042         * math/complex.h (CMPLXL): Fix typo.
39044         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39045         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39046         GLIBC_2.16.
39047         * debug/tst-chk1.c: Add poll and ppoll tests.
39048         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39049         * include/sys/poll.h: Add hidden proto for ppoll.
39050         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39051         * sysdeps/mach/hurd/ppoll.c: Likewise.
39052         * io/ppoll.c: Likewise.
39053         * debug/poll_chk.c: New file.
39054         * debug/ppoll_chk.c: New file.
39055         * include/bits/poll2.h: New file.
39056         * io/bits/poll2.h: New file.
39058         [BZ #1350]
39059         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39061         * configure.in: static is always set to yes.  Remove.
39062         * config.make.in: Don't set build-static.
39063         * Makeconfig: Remove use of build-static.
39064         * dlfcn/Makefile: Likewise.
39065         * elf/Makefile: Likewise.
39066         * math/Makefile: Likewise.
39067         * misc/Makefile: Likewise.
39068         * nptl/Makefile: Likewise.
39069         * sysdeps/mach/hurd/Makefile: Likewise.
39071         * configure.in: PWD_P is not used anymore.
39072         * config.make.in: Remove PWD_P entry.
39074         * configure.in: Remove last remnants of RANLIB.
39075         No need to check for signed size_t anymore.
39076         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39077         and IA-64.
39078         Remove __builtin_expect test because we require at least gcc 3.4.
39079         * aclocal.m4: Likewise.
39081         * wcsmbs/mbrtoc16.c: Implement using towc function.
39082         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39083         * wcsmbs/wcsmbsload.c: Likewise.
39084         * iconv/gconv_simple.c: Likewise.
39085         * iconv/gconv_int.h: Likewise.
39086         * iconv/gconv_builtin.h: Likewise.
39087         * iconv/iconv_prog.c: Remove CHAR16 handling.
39089         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39091         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39093         * configure.in: Remove --with-elf and --enable-bounded options.
39094         Dont set base_machine for ia64.  More non-ELF conditions removed.
39095         Remove testing and setting of leading underscore information.
39096         * config.make.in (build-bounded): Set to no.
39097         * config.h.in: Remove NO_UNDERSCORES entry.
39098         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39099         them.
39100         * csu/start.c: Remove !NO_UNDERSCORE code.
39101         * locale/localeinfo.h: Likewise.
39102         * sysdeps/generic/machine-gmon.h: Likewise.
39103         * sysdeps/generic/sysdep.h: Likewise.
39104         * sysdeps/i386/sysdep.h: Likewise.
39105         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39106         * sysdeps/mach/sysdep.h: Likewise.
39107         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39108         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39109         * sysdeps/sh/sysdep.h: Likewise.
39110         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39111         * sysdeps/unix/i386/sysdep.S: Likewise.
39112         * sysdeps/unix/sparc/start.c: Likewise.
39113         * sysdeps/unix/sparc/sysdep.S: Likewise.
39114         * sysdeps/unix/sparc/sysdep.h: Likewise.
39115         * sysdeps/unix/start.c: Likewise.
39116         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39117         * sysdeps/x86_64/sysdep.h: Likewise.
39119 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39121         [BZ #13553]
39122         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39123         for non-gcc.
39124         * argp/argp-fmtstream.h: Use const instead __const.
39125         * argp/argp.h: Likewise.
39126         * assert/assert.h: Likewise.
39127         * bits/fenv.h: Likewise.
39128         * bits/sched.h: Likewise.
39129         * bits/sigset.h: Likewise.
39130         * bits/sigthread.h: Likewise.
39131         * catgets/nl_types.h: Likewise.
39132         * conform/data/pthread.h-data: Likewise.
39133         * crypt/crypt-private.h: Likewise.
39134         * crypt/crypt.h: Likewise.
39135         * crypt/crypt_util.c: Likewise.
39136         * ctype/ctype.h: Likewise.
39137         * debug/execinfo.h: Likewise.
39138         * debug/mbsnrtowcs_chk.c: Likewise.
39139         * debug/mbsrtowcs_chk.c: Likewise.
39140         * debug/wcsnrtombs_chk.c: Likewise.
39141         * debug/wcsrtombs_chk.c: Likewise.
39142         * debug/wcstombs_chk.c: Likewise.
39143         * dirent/dirent.h: Likewise.
39144         * dlfcn/dlfcn.h: Likewise.
39145         * elf/neededtest4.c: Likewise.
39146         * grp/grp.h: Likewise.
39147         * gshadow/gshadow.h: Likewise.
39148         * iconv/gconv.h: Likewise.
39149         * iconv/gconv_int.h: Likewise.
39150         * iconv/gconv_simple.c: Likewise.
39151         * iconv/iconv.h: Likewise.
39152         * iconv/loop.c: Likewise.
39153         * iconv/skeleton.c: Likewise.
39154         * include/aio.h: Likewise.
39155         * include/aliases.h: Likewise.
39156         * include/argz.h: Likewise.
39157         * include/arpa/inet.h: Likewise.
39158         * include/assert.h: Likewise.
39159         * include/dirent.h: Likewise.
39160         * include/dlfcn.h: Likewise.
39161         * include/execinfo.h: Likewise.
39162         * include/fcntl.h: Likewise.
39163         * include/fenv.h: Likewise.
39164         * include/glob.h: Likewise.
39165         * include/grp.h: Likewise.
39166         * include/libintl.h: Likewise.
39167         * include/mntent.h: Likewise.
39168         * include/netdb.h: Likewise.
39169         * include/pwd.h: Likewise.
39170         * include/rpc/netdb.h: Likewise.
39171         * include/sched.h: Likewise.
39172         * include/search.h: Likewise.
39173         * include/shadow.h: Likewise.
39174         * include/signal.h: Likewise.
39175         * include/stdio.h: Likewise.
39176         * include/stdlib.h: Likewise.
39177         * include/string.h: Likewise.
39178         * include/sys/socket.h: Likewise.
39179         * include/sys/stat.h: Likewise.
39180         * include/sys/statfs.h: Likewise.
39181         * include/sys/statvfs.h: Likewise.
39182         * include/sys/syslog.h: Likewise.
39183         * include/sys/time.h: Likewise.
39184         * include/sys/uio.h: Likewise.
39185         * include/time.h: Likewise.
39186         * include/unistd.h: Likewise.
39187         * include/utmp.h: Likewise.
39188         * include/wchar.h: Likewise.
39189         * include/wctype.h: Likewise.
39190         * inet/aliases.h: Likewise.
39191         * inet/arpa/inet.h: Likewise.
39192         * inet/netinet/ether.h: Likewise.
39193         * inet/netinet/in.h: Likewise.
39194         * intl/libintl.h: Likewise.
39195         * io/bits/fcntl2.h: Likewise.
39196         * io/fcntl.h: Likewise.
39197         * io/ftw.h: Likewise.
39198         * io/sys/poll.h: Likewise.
39199         * io/sys/stat.h: Likewise.
39200         * io/sys/statfs.h: Likewise.
39201         * io/sys/statvfs.h: Likewise.
39202         * io/utime.h: Likewise.
39203         * libio/bits/stdio.h: Likewise.
39204         * libio/bits/stdio2.h: Likewise.
39205         * libio/libio.h: Likewise.
39206         * libio/libioP.h: Likewise.
39207         * libio/stdio.h: Likewise.
39208         * locale/lc-ctype.c: Likewise.
39209         * locale/locale.h: Likewise.
39210         * login/utmp.h: Likewise.
39211         * malloc/arena.c: Likewise.
39212         * malloc/malloc.c: Likewise.
39213         * malloc/malloc.h: Likewise.
39214         * malloc/mcheck.c: Likewise.
39215         * malloc/mtrace.c: Likewise.
39216         * math/bits/mathcalls.h: Likewise.
39217         * math/fenv.h: Likewise.
39218         * math/math_private.h: Likewise.
39219         * misc/bits/error.h: Likewise.
39220         * misc/bits/syslog.h: Likewise.
39221         * misc/err.h: Likewise.
39222         * misc/error.h: Likewise.
39223         * misc/fstab.h: Likewise.
39224         * misc/mntent.h: Likewise.
39225         * misc/regexp.h: Likewise.
39226         * misc/search.h: Likewise.
39227         * misc/sgtty.h: Likewise.
39228         * misc/sys/mman.h: Likewise.
39229         * misc/sys/syslog.h: Likewise.
39230         * misc/sys/uio.h: Likewise.
39231         * misc/sys/xattr.h: Likewise.
39232         * misc/ttyent.h: Likewise.
39233         * nis/rpcsvc/ypclnt.h: Likewise.
39234         * nss/nss.h: Likewise.
39235         * posix/bits/unistd.h: Likewise.
39236         * posix/fnmatch.h: Likewise.
39237         * posix/glob.h: Likewise.
39238         * posix/sched.h: Likewise.
39239         * posix/spawn.h: Likewise.
39240         * posix/sys/wait.h: Likewise.
39241         * posix/unistd.h: Likewise.
39242         * posix/wordexp.h: Likewise.
39243         * pwd/pwd.h: Likewise.
39244         * resolv/netdb.h: Likewise.
39245         * resource/sys/resource.h: Likewise.
39246         * rt/aio.h: Likewise.
39247         * rt/bits/mqueue2.h: Likewise.
39248         * rt/mqueue.h: Likewise.
39249         * shadow/shadow.h: Likewise.
39250         * signal/signal.h: Likewise.
39251         * socket/send.c: Likewise.
39252         * socket/sendto.c: Likewise.
39253         * socket/sys/socket.h: Likewise.
39254         * stdio-common/printf.h: Likewise.
39255         * stdlib/bits/stdlib.h: Likewise.
39256         * stdlib/fmtmsg.h: Likewise.
39257         * stdlib/monetary.h: Likewise.
39258         * stdlib/stdlib.h: Likewise.
39259         * stdlib/ucontext.h: Likewise.
39260         * streams/stropts.h: Likewise.
39261         * string/argz.h: Likewise.
39262         * string/bits/string2.h: Likewise.
39263         * string/string.h: Likewise.
39264         * string/strings.h: Likewise.
39265         * sunrpc/rpc/auth.h: Likewise.
39266         * sunrpc/rpc/auth_des.h: Likewise.
39267         * sunrpc/rpc/clnt.h: Likewise.
39268         * sunrpc/rpc/netdb.h: Likewise.
39269         * sunrpc/rpc/pmap_clnt.h: Likewise.
39270         * sunrpc/rpc/xdr.h: Likewise.
39271         * sysdeps/generic/inttypes.h: Likewise.
39272         * sysdeps/generic/net/if.h: Likewise.
39273         * sysdeps/generic/sys/swap.h: Likewise.
39274         * sysdeps/gnu/net/if.h: Likewise.
39275         * sysdeps/gnu/utmpx.h: Likewise.
39276         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39277         * sysdeps/i386/i486/bits/string.h: Likewise.
39278         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39279         * sysdeps/s390/bits/string.h: Likewise.
39280         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39281         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39282         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39283         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39284         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39285         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39286         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39287         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39288         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39289         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39290         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39291         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39292         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39293         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39294         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39295         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39296         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39297         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39298         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39299         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39300         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39301         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39302         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39303         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39304         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39305         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39306         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39307         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39308         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39309         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39310         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39311         * sysvipc/sys/ipc.h: Likewise.
39312         * sysvipc/sys/msg.h: Likewise.
39313         * sysvipc/sys/sem.h: Likewise.
39314         * sysvipc/sys/shm.h: Likewise.
39315         * termios/termios.h: Likewise.
39316         * time/sys/time.h: Likewise.
39317         * time/time.h: Likewise.
39318         * wcsmbs/bits/wchar2.h: Likewise.
39319         * wcsmbs/uchar.h: Likewise.
39320         * wcsmbs/wchar.h: Likewise.
39321         * wctype/wctype.h: Likewise.
39323         [BZ #13551]
39324         * Makeconfig: Remove all but ELF support including AIX support.
39325         * Makerules: Likewise.
39326         * config.h.in: Likewise.
39327         * config.make.in: Likewise.
39328         * configure: Likewise.
39329         * configure.in: Likewise.
39330         * csu/Makefile: Likewise.
39331         * csu/version.c: Likewise.
39332         * debug/Makefile: Likewise.
39333         * dlfcn/Makefile: Likewise.
39334         * elf/Makefile: Likewise.
39335         * extra-lib.mk: Likewise.
39336         * iconv/Makefile: Likewise.
39337         * include/libc-symbols.h: Likewise.
39338         * include/shlib-compat.h: Likewise.
39339         * resolv/Makefile: Likewise.
39340         * resolv/res_libc.c: Likewise.
39341         * rt/Makefile: Likewise.
39342         * sysdeps/i386/asm-syntax.h: Likewise.
39343         * sysdeps/i386/sysdep.h: Likewise.
39344         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39345         * sysdeps/mach/sysdep.h: Likewise.
39346         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39347         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39348         * sysdeps/s390/asm-syntax.h: Likewise.
39349         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39350         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39351         * sysdeps/sh/sysdep.h: Likewise.
39352         * sysdeps/unix/sparc/sysdep.h: Likewise.
39353         * sysdeps/wordsize-32/divdi3.c: Likewise.
39354         * sysdeps/x86_64/sysdep.h: Likewise.
39356         * argp/Versions: Remove _argp_unlock_xxx.
39358         [BZ #13559]
39359         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39360         * abilist/libBrokenLocale.abilist: Likewise.
39361         * abilist/libanl.abilist: Likewise.
39362         * abilist/libc.abilist: Likewise.
39363         * abilist/libcrypt.abilist: Likewise.
39364         * abilist/libdl.abilist: Likewise.
39365         * abilist/libm.abilist: Likewise.
39366         * abilist/libnsl.abilist: Likewise.
39367         * abilist/libpthread.abilist: Likewise.
39368         * abilist/libresolv.abilist: Likewise.
39369         * abilist/librt.abilist: Likewise.
39370         * abilist/libthread_db.abilist: Likewise.
39371         * abilist/libutil.abilist: Likewise.
39372         * abilist/libnss_db.abilist: New file.
39374         * scripts/abilist.awk: Add support for indirect functions.
39376         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39378         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39380         * shlib-versions: Remove entries for ports architectures.
39382         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39383         files in ports.
39384         * elf/stackguard-macros.h: Remove support for IA-64.
39385         * elf/tst-auditmod1.c: Likewise.
39386         * sysdeps/generic/ldsodefs.h: Likewise.
39388         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39389         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39390         configure files.
39392         [BZ #13552]
39393         * configure.in: Remove --enable-omitfp support.
39394         * FAQ.in: Adjust.
39395         * config.make.in: Likewise.
39396         * Makeconfig: Likewise.
39397         * manual/install.texi: Likewise.
39399         In case anyone cares, the IA-64 architecture could move to ports.
39400         * sysdeps/ia64/*: Removed.
39401         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39402         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39404         [BZ #13555]
39405         * configure.in: Remove entries for unsupported architectures.
39407         [BZ #13533]
39408         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39409         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39410         routines.
39411         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39412         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39413         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39414         fall back to using wcrtomb.
39415         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39416         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39417         renaming.
39418         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39419         * wcsmbs/tst-c16c32-1.c: New file.
39421         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39422         local variable.
39424         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39426         * elf/tst-unique3.cc: Add explicit declaration of gets.
39427         * elf/tst-unique3lib.cc: Likewise.
39428         * elf/tst-unique3lib2.cc: Likewise.
39429         * elf/tst-unique4.cc: Likewise.
39431         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39433 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39435         [BZ #13566]
39436         * assert/assert.h (static_assert): Don't define for C++.
39437         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39438         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39440 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39442         * iconv/loop.c (single loop): Fix assertion in storing of
39443         remaining bytes.
39445         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39447 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39449         * posix/getconf.c: Update copyright year.
39450         * nss/getent.c: Likewise.
39451         * nss/makedb.c: Likewise.
39452         * iconv/iconvconfig.c: Likewise.
39453         * iconv/iconv_prog.c: Likewise.
39454         * elf/ldconfig.c: Likewise.
39455         * elf/pldd.c: Likewise.
39456         * elf/sotruss.ksh: Likewise.
39457         * catgets/gencat.c: Likewise.
39458         * csu/version.c: Likewise.
39459         * elf/ldd.bash.in: Likewise.
39460         * elf/sprof.c (print_version): Likewise.
39461         * locale/programs/locale.c: Likewise.
39462         * locale/programs/localedef.c: Likewise.
39463         * login/programs/pt_chown.c: Likewise.
39464         * nscd/nscd.c (print_version): Likewise.
39465         * debug/xtrace.sh: Likewise.
39466         * malloc/memusage.sh: Likewise.
39467         * malloc/mtrace.pl: Likewise.
39468         * debug/catchsegv.sh: Likewise.
39470 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39472         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39473         pure attribute.
39475 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39477         [BZ #13533]
39478         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39479         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39480         transformations.
39481         * iconv/gconv_int.h: Likewise.
39482         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39483         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39484         from libc for GLIBC_2.16.
39485         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39486         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39487         * wcsmbs/uchar.h: Really define mbstate_t.
39488         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39489         * wcsmbs/c16rtomb.c: New file.
39490         * wcsmbs/mbrtoc16.c: New file.
39491         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39492         for C/POSIX locale.
39493         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39494         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39496         * wcsmbs/wchar.h: Add missing __restrict.
39498 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39500         [BZ #13532]
39501         * time/Makefile (routines): Add timespec_get.
39502         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39503         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39504         timespec for ISO C11.
39505         * time/timespec_get.c: New file.
39506         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39507         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39509         [BZ #13531]
39510         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39511         * stdlib/stdlib.h: Declare aligned_alloc.
39512         * Versions.def: Add GLIBC_2.16 for libc.
39513         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39515         [BZ 13527]
39516         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39517         ISO C11.
39519         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39520         code.
39522         [BZ #13528]
39523         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39525         [BZ #13529]
39526         * assert/assert.h (static_assert): Define.
39528         * version.h: Update for 2.16 development version.
39530         [BZ #13526]
39531         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39532         _ISOC11_SOURCE.
39534         * version.h (RELEASE): Bump for 2.15 release.
39535         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39537         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39538         Patch by Marek Polacek <mpolacek@redhat.com>.
39540         * bits/byteswap.h: Protect long long constants with __extension__.
39541         * sysdeps/i386/bits/byteswap.h: Likewise.
39542         * sysdeps/ia64/bits/byteswap.h: Likewise.
39543         * sysdeps/s390/bits/byteswap.h: Likewise.
39544         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39546 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39548         [BZ #13540]
39549         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39550         destination buffer.
39551         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39553 2011-12-23  Marek Polacek  <polacek@redhat.com>
39555         * elf/dl-addr.c (determine_info): Add inline keyword.
39556         * elf/tst-auditmod4b.c (check_avx): Likewise.
39557         * elf/tst-auditmod6b.c (check_avx): Likewise.
39558         * elf/tst-auditmod6c.c (check_avx): Likewise.
39559         * elf/tst-auditmod7b.c (check_avx): Likewise.
39561 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39563         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39564         !__SSE_MATH__.
39566 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39568         [BZ #13540]
39569         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39570         processing for last bytes.
39572 2011-08-06  Bruno Haible  <bruno@clisp.org>
39574         [BZ #13061]
39575         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39576         U+0385, not to U+1FEE.
39578         [BZ #13062]
39579         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39580         entry for U+00A5 U+0301.
39582 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39584         [BZ #13166]
39585         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39586         buffer for the output is too small.
39588         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39589         optimization.
39591         [BZ #13185]
39592         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39593         SSE flags if possible.
39595 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39597         [BZ #13540]
39598         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39599         processing for last bytes.
39601 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39603         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39604         (syscall-list-default-options, syscall-list-default-condition)
39605         (syscall-list-includes): Define.
39606         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39607         list of ABIs and options and #if conditions for each ABI.  Do not
39608         handle common syscalls between ABIs specially.
39609         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39610         Remove.
39611         (syscall-list-variants, syscall-list-32bit-options)
39612         (syscall-list-32bit-condition, syscall-list-64bit-options)
39613         (syscall-list-64bit-condition): Define.
39614         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39615         (syscall-list-variants, syscall-list-32bit-options)
39616         (syscall-list-32bit-condition, syscall-list-64bit-options)
39617         (syscall-list-64bit-condition): Define.
39618         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39619         Remove.
39620         (syscall-list-variants, syscall-list-32bit-options)
39621         (syscall-list-32bit-condition, syscall-list-64bit-options)
39622         (syscall-list-64bit-condition): Define.
39623         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39624         Remove.
39625         (syscall-list-variants, syscall-list-32bit-options)
39626         (syscall-list-32bit-condition, syscall-list-64bit-options)
39627         (syscall-list-64bit-condition): Define.
39629 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39631         * locale/iso-639.def: Add brx entry.
39633         [BZ #13328]
39634         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39635         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39637         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39638         __feraiseexcept_renamed.
39640 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39642         [BZ #13538]
39643         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39644         EPOLLET with unsigned values.
39645         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39646         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39648         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39649         to large cancellation.
39650         * math/s_cacoshf.c: Likewise.
39651         * math/s_cacoshl.c: Likewise.
39653 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39655         [BZ #13305]
39656         [BZ #12786]
39657         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39658         * math/s_cacoshf.c: Likewise.
39659         * math/s_cacoshl.c: Likewise.
39661 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39663         [BZ #13439]
39664         * iconv/gconv.h: Define __GCONV_SWAP.
39665         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39666         * iconvdata/utf-16.c: Likewise.
39667         * iconvdata/utf-32.c: Likewise.
39669 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39671         [BZ #13524]
39672         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39673         numerator after shifting it by one limb.
39675 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39677         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39678         under [__USE_EXTERN_INLINES].
39680 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39682         [BZ #13446]
39683         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39685 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39687         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39688         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39689         optimized code.
39690         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39691         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39692         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39693         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39694         for strncasecmp/strncasecmp_l compilation.
39695         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39696         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39698 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39700         [BZ #13484]
39701         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39702         of __asm__.
39704 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39706         [BZ #13506]
39707         * time/tzfile.c (__tzfile_read): Check values from file header.
39709 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39711         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39712         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39713         * powerpc/powerpc32/dl-start.S: Likewise.
39714         * powerpc/powerpc32/elf/start.S: Likewise.
39715         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39716         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39717         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39718         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39719         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39720         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39721         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39722         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39723         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39724         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39725         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39726         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39727         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39728         * powerpc/powerpc32/memset.S: Likewise.
39729         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39730         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39731         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39732         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39733         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39734         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39735         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39736         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39737         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39738         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39739         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39740         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39741         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39743 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39745         * math/libm-test.inc: Added more nearbyint tests.
39746         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39747         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39748         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39749         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39751 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39753         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39754         FD_CLOEXEC.
39756 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39758         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39759         Add wcscpy-ssse3 wcscpy-c.
39760         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39761         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39762         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39763         * sysdeps/x86_64/wcschr.S: New file.
39764         * sysdeps/x86_64/wcsrchr.S: New file.
39765         * string/test-strcmp.c: Remove checking of wcscmp function for
39766         wrong alignments.
39767         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39768         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39769         wcsrchr-sse2 wcsrchr-c.
39770         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39771         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39772         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39773         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39774         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39775         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39776         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39777         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39778         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39779         * wcsmbc/wcschr.c (WCSCHR): New macro.
39781 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39783         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39784         * wcsmbs/test-wcsrchr.c: New file.
39785         * string/test-strrchr.c: Add wcsrchr support.
39786         (WIDE): New macro.
39787         * wcsmbs/test-wcscpy.c: New file.
39788         * string/test-strcpy.c: Add wcscpy support.
39789         (WIDE): New macro.
39791 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39793         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39794         the inner loop.
39796 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39798         [BZ #13472]
39799         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39801 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39803         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39804         Minor optimizations.
39806         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39807         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39808         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39810 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39812         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39813         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39814         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39815         for gcc to avoid warnings.
39816         * inet/Makefile (tests): Add tst-checks.
39817         * inet/tst-checks.c: New file.
39819         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39820         warning.
39822         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39823         __wmemcmp_sse2.
39825         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39826         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39828         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39830 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39832         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39833         problem.
39835         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39837 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39839         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39840         conditional on GCC version.
39841         (__arch_compare_and_exchange_val_8_acq)
39842         (__arch_compare_and_exchange_val_16_acq)
39843         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39844         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39845         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39847 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39849         * sysdeps/sh/backtrace.c: New file.
39851 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39853         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39854         parenthesis.
39856 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39858         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39859         falling back to utime.
39861 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39863         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39864         expectations for float.
39866 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39868         * locale/weight.h (findidx): Add parameter len.
39869         * locale/weightwc.h (findidx): Likewise.
39870         * posix/fnmatch_loop.c (FCT): Adjust caller.
39871         * posix/regcomp.c (build_equiv_class): Likewise.
39872         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39873         * posix/regexec.c (check_node_accept_bytes): Likewise.
39874         * string/strcoll_l.c (STRCOLL): Likewise.
39875         * string/strxfrm_l.c (STRXFRM): Likewise.
39877 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39879         * Makefile.in: Remove CVSOPT handling.
39880         * configure.in: Remove use of AC_REVISION.
39881         * iconvdata/Makefile (distribute): No need to filter out CVS.
39882         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39883         handling.
39885 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39887         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39888         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39889         [USE_AS_STRNCASECMP_L]: Likewise.
39890         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39891         NO_TLS_DIRECT_SEG_REFS.
39892         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39893         Fix argument offsets for non-PIC.
39894         [USE_AS_STRNCASECMP_L]: Likewise.
39895         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39896         NO_TLS_DIRECT_SEG_REFS.
39898 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39900         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39901         O_CLOEXEC.
39902         * locale/loadlocale.c (_nl_load_locale): Likewise.
39904 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39906         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39907         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39908         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39909         (SYSCALL_GETTIME): Set errno on error.
39911         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39912         count references to noai6ai_cached.
39914 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39916         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39918         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39919         FD_CLOEXEC for /proc/self/maps.
39921         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39922         FD_CLOEXEC for /proc/meminfo.
39924         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39925         gai.conf.
39927         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39928         FD_CLOEXEC for given file.
39930         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39932         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39933         FD_CLOEXEC for /etc/hosts.
39934         (_gethtent): Likewise.
39936         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39938         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39939         cancellation and set FD_CLOEXEC for /etc/netgroup.
39941         * nss/nss_files/files-key.c (search): Don't allow cancellation when
39942         reading /etc/publickey.
39944         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39945         allow cancellation when reading /etc/group.
39947         * nss/nss_files/files-alias.c (internal_setent): Don't allow
39948         cancellation.
39949         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
39951         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39952         when using data file.
39954         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39956         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39957         (write_nis_obj): Use "c" and "e" in fopen.
39959         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39961         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39963         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39965         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39967         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39968         locale.alias.
39970         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39972         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39974         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39976         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39977         file parsing and set FD_CLOEXEC.
39979 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39981         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39983 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39985         * malloc/arena.c (arena_get2): Don't call reused_arena when
39986         _int_new_arena failed.
39988 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39990         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39991         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39992         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39993         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39994         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39995         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39996         to compile strcasecmp and strncasecmp.
39997         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39998         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40000         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40002 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40004         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40005         locale-defines.sym to gen-as-const-headers.
40006         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40007         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40009         to compile strcasecmp and strncasecmp.
40010         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40011         strcasecmp_l and strncasecmp_l.
40012         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40013         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40014         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40015         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40016         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40017         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40018         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40019         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40020         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40021         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40022         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40024 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40026         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40027         result of SYSDEP_GETTIME_CPU to retval.
40028         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40029         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40031         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40032         variable.
40034         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40035         mantissa words.
40036         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40038         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40039         from unused variable.
40041         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40042         DWARF definitions.
40043         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40044         for assembling.
40046         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40047         over namespaces.
40049         * sunrpc/rpc_prot.c (rejected): Fix case value.
40051         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40052         unsigned long long int to avoid warnings in shift.
40054         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40055         of use of trans.
40056         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40057         variable tmp.
40059         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40060         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40061         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40063         * nis/nis_table.c (nis_list): Use variable of correct type for
40064         result of __follow_path call.
40066 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40068         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40069         of math functions ceil, trunc, floor, round, and sqrt, when
40070         avaliable on the platform.
40071         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40072         name clash.
40073         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40074         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40075         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40077 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40079         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40080         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40082 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40084         * include/unistd.h: Fix __readlink return type.
40085         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40087 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40089         * stdlib/ucontext.h: Undo last change for makecontext.
40091 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40093         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40095         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40096         * setjmp/setjmp.h: Mark functions as non-leaf.
40097         * setjmp/bits/setjmp2.h: Likewise.
40098         * stdlib/ucontext.h: Likewise.
40100 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40102         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40103         (reused_arena): Don't check arena limit.
40104         (arena_get2): Atomically check arena limit.
40106 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40108         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40109         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40111         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40112         instructions.
40114 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40116         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40117         handler when locking.
40119         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40120         Fix size of allocated buffer.
40122 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40124         [BZ #10103]
40125         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40126         declarations for long double functions.
40127         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40129         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40131 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40133         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40134         installed.
40136         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40137         is disabled.
40139 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40141         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40143 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40145         * include/alloca.h (stackinfo_alloca_round): Define.
40146         (extend_alloca): Use it.
40147         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40148         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40149         here.
40151         * scripts/check-local-headers.sh: Ignore libaudit.h.
40153         * nscd/Makefile (extra-objs): Make recursively expanded.
40155 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40157         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40158         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40160         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40161         * posix/tst-rfc3484-2.c: Likewise.
40162         * posix/tst-rfc3484-3.c: Likewise.
40164         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40165         process_vm_writev.
40166         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40167         process_vm_writev.
40168         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40169         process_vm_writev from libc using GLIBC_2.15 version.
40171         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40173 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40175         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40176         stack usage.
40178 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40180         [BZ #13367]
40181         * nss/getent.c (initgroups_keys): Show error message in case no group
40182         names are given.
40184         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40185         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40186         __bump_nl_timestamp.
40187         * nscd/connections (nscd_init): When host database is served open
40188         netlink socket and request notification about configuration changes.
40189         (main_loop_poll): Track netlink file descriptor and bump timestamp
40190         in case data becomes available.
40191         (main_loop_epoll): Likewise.
40192         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40193         (database_pers_head): Add extra_data fileds.
40194         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40195         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40196         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40197         Adjust caller.
40198         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40199         in6ai data, call __free_in6ai.
40200         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40201         Add -DHAVE_NETLINK.
40202         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40203         interface information.  Reuse previous data if netlink timestamp
40204         is not changed.
40205         (__bump_nl_timestamp): New function.
40206         (__free_in6ai): New function.
40208 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40210         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40211         close_not_cancel_no_status here.
40212         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40214 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40216         [BZ #13276]
40217         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40218         return value.
40220         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40221         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40222         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40224 2011-07-03  Andreas Jaeger  <aj@suse.de>
40226         [BZ #10709]
40227         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40228         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40229         * math/libm-test.inc (sin_test): Add test case.
40231 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40233         [BZ #13337]
40234         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40235         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40237         * elf/chroot_canon.c (chroot_canon): Cleanups.
40239         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40241         [BZ #13335]
40242         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40243         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40245         * string/test-strchr.c: Make usable for strchrnul testing.
40246         * string/test-strchrnul.c: New file.
40247         * string/Makefile (strop-tests): Add strchrnul.
40249         * po/it.po: Update from translation team.
40250         * po/es.po: Likewise.
40252 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40254         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40255         the three constants needed as parameters.  Drop the others.
40256         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40257         __m128i_strloadu_tolower.
40258         Create and initialize variable zero and use it in all the places
40259         where _mm_setzero_si128 was used.
40261         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40262         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40263         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40264         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40265         anymore.
40266         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40267         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40268         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40269         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40270         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40271         __mpranred, __mptan.
40272         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40273         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40274         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40275         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40276         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40277         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40278         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40279         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40280         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40282 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40284         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40285         redefine if SHARED.
40286         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40289         wide char related routines to wcsmbs subdir.
40291 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40293         [BZ #13344]
40294         * misc/sys/cdefs.h (__THROWNL): Define.
40295         * posix/unistd.h: Use __THREADNL instead of __THREAD
40296         for memory synchronization functions.
40298 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40300         [BZ #13349]
40301         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40302         doesn't exist.
40303         * manual/stdio.texi (Obstack Streams): Node removed.
40305 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40307         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40308         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40309         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40311         * math/math_private.h (math_force_eval): Allow non-addressable
40312         arguments.
40313         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40315 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40317         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40318         file is not needed.
40320         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40321         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40322         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40323         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40324         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40325         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40326         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40327         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40328         Add AVX variants.
40329         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40330         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40331         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40332         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40333         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40334         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40335         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40336         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40337         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40338         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40339         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40340         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40341         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40342         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40343         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40344         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40345         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40346         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40347         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40349         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40350         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40352         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40353         place.  Use VEX encoding when compiling for AVX.
40355 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40357         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40358         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40360         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40362 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40364         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40365         useless if() expression.
40366         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40367         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40368         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40369         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40370         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40371         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40372         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40373         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40374         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40375         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40376         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40377         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40378         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40379         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40380         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40381         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40382         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40383         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40384         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40386         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40388 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40390         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40391         condition.
40392         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40394 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40396         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40397         .text section.  Avoid duplicate constants.
40398         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40399         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40400         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40402         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40403         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40404         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40406         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40407         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40408         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40409         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40410         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40411         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40412         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40413         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40414         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40415         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40416         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40417         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40418         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40419         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40421         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40422         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40423         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40424         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40425         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40426         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40427         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40428         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40429         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40430         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40431         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40432         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40433         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40434         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40435         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40436         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40437         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40438         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40439         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40440         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40441         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40442         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40444 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40446         * sysdeps/x86_64/dla.h: Move to ...
40447         * sysdeps/x86_64/fpu/dla.h: ...here.
40448         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40449         situations.  Use __builtin_fma only for gcc 4.6 and up.
40451         * config.make.in: Add have-mfma4 entry.
40452         * configure.in: Substitute libc_cv_cc_fma4.
40453         * math/Makefile (dbl-only-routines): Add sincostab.
40454         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40455         Use __sincostab not sincos.
40456         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40457         name is a macro.
40458         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40462         using __copysign.
40463         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40464         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40465         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40466         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40467         and __inv.
40468         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40469         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40470         __copysign.
40471         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40472         define aliases when function name is a macro.
40473         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40474         sysdeps/ieee754/dbl-64/sincos.tbl.
40475         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40476         fma4-enabled routines.
40477         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40478         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40479         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40480         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40481         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40482         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40483         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40484         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40485         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40486         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40487         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40488         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40489         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40490         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40491         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40492         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40493         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40494         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40495         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40496         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40497         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40498         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40499         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40500         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40501         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40502         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40503         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40504         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40505         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40506         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40508         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40509         rename.
40510         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40511         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40512         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40513         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40514         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40515         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40516         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40519 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40521         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40523 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40525         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40527         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40528         prediction.
40529         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40531         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40532         Remove unused variable magic_bits.
40533         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40535         * string/strnlen.c: Define and use STRNLEN macro.
40536         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40537         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40538         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40539         * wcsmbs/wcslen.c: Define and use WCSLEN.
40540         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40541         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40542         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40543         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40544         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40545         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40546         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40548 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40550         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40551         strnlen-sse2-no-bsf.
40552         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40553         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40554         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40555         Add strnlen support.
40556         (USE_AS_STRNLEN): New macro.
40557         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40558         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40559         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40560         * sysdeps/x86_64/wcslen.S: New file.
40562 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40564         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40565         XMM-moves are used for copying on small sizes.
40567 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40569         * wcsmbs/Makefile (strop-tests): Add wcschr.
40570         * wcsmbs/test-wcschr.c: New file.
40571         * string/test-strchr.c: Update.
40572         Add wcschr support.
40573         (WIDE): New macro.
40575 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40577         * wcsmbs/Makefile (strop-tests): Add wcslen.
40578         * wcsmbs/test-wcslen.c: New file.
40579         * string/test-strlen.c: Update.
40580         Add wcslen support.
40581         (WIDE): New macro.
40583 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40585         * po/it.po: Update from translation team.
40587 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40589         * sysdeps/x86_64/wcscmp.S: Update.
40590         Fix wrong comparison semantics.
40591         wcscmp shall use signed comparison not unsigned.
40592         Don't use substraction to avoid overflow bug.
40593         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40594         * wcsmbc/wcscmp.c: Likewise.
40595         * string/test-strcmp.c: Likewise.
40596         Add new tests to check cases with negative values.
40598 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40600         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40601         * sysdeps/x86_64/dla.h: ...here.  New file.
40602         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40603         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40604         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40606         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40609         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40610         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40612 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40614         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40615         __ynl_finite aliases.
40617 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40621         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40622         define DLA_FMA.
40623         [DLA_FMA] (EMULV): Use DLA_FMA.
40624         [DLA_FMA] (MUL12): Use EMULV.
40625         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40626         that are not needed.
40627         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40629         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40630         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40631         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40632         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40633         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40635 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40637         * math/s_nan.c: Undef __nan.
40638         * math/s_nanf.c: Undef __nanf.
40639         * math/s_nanl.c: Undef __nanl.
40640         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40641         "math_private.h".
40643 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40645         * math/s_catan.c: Add branch predictions.
40646         * math/s_catanf.c: Likewise.
40647         * math/s_catanh.c: Likewise.
40648         * math/s_catanhf.c: Likewise.
40649         * math/s_catanhl.c: Likewise.
40650         * math/s_catanl.c: Likewise.
40651         * math/s_cexp.c: Likewise.
40652         * math/s_cexpf.c: Likewise.
40653         * math/s_cexpl.c: Likewise.
40654         * math/s_clog.c: Likewise.
40655         * math/s_clog10.c: Likewise.
40656         * math/s_clog10f.c: Likewise.
40657         * math/s_clog10l.c: Likewise.
40658         * math/s_clogf.c: Likewise.
40659         * math/s_clogl.c: Likewise.
40660         * math/s_csqrt.c: Likewise.
40661         * math/s_csqrtf.c: Likewise.
40662         * math/s_csqrtl.c: Likewise.
40663         * math/s_ctanf.c: Likewise.
40664         * math/s_ctanh.c: Likewise.
40665         * math/s_ctanhf.c: Likewise.
40666         * math/s_ctanhl.c: Likewise.
40667         * math/s_ctanl.c: Likewise.
40669         * math/math_private.h: Define __nan, __nanf, __nanl.
40670         * math/s_cacosh.c: Include <math_private.h>.
40671         * math/s_cacoshl.c: Likewise.
40672         * math/s_casinh.c: Likewise.
40673         * math/s_casinhf.c: Likewise.
40674         * math/s_casinhl.c: Likewise.
40675         * math/s_ccos.c: Rely entire on ccosh.
40676         * math/s_ccosf.c: Rely entire on ccoshf.
40677         * math/s_ccosl.c: Rely entirely on ccoshl.
40678         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40679         Remove tests for FE_INVALID.
40680         * math/s_ccoshf.c: Likewise.
40681         * math/s_ccoshl.c: Likewise.
40682         * math/s_csin.c: Likewise.
40683         * math/s_csinf.c: Likewise.
40684         * math/s_csinh.c Likewise.
40685         * math/s_csinhf.c: Likewise.
40686         * math/s_csinhl.c: Likewise.
40687         * math/s_csinl.c: Likewise.
40688         * math/s_ctan.c: Likewise.
40689         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40690         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40691         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40693 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40695         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40696         compilation problems.
40698         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40699         __builtin_expect.
40701 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40703         * sysdeps/i386/configure.in: Test for -mfma4 option.
40704         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40705         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40706         COMMON_CPUID_INDEX_80000001.
40707         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40708         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40709         use it if FMA3 is not supported.
40710         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40712         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40713         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40715 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40717         [BZ #12892]
40718         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40719         it would create a cycle with a link time dependency.
40721 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40723         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40724         instruction.
40725         * string/Makefile (strop-tests): Add rawmemchr.
40726         * string/test-rawmemchr.c: New file.
40728         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40729         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40730         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40731         when compiling str{,n}casecmp and when AVX is available.  Hook up
40732         new optimized code in initializers.
40734 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40736         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40737         __feraiseexcept instead of feraiseexcept.
40739 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40741         * math/math_private.h: Define defaults for libc_fetestexcept and
40742         libc_feupdateenv.
40743         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40744         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40745         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40746         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40747         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40748         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40749         libc_fetestexcept and libc_feupdateenv.
40751         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40752         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40753         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40754         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40755         libc_feholdexcept_setround.
40757         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40758         Add s_nearbyint-c and s_nearbyintf-c.
40759         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40760         nearbyintf inlines.
40761         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40762         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40763         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40764         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40766         * math/math_private.h: Define defaults for libc_fegetround,
40767         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40768         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40769         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40770         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40771         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40772         standard functions.
40773         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40774         Remove comments and hacks for old compiler versions.
40775         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40776         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40777         libc_feholdexceptl.
40779 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40781         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40782         (__feraiseexcept_renamed): Add __NTH.
40783         (feraiseexcept): Add __NTH.  Rename local variables to fix
40784         namespace violations.
40786 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40788         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40790         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40792         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40793         recently added interfaces.
40794         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40796         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40797         about macro parameter expansion.
40799         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40800         __NO_MATH_INLINES is defined.  Cleanups.
40802         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40803         and __floorf is target has SSE4.1.
40804         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40805         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40806         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40807         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40809         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40810         name.
40811         (floorf): Likewise.
40813         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40815 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40817         * misc/sys/cdefs.h: Fix last change.
40819         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40820         database lookup.
40822 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40824         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40826         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40827         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40828         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40829         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40830         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40831         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40832         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40833         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40834         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40835         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40836         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40837         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40838         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40839         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40840         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40841         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40842         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40843         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40844         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40845         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40846         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40847         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40849         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40850         ceil, ceilf, floor, floorf.
40852         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40853         Perform IRELATIVE relocations last.
40855         * elf/do-rel.h: Add another parameter nrelative, replacing the
40856         local variable with the same name.  Change name of the function
40857         to end in Rel or Rela (uppercase).
40858         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40859         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40860         elf_dynamic_do_##reloc function.
40862 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40864         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40865         is sufficient, at least on modern CPUs.
40867         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40869         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40870         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40872         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40873         __expl_finite.
40874         * math/bits/math-finite.h: Add entries for exp.
40875         * math/e_expl.c: Add __*_finite alias.
40876         * sysdeps/i386/fpu/e_exp.S: Likewise.
40877         * sysdeps/i386/fpu/e_expf.S: Likewise.
40878         * sysdeps/i386/fpu/e_expl.c: Likewise.
40879         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40880         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40881         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40883         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40884         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40885         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40887         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40888         is sufficient, at least on modern CPUs.
40890         * ctype/ctype-info.c (__ctype_init): Define.
40891         * include/ctype.h (__ctype_init): Declare.
40892         (__ctype_b_loc): The variable is always initialized.
40893         (__ctype_toupper_loc): Likewise.
40894         (__ctype_tolower_loc): Likewise.
40895         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40896         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40898 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40900         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40902         * configure.in: Also look in $cxxmachine/include for C++ system
40903         headers.
40905 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40907         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40908         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40909         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40910         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40911         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40912         (USE_AS_WMEMCMP): New macro.
40913         Fixing indents.
40914         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40915         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40916         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40917         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40918         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40919         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40920         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40921         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40922         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40923         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40924         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40925         (USE_AS_WMEMCMP): New macro.
40926         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40927         * sysdeps/string/test-memcmp.c: Update.
40928         Fix simple_wmemcmp.
40929         Add new tests.
40930         * wcsmbs/wmemcmp.c: Update.
40931         (WMEMCMP): New macro.
40932         Fix overflow bug.
40934 2011-10-12  Andreas Jaeger  <aj@suse.de>
40936         [BZ #13268]
40937         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40939 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40941         * libio/iofwide.c (do_length): Avoid warning.
40943         * ctype/ctype.h (__isctype_f): Add missing __THROW.
40945 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
40947         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40949         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40950         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40951         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40952         * sysdeps/i386/i686/fpu/e_log.S: New file.
40953         * sysdeps/i386/i686/fpu/e_logf.S: New file.
40954         * sysdeps/i386/i686/fpu/e_logl.S: New file.
40956         * ctype/ctype.h: Add support for inlined isXXX functions when
40957         compiling C++ code.
40959 2011-10-14  Andreas Schwab  <schwab@redhat.com>
40961         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40963         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40965 2011-10-13  Roland McGrath  <roland@hack.frob.com>
40967         [BZ #13291]
40968         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40970 2011-10-13  Andreas Schwab  <schwab@redhat.com>
40972         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40973         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40974         feraiseexcept.
40976         * sysdeps/x86_64/memrchr.S: Check for zero size.
40978         * string/stratcliff.c: Add memrchr tests.
40980 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40983         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40984         rawmemchr-sse2 rawmemchr-sse2-bsf.
40985         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40986         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40987         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40988         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40989         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40990         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40991         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40992         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40993         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40994         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40995         * string/memrchr.c (MEMRCHR): New macro.
40997 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
40999         Add integration with gcc's -ffinite-math-only and optimize wrapper
41000         functions in libm.
41001         * Versions.def: Define GLIBC_2.15 version for libm.
41002         * math/Makefile (headers): Add bits/math-finite.h.
41003         * math/bits/math-finite.h: New file.
41004         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41005         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41006         * math/e_acoshl.c: Add __*_finite alias.
41007         * math/e_acosl.c: Likewise.
41008         * math/e_asinl.c: Likewise.
41009         * math/e_atan2l.c: Likewise.
41010         * math/e_atanhl.c: Likewise.
41011         * math/e_coshl.c: Likewise.
41012         * math/e_exp10.c: Likewise.
41013         * math/e_exp10f.c: Likewise.
41014         * math/e_exp10l.c: Likewise.
41015         * math/e_exp2l.c: Likewise.
41016         * math/e_fmodl.c: Likewise.
41017         * math/e_gammal_r.c: Likewise.
41018         * math/e_hypotl.c: Likewise.
41019         * math/e_j0l.c: Likewise.
41020         * math/e_j1l.c: Likewise.
41021         * math/e_jnl.c: Likewise.
41022         * math/e_lgammal_r.c: Likewise.
41023         * math/e_log10l.c: Likewise.
41024         * math/e_log2l.c: Likewise.
41025         * math/e_logl.c: Likewise.
41026         * math/e_powl.c: Likewise.
41027         * math/e_sinhl.c: Likewise.
41028         * math/e_sqrtl.c: Likewise.
41029         * math/e_scalb.c: Completely rewritten and optimized.
41030         * math/e_scalbf.c: Likewise.
41031         * math/e_scalbl.c: Likewise.
41032         * math/w_acos.c: Likewise.
41033         * math/w_acosf.c: Likewise.
41034         * math/w_acosl.c: Likewise.
41035         * math/w_acosh.c: Likewise.
41036         * math/w_acoshf.c: Likewise.
41037         * math/w_acoshl.c: Likewise.
41038         * math/w_asin.c: Likewise.
41039         * math/w_asinf.c: Likewise.
41040         * math/w_asinl.c: Likewise.
41041         * math/w_atan2.c: Likewise.
41042         * math/w_atan2f.c: Likewise.
41043         * math/w_atan2l.c: Likewise.
41044         * math/w_atanh.c: Likewise.
41045         * math/w_atanhf.c: Likewise.
41046         * math/w_atanhl.c: Likewise.
41047         * math/w_exp10.c: Likewise.
41048         * math/w_exp10f.c: Likewise.
41049         * math/w_exp10l.c: Likewise.
41050         * math/w_fmod.c: Likewise.
41051         * math/w_fmodf.c: Likewise.
41052         * math/w_fmodl.c: Likewise.
41053         * math/w_j0.c: Likewise.
41054         * math/w_j0f.c: Likewise.
41055         * math/w_j0l.c: Likewise.
41056         * math/w_j1.c: Likewise.
41057         * math/w_j1f.c: Likewise.
41058         * math/w_j1l.c: Likewise.
41059         * math/w_jn.c: Likewise.
41060         * math/w_jnf.c: Likewise.
41061         * math/w_log.c: Likewise.
41062         * math/w_logf.c: Likewise.
41063         * math/w_logl.c: Likewise.
41064         * math/w_log10.c: Likewise.
41065         * math/w_log10f.c: Likewise.
41066         * math/w_log10l.c: Likewise.
41067         * math/w_log2.c: Likewise.
41068         * math/w_log2f.c: Likewise.
41069         * math/w_log2l.c: Likewise.
41070         * math/w_pow.c: Likewise.
41071         * math/w_powf.c: Likewise.
41072         * math/w_powl.c: Likewise.
41073         * math/w_remainder.c: Likewise.
41074         * math/w_remainderf.c: Likewise.
41075         * math/w_remainderl.c: Likewise.
41076         * math/w_scalb.c: Likewise.
41077         * math/w_scalbf.c: Likewise.
41078         * math/w_scalbl.c: Likewise.
41079         * math/w_sqrt.c: Likewise.
41080         * math/w_sqrtf.c: Likewise.
41081         * math/w_sqrtl.c: Likewise.
41082         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41083         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41084         used.
41085         * math/math_private.h: Declare __kernel_standard_f.
41086         * math/w_cosh.c: Remove cruft and optimize a bit.
41087         * math/w_coshf.c: Likewise.
41088         * math/w_coshl.c: Likewise.
41089         * math/w_exp2.c: Likewise.
41090         * math/w_exp2f.c: Likewise.
41091         * math/w_exp2l.c: Likewise.
41092         * math/w_hypot.c: Likewise.
41093         * math/w_hypotf.c: Likewise.
41094         * math/w_hypotl.c: Likewise.
41095         * math/w_lgamma.c: Likewise.
41096         * math/w_lgamma_r.c: Likewise.
41097         * math/w_lgammaf.c: Likewise.
41098         * math/w_lgammaf_r.c: Likewise.
41099         * math/w_lgammal.c: Likewise.
41100         * math/w_lgammal_r.c: Likewise.
41101         * math/w_sinh.c: Likewise.
41102         * math/w_sinhf.c: Likewise.
41103         * math/w_sinhl.c: Likewise.
41104         * math/w_tgamma.c: Likewise.
41105         * math/w_tgammaf.c: Likewise.
41106         * math/w_tgammal.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41108         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41109         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41110         Minor optimizations.  Pretty printing.  Remove cruft.
41111         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41112         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41113         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41114         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41115         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41116         * sysdeps/i386/fpu/e_asin.S: Likewise.
41117         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41118         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41119         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41120         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41121         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41122         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41123         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41124         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41125         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41126         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41127         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41128         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41129         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41130         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41131         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41132         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41133         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41134         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41135         * sysdeps/i386/fpu/e_log.S: Likewise.
41136         * sysdeps/i386/fpu/e_log10.S: Likewise.
41137         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41138         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41139         * sysdeps/i386/fpu/e_log2.S: Likewise.
41140         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41141         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41142         * sysdeps/i386/fpu/e_logf.S: Likewise.
41143         * sysdeps/i386/fpu/e_logl.S: Likewise.
41144         * sysdeps/i386/fpu/e_pow.S: Likewise.
41145         * sysdeps/i386/fpu/e_powf.S: Likewise.
41146         * sysdeps/i386/fpu/e_powl.S: Likewise.
41147         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41148         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41149         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41150         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41151         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41152         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41153         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41154         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41155         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41156         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41157         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41158         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41159         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41160         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41161         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41162         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41163         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41164         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41165         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41166         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41167         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41168         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41169         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41170         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41171         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41172         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41173         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41174         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41175         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41176         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41177         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41178         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41179         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41180         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41181         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41182         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41183         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41184         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41185         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41186         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41187         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41188         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41189         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41190         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41191         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41192         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41193         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41194         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41195         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41196         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41197         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41198         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41199         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41200         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41201         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41202         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41233         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41234         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41236         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41239         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41241         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41242         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41244         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41245         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41247         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41248         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41249         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41250         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41251         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41252         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41253         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41254         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41255         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41256         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41257         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41258         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41259         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41260         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41261         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41262         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41263         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41264         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41265         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41266         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41267         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41268         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41269         (__isnanf): Likewise.
41270         (__isinf_ns): Likewise.
41271         (__isinf_nsf): Likewise.
41272         (__finite): Likewise.
41273         (__finitef): Likewise.
41274         (__ieee754_sqrt): Define as macro.
41275         (__ieee754_sqrtf): Define as macro.
41276         (__ieee754_sqrtl): Define as macro.
41277         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41278         inlined copy.
41279         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41280         __FINITE_MATH_ONLY__ consistent.
41281         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41283 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41285         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41286         of rawmemchr.
41288         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41290 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41292         * po/ja.po: Update from translation team.
41294 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41296         * locale/programs/locarchive.c (prepare_address_space): New function.
41297         (create_archive, enlarge_archive, open_archive): Use it.
41299         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41300         inside [SHARED], where it is used.
41302         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41304         * nss/getent.c (netgroup_keys): Remove unused variable.
41305         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41307 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41309         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41310         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41312         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41313         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41314         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41315         * math/Makefile (libm-calls): Add s_isinf_ns.
41316         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41317         * math/multc3.c: Likewise.
41318         * math/s_casin.c: Likewise.
41319         * math/s_casinf.c: Likewise.
41320         * math/s_casinl.c: Likewise.
41321         * math/s_ccos.c: Likewise.
41322         * math/s_ccosf.c: Likewise.
41323         * math/s_ccosl.c: Likewise.
41324         * math/s_ctan.c: Likewise.
41325         * math/s_ctanf.c: Likewise.
41326         * math/s_ctanh.c: Likewise.
41327         * math/s_ctanhf.c: Likewise.
41328         * math/s_ctanhl.c: Likewise.
41329         * math/s_ctanl.c: Likewise.
41330         * math/w_fmod.c: Likewise.
41331         * math/w_fmodf.c: Likewise.
41332         * math/w_fmodl.c: Likewise.
41333         * math/w_remainder.c: Likewise.
41334         * math/w_remainderf.c: Likewise.
41335         * math/w_remainderl.c: Likewise.
41336         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41337         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41338         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41339         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41340         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41341         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41342         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41343         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41345         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41346         of the number.
41347         * stdio-common/printf_fphex.c: Likewise.
41348         * stdio-common/printf_size.c: Likewise.
41350         * math/e_exp10.c: Include math_private.h using <...> not "...".
41351         * math/e_exp10f.c: Likewise.
41352         * math/e_exp10l.c: Likewise.
41353         * math/e_exp2l.c: Likewise.
41354         * math/e_j0l.c: Likewise.
41355         * math/e_j1l.c: Likewise.
41356         * math/e_jnl.c: Likewise.
41357         * math/e_lgammal_r.c: Likewise.
41358         * math/e_rem_pio2l.c: Likewise.
41359         * math/e_scalb.c: Likewise.
41360         * math/e_scalbf.c: Likewise.
41361         * math/e_scalbl.c: Likewise.
41362         * math/k_cosl.c: Likewise.
41363         * math/k_sinl.c: Likewise.
41364         * math/k_tanl.c: Likewise.
41365         * math/s_cacoshf.c: Likewise.
41366         * math/s_catan.c: Likewise.
41367         * math/s_catanf.c: Likewise.
41368         * math/s_catanh.c: Likewise.
41369         * math/s_catanhf.c: Likewise.
41370         * math/s_catanhl.c: Likewise.
41371         * math/s_catanl.c: Likewise.
41372         * math/s_ccosh.c: Likewise.
41373         * math/s_ccoshf.c: Likewise.
41374         * math/s_ccoshl.c: Likewise.
41375         * math/s_cexp.c: Likewise.
41376         * math/s_cexpf.c: Likewise.
41377         * math/s_cexpl.c: Likewise.
41378         * math/s_clog.c: Likewise.
41379         * math/s_clog10.c: Likewise.
41380         * math/s_clog10f.c: Likewise.
41381         * math/s_clog10l.c: Likewise.
41382         * math/s_clogf.c: Likewise.
41383         * math/s_clogl.c: Likewise.
41384         * math/s_csin.c: Likewise.
41385         * math/s_csinf.c: Likewise.
41386         * math/s_csinh.c: Likewise.
41387         * math/s_csinhf.c: Likewise.
41388         * math/s_csinhl.c: Likewise.
41389         * math/s_csinl.c: Likewise.
41390         * math/s_csqrt.c: Likewise.
41391         * math/s_csqrtf.c: Likewise.
41392         * math/s_csqrtl.c: Likewise.
41393         * math/s_ctan.c: Likewise.
41394         * math/s_ctanf.c: Likewise.
41395         * math/s_ctanh.c: Likewise.
41396         * math/s_ctanhf.c: Likewise.
41397         * math/s_ctanhl.c: Likewise.
41398         * math/s_ctanl.c: Likewise.
41399         * math/s_ldexp.c: Likewise.
41400         * math/s_ldexpf.c: Likewise.
41401         * math/s_ldexpl.c: Likewise.
41402         * math/s_significand.c: Likewise.
41403         * math/s_significandf.c: Likewise.
41404         * math/s_significandl.c: Likewise.
41405         * math/w_acos.c: Likewise.
41406         * math/w_acosf.c: Likewise.
41407         * math/w_acosh.c: Likewise.
41408         * math/w_acoshf.c: Likewise.
41409         * math/w_acoshl.c: Likewise.
41410         * math/w_acosl.c: Likewise.
41411         * math/w_asin.c: Likewise.
41412         * math/w_asinf.c: Likewise.
41413         * math/w_asinl.c: Likewise.
41414         * math/w_atan2.c: Likewise.
41415         * math/w_atan2f.c: Likewise.
41416         * math/w_atan2l.c: Likewise.
41417         * math/w_atanh.c: Likewise.
41418         * math/w_atanhf.c: Likewise.
41419         * math/w_atanhl.c: Likewise.
41420         * math/w_cosh.c: Likewise.
41421         * math/w_coshf.c: Likewise.
41422         * math/w_coshl.c: Likewise.
41423         * math/w_dremf.c: Likewise.
41424         * math/w_exp10.c: Likewise.
41425         * math/w_exp10f.c: Likewise.
41426         * math/w_exp10l.c: Likewise.
41427         * math/w_exp2.c: Likewise.
41428         * math/w_exp2f.c: Likewise.
41429         * math/w_fmod.c: Likewise.
41430         * math/w_fmodf.c: Likewise.
41431         * math/w_fmodl.c: Likewise.
41432         * math/w_hypot.c: Likewise.
41433         * math/w_hypotf.c: Likewise.
41434         * math/w_hypotl.c: Likewise.
41435         * math/w_j0.c: Likewise.
41436         * math/w_j0f.c: Likewise.
41437         * math/w_j0l.c: Likewise.
41438         * math/w_j1.c: Likewise.
41439         * math/w_j1f.c: Likewise.
41440         * math/w_j1l.c: Likewise.
41441         * math/w_jn.c: Likewise.
41442         * math/w_jnf.c: Likewise.
41443         * math/w_jnl.c: Likewise.
41444         * math/w_lgamma.c: Likewise.
41445         * math/w_lgamma_r.c: Likewise.
41446         * math/w_lgammaf.c: Likewise.
41447         * math/w_lgammaf_r.c: Likewise.
41448         * math/w_lgammal.c: Likewise.
41449         * math/w_lgammal_r.c: Likewise.
41450         * math/w_log.c: Likewise.
41451         * math/w_log10.c: Likewise.
41452         * math/w_log10f.c: Likewise.
41453         * math/w_log10l.c: Likewise.
41454         * math/w_log2.c: Likewise.
41455         * math/w_log2f.c: Likewise.
41456         * math/w_log2l.c: Likewise.
41457         * math/w_logf.c: Likewise.
41458         * math/w_logl.c: Likewise.
41459         * math/w_pow.c: Likewise.
41460         * math/w_powf.c: Likewise.
41461         * math/w_powl.c: Likewise.
41462         * math/w_remainder.c: Likewise.
41463         * math/w_remainderf.c: Likewise.
41464         * math/w_remainderl.c: Likewise.
41465         * math/w_scalb.c: Likewise.
41466         * math/w_scalbf.c: Likewise.
41467         * math/w_scalbl.c: Likewise.
41468         * math/w_sinh.c: Likewise.
41469         * math/w_sinhf.c: Likewise.
41470         * math/w_sinhl.c: Likewise.
41471         * math/w_sqrt.c: Likewise.
41472         * math/w_sqrtf.c: Likewise.
41473         * math/w_sqrtl.c: Likewise.
41474         * math/w_tgamma.c: Likewise.
41475         * math/w_tgammaf.c: Likewise.
41476         * math/w_tgammal.c: Likewise.
41478         * po/ja.po: Update from translation team.
41480 2011-09-29  Andreas Jaeger  <aj@suse.de>
41482         [BZ #13179]
41483         * sunrpc/netname.c (netname2host): Fix logic.
41485         [BZ #6779]
41486         [BZ #6783]
41487         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41488         correctly.
41489         * math/w_remainder.c (__remainder): Likewise.
41490         * math/w_remainderf.c (__remainderf): Likewise.
41491         * math/libm-test.inc (remainder_test): Add test cases.
41493 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41495         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41496         sdiv_qrnnd.
41498 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41500         * string/test-memcmp.c: Avoid unncessary #defines.
41501         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41503 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41505         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41506         Use new sse2 version for core i3 - i7 as it's faster
41507         than sse42 version.
41508         (bit_Prefer_PMINUB_for_stringop): New.
41509         * sysdeps/x86_64/rawmemchr.S: Update.
41510         Replace with faster SSE2 version.
41511         * sysdeps/x86_64/memrchr.S: New file.
41512         * sysdeps/x86_64/memchr.S: Update.
41513         Replace with faster SSE2 version.
41515 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41517         * elf/dl-load.c (lose): Add cast to avoid warning.
41519 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41521         * po/ca.po: Update from translation team.
41523         * inet/getnetgrent_r.c: Hook up nscd.
41524         * nscd/Makefile (routines): Add nscd_netgroup.
41525         (nscd-modules): Add netgroupcache.
41526         (CFLAGS-netgroupcache.c): Define.
41527         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41528         (cache_search): Add const to second parameter.
41529         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41530         INNETGR.
41531         (dbs): Add netgrdb entry.
41532         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41533         (verify_persistent_db): Handle netgrdb.
41534         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41535         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41536         GETFDNETGR.
41537         (netgroup_response_header): Define.
41538         (innetgroup_response_header): Define.
41539         (datahead): Add netgroup_response_header and innetgroup_response_header
41540         elements.
41541         * nscd/nscd.conf: Add entries for netgroup cache.
41542         * nscd/nscd.h (dbtype): Add netgrdb.
41543         (_PATH_NSCD_NETGROUP_DB): Define.
41544         (netgroup_iov_disabled): Declare.
41545         (xmalloc, xcalloc, xrealloc): Move declarations here.
41546         (cache_search): Adjust prototype.
41547         Add netgroup-related prototypes.
41548         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41549         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41550         (__nscd_innetgr): Declare.
41551         * nscd/selinux.c (perms): Use access_vector_t as element type and
41552         add netgroup-related initializers.
41553         * nscd/netgroupcache.c: New file.
41554         * nscd/nscd_netgroup.c: New file.
41555         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41556         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41557         For four parameters use innetgr.
41558         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41559         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41560         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41561         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41563         * nscd/connections.c (register_traced_file): Don't register file
41564         for disabled databases.
41566 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41568         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41570         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41571         from tree and freeing node.
41573 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41575         * nss/nsswitch.c (__nss_database_lookup): Handle
41576         nss_parse_service_list out of memory case.
41578 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41580         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41581         out of memory case.
41583 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41585         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41586         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41587         pass it down.
41588         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41589         elf_machine_rela, elf_machine_lazy_rel.
41590         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41591         (ELF_DYNAMIC_DO_REL): Likewise.
41592         (ELF_DYNAMIC_DO_RELA): Likewise.
41593         (ELF_DYNAMIC_RELOCATE): Likewise.
41594         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41595         to ELF_DYNAMIC_DO_REL.
41596         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41597         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41598         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41599         elf_machine_rela.
41600         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41601         skip_ifunc, don't call ifunc function if non-zero.
41602         (elf_machine_rela): Likewise.
41603         (elf_machine_lazy_rel): Likewise.
41604         (elf_machine_lazy_rela): Likewise.
41605         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41606         (elf_machine_lazy_rel): Likewise.
41607         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41608         Likewise.
41609         (elf_machine_lazy_rel): Likewise.
41610         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41611         Likewise.
41612         (elf_machine_lazy_rel): Likewise.
41613         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41614         (elf_machine_lazy_rel): Likewise.
41615         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41616         (elf_machine_lazy_rel): Likewise.
41617         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41618         (elf_machine_lazy_rel): Likewise.
41619         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41620         (elf_machine_lazy_rel): Likewise.
41621         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41622         (elf_machine_lazy_rel): Likewise.
41623         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41624         (elf_machine_lazy_rel): Likewise.
41626 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41628         * nss/nss_files/files-init.c (_nss_files_init): Use static
41629         initialization for all the *_traced_file variables.
41631 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41633         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41635 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41637         [BZ #13226]
41638         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41640 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41642         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41643         Reread the line before reparsing it.
41645 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41647         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41649 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41650             Maxim Kuvyrkov  <maxim@codesourcery.com>
41651             Joseph Myers  <joseph@codesourcery.com>
41653         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41654         if needed for __stack_chk_guard.
41656 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41658         * sysdeps/posix/spawni.c (script_execute): Always define it.
41659         It will be optimized away if unused.
41660         (maybe_script_execute): New function.
41661         (__spawni): Call it.
41663         * Makerules: Don't include tls.make.
41664         (config-tls): Always set to thread.
41665         * tls.make.c: File removed.
41667 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41669         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41670         * config.make.in (CPPFLAGS-config): New substituted variable.
41672 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41674         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41676         [BZ #13192]
41677         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41678         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41680 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41682         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41683         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41684         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41685         (CALL_FAIL): Likewise.
41686         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41687         (CALL_FAIL): Macro removed.
41688         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41690 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41692         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41693         for __FINITE_MATH_ONLY__ == 1.
41695 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41697         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41698         __ieee754_sqrt instead of sqrt.
41699         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41700         __ieee754_sqrtf instead of sqrtf.
41701         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41702         __floorf instead of floorf.
41703         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41704         __floorf, __truncf instead of floorf, truncf.
41706 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41708         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41710         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41711         __extern_always_inline.
41712         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41713         32-bit.
41715 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41717         * elf/rtld.c (dl_main): Also relocate in dependency order when
41718         doing symbol dependency testing.
41720 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41722         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41723         Always define `refsym'.
41725 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41727         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41728         (__FD_ELT): Renamed from __FDELT.
41729         * misc/bits/select2.h (__FD_ELT): Likewise.
41730         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41731         __FD_MASK instead of __FDELT, __FDMASK.
41732         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41733         Likewise.
41734         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41735         Likewise.
41737         * elf/Makefile (gen-ldd): Fix pattern.
41739         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41740         (init_tls): Likewise.
41742 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41744         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41746 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41748         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41749         `struct cmsghdr *' instead of `void *'.
41750         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41751         Likewise.
41753 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41755         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41756         if non-absolute.
41757         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41758         ldd_rewrite_script.
41760 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41762         * configure.in: Remove --with-tls option.
41763         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41764         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41765         out in case it is missing.
41766         * sysdeps/ia64/elf/configure.in: Likewise.
41767         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41768         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41769         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41770         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41771         * sysdeps/sh/elf/configure.in: Likewise.
41772         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41773         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41774         * sysdeps/x86_64/elf/configure.in: Likewise.
41775         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41776         * sysdeps/mach/hurd/tls.h: Likewise.
41778         [BZ #13067]
41779         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41781         [BZ #13090]
41782         * configure.in: Fix use of AC_INIT.
41784         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41786 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41788         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41789         __set_errno.
41790         * malloc/hooks.c: Likewise.
41792         [BZ #11929]
41793         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41794         variables statically.
41795         (narenas): Initialize.
41796         (list_lock): Initialize.
41797         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41798         initializtion of main_arena and list_lock.  Small cleanups.
41799         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41800         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41801         Add initializers to main_arena and mp_.
41802         (malloc_state): Remove pagesize member.  Change all users to use
41803         GLRO(dl_pagesize).
41805         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41806         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41807         is always initialized.
41809         * malloc/malloc.c: Removed unused configurations and dead code.
41810         * malloc/arena.c: Likewise.
41811         * malloc/hooks.c: Likewise.
41812         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41814         * include/tls.h: Removed.  USE___THREAD must always be defined.
41815         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41816         * elf/dl-libc.c: Likewise.
41817         * elf/dl-tsd.c: Likewise.
41818         * include/errno.h: Likewise.
41819         * include/netdb.h: Likewise.
41820         * include/resolv.h: Likewise.
41821         * inet/herrno-loc.c: Likewise.
41822         * inet/herrno.c: Likewise.
41823         * malloc/arena.c: Likewise.
41824         * malloc/hooks.c: Likewise.
41825         * malloc/malloc.c: Likewise.
41826         * resolv/res-state.c: Likewise.
41827         * resolv/res_libc.c: Likewise.
41828         * sysdeps/i386/dl-machine.h: Likewise.
41829         * sysdeps/ia64/dl-machine.h: Likewise.
41830         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41831         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41832         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41833         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41834         * sysdeps/sh/dl-machine.h: Likewise.
41835         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41836         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41837         * sysdeps/unix/i386/sysdep.S: Likewise.
41838         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41839         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41841         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41842         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41843         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41844         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41847         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41848         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41849         * sysdeps/x86_64/dl-machine.h: Likewise.
41850         * tls.make.c: Likewise.
41852         * configure.in: Remove --with-__thread option.  Make tests for
41853         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41854         tls_model attribute fail if no support is available.  Remove
41855         USE_IN_LIBIO.
41856         * Makeconfig: Adjust for dropped configure option.  All features are
41857         now mandatory.
41858         * Makerules: Likewise.
41859         * Versions.def: Likewise.
41860         * argp/argp-fmtstream.c: Likewise.
41861         * argp/argp-fmtstream.h: Likewise.
41862         * argp/argp-help.c: Likewise.
41863         * assert/assert.c: Likewise.
41864         * config.h.in: Likewise.
41865         * config.make.in: Likewise.
41866         * configure: Likewise.
41867         * configure.in: Likewise.
41868         * csu/Versions: Likewise.
41869         * csu/init.c: Likewise.
41870         * elf/tst-audit2.c: Likewise.
41871         * elf/tst-tls10.c: Likewise.
41872         * elf/tst-tls10.h: Likewise.
41873         * elf/tst-tls11.c: Likewise.
41874         * elf/tst-tls12.c: Likewise.
41875         * elf/tst-tls14.c: Likewise.
41876         * elf/tst-tlsmod11.c: Likewise.
41877         * elf/tst-tlsmod12.c: Likewise.
41878         * elf/tst-tlsmod13.c: Likewise.
41879         * elf/tst-tlsmod13a.c: Likewise.
41880         * elf/tst-tlsmod14a.c: Likewise.
41881         * elf/tst-tlsmod15b.c: Likewise.
41882         * elf/tst-tlsmod16a.c: Likewise.
41883         * elf/tst-tlsmod16b.c: Likewise.
41884         * elf/tst-tlsmod7.c: Likewise.
41885         * elf/tst-tlsmod8.c: Likewise.
41886         * elf/tst-tlsmod9.c: Likewise.
41887         * gmon/gmon.c: Likewise.
41888         * grp/fgetgrent_r.c: Likewise.
41889         * grp/putgrent.c: Likewise.
41890         * hurd/fopenport.c: Likewise.
41891         * include/libc-symbols.h: Likewise.
41892         * include/tls.h: Likewise.
41893         * intl/gettextP.h: Likewise.
41894         * intl/loadinfo.h: Likewise.
41895         * locale/global-locale.c: Likewise.
41896         * locale/localeinfo.h: Likewise.
41897         * mach/devstream.c: Likewise.
41898         * malloc/arena.c: Likewise.
41899         * malloc/set-freeres.c: Likewise.
41900         * misc/err.c: Likewise.
41901         * misc/getttyent.c: Likewise.
41902         * misc/mntent_r.c: Likewise.
41903         * posix/getopt.c: Likewise.
41904         * posix/wordexp.c: Likewise.
41905         * pwd/fgetpwent_r.c: Likewise.
41906         * resolv/Versions: Likewise.
41907         * resolv/res_hconf.c: Likewise.
41908         * shadow/fgetspent_r.c: Likewise.
41909         * shadow/putspent.c: Likewise.
41910         * stdio-common/printf_fphex.c: Likewise.
41911         * stdio-common/tmpfile.c: Likewise.
41912         * stdlib/abort.c: Likewise.
41913         * stdlib/fmtmsg.c: Likewise.
41914         * sunrpc/auth_unix.c: Likewise.
41915         * sunrpc/clnt_perr.c: Likewise.
41916         * sunrpc/clnt_tcp.c: Likewise.
41917         * sunrpc/clnt_udp.c: Likewise.
41918         * sunrpc/clnt_unix.c: Likewise.
41919         * sunrpc/openchild.c: Likewise.
41920         * sunrpc/svc_simple.c: Likewise.
41921         * sunrpc/svc_tcp.c: Likewise.
41922         * sunrpc/svc_udp.c: Likewise.
41923         * sunrpc/svc_unix.c: Likewise.
41924         * sunrpc/xdr.c: Likewise.
41925         * sunrpc/xdr_array.c: Likewise.
41926         * sunrpc/xdr_rec.c: Likewise.
41927         * sunrpc/xdr_ref.c: Likewise.
41928         * sunrpc/xdr_stdio.c: Likewise.
41930 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41932         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41934 2011-07-03  Andreas Jaeger  <aj@suse.de>
41936         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41937         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41938         regenerate with gen-libm-tests.pl.
41940 2010-05-12  Petr Baudis  <pasky@suse.cz>
41942         [BZ #11589]
41943         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41944         around j0() zero points by switching to j1().
41945         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41946         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41947         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41948         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41950 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41952         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41953         instead of 0.
41954         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41955         instead of 0.
41956         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41957         Patch in part by Pavel Roskin <proski@gnu.org>.
41959         [BZ #13138]
41960         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41961         realloc.
41962         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
41963         Free memory block if necessary.
41965         [BZ #12847]
41966         * libio/genops.c (INTDEF): For string streams the _lock pointer can
41967         be NULL.  Don't lock in this case.
41969 2011-09-09  Roland McGrath  <roland@hack.frob.com>
41971         * elf/elf.h (ELFOSABI_GNU): New macro.
41972         (ELFOSABI_LINUX): Define to that.
41974 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
41976         * string/strncat.c (strncat): Undef the symbol in case it has been
41977         defined in bits/string.h.
41979 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41981         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41983         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41984         link map.
41986 2011-08-17  Andreas Jaeger  <aj@suse.de>
41988         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41990 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41991             Ian Lance Taylor  <iant@google.com>
41993         * math/libm-test.inc (lround_test): New testcase.
41994         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41996 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
41998         * Makefile: Remove support for automatic cvs check-ins.
41999         * Makerules: Likewise.
42000         * config.make.in: Likewise.
42001         * configure.in: Likewise.
42002         * intl/Makefile: Likewise.
42003         * locale/Makefile: Likewise.
42004         * po/Makefile: Likewise.
42005         * posix/Makefile: Likewise.
42006         * sysdeps/gnu/Makefile: Likewise.
42007         * sysdeps/mach/hurd/Makefile: Likewise.
42008         * sysdeps/sparc/sparc32/Makefile: Likewise.
42010         [BZ #13118]
42011         * posix/Makefile (bug-regex32-ENV): Define.
42012         Patch by John Stanley <jpsinthemix@verizon.net>.
42014         * misc/Makefile (headers): Add bits/select2.h.
42015         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42016         * misc/bits/select2.h: New file.
42017         * include/bits/select2.h: New file.
42018         * debug/Makefile (routines): Add fdelt_chk.
42019         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42020         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42021         FD_ISSET.
42022         * debug/fdelt_chk.c: New file.
42024         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42025         * wcsmbs/test-wmemcmp.c: Likewise.
42026         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42027         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42029 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42031         * string/Makefile (strop-tests): Add memcmp.
42032         * string/test-wmemcmp.c: New file.
42033         * string/test-memcmp.c: Add wmemcmp support.
42035 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42037         [BZ #13153]
42038         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42039         2011-07-19 change.
42041         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42042         garbage value in a __mach_port_mod_refs call in the cases of the
42043         task-self and thread-self ports.
42045 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42047         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42049 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42051         * elf/dl-load.c (lose): Check for non-null L.
42053 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42055         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42057         * elf/dl-libc.c (dlerror_run): Pass back error code from
42058         dl_catch_error.
42060         [BZ #13123]
42061         * elf/dl-load.c (lose): Free l_origin if it is valid.
42063         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42064         names.
42065         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42066         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42067         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42068         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42069         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42070         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42072 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42074         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42075         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42076         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42077         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42078         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42079         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42080         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42081         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42082         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42083         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42085 2011-08-15  Alan Modra  <amodra@gmail.com>
42087         [BZ #13092]
42088         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42089         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42090         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42091         ppc_mcount to static-only-routines.
42092         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42093         __mcount_internal.
42094         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42095         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42097 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42099         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42100         for finite and infinity parameters.
42102 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42104         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42105         and add nop instructions for throughput optimization.
42106         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42108 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42110         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42111         aligned copy for power7 with vector-scalar instructions.
42112         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42114 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42116         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42117         AVX check.
42119 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42121         [BZ #13144]
42122         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42123         last change.
42125 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42127         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42128         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42129         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42130         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42131         clock_gettime.
42133 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42135         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42136         Forgot to demangle the pointer.
42138         * sysdeps/i386/sysdep.h: Define atom_text_section.
42139         * sysdeps/x86_64/sysdep.h: Likewise.
42140         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42141         section with atom_text_section.
42142         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42143         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42144         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42145         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42146         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42148         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42149         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42150         already be defined.  Change to take two parameters and don't assign
42151         result to variable.  Adjust all users.
42152         Define INTERNAL_GETTIME if not already defined.
42153         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42154         call.
42155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42156         HAVE_CLOCK_GETTIME_VSYSCALL.
42157         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42159         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42160         gettimeofday vsyscall, just use time.
42162 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42164         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42165         <errno.h>.
42167 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42169         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42170         syscall on x86-64.
42171         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42172         syscall.
42173         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42174         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42175         syscall if possible.
42177 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42179         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42180         e_ident.  Don't pass to find_mapsXX.
42181         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42183 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42185         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42186         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42187         * sysdeps/x86_64/multiarch/strchr.S: Update.
42188         Check bit_slow_BSF bit.
42189         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42190         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42191         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42193 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42195         [BZ #13134]
42196         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42197         before glibc 2.15.
42198         (tryshell): Define.
42199         (__spawni): Change last parameter to be flag.  Test
42200         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42201         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42202         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42203         * posix/spawni.c: Likewise.
42204         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42205         * posix/spawnp.c: Likewise.  Change normal version to use
42206         SPAWN_XFLAGS_USE_PATH.
42207         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42208         SPAWN_XFLAGS_TRY_SHELL.
42210         [BZ #13150]
42211         * posix/glob.h: Remove gcc 1.x support.
42213         [BZ #13068]
42214         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42216 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42218         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42219         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42220         strrchr-sse2-bsf
42221         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42222         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42223         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42224         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42225         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42226         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42228 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42230         * sysdeps/x86_64/wcscmp.S: New file.
42232         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42233         wcscmp-c wcscmp-sse2
42234         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42235         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42236         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42237         * wcsmbs/wcscmp.c: Allow renaming.
42239 2011-09-05  David S. Miller  <davem@davemloft.net>
42241         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42242         stack slot, rather than the struct return pointer slot.
42243         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42244         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42246         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42248 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42250         * po/ja.po: Update from translation team.
42252         [BZ #13144]
42253         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42254         kernel in 64-bit binaries.
42256 2011-09-01  David S. Miller  <davem@davemloft.net>
42258         * elf/elf.h (HWCAP_SPARC_*): Move to..
42259         * sysdeps/sparc/sysdep.h: this new file and add new values.
42260         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42261         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42262         _DL_HWCAP_COUNT to 24.
42263         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42264         entries.
42265         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42266         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42267         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42268         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42269         instead of magic constants.
42270         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42272 2011-08-31  David S. Miller  <davem@davemloft.net>
42274         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42276         Reimplement to do errno handling inline.
42277         (SYSCALL_ERROR_HANDLER): New macro.
42278         (__SYSCALL_STRING): Do not do errno handling in asm.
42279         (__CLONE_SYSCALL_STRING): Delete.
42280         (__INTERNAL_SYSCALL_STRING): Delete.
42281         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42282         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42283         (PSEUDO): Reimplement to do errno handling inline.
42284         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42285         (SYSCALL_ERROR_HANDLER): New macro.
42286         (__SYSCALL_STRING): Do not do errno handling in asm.
42287         (__CLONE_SYSCALL_STRING): Delete.
42288         (__INTERNAL_SYSCALL_STRING): Delete.
42289         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42290         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42291         i386.
42292         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42293         (inline_syscall*): Add 'err' argument.
42294         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42295         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42296         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42297         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42299         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42300         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42302 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42304         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42306 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42308         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42309         directive.
42311 2011-08-24  David S. Miller  <davem@davemloft.net>
42313         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42315 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42317         * elf/Makefile: Add rules to build and run unload8 test.
42318         * elf/unload8.c: New file.
42319         * elf/unload8mod1.c: New file.
42320         * elf/unload8mod1x.c: New file.
42321         * elf/unload8mod2.c: New file.
42322         * elf/unload8mod3.c: New file.
42324         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42325         it wasn't used.
42327 2011-08-23  David S. Miller  <davem@davemloft.net>
42329         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42330         subtract stack bias.
42331         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42332         %sp not %fp in calculations.
42333         (_JMPBUF_UNWINDS_ADJ): Likewise.
42335         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42336         (aio_suspend): Call it to force an exception region around the
42337         AIO_MISC_WAIT() invocation.
42339 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42341         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42342         backslash.
42344 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42346         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42347         protection macro.
42348         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42349         and <dl-machine.h>.
42350         (Elf64_FuncDesc): Remove.
42352 2011-08-22  David S. Miller  <davem@davemloft.net>
42354         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42355         sigaltstack check, add missing cfi directives.
42356         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42357         missing cfi directives, and sigaltstack handling.
42359 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42361         [BZ #11724]
42362         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42363         object is seen twice.
42364         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42366         * elf/Makefile (distribute): Add tst-initorder2.c.
42367         (tests): Add tst-initorder2.
42368         (modules-names): Add tst-initorder2a tst-initorder2b
42369         tst-initorder2c tst-initorder2d.  Add rules to build them.
42370         ($(objpfx)tst-initorder2.out): New rule.
42371         * elf/tst-initorder2.c: New file.
42372         * elf/tst-initorder2.exp: New file.
42374 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42376         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42378         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42379         dependencies back to end of function.
42381         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42382         $(elfobjdir)/ld.so.
42384 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42386         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42387         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42388         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42389         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42390         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42391         of __vdso_gettimeofday.
42392         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42393         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42394         attribute_hidden.
42395         (_libc_vdso_platform_setup): Remove initialization of
42396         __vdso_gettimeofday and __vdso_time.
42398 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42400         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42401         and fgetc_unlocked.
42402         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42403         getc_unlocked.
42405         * elf/dl-open.c (add_to_global): Report additions to the global scope
42406         for LD_DEBUG=scopes.
42407         (dl_open_worker): Also print scope of newly loaded dependencies.
42408         (_dl_show_scope): Indicate if there is no scope.
42410         [BZ #13114]
42411         * stdio-common/Makefile (tests): Add bug24.
42412         * stdio-common/bug24.c: New file.
42414 2011-08-19  Andreas Jaeger  <aj@suse.de>
42416         [BZ #13114]
42417         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42418         non-existant file when using close-on-exec mode.
42420 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42422         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42423         the very first instruction.
42425         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42426         the CFI state in the end.
42427         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42428         inclusion of dl-trampoline.h.
42429         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42431 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42433         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42434         expectations for long double.
42436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42437         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42439 2011-08-14  David S. Miller  <davem@davemloft.net>
42441         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42442         artificual limit depends upon the system page size.
42444 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42446         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42447         * resolv/Makefile: Define CFLAGS-libresolv.
42449 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42451         * nss/makedb.c (compute_tables): Make variables used in nested
42452         function static.
42454 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42456         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42457         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42458         if buffer was too small.
42460         * elf/pldd.c (main): Attach to all threads in the process.
42461         Rewrite /proc handling to use *at functions.
42463 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42465         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42466         specifies first scope to show.
42467         (dl_open_worker): Update callers.  Move printing scope of new
42468         object to before the relocation.
42469         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42470         * sysdeps/generic/ldsodefs.h: Update declaration.
42472         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42473         string for the scope number.
42475 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42477         * nscd/servicescache.c (cache_addserv): Make sure written is always
42478         initialized.
42480 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42482         * sysdeps/i386/i486/bits/atomic.h
42483         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42484         statement expression, so as to suppress "set but not used" warning.
42485         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42487         * string/strncat.c (STRNCAT): Use prototype definition.
42489         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42490         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42491         -Iprograms here.
42492         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42493         (localedef-modules): Add localedef.
42494         (locale-modules): Add locale.
42496         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42497         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42498         to avoid a warning.
42500 2011-08-14  David S. Miller  <davem@davemloft.net>
42502         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42503         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42505 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42507         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42508         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42509         * elf/rtld.c (dl_main): Set l_name of vDSO.
42510         Call _dl_show_scope when DL_DEBUG_SCOPES.
42511         (process_dl_debug): Recognize scopes flag and also set it for all.
42512         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42513         Declare _dl_show_scope.
42515         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42516         (do_dlopen): Pass caller_dlopen to dl_open.
42517         (__libc_dlopen_mode): Initialize caller_dlopen.
42519         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42520         of libc.  Make tolower call locale-independent.  Optimize a bit by
42521         using isdigit instead of isalnum.
42522         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42524 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42526         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42527         was a dependency or dynamically loaded.
42529 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42531         * intl/l10nflist.c: Allow architecture-specific pop function.
42532         * sysdeps/x86_64/l10nflist.c: New file.
42534         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42535         classification.
42537 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42539         * include/dirent.h: Add libc_hidden_proto for scandirat and
42540         scandirat64.  Don't declare __scandirat64.
42541         * dirent/scandirat.c: Add libc_hidden_def.
42542         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42543         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42545 2011-08-10  David S. Miller  <davem@davemloft.net>
42547         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42548         enum.
42549         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42550         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42551         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42553 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42555         * Versions.def [libc]: Add GLIBC_2.15.
42556         * dirent/Makefile (routines): Add scandirat and scandirat64.
42557         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42558         GLIBC_2.15.
42559         * dirent/dirent.h: Declare scandirat and scandirat64.
42560         * dirent/scandirat.c: New file.
42561         * dirent/scandirat64.c: New file.
42562         * sysdeps/wordsize-64/scandirat.c: New file.
42563         * sysdeps/wordsize-64/scandirat64.c: New file.
42564         * dirent/opendir.c: Define opendirat.
42565         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42566         using scandirat.
42567         * dirent/scandir64.c: Adjust for scandir.c change.
42568         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42569         __scandirat64, and __scandir_cancel_handler.
42570         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42571         additional parameter and use openat instead of open (outside of ld.so).
42572         Add new __opendir as wrapper around __opendirat.
42573         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42574         here without requiring old scandirat implementation.
42576 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42578         * dirent/scandir.c (cancel_handler): Renamed to
42579         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42580         defined.  Adjust users.
42581         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42582         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42584 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42586         * string/test-string.h (IMPL): Use __STRING to expand name and then
42587         stringify it.
42589         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42590         of cleanups.
42592 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42594         * string/Makefile: Update.
42595         (strop-tests): Append strncat.
42596         * string/test-wcscmp.c: New file.
42597         New comprehensive test for wcscmp.
42598         * string/test-strcmp.c: Update.
42599         (WIDE): New define.
42601 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42603         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42604         line.
42606 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42609         encoding to ACE if AI_IDN.
42611 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42613         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42614         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42616 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42618         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42619         Fix overflow bug in strncat.
42620         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42622         * string/test-strncat.c: Update.
42623         Add new tests for checking overflow bugs.
42625 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42627         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42628         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42629         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42630         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42632         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42633         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42634         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42635         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42637         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42638         (USE_AS_STRCAT): Define.
42639         Add strcat and strncat support.
42640         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42642 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42644         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42645         __n bigger than INT_MAX+1.
42646         (__strncmp_g): Likewise.
42648 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42650         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42651         * libio/stido.h: Likewise.
42653         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42654         (AF_NFC): Define.
42655         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42656         (AF_NFC): Define.
42658         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42659         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42660         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42661         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42662         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42664         [BZ #13021]
42665         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42666         installed.
42668         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42669         typo.
42670         (_dl_x86_64_save_sse): Likewise.
42672 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42674         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42675         OSXSAVE.
42676         (_dl_x86_64_save_sse): Likewise.
42678         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42680         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42682 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42684         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42685         change.
42686         (_dl_x86_64_save_sse): Use correct AVX check.
42688 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42690         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42691         bug in strncpy/strncat.
42692         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42694 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42696         * string/tester.c (test_strcat): Add tests for different alignments
42697         of source and destination.
42698         (test_strncat): Likewise.
42700 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42702         [BZ #12852]
42703         * posix/glob.c (glob): Check passed in values before using them in
42704         expressions to avoid some overflows.
42705         (glob_in_dir): Likewise.
42707         [BZ #13007]
42708         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42709         check for AVX enablement so that we don't crash with old kernels and
42710         new hardware.
42711         * elf/tst-audit4.c: Add same checks here.
42712         * elf/tst-audit6.c: Likewise.
42714         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42716 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42718         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42720 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42722         * po/cs.po: Update from translation team.
42723         * po/bg.po: Likewise.
42725 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42727         * misc/sys/cdefs.h: Add support for const attribute.
42728         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42729         to gnu_dev_{major,minor,makedev} functions.
42731 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42733         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42735 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42737         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42738         strlen results.
42740 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42742         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42743         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42744         register in order to avoid conflicts with the soft frame pointer
42745         being held in r11 when necessary.
42746         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42747         (INTERNAL_VSYSCALL_NCS): Likewise.
42749 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42751         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42752         * elf/dl-fini.c (_dl_fini): Adjust caller.
42753         * elf/dl-close.c (_dl_close_worker): Likewise.
42754         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42756 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42758         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42759         "aux_cache->nlibs < 0".
42761         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42762         in the reload-count case.
42764 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42766         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42767         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42768         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42769         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42770         * sysdeps/x86_64/multiarch/strcat.S: New file.
42771         * sysdeps/x86_64/multiarch/strncat.S: New file.
42772         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42773         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42774         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42775         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42776         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42777         (USE_AS_STRCAT): Define.
42778         Add strcat and strncat support.
42779         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42780         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42781         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42782         * string/strncat.c: Update.
42783         (USE_AS_STRNCAT): Define.
42784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42785         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42786         and i7.
42787         * sysdeps/x86_64/multiarch/init-arch.h
42788         (bit_Prefer_PMINUB_for_stringop): New.
42789         (index_Prefer_PMINUB_for_stringop): Likewise.
42790         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42791         bit_Prefer_PMINUB_for_stringop.
42793 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42795         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42796         buffer64.
42797         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42798         of casting of buffer.
42799         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42800         buffer32 and buffer64.
42801         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42802         writes instead of casting of buffer.
42803         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42804         buffer32.
42805         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42806         casting of buffer.
42808 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42810         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42812 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42814         * nscd/nscd.c (termination_handler): Don't do anything for a database
42815         if it has not yet been initialized.
42817 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42819         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42821 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42823         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42825 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42827         * po/nl.po: Update from translation team.
42828         * po/sv.po: Likewise.
42830 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42832         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42833         now disallowed by GCC.
42835         * configure.in (use-default-link): Default to yes if a test -shared
42836         link meets our qualifications.
42837         * configure: Regenerated.
42839         * config.make.in (output-format): New variable.
42840         * configure.in: Check for ld --print-output-format support.
42841         * configure: Regenerated.
42842         * Makerules ($(common-objpfx)format.lds)
42843         [$(output-format) != unknown]: Just use $(output-format),
42844         instead of the linker-script munging.
42846 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42848         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42849         of $(common-objpfx)shlib.lds.
42850         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42852         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42853         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42855         * configure.in (-z relro check): Adjust test code to add a large
42856         writable data section after it.
42857         * configure: Regenerated.
42859 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42861         * configure.in (-z relro check): Fix test code to make the variable
42862         truly const.
42863         * configure: Regenerated.
42865 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42867         * nscd/nscd.h (struct traced_file): Define.
42868         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42869         elements.  Add traced_files.
42870         (inotify_fd): Declare.
42871         (register_traced_file): Declare.
42872         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42873         (inotify_fd): Export.
42874         (resolv_conf_descr): Remove.
42875         (nscd_init): Move inotify descriptor creation to main.
42876         Don't register files for notification here.
42877         (register_traced_file): New function.
42878         (invalidate_cache): Don't use reset_res to determine whether to call
42879         res_init, go through the list of registered files.
42880         (main_loop_poll): The inotify descriptors are now stored in the
42881         structures for the traced files.
42882         (main_loop_epoll): Likewise
42883         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42884         to __nss_disable_nscd.
42885         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42886         for a database anymore.  Check the records for all the registered
42887         files instead.
42888         * nss/Makefile (libnss_files-routines): Add files-init.
42889         (libnss_db-routines): Add db-init.
42890         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42891         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42892         * nss/nss_db/db-init.c: New file.
42893         * nss/nss_files/files-init.c: New file.
42894         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42895         __nss_lookup_function.
42896         (__nss_lookup_function): Call nss_load_library.
42897         (nss_load_all_libraries): New function.
42898         (__nss_disable_nscd): Take parameter with callback function for files
42899         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42900         used for the cached services.
42901         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42902         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42903         options for features to all the files in nscd.
42905         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42907 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42909         * csu/elf-init.c (__libc_csu_init): Comment typo.
42911 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42913         * po/pl.po: Update from translation team.
42914         * po/ja.po: Likewise.
42915         * po/ru.po: Likewise.
42916         * po/ko.po: Likewise.
42917         * po/fr.po: Likewise.
42919 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42921         * configure.in (.ctors/.dtors header and trailer check):
42922         Use an empirical test on a built program.
42923         * configure: Regenerated.
42925         * configure.in (-z relro check): Use an empirical test on a built DSO.
42926         Detect, but do not require, on ia64.
42927         * configure: Regenerated.
42929         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42930         Update tests that use readelf to use $READELF instead.
42931         * configure: Regenerated.
42933 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
42935         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42936         if the result is not used.
42938 2011-07-05  Andreas Jaeger  <aj@suse.de>
42940         [BZ#9696]
42941         * stdlib/tst-strtod.c: Add testcase.
42943 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
42945         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42946         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42947         The latter has a higher limit.  Take additional parameter to pass to
42948         the new function.
42949         (__pathconf): Pass file to __statfs_link_max.
42950         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42951         __statfs_link_max.
42952         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42953         __statfs_link_max.
42955         [BZ #12868]
42956         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42957         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42958         Handle Lustre.
42959         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42960         (__statfs_filesize_max): Likewise.
42961         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42963 2011-07-05  Andreas Jaeger  <aj@suse.de>
42965         * resolv/res_comp.c (dn_skipname): Remove unused variable.
42967 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
42969         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42970         `status' variable.
42971         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42972         Likewise.
42974 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
42976         * Makefile (strop-tests): Add strncat.
42977         * string/test-strncat.c: New file.
42979 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42981         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42983 2011-06-21  Andreas Jaeger  <aj@suse.de>
42985         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42986         Copy rule from iconvdata/Makefile.
42988 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42990         [BZ #12922]
42991         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42992         but no long options are defined, just return 'W'.
42994 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
42996         [BZ #9696]
42997         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42999 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43001         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43002         netgroups to read.
43003         (innetgr): Likewise.
43005 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43007         * config.make.in (install_root): Default to $(DESTDIR).
43009 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43011         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43013 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43015         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43017         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43018         containing directory rather than embedding absolute directory names.
43020         * scripts/check-local-headers.sh: Rewritten using awk.
43021         Match by word, not by line.  Print error messages for matches.
43022         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43024         * Makerules [shlib-lds-flags empty]:
43025         ($(common-objpfx)libc_pic.opts): New target.
43026         ($(common-objpfx)libc_pic.os.clean): New target.
43027         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43029         * config.make.in (OBJCOPY): New variable.
43030         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43031         * configure: Regenerated.
43033         * config.make.in (use-default-link): New variable.
43034         * configure.in (use_default_link): Grok --with-default-link to set it.
43035         * configure: Regenerated.
43036         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43037         (shlib-lds, shlib-lds-flags): Define to empty.
43039         * Makerules (shlib-lds): New variable.
43040         (shlib-lds-flags): New variable.
43041         (build-shlib, build-moduile, build-module-asneeded): Use it.
43042         ($(common-objpfx)libc.so): Use $(shlib-lds).
43043         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43044         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43046         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43047         DT_FLAGS/DT_FLAGS_1 with zero flags.
43049         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43050         linker script munging.
43052 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43054         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43055         as 128-bit value.
43056         * crypt/sha512.c (sha512_process_block): Perform total addition using
43057         128-bit if possible.
43058         (__sha512_finish_ctx): Likewise.
43059         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43060         as 64-bit value.
43061         * crypt/sha256.c (SWAP64): Define.
43062         (sha256_process_block): Perform total addition using 64-bit if
43063         possible.
43064         (__sha256_finish_ctx): Likewise.
43066 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43068         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43069         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43070         * nscd/hstcache.c (cache_addhst): Likewise.
43071         * nscd/grpcache.c (cache_addgr): Likewise.
43072         * nscd/aicache.c (addhstaiX): Likewise
43073         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43075 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43077         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43078         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43079         * nscd/hstcache.c (cache_addhst): Likewise.
43080         * nscd/grpcache.c (cache_addgr): Likewise.
43081         * nscd/aicache.c (addhstaiX): Likewise
43083 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43085         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43086         domain only when needed.
43088 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43091         is always restored.
43093 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43095         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43096         are re-adding the entry.
43097         * nscd/servicescache.c (cache_addserv): Likewise.
43099 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43101         * sysdeps/generic/dl-irel.h: fix protection against multiple
43102         inclusions.
43103         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43105 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43107         [BZ #12935]
43108         * malloc/memusage.sh: Fix quoting in message.
43109         * debug/xtrace.sh: Likewise.
43111         * configure.in: Remove support for --experimental-malloc option, make
43112         it the default.
43113         * config.make.in: Likewise.
43114         * malloc/Makefile: Likewise.
43116 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43118         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43119         two-byte characters.
43121 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43123         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43124         AC_CACHE_CHECK invocation.
43125         * configure: Regenerated.
43127         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43129 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43131         [BZ #12350]
43132         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43133         bit from old_res_options.
43135         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43137         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43138         value type for setfct.
43140 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43142         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43143         __gettimeofday instead of gettimeofday.
43145 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43147         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43149 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43151         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43153         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43154         info.
43156 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43159         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43160         strcpy-sse2-unaligned strncpy-sse2-unaligned
43161         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43162         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43163         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43164         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43165         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43166         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43167         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43168         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43169         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43170         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43171         (STRCPY): Support SSE2 and SSSE3 versions.
43173 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43175         [BZ #12874]
43176         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43177         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43178         kernels which artificially limit size of requests.
43180 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43183         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43184         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43185         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43186         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43187         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43188         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43189         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43190         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43191         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43192         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43193         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43194         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43195         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43196         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43198         Enable unaligned load optimization for Intel Core i3, i5 and i7
43199         processors.
43200         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43201         Define.
43202         (index_Fast_Unaligned_Load): Define.
43203         (HAS_FAST_UNALIGNED_LOAD): Define.
43205 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43207         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43209 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43211         [BZ #12907]
43212         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43213         until it is clear that the information is realy needed.
43214         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43216 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43220 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43222         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43223         /sys/devices/system/cpu/online if it is usable.
43225         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43226         reading the information from the /proc filesystem to once a second.
43228 2011-06-21  Andreas Jaeger  <aj@suse.de>
43230         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43231         NULL after inclusion of kernel headers.
43233 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43235         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43236         calls to internal_setent.
43238         [BZ #12885]
43239         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43240         addresses using gethostbyname4_r ignore IPv4 addresses.
43242         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43243         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43245         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43247 2011-06-20  David S. Miller  <davem@davemloft.net>
43249         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43250         inclusions.
43251         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43253         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43254         (elf_irel): Use it.
43255         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43256         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43257         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43258         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43259         * sysdeps/x86_64/dl-irel.h: Likewise.
43261         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43262         * elf/dl-sym.c: Likewise.
43264 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43266         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43267         need to dereference resplen2.
43269 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43271         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43273 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43275         * Makeconfig: Define vardbdir and inst_vardbdir.
43276         * nss/Makefile: Add rules to install db-Makefile.
43278         * nss/nss_db/db-XXX.c: Cleanup.
43280         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43281         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43282         GLIBC_PRIVATE.
43283         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43284         * nss/makedb.c: Implement -g option to specify that value strings
43285         are generated and should not be added to table iterated over for
43286         get*ent calls.
43287         * nss/nss_db/db-initgroups.c: New file.
43289         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43290         interface.
43292         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43293         (internal_getgrouplist): Adjust to name change.
43294         Update use_initgroups_entry if this is not the first call.
43295         * nss/databases.def: Add initgroups entry.
43297         * nss/makedb.c (compute_tables): Check result of multiple hash table
43298         sizes to minimize maximum chain length.
43300 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43302         * Versions.def: Add entry for libnss_db.
43303         * shlib-versions: Likewise.
43304         * nss/Makefile: Add rules to build libnss_db.
43305         * nss/Versions: Add libnss_db information.  Organize libnss_files
43306         entries better.
43307         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43308         makedb progra.  Some minor improvements to generate smaller files.
43309         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43310         here from...
43311         * nss/makedb.c: ...here.
43312         Improve database format to be smaller and require less memory at
43313         runtime.
43314         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43315         db anymore.
43316         * nss/nss_db/db-netgrp.c: Likewise.
43317         * nss/nss_db/db-open.c: Likewise.
43318         * nss/nss_files/flies-XXX.x: Adjust comments.
43319         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43320         * nss/nss_files/files-grp.c: Likewise.
43321         * nss/nss_files/files-hosts.c: Likewise.
43322         * nss/nss_files/files-network.c: Likewise.
43323         * nss/nss_files/files-proto.c: Likewise.
43324         * nss/nss_files/files-pwd.c: Likewise.
43325         * nss/nss_files/files-rpc.c: Likewise.
43326         * nss/nss_files/files-service.c: Likewise.
43327         * nss/nss_files/files-sgrp.c: Likewise.
43328         * nss/nss_files/files-spwd.c: Likewise.
43329         * nss/nss_db/db-alias.c: Removed.
43330         * nss/nss_db/dummy-db.h: Removed.
43332 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43334         * nss/makedb.c: Rewritten to not use database library.
43335         * nss/Makefile: Update to build new makedb program.
43337 2011-06-14  Andreas Jaeger  <aj@suse.de>
43339         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43340         memset declaration.
43342 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43345         tmpbuf.
43347 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43349         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43350         * elf/Makefile ($(objpfx)ld.so): Likewise.
43352         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43353         Don't list ld.so twice in dependencies.
43355         * posix/bug-regex31.c: Include <stdlib.h>.
43357         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43359         * nis/nss_compat/compat-spwd.c
43360         (getspent_next_nss_netgr): Remove unused variable.
43361         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43363         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43364         nonmembers" output to use the right array.
43366         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43368         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43370         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43371         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43372         * catgets/gencat.c (read_input_file): Likewise.
43373         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43375         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43376         variable definition inside #if's controlling its use.
43378         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43380         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43382         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43384         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43385         unreachable code.
43387         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43389         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43390         * configure: Regenerated.
43392         * Makerules: Revert last change.
43393         * elf/Makefile: Likewise.
43395 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43397         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43398         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43399         (reloc-link): Likewise.
43401 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43403         * elf/Makefile: Add rules to build pldd.
43404         * elf/pldd.c: New file.
43405         * elf/pldd-xx.c: New file.
43407 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43409         * version.h: Update for 2.15 development version.
43411 2011-06-07  David S. Miller  <davem@davemloft.net>
43413         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43414         ifuncs.
43415         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43416         elf_machine_lazy_rel): Likewise.
43417         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43419         elf_machine_lazy_rel): Likewise.
43420         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43421         dl_hwcap via passed in argument.
43422         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43423         Likewise.
43425 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43427         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43429 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43431         [BZ #12849]
43432         * manual/fdl-1.1.texi: New file, verbatim from:
43433         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43434         * manual/lgpl-2.1.texi: New file, verbatim from:
43435         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43436         * manual/Makefile (licenses): New variable, list those new file names.
43437         (texis): Use it.
43438         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43440         * manual/fdl.texi: File removed.
43441         * manual/lesser.texi: File removed.
43442         * manual/libc.texinfo (Copying, Documentation License):
43443         Use new @include file names, put @appendix directive before @include.
43445 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43447         [BZ #12841]
43448         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43449         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43450         (mq_open): Add __NTH.
43452 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43455         Assume Intel Core i3/i5/i7 processor if AVX is available.
43457 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43459         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43460         typo.
43462 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43464         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43465         memory.  Use alloca_account.  Fix memory leak when retrying.
43467 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43469         * version.h (RELEASE): Bump for 2.14 release.
43470         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43472         * config.make.in (RANLIB): Remove entry.
43474 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43476         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43477         (libc.pot): Work around missing support for .ksh extension in xgettext.
43479         [BZ #12684]
43480         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43481         if both request failed.
43482         (send_dg): In case of server errors clear resplen or *resplen2.
43484         [BZ #12454]
43485         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43486         when there are multiple maps.
43487         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43488         (_dl_fini): Remove test here.
43490         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43492 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43494         [BZ #12350]
43495         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43496         bit from old_res_options.
43497         (gaih_inet): Likewise.
43499         [BZ #11099]
43500         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43501         as signed.
43503         * resolv/res_init.c (res_setoptions): Make the code more compact.
43505         [BZ #11558]
43506         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43507         set RES_USEVC.
43509         [BZ #11634]
43510         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43512         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43514         [BZ #11781]
43515         * malloc/malloc.h: Declare malloc hook variables as volatile.
43517         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43518         in last patch.
43520         [BZ #11799]
43521         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43522         raise in the comment.
43523         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43524         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43525         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43527 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43529         [BZ #12811]
43530         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43531         grow the buffers more if it already has to be sufficient.
43532         (build_wcs_upper_buffer): Likewise.
43533         * posix/regexec.c (check_matching): Likewise.
43534         (clean_state_log_if_needed): Likewise.
43535         (extend_buffers): Don't enlarge buffers beyond size of the input
43536         buffer.
43537         Patches mostly by Emil Wojak <emil@wojak.eu>.
43538         * posix/bug-regex32.c: New file.
43539         * posix/Makefile (tests): Add bug-regex32.
43541         * locale/findlocale.c (_nl_find_locale): Return right away if
43542         _nl_explode_name failed.
43543         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43545         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43547         * debug/xtrace.sh: Unify messages.
43548         * malloc/memusage.sh: Likewise.
43550         [BZ #12813]
43551         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43552         time symbol from vDSO.  Substitute with vsyscall if not available.
43553         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43554         __vdso_time.
43556         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43557         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43558         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43559         Add sendmmsg and internal_sendmmsg.
43560         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43561         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43562         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43564         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43565         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43566         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43568 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43570         [BZ #12813]
43571         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43572         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43573         available.
43574         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43575         __vdso_getcpu.
43577         [BZ #12814]
43578         * iconvdata/Makefile (tests): Add bug-iconv9.
43579         * iconvdata/bug-iconv9.c: New file.
43581 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43583         [BZ #12814]
43584         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43586 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43588         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43589         (struct user_regs_struct): Change intcs field back to cs.
43591 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43593         * po/ja.po: Update from translation team.
43595 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43597         [BZ #12795]
43598         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43599         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43601 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43603         * stdlib/longlong.h: Update from GCC.
43605 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43607         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43608         parameter name.
43609         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43610         Add parameter name.
43611         (__sysconf): Pass it down.
43613 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43615         [BZ #12671]
43616         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43617         some situations.
43618         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43619         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43620         add in in __libc_use_alloca calls.  Adjust callers.
43621         (glob): Use malloc in some situations.
43623         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43624         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43625         pltexit.
43627 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43629         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43630         and CLOCK_BOOTTIME_ALARM.
43632         [BZ #12782]
43633         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43634         is returned.
43636         * string/_strerror.c (__strerror_r): Print negative errors as signed
43637         numbers.
43639         [BZ #12777]
43640         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43641         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43642         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43644         * configure.in: Fix typo in redirection and correct removal of test
43645         files in two cases.
43647         [BZ #12788]
43648         * locale/setlocale.c (new_composite_name): Fix test to check for
43649         identical name of all categories.
43651         [BZ #12792]
43652         * libio/filedoalloc.c (local_isatty): New function.
43653         (_IO_file_doallocate): Use local_isatty.
43654         * stdio-common/perror.c (perror): In case a new stream is used
43655         forward the stream error.
43656         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43657         error flag.
43659 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43661         [BZ #11869]
43662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43663         alloca.
43664         * include/alloca.h (extend_alloca_account): Define.
43666         [BZ #11857]
43667         * posix/regex.h: Fix comments with documentation of user-accessible
43668         fields after compilation and describe correct free'ing of pattern
43669         after re_compile_pattern.
43670         Patch by Reuben Thomas <rrt@sc3d.org>.
43672 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43674         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43675         and -mno-altivec to prevent the compiler from using Altivec and/or
43676         VSX instructions when the corresponding registers are not available.
43678 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43680         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43682 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43684         * libio/freopen.c (freopen): Use __dup2, not dup2.
43685         * libio/freopen64.c (freopen64): Likewise.
43687 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43689         [BZ #12775]
43690         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43691         * math/Makefile (tests): Add test-powl.
43692         (CFLAGS-test-powl.c): Define.
43693         * math/test-powl.c: New file.
43695 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43697         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43699 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43701         [BZ #11837]
43702         * iconvdata/gb18030.c: Update to GB18020-2005.
43704 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43706         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43707         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43708         Patch by Aharon Robbins <arnold@skeeve.com>.
43710         [BZ #11892]
43711         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43712         on the stack.
43714         [BZ #11895]
43715         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43716         through underflows.
43718         [BZ #12766]
43719         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43720         point to strings before performing equality test for error_one_per_line
43721         mode.
43723         [BZ #11697]
43724         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43726         [BZ #11820]
43727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43728         (struct user_fpregs_struct): Avoid __uint*_t types.
43730         [BZ #6420]
43731         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43732         symbol info.  Use it instead of calling _dl_addr locally.
43733         (lock_and_info): New function.
43734         (tr_freehook): Call lock_and_info and pass symbol info as additional
43735         parameter to tr_where.
43736         (tr_mallochook): Likewise.
43737         (tr_reallochook): Likewise.
43738         (tr_memalignhook): Likewise.
43740         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43741         used and couldn't be at all thread-safe.
43743 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43745         * libio/freopen.c (freopen): Don't close old file descriptor
43746         before the new one is opened.  Instead dup the new file descriptor
43747         to the old one after the new stream is created.
43748         * libio/freopen64.c (freopen64): Likewise.
43749         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43750         * libio/fileops.c (_IO_new_file_close_it): Handle new
43751         _IO_FLAGS2_NOCLOSE flag.
43752         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43753         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43754         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43755         _IO_FLAGS2_NOCLOSE flag.
43756         * include/unistd.h: Add hidden_proto for dup3.
43757         Define __have_dup3.
43758         * io/dup3.c: Define hidden symbol.
43759         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43761         [BZ #7101]
43762         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43763         when an incomplete long option is used.
43764         * posix/tst-getopt_long1.c: New file.
43765         * posix/Makefile (tests): Add tst-getopt_long1.
43767         [BZ #10138]
43768         * scripts/config.guess: Update from autoconf-2.68.
43769         * scripts/config.sub: Likewise.
43771         [BZ #10157]
43772         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43773         tests into ...
43774         (has_cpuclock): ...this.  New function.
43775         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43776         macro here based on has_cpuclock code.
43778         [BZ #10149]
43779         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43780         First byte (not low byte) is now always NUL.
43781         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43783         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43784         Use non-cancelable interfaces.
43786         [BZ #9809]
43787         * locale/iso-639.def: Add entry for Sorani.
43789         [BZ #11901]
43790         * include/stdlib.h: Move include protection to the right place.
43791         Define abort_msg_s.  Declare __abort_msg with it.
43792         * stdlib/abort.c (__abort_msg): Adjust type.
43793         * assert/assert.c (__assert_fail_base): New function.  Majority
43794         of code from __assert_fail.  Allocate memory for __abort_msg with
43795         mmap.
43796         (__assert_fail): Now call __assert_fail_base.
43797         * assert/assert-perr.c: Remove bulk of implementation.  Use
43798         __assert_fail_base.
43799         * include/assert.hL Declare __assert_fail_base.
43800         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43801         mmap.
43802         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43804 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43806         [BZ #11952]
43807         [BZ #12453]
43808         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43809         until all modules are registered in the DTV.
43810         * elf/Makefile: Add rules to build and run tst-tls19.
43811         * elf/tst-tls19.c: New file.
43812         * elf/tst-tls19mod1.c: New file.
43813         * elf/tst-tls19mod2.c: New file.
43814         * elf/tst-tls19mod3.c: New file.
43815         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43817         [BZ #12083]
43818         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43819         correctly.
43821         [BZ #12601]
43822         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43823         two-byte sequence errors.
43824         * iconvdata/Makefile (tests): Add bug-iconv8.
43825         * iconvdata/bug-iconv8.c: New file.
43827         [BZ #12626]
43828         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43829         buf2 definition.
43831         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43833         [BZ #12432]
43834         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43835         (dummy_getcfa): New function.
43836         (init): Get _Unwind_GetCFA address, use dummy if not found.
43837         (backtrace_helper): In recursion check, also check whether CFA changes.
43838         (__backtrace): Completely initialize arg.
43840         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43841         storing incomplete byte sequence in state object.  Avoid testing for
43842         guaranteed too small input if we know there is enough data available.
43844 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43846         * Makeconfig (+link-pie): Indent.
43847         * Rules (binaries-pie): Define if $(have-fpie) and
43848         $(build-shared).
43849         (binaries-shared): Also filter out $(binaries-pie).
43850         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43851         * nscd/Makefile (others-pie): Add nscd.
43852         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43853         ($(objpfx)nscd): Remove command override.
43854         * login/Makefile (others-pie): Add pt_chown.
43855         ($(objpfx)pt_chown): Remove command override.
43856         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43857         remove command overrides.
43859 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43861         * libio/tst_putwc.c: Fix error messages.
43863         [BZ #12724]
43864         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43865         currently writing and seek to current position when not.
43866         * libio/Makefile (tests): Add bug-fclose1.
43867         * libio/bug-fclose1.c: New file.
43869 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43871         [BZ #12511]
43872         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43873         don't set DF_1_NODELETE here.
43874         (do_lookup_x): When entering new entry test for copy relocation
43875         and if necessary set DF_1_NODELETE flag.
43876         * elf/tst-unique4.cc: New file.
43877         * elf/tst-unique4.h: New file.
43878         * elf/tst-unique4lib.cc: New file.
43879         * elf/Makefile: Add rules to build and run tst-unique4.
43880         Patch by Piotr Bury <pbury@goahead.com>.
43882 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43884         [BZ #12052]
43885         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43887         [BZ #12625]
43888         * misc/mntent_r.c (addmntent): Flush the stream after the output
43890         [BZ #12393]
43891         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43892         (is_trusted_path_normalize): Skip initial colon.  Append slash
43893         to empty buffer.  Duplicate is_trusted_path code but allow
43894         constructed patch to be prefix.
43895         (is_dst): Allow $ORIGIN followed by /.
43896         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43897         Correct testing of result of is_trusted_path_normalize
43898         (decompose_rpath): Fix warning.
43900 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43902         [BZ #11257]
43903         * grp/initgroups.c (internal_getgrouplist): When we found the service
43904         list through the initgroups entry in nsswitch.conf do not always
43905         continue on a successful lookup.  Don't always use the
43906         __nss_group_database value if it is set.
43907         * nss/nsswitch.conf (initgroups): Change action for successful db
43908         lookup to continue for compatibility.
43910 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43912         [BZ #11532]
43913         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43914         and CP774 modules.
43915         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43916         and CP774 modules.
43917         * iconvdata/tst-tables.sh: Likewise.
43918         * iconvdata/cp770.c: New file.
43919         * iconvdata/cp771.c: New file.
43920         * iconvdata/cp772.c: New file.
43921         * iconvdata/cp773.c: New file.
43922         * iconvdata/cp774.c: New file.
43923         * iconvdata/testdata/CP770: New file.
43924         * iconvdata/testdata/CP770..UTF8: New file.
43925         * iconvdata/testdata/CP771: New file.
43926         * iconvdata/testdata/CP771..UTF8: New file.
43927         * iconvdata/testdata/CP772: New file.
43928         * iconvdata/testdata/CP772..UTF8: New file.
43929         * iconvdata/testdata/CP773: New file.
43930         * iconvdata/testdata/CP773..UTF8: New file.
43931         * iconvdata/testdata/CP774: New file.
43932         * iconvdata/testdata/CP774..UTF8: New file.
43934         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43935         END CHARMAP line.
43936         * iconvdata/gen-8bit-gap.sh: Likewise.
43937         * iconvdata/gen-8bit.sh: Likewise.
43939         * locale/iso-639.def: Add ary entry.
43941         [BZ #11258]
43942         * locale/C-translit.h.in: Add U20A1 transliteration.
43944         [BZ #12178]
43945         * locale/iso-639.def: Add wae entry.
43946         Patch by Kevin Bortis <bortis@translate-wae.ch>.
43948         [BZ #12545]
43949         * locale/programs/localedef.c (construct_output_path): Use ssize_t
43950         for n.
43952         [BZ #12711]
43953         * locale/C-translit.h.in: Add entry for U20B9.
43954         Patch by pravin.d.s@gmail.com.
43956 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
43958         [BZ #12713]
43959         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43960         ENAMETOOLONG use generic getcwd.
43961         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
43962         in rtld.  Use *stat64.
43963         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43964         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43965         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43966         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43967         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43968         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43969         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43970         __fstatat64 macros.
43971         * include/dirent.h: Add libc_hidden_proto for rewinddir.
43972         * dirent/rewinddir.c: Add libc_hidden_def.
43973         * sysdeps/mach/hurd/rewinddir.c: Likewise.
43974         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
43976         * include/dirent.h (__alloc_dir): Add flags parameter.
43977         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43978         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43979         __alloc_dir.
43980         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43981         from fdopendir if O_CLOEXEC is already set.
43983 2011-03-15  Alan Modra  <amodra@gmail.com>
43985         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43986         l_tls_firstbyte_offset non-zero.  Save padding offset in
43987         l_tls_firstbyte_offset for later use.
43988         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43989         freeing static tls block.
43991 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
43993         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43994         where #ifdef was intended.  The intent is to prevent ARG_MAX from
43995         being defined by the kernel headers.
43997 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
43999         [BZ #12734]
44000         * resolv/resolv.h: Define RES_NOTLDQUERY.
44001         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44002         no-tld-query and set RES_NOTLDQUERY.
44003         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44004         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44005         modern BIND to search name as TLD unless forbidden.
44007 2011-05-07  Petr Baudis  <pasky@suse.cz>
44008             Ulrich Drepper  <drepper@gmail.com>
44010         [BZ #12393]
44011         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44012         (is_trusted_path): ...to here.
44013         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44014         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44015         using is_trusted_path_normalize() in setuid scripts.
44017 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44019         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44020         __BEGIN/__END_DECLS.
44022 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44024         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44025         NSS_STATUS_NOTFOUND if no record was found.
44027 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44029         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44030         (headers-not-in-tirpc): Remove rpc/netdb.h
44031         * resolv/netdb.h: Revert last change.
44033 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44035         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44036         circular dependency between libgcc.a and libc.a.
44038 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44040         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44041         * nis/Makefile: Don't install rpcsvc/*.
44042         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44043         instead of <rpc/types.h>.
44044         (MAXHOSTNAMELEN): Define.
44046 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44048         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44050 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44052         [BZ #12714]
44053         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44054         gethostbyname4_r when IPv6 results are possible.
44056 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44058         [BZ #12723]
44059         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44060         _PC_PIPE_BUF handling.
44062 2011-04-30  Bruno Haible  <bruno@clisp.org>
44064         [BZ #12717]
44065         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44066         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44067         to 'int'.
44068         * inet/getnameinfo.c (getnameinfo): Likewise.
44070 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44072         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44073         to groups setting in database lookup.
44074         * nss/nsswitch.conf: Add initgroups entry.
44076 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44078         [BZ #12685]
44079         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44080         mode string.
44081         Patch by Eric Blake <eblake@redhat.com>.
44083 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44085         * sunrpc/Makefile (need-export-routines): Add svc_run.
44086         (routines): Remove svc_run.
44087         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44088         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44089         * sunrpc/svc_run.c (svc_run): Likewise.
44090         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44092 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44094         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44095         problem in reallocation in last patch.
44097 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44099         * sunrpc/Makefile: Move inclusion of Rules.
44101 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44103         * nss/nss_files/files-initgroups.c: New file.
44104         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44105         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44106         _nss_files_initgroups_dyn.
44108 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44110         * elf/elf.h (R_ARM_IRELATIVE): Define.
44112 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44114         * po/ru.po: Update from translation team.
44116 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44118         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44119         dependencies.
44121 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44123         [BZ #12653]
44124         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44125         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44126         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44127         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44128         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44130 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44132         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44133         differing bytes.
44134         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44135         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44136         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44138 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44140         [BZ #12420]
44141         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44142         storing it.
44143         * stdlib/bug-getcontext.c: New file.
44144         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44146 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44148         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44149         instructions into .machine "z9-109".
44150         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44151         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44153 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44155         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44156         between environment variables and auxiliary vector.
44158 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44160         * Makefile: Add rules to build linkobj/libc.so.
44161         * include/libc-symbols.h: Define libc_hidden_nolink.
44162         * include/rpc/auth.h: Mark functions which are to be hidden.
44163         * include/rpc/auth_des.h: Likewise.
44164         * include/rpc/auth_unix.h: Likewise.
44165         * include/rpc/clnt.h: Likewise.
44166         * include/rpc/des_crypt.h: Likewise.
44167         * include/rpc/key_prot.h: Likewise.
44168         * include/rpc/pmap_clnt.h: Likewise.
44169         * include/rpc/pmap_prot.h: Likewise.
44170         * include/rpc/pmap_rmt.h: Likewise.
44171         * include/rpc/rpc_msg.h: Likewise.
44172         * include/rpc/svc.h: Likewise.
44173         * include/rpc/svc_auth.h: Likewise.
44174         * include/rpc/xdr.h: Likewise.
44175         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44176         * nss/Makefile: Likewise.
44177         * sunrpc/Makefile: Don't install headers.  Build library with normal
44178         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44179         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44180         for the compat linking library.  Remove use of INTDEF/INTUSE.
44181         * sunrpc/auth_none.c: Likewise.
44182         * sunrpc/auth_unix.c: Likewise.
44183         * sunrpc/authdes_prot.c: Likewise.
44184         * sunrpc/authuxprot.c: Likewise.
44185         * sunrpc/clnt_gen.c: Likewise.
44186         * sunrpc/clnt_perr.c: Likewise.
44187         * sunrpc/clnt_raw.c: Likewise.
44188         * sunrpc/clnt_simp.c: Likewise.
44189         * sunrpc/clnt_tcp.c: Likewise.
44190         * sunrpc/clnt_udp.c: Likewise.
44191         * sunrpc/clnt_unix.c: Likewise.
44192         * sunrpc/des_crypt.c: Likewise.
44193         * sunrpc/des_soft.c: Likewise.
44194         * sunrpc/get_myaddr.c: Likewise.
44195         * sunrpc/key_call.c: Likewise.
44196         * sunrpc/key_prot.c: Likewise.
44197         * sunrpc/netname.c: Likewise.
44198         * sunrpc/pm_getmaps.c: Likewise.
44199         * sunrpc/pm_getport.c: Likewise.
44200         * sunrpc/pmap_clnt.c: Likewise.
44201         * sunrpc/pmap_prot.c: Likewise.
44202         * sunrpc/pmap_prot2.c: Likewise.
44203         * sunrpc/pmap_rmt.c: Likewise.
44204         * sunrpc/publickey.c: Likewise.
44205         * sunrpc/rpc_cmsg.c: Likewise.
44206         * sunrpc/rpc_common.c: Likewise.
44207         * sunrpc/rpc_dtable.c: Likewise.
44208         * sunrpc/rpc_prot.c: Likewise.
44209         * sunrpc/rpc_thread.c: Likewise.
44210         * sunrpc/rtime.c: Likewise.
44211         * sunrpc/svc.c: Likewise.
44212         * sunrpc/svc_auth.c: Likewise.
44213         * sunrpc/svc_authux.c: Likewise.
44214         * sunrpc/svc_raw.c: Likewise.
44215         * sunrpc/svc_run.c: Likewise.
44216         * sunrpc/svc_simple.c: Likewise.
44217         * sunrpc/svc_tcp.c: Likewise.
44218         * sunrpc/svc_udp.c: Likewise.
44219         * sunrpc/svc_unix.c: Likewise.
44220         * sunrpc/svcauth_des.c: Likewise.
44221         * sunrpc/xcrypt.c: Likewise.
44222         * sunrpc/xdr.c: Likewise.
44223         * sunrpc/xdr_array.c: Likewise.
44224         * sunrpc/xdr_float.c: Likewise.
44225         * sunrpc/xdr_intXX_t.c: Likewise.
44226         * sunrpc/xdr_mem.c: Likewise.
44227         * sunrpc/xdr_rec.c: Likewise.
44228         * sunrpc/xdr_ref.c: Likewise.
44229         * sunrpc/xdr_sizeof.c: Likewise.
44230         * sunrpc/xdr_stdio.c: Likewise.
44232 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44234         [BZ #12650]
44235         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44236         * sysdeps/ia64/dl-tls.h: Likewise.
44237         * sysdeps/powerpc/dl-tls.h: Likewise.
44238         * sysdeps/s390/dl-tls.h: Likewise.
44239         * sysdeps/sh/dl-tls.h: Likewise.
44240         * sysdeps/sparc/dl-tls.h: Likewise.
44241         * sysdeps/x86_64/dl-tls.h: Likewise.
44242         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44244 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44246         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44247         rpath element also skip the following colon.
44248         (expand_dynamic_string_token): Add is_path parameter and pass
44249         down to DL_DST_REQUIRED and _dl_dst_substitute.
44250         (decompose_rpath): Call expand_dynamic_string_token with
44251         non-zero is_path.  Ignore empty rpaths.
44252         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44253         with zero is_path.
44255 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44258         Make cancelable.
44260 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44262         [BZ #12655]
44263         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44264         Patch by Filipe David Manana <fdmanana@apache.org>.
44266 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44268         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44269         Maintain aligned stack.
44270         (CHECK_RSP): Remove unused macro.
44272 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44274         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44275         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44277 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44279         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44281         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44283 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44285         [BZ #12518]
44286         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44287         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44288         * sysdeps/x86_64/memmove.c: New file.
44289         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44290         (memcpy): Renamed to ...
44291         (__new_memcpy): This.
44292         (memcpy): Provide GLIBC_2_14 memcpy.
44293         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44294         (memcpy): Provide GLIBC_2_2_5 memcpy.
44296 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44298         [BZ #12631]
44299         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44301 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44303         * misc/syncfs.c: New file.
44304         * misc/Makefile (routines): Add syncfs.
44305         * posix/unistd.h: Declare syncfs.
44306         * sysdeps/unix/syscalls.list: Add syncfs.
44308 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44310         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44311         open_by_handle_at.
44312         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44313         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44314         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44315         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44316         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44317         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44318         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44320 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44322         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44323         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44324         * sysdeps/unix/sysv/linux/powerpc/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/x86_64/bits/fcntl.h: Likewise.
44330         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44331         sync_file_range.c with -fexceptions.
44332         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44333         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44334         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44335         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44336         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44337         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44338         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44339         sync_file_range as cancellation point
44340         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44341         now a wrapper around __call_sync_file_range with cancellation handling.
44342         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44343         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44344         function name to __call_sync_file_range.
44345         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44346         Add call_sync_file_range.
44348 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44351         bits/timex.h.
44353 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44355         * iconv/iconv.h: Fix typo in comment.
44356         * io/fcntl.h: Likewise.
44357         * libio/stdio.h: Likewise.
44358         * posix/spawn.h: Likewise.
44359         * posix/unistd.h: Likewise.
44360         * stdlib/stdlib.h: Likewise.
44361         * time/time.h: Likewise.
44362         * wcsmbs/wchar.h: Likewise.
44364         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44365         open_by_handle): Add.
44366         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44367         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44368         Augment a few comments.
44369         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44370         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44371         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44372         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44373         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44374         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44375         open_by_handle.
44377         * io/fcntl.h (AT_EMPTY_PATH): Define.
44379 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44381         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44382         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44383         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44384         to...
44385         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44386         * Versions.def: Add GLIBC_2.14.
44387         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44388         Export.
44390 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44392         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44393         round counter.
44394         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44396 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44398         [BZ #12597]
44399         * string/test-strncmp.c (do_page_test): New function.
44400         (check2): Likewise.
44401         (test_main): Call check2.
44402         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44404 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44406         [BZ #12587]
44407         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44408         Handle cache information in CPU leaf 4.
44409         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44411 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44413         [BZ #12583]
44414         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44415         character representation.
44416         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44418 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44420         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44421         END(__isnan) to END(__isnanf) to match function entry point/label
44422         EALIGN(__isnanf,...).
44424 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44426         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44428 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44430         [BZ #12510]
44431         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44432         copy from the symbol referenced in the relocation to initialize the
44433         used variable.
44434         Patch by Piotr Bury <pbury@goahead.com>.
44435         * elf/Makefile: Add rules to build and tst-unique3.
44436         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44437         * elf/tst-unique3.cc: New file.
44438         * elf/tst-unique3.h: New file.
44439         * elf/tst-unique3lib.cc: New file.
44440         * elf/tst-unique3lib2.cc: New file.
44442         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44444 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44446         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44447         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44448         to _start.
44450 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44452         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44453         to-be-loaded object along a path to loader is ld.so.
44455 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44456             Ulrich Drepper  <drepper@gmail.com>
44458         * sysdeps/x86_64/memset.S: After aligning destination, code
44459         branches to different locations depending on the value of
44460         misalignment, when multiarch is enabled. Fix this.
44462 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44464         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44465         Set _x86_64_preferred_memory_instruction for AMD processsors.
44466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44467         Set bit_Prefer_SSE_for_memop for AMD processors.
44469 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44471         * libio/fmemopen.c (fmemopen): Optimize a bit.
44473 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44475         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44477 2011-03-03  Roland McGrath  <roland@redhat.com>
44479         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44481 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44483         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44484         __bzero_ultra1 instead of __memset_ultra1.
44486 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44487             Ulrich Drepper  <drepper@gmail.com>
44489         [BZ #12509]
44490         * include/link.h (struct link_map): Add l_orig_initfini.
44491         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44492         returning unsuccessfully.
44493         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44494         close of a file loaded at startup, restore the original l_initfini
44495         list.
44496         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44497         list, store the pointer.
44498         * elf/Makefile ($(objpfx)noload-mem): New rule.
44499         (noload-ENV): Define.
44500         (tests): Add $(objpfx)noload-mem.
44501         * elf/noload.c: Include <memcheck.h>.
44502         (main): Call mtrace.  Close all opened handles.
44504 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44506         [BZ #12454]
44507         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44508         dependencies are missing.
44510 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44512         Fix __if_freereq crash: Unlike the generic version which uses free,
44513         Hurd needs munmap.
44514         * sysdeps/mach/hurd/ifreq.h: New file.
44516 2011-01-27  Petr Baudis  <pasky@suse.cz>
44517             Ulrich Drepper  <drepper@gmail.com>
44519         [BZ 12445]#
44520         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44521         to extend_alloca().
44522         * stdio-common/bug23.c: New file.
44523         * stdio-common/Makefile (tests): Add bug23.
44525 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44526             Ulrich Drepper  <drepper@gmail.com>
44528         [BZ #12489]
44529         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44530         before performing relro protection.  At old place add assertion
44531         to make sure nothing changed.
44533 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44534             Glauber de Oliveira Costa  <glommer@gmail.com>
44536         * elf/elf.h: Add new ARM TLS relocs.
44538 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44541         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44542         cast from r3.
44543         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44544         'tests' variable.
44545         * sysdeps/wordsize-64/tst-writev.c: New file.
44547 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44549         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44550         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44551         insns in _dl_start to prevent a TOC reference before relocs are
44552         resolved.
44554 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44556         [BZ #12469]
44557         * Makeconfig: Remove RANLIB definition.
44558         * Makerules: Don't use RANLIB.
44559         * aclocal.m4: Remove ranlib test.
44560         * configure.in: No need to check for ranlib.
44561         * elf/rtld-Rules: Don't use RANLIB.
44563 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44565         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44566         protection macro.
44567         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44568         inclusion protection macro.
44570         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44571         SIGRTMIN and SIGRTMAX and print information in that case only when
44572         SIGRTMIN is defined.
44574 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44576         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44577         arginfo fn returning -1.
44579         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44580         and thousands string is zero terminated.
44582 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44584         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44585         sysdeps/unix/sysv/linux/bits/socket.h.
44587 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44589         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44590         (__CPU_COUNT): Remove old macros.
44591         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44592         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44593         (__CPU_ALLOC, __CPU_FREE): Add macros.
44594         (__sched_cpualloc, __sched_cpufree): Add declarations.
44596 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44598         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44599         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44600         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44601         (readdhstai): Return value of addhstaiX call.
44602         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44603         (addgrbyX): Return value returned by cache_addgr.
44604         (readdgrbyname): Return value returned by addgrbyX.
44605         (readdgrbygid): Likewise.
44606         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44607         (addpwbyX): Return value returned by cache_addpw.
44608         (readdpwbyname): Return value returned by addhstbyX.
44609         (readdpwbyuid): Likewise.
44610         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44611         (addservbyX): Return value returned by cache_addserv.
44612         (readdservbyname): Return value returned by addservbyX:
44613         (readdservbyport): Likewise.
44614         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44615         (addhstbyX): Return value returned by cache_addhst.
44616         (readdhstbyname): Return value returned by addhstbyX.
44617         (readdhstbyaddr): Likewise.
44618         (readdhstbynamev6): Likewise.
44619         (readdhstbyaddrv6): Likewise.
44620         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44621         (readdinitgroups): Return value returned by addinitgroupsX.
44622         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44623         (prune_cache): Keep track of timeout value of re-added entries.
44624         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44625         * nscd/nscd.h: Adjust prototypes of readd* functions.
44627 2011-02-04  Roland McGrath  <roland@redhat.com>
44629         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44630         (nis_stats): Likewise.
44631         * nis/nis_modify.c (nis_modify): Likewise.
44632         * nis/nis_remove.c (nis_remove): Likewise.
44633         * nis/nis_add.c (nis_add): Likewise.
44635         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44637         * posix/fnmatch_loop.c: Add some consts.
44639         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44641 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44643         [BZ #12460]
44644         * config.make.in (config-cflags-novzeroupper): Define.
44645         * configure.in: Substitute libc_cv_cc_novzeroupper.
44646         * elf/Makefile (AVX-CFLAGS): Define.
44647         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44648         (CFLAGS-tst-auditmod4a.c): Likewise.
44649         (CFLAGS-tst-auditmod4b.c): Likewise.
44650         (CFLAGS-tst-auditmod6b.c): Likewise.
44651         (CFLAGS-tst-auditmod6c.c): Likewise.
44652         (CFLAGS-tst-auditmod7b.c): Likewise.
44653         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44655 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44657         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44658         function to the callback.
44659         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44661 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44663         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44664         of errno.
44666 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44668         [BZ #11724]
44669         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44670         of constructors.
44671         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44672         of destructors.
44673         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44675         [BZ #11724]
44676         * elf/Makefile: Add rules to build and run new test.
44677         * elf/tst-initorder.c: New file.
44678         * elf/tst-initorder.exp: New file.
44679         * elf/tst-initordera1.c: New file.
44680         * elf/tst-initordera2.c: New file.
44681         * elf/tst-initordera3.c: New file.
44682         * elf/tst-initordera4.c: New file.
44683         * elf/tst-initorderb1.c: New file.
44684         * elf/tst-initorderb2.c: New file.
44685         * elf/tst-order-a1.c: New file.
44686         * elf/tst-order-a2.c: New file.
44687         * elf/tst-order-a3.c: New file.
44688         * elf/tst-order-a4.c: New file.
44689         * elf/tst-order-b1.c: New file.
44690         * elf/tst-order-b2.c: New file.
44691         * elf/tst-order-main.c: New file.
44692         New test case by George Gensure <werkt0@gmail.com>.
44694 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44696         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44697         decoding ACE if AI_CANONIDN.
44699 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44701         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44703 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44705         * version.h (RELEASE): Bump for 2.13 release.
44706         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44708         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44710         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44711         MADV_NOHUGEPAGE.
44712         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44713         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44714         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44715         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44716         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44717         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44719         * posix/getconf.c: Update copyright year.
44720         * catgets/gencat.c: Likewise.
44721         * csu/version.c: Likewise.
44722         * debug/catchsegv.sh: Likewise.
44723         * debug/xtrace.sh: Likewise.
44724         * elf/ldconfig.c: Likewise.
44725         * elf/ldd.bash.in: Likewise.
44726         * elf/sprof.c (print_version): Likewise.
44727         * iconv/iconv_prog.c: Likewise.
44728         * iconv/iconvconfig.c: Likewise.
44729         * locale/programs/locale.c: Likewise.
44730         * locale/programs/localedef.c: Likewise.
44731         * malloc/memusage.sh: Likewise.
44732         * malloc/mtrace.pl: Likewise.
44733         * nscd/nscd.c (print_version): Likewise.
44734         * nss/getent.c: Likewise.
44736         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44737         PF_CAIF, and PF_ALG.
44738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44740 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44742         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44743         (modules-names): Use them.
44744         (ifunc-test-modules, ifunc-pie-tests): Define.
44745         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44746         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44747         (test-extras): Likewise.
44748         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44749         $(compile-command.c).
44750         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44751         (all-built-dso): Define.
44752         (check-textrel.out, check-execstack.out): Depend on it.
44754         * configure.in: Don't override --enable-multi-arch.
44756 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44758         [BZ #6812]
44759         * nscd/hstcache.c (tryagain): Define.
44760         (cache_addhst): Return tryagain not notfound for temporary errors.
44761         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44762         failed.
44764 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44766         [BZ #10563]
44767         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44768         to make the syscall.
44769         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44771         [BZ #12378]
44772         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44773         and fall back to matching as normal character if the string ends before
44774         the matching ']' is found.  This is what POSIX requires.
44775         * posix/testfnm.c: Adjust test result.
44776         * posix/globtest.sh: Adjust test result.  Add new test.
44777         * posix/tst-fnmatch.input: Likewise.
44778         * posix/tst-fnmatch2.c: Add new test.
44780 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44782         * elf/Makefile (check-execstack): Revert last change.  Depend on
44783         check-execstack.h.
44784         (check-execstack.h): New target.
44785         (generated): Add check-execstack.h.
44786         * elf/check-execstack.c: Include "check-execstack.h".
44787         (main): Revert last change.
44788         (handle_file): Return zero if GNU_STACK is absent and
44789         DEFAULT_STACK_PERMS doesn't include PF_X.
44791 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44793         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44794         in child fails because the descriptor is already closed.
44795         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44796         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44797         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44799         [BZ #12397]
44800         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44801         syscall.
44803         [BZ #10484]
44804         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44805         temporary buffer used to handle multi lookups locally.
44806         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44808 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44810         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44811         loader is ld.so.
44813 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44815         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44816         alignment for SSE2.
44818 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44820         [BZ #12394]
44821         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44822         characters.  When rounding increased number of integer digits recompute
44823         number of groups.
44824         * stdio-common/tst-grouping.c: New file.
44825         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44827 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44829         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44830         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44832         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44833         void.
44834         * bits/select.h: Likewise.
44836 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44838         * po/ja.po: Update from translation team.
44840 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44842         [BZ #11155]
44843         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44844         implementation just like for lxstat, fxstatat, et al.
44846 2010-12-27  Jim Meyering  <meyering@redhat.com>
44848         [BZ #12348]
44849         * posix/regexec.c (build_trtable): Return failure indication upon
44850         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44852 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44854         [BZ #12201]
44855         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44856         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44857         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44858         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44860         [BZ #12207]
44861         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44863         [BZ #12204]
44864         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44865         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44867 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44869         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44870         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44871         script has SORT_BY_INIT_PRIORITY.
44872         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44873         NO_CTORS_DTORS_SECTIONS is defined.
44874         * elf/soinit.c: Likewise.
44875         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44876         NO_CTORS_DTORS_SECTIONS is defined.
44877         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44878         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44879         * sysdeps/sh/init-first.c: Likewise.
44880         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44882 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44884         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44885         always use the slow path.
44887 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44889         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44890         similar rule which adds the sysdep directories to the header search in
44891         order to pick up the correct platform stackinfo.h.
44892         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44893         perform test if it is, otherwise return successfully without testing.
44894         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44895         DEFAULT_STACK_PERMS define in stackinfo.h.
44896         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44897         defined in stackinfo.h.
44898         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44899         DEFAULT_STACK_PERMS defined in stackinfo.h.
44900         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44901         * sysdeps/ia64/stackinfo.h: Likewise.
44902         * sysdeps/s390/stackinfo.h: Likewise.
44903         * sysdeps/sh/stackinfo.h: Likewise.
44904         * sysdeps/sparc/stackinfo.h: Likewise.
44905         * sysdeps/x86_64/stackinfo.h: Likewise.
44906         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44907         PF_X for powerpc64.  Retain PF_X for powerpc32.
44909 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44911         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44912         accurately.
44913         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44914         GETDENTS_64BIT_ALIGNED.
44916 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44918         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44920 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44922         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44923         _GNU_SOURCE.
44925         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44926         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44927         Remove __restrict.
44928         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44929         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44931 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
44933         [BZ #11655]
44934         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44935         are initialized.
44937 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
44939         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44941 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
44943         * po/it.po: Update from translation team.
44945 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
44947         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44948         unused codes.
44950 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
44952         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44954 2010-11-24  Andreas Schwab  <schwab@redhat.com>
44956         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44957         specially.
44958         (gaih_getanswer_slice): Likewise.
44960 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
44962         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44964 2010-05-31  Petr Baudis  <pasky@suse.cz>
44966         [BZ #11149]
44967         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44968         silently even in the chroot mode.
44970 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
44972         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44973         last patch a bit.  Pretty printing
44975 2010-05-31  Petr Baudis <pasky@suse.cz>
44977         [BZ #10085]
44978         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44979         initialization of skip_initgroups_dyn.
44981 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44983         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44984         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44986 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44988         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44990 2010-11-11  Andreas Schwab  <schwab@redhat.com>
44992         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44993         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44994         (tst-fnmatch-ENV): Set MALLOC_TRACE.
44995         ($(objpfx)tst-fnmatch-mem): New rule.
44996         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44997         * posix/tst-fnmatch.c (main): Call mtrace.
44999 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45002         Support Intel processor model 6 and model 0x2c.
45004 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45006         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45007           signed comparison.
45009 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45011         [BZ #12205]
45012         * string/test-strncasecmp.c (check_result): New function.
45013         (do_one_test): Use it.
45014         (check1): New function.
45015         (test_main): Use it.
45016         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45017         Support strcasecmp and strncasecmp.
45019 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45021         [BZ #12194]
45022         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45023         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45025 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45027         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45028         IFUNC support.
45029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45030         memset-x86-64.
45031         * sysdeps/x86_64/multiarch/bzero.S: New file.
45032         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45033         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45034         * sysdeps/x86_64/multiarch/memset.S: New file.
45035         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45037         Set bit_Prefer_SSE_for_memop for Intel processors.
45038         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45039         Define.
45040         (index_Prefer_SSE_for_memop): Define.
45041         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45043 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45045         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45046         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45048 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45050         [BZ #12191]
45051         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45052         (__x86_64_raw_data_cache_size_half): Likewise.
45053         (__x86_64_raw_shared_cache_size): Likewise.
45054         (__x86_64_raw_shared_cache_size_half): Likewise.
45056         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45057         (__x86_64_raw_data_cache_size_half): Likewise.
45058         (__x86_64_raw_shared_cache_size): Likewise.
45059         (__x86_64_raw_shared_cache_size_half): Likewise.
45060         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45061         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45062         and __x86_64_raw_shared_cache_size_half.  Round
45063         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45064         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45065         to multiple of 256 bytes.
45067 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45069         [BZ #12167]
45070         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45071         of inacessible symlinks.  Verify result of symlink before returning it.
45072         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45073         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45075 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45077         * math/math.h (isinf): Fix typo in comment.
45079 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45081         * po/da.po: Update from translation team.
45083 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45085         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45086         is added to the list.
45088 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45089             Ulrich Drepper  <drepper@gmail.com>
45091         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45092         the global list here.  Move code to...
45093         (_dl_add_to_namespace_list): ...here.  New function.
45094         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45095         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45096         * elf/dl-load.c (lose): Don't remove the element from the list.
45097         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45098         (_dl_map_object): Likewise.
45100 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45102         [BZ #12159]
45103         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45104         into all bytes of SSE register.
45105         Patch by Richard Li <richardpku@gmail.com>.
45107 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45109         [BZ #12140]
45110         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45111         perturbing.
45113 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45115         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45116         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45117         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45118         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45120         submachine.
45121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45123 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45125         * include/dlfcn.h (__RTLD_SECURE): Define.
45126         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45127         mode & __RTLD_SECURE instead.
45128         (open_path): Rename preloaded parameter to secure.
45129         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45130         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45131         * elf/dl-deps.c (openaux): Likewise.
45132         * elf/rtld.c (struct map_args): Remove is_preloaded.
45133         (map_doit): Don't use it.
45134         (dl_main): Likewise.
45135         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45136         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45138 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45140         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45141         (sysd-rules-targets): Remove duplicates.
45142         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45143         rtld-%.$o dependency.
45145 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45147         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45148         _dl_map_object do it.
45150 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45152         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45153         fast fma builtins, define the macros in the C99 standard.
45154         (FP_FAST_FMAF): Likewise.
45155         (FP_FAST_FMAL): Likewise.
45156         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45158         * bits/mathdef.h: Update copyright year.
45159         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45161 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45163         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45164         builtins, define the macros in the C99 standard.
45165         (FP_FAST_FMAF): Likewise.
45166         (FP_FAST_FMAL): Likewise.
45167         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45168         multiply/add.
45169         (FP_FAST_FMAF): Likewise.
45171 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45173         [BZ #3268]
45174         * math/libm-test.inc (fma_test): Some new testcases.
45175         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45176         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45177         y and infinite z.  Do multiplication by C already in long double.
45178         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45180         y and infinite z.  Do bitwise or of inexact bit into u.d.
45181         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45182         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45183         * sysdeps/i386/fpu/s_fma.S: Removed.
45184         * sysdeps/i386/fpu/s_fmal.S: Removed.
45186 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45188         [BZ #3268]
45189         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45190         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45191         computation is not scheduled after fetestexcept.  Fix value
45192         of minimum denormal long double.
45194 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45196         [BZ #3268]
45197         * math/libm-test.inc (fma_test): Add some more tests.
45198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45199         correctly.
45201 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45203         * scripts/data/localplt-s390-linux-gnu.data: New file.
45204         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45206 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45208         [BZ #3268]
45209         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45210         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45211         instead of dbl-64.
45212         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45213         inlines.
45214         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45216         if one of x and y is very large and the other is subnormal.
45217         * sysdeps/s390/fpu/s_fmaf.c: New file.
45218         * sysdeps/s390/fpu/s_fma.c: New file.
45219         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45220         * sysdeps/powerpc/fpu/s_fma.S: New file.
45221         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45222         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45223         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45225 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45227         [BZ #3268]
45228         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45229         fma tests.
45230         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45231         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45232         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45233         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45234         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45235         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45236         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45238 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45240         [BZ #12078]
45241         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45242         * posix/bug-regex31.input: Add test case.
45244 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45246         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45247         * posix/bug-regex31.input: New file.
45249         [BZ #12078]
45250         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45251         (parse_sub_exp): Fix last change, use postorder.
45253         * posix/bug-regex31.c: New file.
45254         * posix/Makefile: Add rules to build and run bug-regex31.
45256         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45258         [BZ #12078]
45259         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45261         [BZ #12108]
45262         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45263         to have entries in sys_siglist.
45265         [BZ #12093]
45266         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45267         be NULL.
45269 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45271         [BZ #3268]
45272         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45273         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45274         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45275         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45276         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45277         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45278         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45279         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45280         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45281         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45282         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45283         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45284         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45285         * math/ftestexcept.c (fetestexcept): Likewise.
45286         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45287         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45288         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45289         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45290         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45291         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45292         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45294 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45296         [BZ #12107]
45297         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45298         newline.
45300 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45302         * string/bug-strstr1.c: New file.
45303         * string/Makefile: Add rules to build and run bug-strstr1.
45305 2010-10-05  Eric Blake  <eblake@redhat.com>
45307         [BZ #12092]
45308         * string/str-two-way.h (two_way_long_needle): Always clear memory
45309         when skipping input due to the shift table.
45311 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45313         [BZ #12005]
45314         * malloc/mcheck.c: Handle large requests.
45316         [BZ #12077]
45317         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45318         for strncmp and strncasecmp.
45319         * string/stratcliff.c: Add tests for strcmp and strncmp.
45320         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45322 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45324         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45325         __set_fpscr.
45327 2010-09-30  Andreas Jaeger  <aj@suse.de>
45329         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45330         (CGROUP_SUPER_MAGIC): Define.
45331         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45332         Handle btrfs and cgroup file systems.
45333         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45334         Likewise.
45336 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45338         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45339         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45341 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45343         [BZ #12067]
45344         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45345         trying to locate the ELF header.
45347 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45349         [BZ #11611]
45350         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45351         Mask out sign-bit copies when constructing f_fsid.
45353 2010-09-24  Petr Baudis <pasky@suse.cz>
45355         * debug/stack_chk_fail_local.c: Add missing licence exception.
45356         * debug/warning-nop.c: Likewise.
45358 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45360         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45361         implementing getdents64 using getdents syscall, set d_type if
45362         __ASSUME_GETDENTS32_D_TYPE.
45364 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45366         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45367         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45369 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45371         [BZ #12037]
45372         * posix/unistd.h: Undo change of feature selection for ftruncate from
45373         2010-01-11.
45375 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45377         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45378         detection.
45380 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45382         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45383         fanotify_mark.
45384         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45386 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45388         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45389         variables after CHECK_SP call.
45390         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45392 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45393             Ulrich Drepper  <drepper@redhat.com>
45395         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45396         re-relocationg ld.so.
45397         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45398         _dl_init_paths call.
45399         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45400         here anymore.
45402 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45404         * resolv/res_init.c (__res_vinit): Count the default server we added.
45406 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45407             Ulrich Drepper  <drepper@redhat.com>
45409         [BZ #11968]
45410         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45411         (____longjmp_chk): Use %ebx for saving value across system call.
45412         Add unwind info.
45414 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45416         * manual/Makefile: Don't mix pattern rules with normal rules.
45418 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45420         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45421         operation.
45422         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45423         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45424         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45425         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45426         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45427         Likewise.
45429 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45431         [BZ #11979]
45432         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45433         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45435 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45437         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45438         * sysdeps/x86_64/addmul_1.S: Likewise.
45439         * sysdeps/x86_64/lshift.S: Likewise.
45440         * sysdeps/x86_64/mul_1.S: Likewise.
45441         * sysdeps/x86_64/rshift.S: Likewise.
45442         * sysdeps/x86_64/sub_n.S: Likewise.
45443         * sysdeps/x86_64/submul_1.S: Likewise.
45445 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45447         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45448         Define __sched_param instead of SCHED_* and sched_param when
45449         <bits/sched.h> is included with __need_schedparam defined.
45450         * bits/sched.h [__need_schedparam]
45451         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45452         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45453         (__defined_schedparam): Define to 1.
45454         (__sched_param): New structure, identical to sched_param.
45455         (__need_schedparam): Undefine.
45457 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45459         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45460         (epoll_create1): Declare.
45462         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45464 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45466         [BZ #7066]
45467         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45468         shifting retval into place.
45470 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45472         * nis/rpcsvc/nis.h: Update copyright notice.
45473         * nis/rpcsvc/nis.x: Likewise.
45474         * nis/rpcsvc/nis_callback.h: Likewise.
45475         * nis/rpcsvc/nis_callback.x: Likewise.
45476         * nis/rpcsvc/nis_object.x: Likewise.
45477         * nis/rpcsvc/nis_tags.h: Likewise.
45478         * nis/rpcsvc/yp.h: Likewise.
45479         * nis/rpcsvc/yp.x: Likewise.
45480         * nis/rpcsvc/ypupd.h: Likewise.
45481         * nis/yp_xdr.c: Likewise.
45482         * nis/ypupdate_xdr.c: Likewise.
45484         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45485         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45486         (pmap_getport): Use __libc_rpc_getport.
45487         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45488         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45489         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45491 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45494         fanotify_mark.
45496 2010-08-27  Roland McGrath  <roland@redhat.com>
45498         * sysdeps/i386/i686/multiarch/Makefile
45499         (CFLAGS-varshift.c): New variable.
45501 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45503         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45504         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45506         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45508         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45510 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45512         * sysdeps/x86_64/strlen.S: Unroll the loop.
45513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45514         strlen-sse2 strlen-sse2-bsf.
45515         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45516         __strlen_no_bsf if bit_Slow_BSF is set.
45517         (__strlen_sse42): Removed.
45518         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45519         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45521 2010-08-25  Roland McGrath  <roland@redhat.com>
45523         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45524         * sysdeps/x86_64/multiarch/varshift.c: New file.
45525         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45526         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45527         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45528         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45530 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45532         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45533         strlen-sse2 strlen-sse2-bsf.
45534         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45535         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45536         (__strlen_sse2): Removed.
45537         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45538         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45540         bit_Slow_BSF for Atom.
45541         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45542         (index_Slow_BSF): Define.
45543         (HAS_SLOW_BSF): Define.
45545 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45547         [BZ #10851]
45548         * resolv/res_init.c (__res_vinit): When no server address at all
45549         is given default to loopback.
45551 2010-08-24  Roland McGrath  <roland@redhat.com>
45553         * configure.in: Remove config-name.h generation.
45554         * configure: Regenerated.
45555         * config-name.in: File removed.
45556         * scripts/config-uname.sh: New file.
45557         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45558         ($(objdir)config-name.h): New target.
45560         * sunrpc/rpc_parse.h: Avoid nested comment.
45562 2010-08-24  Richard Henderson  <rth@redhat.com>
45563             Ulrich Drepper  <drepper@redhat.com>
45564             H.J. Lu  <hongjiu.lu@intel.com>
45566         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45567         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45568         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45569         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45570         _mm_alignr_epi8 with _mm_loadu_si128.
45571         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45572         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45573         (__m128i_shift_right): Removed.
45574         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45575         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45576         * sysdeps/x86_64/multiarch/varshift.h: New file.
45577         * sysdeps/x86_64/multiarch/varshift.S: New file.
45579 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45581         * configure.in: Move assembler checks to before sysdep dir checking.
45583 2010-08-20  Petr Baudis  <pasky@suse.cz>
45585         * LICENSES: Sync the sunrpc license.
45587 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45589         * sunrpc/auth_des.c: Update copyright notice once again.
45590         * sunrpc/auth_none.c: Likewise.
45591         * sunrpc/auth_unix.c: Likewise.
45592         * sunrpc/authdes_prot.c: Likewise.
45593         * sunrpc/authuxprot.c: Likewise.
45594         * sunrpc/bindrsvprt.c: Likewise.
45595         * sunrpc/clnt_gen.c: Likewise.
45596         * sunrpc/clnt_perr.c: Likewise.
45597         * sunrpc/clnt_raw.c: Likewise.
45598         * sunrpc/clnt_simp.c: Likewise.
45599         * sunrpc/clnt_tcp.c: Likewise.
45600         * sunrpc/clnt_udp.c: Likewise.
45601         * sunrpc/clnt_unix.c: Likewise.
45602         * sunrpc/des_crypt.c: Likewise.
45603         * sunrpc/des_soft.c: Likewise.
45604         * sunrpc/get_myaddr.c: Likewise.
45605         * sunrpc/getrpcport.c: Likewise.
45606         * sunrpc/key_call.c: Likewise.
45607         * sunrpc/key_prot.c: Likewise.
45608         * sunrpc/openchild.c: Likewise.
45609         * sunrpc/pm_getmaps.c: Likewise.
45610         * sunrpc/pm_getport.c: Likewise.
45611         * sunrpc/pmap_clnt.c: Likewise.
45612         * sunrpc/pmap_prot.c: Likewise.
45613         * sunrpc/pmap_prot2.c: Likewise.
45614         * sunrpc/pmap_rmt.c: Likewise.
45615         * sunrpc/rpc/auth.h: Likewise.
45616         * sunrpc/rpc/auth_unix.h: Likewise.
45617         * sunrpc/rpc/clnt.h: Likewise.
45618         * sunrpc/rpc/des_crypt.h: Likewise.
45619         * sunrpc/rpc/key_prot.h: Likewise.
45620         * sunrpc/rpc/netdb.h: Likewise.
45621         * sunrpc/rpc/pmap_clnt.h: Likewise.
45622         * sunrpc/rpc/pmap_prot.h: Likewise.
45623         * sunrpc/rpc/pmap_rmt.h: Likewise.
45624         * sunrpc/rpc/rpc.h: Likewise.
45625         * sunrpc/rpc/rpc_des.h: Likewise.
45626         * sunrpc/rpc/rpc_msg.h: Likewise.
45627         * sunrpc/rpc/svc.h: Likewise.
45628         * sunrpc/rpc/svc_auth.h: Likewise.
45629         * sunrpc/rpc/types.h: Likewise.
45630         * sunrpc/rpc/xdr.h: Likewise.
45631         * sunrpc/rpc_clntout.c: Likewise.
45632         * sunrpc/rpc_cmsg.c: Likewise.
45633         * sunrpc/rpc_common.c: Likewise.
45634         * sunrpc/rpc_cout.c: Likewise.
45635         * sunrpc/rpc_dtable.c: Likewise.
45636         * sunrpc/rpc_hout.c: Likewise.
45637         * sunrpc/rpc_main.c: Likewise.
45638         * sunrpc/rpc_parse.c: Likewise.
45639         * sunrpc/rpc_parse.h: Likewise.
45640         * sunrpc/rpc_prot.c: Likewise.
45641         * sunrpc/rpc_sample.c: Likewise.
45642         * sunrpc/rpc_scan.c: Likewise.
45643         * sunrpc/rpc_scan.h: Likewise.
45644         * sunrpc/rpc_svcout.c: Likewise.
45645         * sunrpc/rpc_tblout.c: Likewise.
45646         * sunrpc/rpc_util.c: Likewise.
45647         * sunrpc/rpc_util.h: Likewise.
45648         * sunrpc/rpcinfo.c: Likewise.
45649         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45650         * sunrpc/rpcsvc/key_prot.x: Likewise.
45651         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45652         * sunrpc/rpcsvc/mount.x: Likewise.
45653         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45654         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45655         * sunrpc/rpcsvc/rex.x: Likewise.
45656         * sunrpc/rpcsvc/rstat.x: Likewise.
45657         * sunrpc/rpcsvc/rusers.x: Likewise.
45658         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45659         * sunrpc/rpcsvc/spray.x: Likewise.
45660         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45661         * sunrpc/rtime.c: Likewise.
45662         * sunrpc/svc.c: Likewise.
45663         * sunrpc/svc_auth.c: Likewise.
45664         * sunrpc/svc_authux.c: Likewise.
45665         * sunrpc/svc_raw.c: Likewise.
45666         * sunrpc/svc_run.c: Likewise.
45667         * sunrpc/svc_simple.c: Likewise.
45668         * sunrpc/svc_tcp.c: Likewise.
45669         * sunrpc/svc_udp.c: Likewise.
45670         * sunrpc/svc_unix.c: Likewise.
45671         * sunrpc/svcauth_des.c: Likewise.
45672         * sunrpc/xcrypt.c: Likewise.
45673         * sunrpc/xdr.c: Likewise.
45674         * sunrpc/xdr_array.c: Likewise.
45675         * sunrpc/xdr_float.c: Likewise.
45676         * sunrpc/xdr_mem.c: Likewise.
45677         * sunrpc/xdr_rec.c: Likewise.
45678         * sunrpc/xdr_ref.c: Likewise.
45679         * sunrpc/xdr_sizeof.c: Likewise.
45680         * sunrpc/xdr_stdio.c: Likewise.
45682         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45683         handling.
45685 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45687         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45689 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45691         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45692         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45693         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45694         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45695         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45696         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45697         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45698         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45699         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45700         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45701         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45702         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45703         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45704         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45706 2010-07-26  Anton Blanchard  <anton@samba.org>
45708         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45709         * malloc/arena.c (heap_trim): Likewise.
45711 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45713         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45714         here.  Not...
45715         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45716         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45718 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45720         * sysdeps/i386/elf/Makefile: New file.
45722 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45724         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45725         from fanotify_init.
45726         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45727         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45729 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45731         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45732         of strncasecmp_l.
45733         * sysdeps/multiarch/strcmp.S: Likewise.
45735 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45737         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45738         strncase_l-nonascii.
45739         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45740         Add strncase_l-ssse3.
45741         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45742         * sysdeps/x86_64/strcmp.S: Likewise.
45743         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45744         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45745         * sysdeps/x86_64/strncase.S: New file.
45746         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45747         * sysdeps/x86_64/strncase_l.S: New file.
45748         * string/Makefile (strop-tests): Add strncasecmp.
45749         * string/test-strncasecmp.c: New file.
45751         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45752         warning.
45754         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45755         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45757 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45759         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45761 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45763         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45764         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45765         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45767 2010-05-01  Alan Modra  <amodra@gmail.com>
45769         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45770         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45771         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45772         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45773         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45774         tidying.  Don't tail-call __sigjmp_save for static lib.
45775         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45776         save location.
45777         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45778         (CALL_MCOUNT): Add eh info, and nop after bl.
45779         (TAIL_CALL_SYSCALL_ERROR): New macro.
45780         (PSEUDO_RET): Use it.
45781         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45782         Correct save location of integer regs and cr.
45783         (_dl_profile_resolve): Correct cr save location.  Delete nops
45784         after bl when SHARED.  Reduce cfi size a little by better
45785         placement of cfi directives.
45786         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45787         make a stack frame.  Instead use parm save area as a temp.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45789         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45791         Don't make a stack frame for parent, use parm save area.
45792         Increase child stack frame to 112 bytes.  Don't save unused reg,
45793         and adjust reg usage.  Set up cfi on error recovery and
45794         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45796         (__makecontext): Add dummy nop after jump to exit.
45797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45798         Use correct parm save area and cr save, reduce stack frame.
45799         Correct cfi for possible PSEUDO_RET frame setup.
45800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45801         Branch to local label emitted by PSEUDO_RET rather than
45802         __syscall_error.
45804 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45806         [BZ #11904]
45807         * locale/programs/locale.c (print_assignment): New function.
45808         (show_locale_vars): Use it.
45810 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45812         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45813         field.
45814         (struct statfs64): Likewise.
45815         (_STATFS_F_FLAGS): Define.
45816         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45817         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45818         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45819         (ST_VALID): Define locally.
45820         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45821         __statvfs_getflags, use the provided value.
45822         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45823         __ASSUME_STATFS_F_FLAGS.
45825         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45827         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45828         Add sys/fanotify.h.
45829         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45830         fanotify_mask for GLIBC_2.13.
45831         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45832         fanotify_init and fanotify_mark.
45833         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45834         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45836         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45837         Add prlimit.
45838         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45839         prlimit64 for GLIBC_2.13.
45840         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45841         prlimit64.
45842         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45843         syscall.
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45845         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45846         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45847         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45848         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45849         add prlimit alias.
45850         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45852         [BZ #11903]
45853         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45854         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45856         * nss/Makefile: Add rules to build and run tst-nss-test1.
45857         * shlib-versions: Add entry for libnss_test1.
45858         * nss/nss_test1.c: New file.
45859         * nss/tst-nss-test1.c: New file.
45861         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45862         (__nss_configure_lookup): Set appropriate entry in
45863         __nss_configure_lookup to true.
45864         * nss/nsswitch.h: Define enum with indeces of databases in
45865         databases and __nss_database_custom arrays.  Declare
45866         __nss_database_custom.
45867         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45868         to avoid using nscd when custom rules are installed.
45869         * nss/getXXbyYY_r.c: Likewise.
45870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45872         * nss/nss_files/files-parse.c: Whitespace fixes.
45874 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45876         [BZ #11883]
45877         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45878         * posix/fnmatch_loop.c: Likewise.
45880 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45882         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45883         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45884         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45885         * Versions.def [GLIBC_2.13]: Add.
45887 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45889         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45890         Also fail if tpwd after pwuid call is NULL.
45892 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45894         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45895         when converting to ms.
45897 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45899         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45900         EOPNOTSUPP errors with ENOTTY.
45901         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45902         EOPNOTSUPP errors with ENOTTY.
45904 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45906         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45907         Add strcasecmp_l-ssse3.
45908         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45909         strcasecmp.
45910         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45911         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45912         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45914 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45916         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45918         * string/Makefile (strop-tests): Add strcasecmp.
45919         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45920         strcasecmp_l-nonascii.
45921         (gen-as-const-headers): Add locale-defines.sym.
45922         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45923         * sysdeps/x86_64/strcasecmp.S: New file.
45924         * sysdeps/x86_64/strcasecmp_l.S: New file.
45925         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45926         * sysdeps/x86_64/locale-defines.sym: New file.
45927         * string/test-strcasecmp.c: New file.
45929         * string/test-strcasestr.c: Test both ends of the range of characters.
45930         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45932 2010-07-29  Roland McGrath  <roland@redhat.com>
45934         [BZ #11856]
45935         * manual/locale.texi (Yes-or-No Questions): Fix example code.
45937 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
45939         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45940         for ld.so.
45942 2010-07-27  Andreas Schwab  <schwab@redhat.com>
45944         * manual/memory.texi (Malloc Tunable Parameters): Document
45945         M_PERTURB.
45947 2010-07-26  Roland McGrath  <roland@redhat.com>
45949         [BZ #11840]
45950         * configure.in (-fgnu89-inline check): Set and substitute
45951         gnu89_inline, not libc_cv_gnu89_inline.
45952         * configure: Regenerated.
45953         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45955 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
45957         * string/test-strnlen.c: New file.
45958         * string/Makefile (strop-tests): Add strnlen.
45959         * string/tester.c (test_strnlen): Add a few more test cases.
45960         * string/tst-strlen.c: Better error reporting.
45962         * sysdeps/x86_64/strnlen.S: New file.
45964 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
45966         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45967         lower-latency instructions.
45969 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
45971         * string/test-strcasestr.c: New file.
45972         * string/test-strstr.c: New file.
45973         * string/Makefile (strop-tests): Add strstr and strcasestr.
45974         * string/str-two-way.h: Don't undefine MAX.
45975         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45977 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45979         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45980         strcasestr-nonascii.
45981         (CFLAGS-strcasestr-nonascii.c): Define.
45982         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45984         Remove unused attribute.
45986 2010-07-20  Roland McGrath  <roland@redhat.com>
45988         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45989         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
45990         ld.so.cache was broken.  With it, there is no way to disable dsocaps
45991         like LD_HWCAP_MASK can disable hwcaps.
45993 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
45995         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45997 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
45999         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46000         call in strcasestr.
46001         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46002         __strcasestr_sse42_nonascii.
46003         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46004         strcasestr-nonascii.c.
46005         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46007 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46009         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46010         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46011         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46012         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46014 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46016         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46017         fcntl.
46019 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46021         [BZ #11577]
46022         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46023         dl_signal_cerror.
46025 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46027         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46028         _PC_PIPE_BUF using F_GETPIPE_SZ.
46030 2010-07-05  Roland McGrath  <roland@redhat.com>
46032         * manual/arith.texi (Rounding Functions): Fix rint description
46033         implicit in round description.
46035 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46037         * elf/Makefile: Fix linking for a few tests to make recent linker
46038         happy.
46040 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46042         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46043         $(common-objpfx)libc_nonshared.a.
46045 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46047         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46048         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46049         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46050         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46051         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46052         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46053         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46054         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46069         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46070         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46071         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46072         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46073         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46074         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46075         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46076         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46077         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46078         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46079         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46080         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46096 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46098         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46099         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46100         * string/memmove.c (memmove): Renamed to ...
46101         (MEMMOVE): ...this.  Default to memmove.
46102         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46103         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46104         (END_CHK): Define.
46105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46106         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46107         mempcpy-ssse3-back memmove-ssse3-back.
46108         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46109         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46110         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46111         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46112         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46113         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46114         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46115         * sysdeps/x86_64/multiarch/memmove.c: New file.
46116         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46117         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46118         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46119         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46120         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46121         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46122         Define.
46123         (index_Fast_Copy_Backward): Define.
46124         (HAS_ARCH_FEATURE): Define.
46125         (HAS_FAST_REP_STRING): Define.
46126         (HAS_FAST_COPY_BACKWARD): Define.
46128 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46130         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46131         Restore proper fallback handling.
46133 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46135         [BZ #11701]
46136         * posix/group_member.c (__group_member): Correct checking loop.
46138         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46139         OOM in getpwuid_r correctly.  Return error number when the caller
46140         should return, otherwise -1.
46141         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46142         call returning > 0 value.
46143         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46145 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46147         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46148         libc_nonshared.a from targets in modules-names.
46150 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46152         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46153         requires it.
46155 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46157         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46158         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46160         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46162 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46164         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46166 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46168         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46169         and F_GETPIPE_SZ.
46170         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46171         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46174         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46175         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46177 2010-06-14  Roland McGrath  <roland@redhat.com>
46179         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46181 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46183         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46184         __REDIRECT followed by __THROW.
46185         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46186         * posix/getopt.h (getopt): Likewise.
46188 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46190         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46191         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46192         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46193         in AT_FLAGS.
46194         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46195         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46197 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46199         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46201 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46203         [BZ #11640]
46204         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46205         Properly check family and model.
46207 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46209         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46211 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46213         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46215 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46217         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46218         symbol reference.
46220 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46222         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46223         symbol reference.
46225 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46227         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46228         and internal_recvmmsg.
46229         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46230         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46231         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46232         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46234         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46235         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46236         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46238 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46240         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46242 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46244         POWER7 optimizations.
46245         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46246         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46248 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46250         * version.h: Update for 2.13 development version.
46252 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46254         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46255         exceptions.  Return 0.
46257 2010-05-07  Roland McGrath  <roland@redhat.com>
46259         * elf/ldconfig.c (main): Add a const.
46261 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46263         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46264         (args_options): Add no-idn option.
46265         (ahosts_keys_int): Add idn_flags to ai_flags.
46266         (parse_option): Handle 'i' option to clear idn_flags.
46268         * malloc/malloc.c (_int_free): Possible race in the most recently
46269         added check.  Only act on the data if no current modification
46270         happened.
46272 See ChangeLog.17 for earlier changes.