b2d035e7179a927a30c090226a594cb2679e0b5c
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-16  Florian Weimer  <fweimer@redhat.com>
2
3         [BZ #17058]
4         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5         non-executed part of the test.
6
7 2014-06-16  Andreas Schwab  <schwab@suse.de>
8
9         * string/bits/string2.h (strdup, strndup): Update feature guard.
10
11 2014-06-14  David S. Miller  <davem@davemloft.net>
12
13         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14
15 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16
17         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
18         that was previously under [RESET_PID].
19         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20
21         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
22         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
23         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
24         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25         (__libc_vfork): New strong alias.
26         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27
28 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29
30         * sysdeps/generic/elide.h: New file.
31
32 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33
34         * Makefile (installed-headers): Adjust path of pthread.h header.
35
36 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37
38         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
40         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
41         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42
43         * nptl/sysdeps/s390/Makefile: Moved ...
44         * sysdeps/s390/nptl/Makefile: ... here.
45         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
46         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
47         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
51         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
52         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
53         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
54         * sysdeps/s390/nptl/pthreaddef.h: ... here.
55         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
56         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
57         * nptl/sysdeps/s390/tls.h: Moved ...
58         * sysdeps/s390/nptl/tls.h: ... here.
59
60         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
61         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
62
63 2014-06-13  David S. Miller  <davem@davemloft.net>
64
65         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
66         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
67         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
68         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
69         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
70         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
71         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
72         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
73         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
74         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
75         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
76         Remove RESET_PID cpp guards.
77         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
78         Remove RESET_PID cpp guards.
79         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
80
81 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
82
83         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
84         __sp to uintptr_t.
85
86 2014-06-13  Andi Kleen  <ak@linux.intel.com>
87
88         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
89         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
90         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
91         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
92         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
93         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
94         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
95         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
96         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
97         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
98         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
99         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
102         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
103         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
107         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
108
109 2014-06-13  Andi Kleen  <ak@linux.intel.com>
110
111         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
112         (pthread_rwlock_rdlock): Add elision.
113         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
114         (pthread_rwlock_wrlock): Add elision.
115         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
116         (pthread_rwlock_trywrlock): Add elision.
117         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
118         (pthread_rwlock_tryrdlock): Add elision.
119         * nptl/pthread_rwlock_unlock.c: Include elide.h.
120         (pthread_rwlock_tryrdlock): Add elision unlock.
121         * nptl/sysdeps/pthread/pthread.h:
122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
123         (PTHREAD_RWLOCK_INITIALIZER,
124         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
125         Handle new elision field.
126         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
127         * sysdeps/arm/nptl/bits/pthreadtypes.h
128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
129         * sysdeps/sh/nptl/bits/pthreadtypes.h
130         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
131         * sysdeps/tile/nptl/bits/pthreadtypes.h
132         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
133         * sysdeps/a/nptl/bits/pthreadtypes.h
134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
135         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
137         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
138         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
139         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
141         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
143         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
144         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
145         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
146         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
147         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
148         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
149         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
150         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
151         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
152         (elision_init): Set try_xbegin to zero when no RTM.
153         * sysdeps/x86/nptl/bits/pthreadtypes.h
154         (pthread_rwlock_t): Change __pad1 to __rwelision.
155         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
156
157 2014-06-13  Andi Kleen  <ak@linux.intel.com>
158
159         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
160         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
161         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
162         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
163
164 2014-06-13  Meador Inge  <meadori@codesourcery.com>
165
166         [BZ #16996]
167         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
168         that the cached result has been set before returning it.
169
170 2014-06-12  Roland McGrath  <roland@hack.frob.com>
171
172         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
173         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
174         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
175         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
176         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
177         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
178
179         * nptl/sysdeps/sparc/Makefile: Moved ...
180         * sysdeps/sparc/nptl/Makefile: ... here.
181         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
182         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
183         * nptl/sysdeps/sparc/tls.h: Moved ...
184         * sysdeps/sparc/nptl/tls.h: ... here.
185         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
186         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
187         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
188         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
189         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
190         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
191         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
192         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
193         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
194         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
195         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
196         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
197         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
198         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
199         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
200         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
201         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
203         Update #include.
204         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
206         Update #include.
207         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
209         Update #include.
210         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
212         Update #include.
213
214         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
215
216         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
217         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
218
219         * sysdeps/pthread/posix-timer.h: Include <list.h>.
220         (struct list_links): Type removed.
221         (struct thread_node, struct timer_node): Replace struct list_links
222         with struct list_head.
223         (list_unlink_ip): Likewise.
224         * sysdeps/pthread/timer_routines.c
225         (timer_free_list, thread_free_list, thread_active_list): Likewise.
226         (list_append, list_insbefore): Likewise.
227         (list_init): Function removed.
228         (thread_init, init_module): Use INIT_LIST_HEAD instead.
229         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
230         * sysdeps/pthread/Makefile: ... here, new file.
231
232         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
233         * sysdeps/nptl/Implies: ... here.
234         * sysdeps/unix/sysv/linux/Implies: Add nptl.
235         * nptl/sysdeps/pthread/list.h: Moved ...
236         * include/list.h: ... here.
237         * nptl/sysdeps/pthread/createthread.c: Moved ...
238         * nptl/createthread.c: ... here.
239         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
240         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
241         * nptl/pt-longjmp.c: ... here.
242         * nptl/sysdeps/pthread/Makefile: Moved ...
243         * sysdeps/nptl/Makefile: ... here.
244         * nptl/sysdeps/pthread/Subdirs: Moved ...
245         * sysdeps/nptl/Subdirs: ... here.
246         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
247         * sysdeps/nptl/aio_misc.h: ... here.
248         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
249         * sysdeps/nptl/bits/libc-lock.h: ... here.
250         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
251         * sysdeps/nptl/bits/libc-lockP.h: ... here.
252         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
253         * sysdeps/nptl/bits/stdio-lock.h: ... here.
254         * nptl/sysdeps/pthread/configure: Moved ...
255         * sysdeps/nptl/configure: ... here.
256         * nptl/sysdeps/pthread/configure.ac: Moved ...
257         * sysdeps/nptl/configure.ac: ... here.
258         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
259         * sysdeps/nptl/gai_misc.h: ... here.
260         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
261         * sysdeps/nptl/librt-cancellation.c: ... here.
262         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
263         * sysdeps/nptl/malloc-machine.h: ... here.
264         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
265         * sysdeps/nptl/pthread-functions.h: ... here.
266         * nptl/sysdeps/pthread/pthread.h: Moved ...
267         * sysdeps/nptl/pthread.h: ... here.
268         * nptl/sysdeps/pthread/setxid.h: Moved ...
269         * sysdeps/nptl/setxid.h: ... here.
270         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
271         * sysdeps/nptl/sigfillset.c: ... here.
272         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
273         * sysdeps/nptl/tcb-offsets.h: ... here.
274         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
275         * sysdeps/nptl/tst-mqueue8x.c: ... here.
276         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
277         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
278         * nptl/sysdeps/pthread/allocalim.h: Moved ...
279         * sysdeps/pthread/allocalim.h: ... here.
280         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
281         * sysdeps/pthread/bits/sigthread.h: ... here.
282         * nptl/sysdeps/pthread/flockfile.c: Moved ...
283         * sysdeps/pthread/flockfile.c: ... here.
284         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
285         * sysdeps/pthread/ftrylockfile.c: ... here.
286         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
287         * sysdeps/pthread/funlockfile.c: ... here.
288         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
289         * sysdeps/pthread/posix-timer.h: ... here.
290         * nptl/sysdeps/pthread/timer_create.c: Moved ...
291         * sysdeps/pthread/timer_create.c: ... here.
292         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
293         * sysdeps/pthread/timer_delete.c: ... here.
294         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
295         * sysdeps/pthread/timer_getoverr.c: ... here.
296         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
297         * sysdeps/pthread/timer_gettime.c: ... here.
298         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
299         * sysdeps/pthread/timer_routines.c: ... here.
300         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
301         * sysdeps/pthread/timer_settime.c: ... here.
302         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
303         * sysdeps/pthread/tst-timer.c: ... here.
304         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
305         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
306
307         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
308         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
309
310         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
311         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
312         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
313         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
314         Update #include target.
315         * nptl/sysdeps/i386/i686/Makefile: Moved ...
316         * sysdeps/i386/i686/nptl/Makefile: ... here.
317         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
318         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
319         Update #include target.
320         * nptl/sysdeps/i386/i686/tls.h: Moved ...
321         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
322         * nptl/sysdeps/i386/Makefile: Moved ...
323         * sysdeps/i386/nptl/Makefile: ... here.
324         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
325         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
326         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
327         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
328         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
329         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
330         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
331         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
332         * sysdeps/i386/nptl/pthreaddef.h: ... here.
333         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
334         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
335         * nptl/sysdeps/i386/tls.h: Moved ...
336         * sysdeps/i386/nptl/tls.h: ... here.
337
338         * sysdeps/sh/Makefile [$(subdir) = csu]
339         (gen-as-const-headers): Add tcb-offsets.sym.
340         * nptl/sysdeps/sh/Makefile: File removed.
341         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
342         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
343         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
344         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
345         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
346         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
347         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
348         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
349         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
350         * sysdeps/sh/nptl/pthreaddef.h: ... here.
351         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
352         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
353         * nptl/sysdeps/sh/tls.h: Moved ...
354         * sysdeps/sh/nptl/tls.h: ... here.
355         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
356         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
357         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
358         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
359         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
360         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
361         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
362         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
363         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
364         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
365         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
366         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
367         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
368         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
370         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
371         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
372         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
373         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
374         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
375         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
376         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
377         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
378         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
380         Moved ...
381         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
383         Moved ...
384         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
385         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
386         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
387         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
388         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
389         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
390         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
391         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
392         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
393         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
394         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
395         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
396         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
397         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
398         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
399         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
400         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
401         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
402         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
403
404 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
405
406         * posix/spawn_faction_addopen.c: Include string.h.
407
408 2014-06-11  Roland McGrath  <roland@hack.frob.com>
409
410         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
411         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
412         * nptl/sysdeps/x86_64/Makefile: Moved ...
413         * sysdeps/x86_64/nptl/Makefile: ... here.
414         * nptl/sysdeps/x86_64/configure: Moved ...
415         * sysdeps/x86_64/nptl/configure: ... here.
416         * nptl/sysdeps/x86_64/configure.ac: Moved ...
417         * sysdeps/x86_64/nptl/configure.ac: ... here.
418         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
419         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
420         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
421         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
422         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
423         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
424         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
425         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
426         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
427         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
428         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
429         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
430         * nptl/sysdeps/x86_64/tls.h: Moved ...
431         * sysdeps/x86_64/nptl/tls.h: ... here.
432         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
433         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
434         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
435         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
436
437         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
438
439 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
440
441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
442
443 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
444
445         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
446         type.
447         [POSIX] (off_t): Likewise.
448         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
449         [POSIX] (S_ISBLK): Require macro.
450         [POSIX] (S_ISCHR): Likewise.
451         [POSIX] (S_ISDIR): Likewise.
452         [POSIX] (S_ISFIFO): Likewise.
453         [POSIX] (S_ISREG): Likewise.
454         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
455         optional-macro.
456         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
457         type.
458         [POSIX] (time_t): Likewise.
459         [POSIX] (timer_t): Likewise.
460
461 2014-06-11  Florian Weimer  <fweimer@redhat.com>
462
463         [BZ #17048]
464         * posix/spawn_int.h (struct __spawn_action): Make the path string
465         non-const to support deallocation.
466         * posix/spawn_faction_addopen.c
467         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
468         * posix/spawn_faction_destroy.c
469         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
470         path in all spawn_do_open actions.
471         * posix/tst-spawn.c (do_test): Exercise the copy operation in
472         posix_spawn_file_actions_addopen.
473
474 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
475
476         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
477         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
478         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
479         conditional code always true.
480         (__libc_vfork): New alias.
481
482 2014-06-11  Roland McGrath  <roland@hack.frob.com>
483
484         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
485         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
486
487         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
488
489         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
490         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
491
492         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
493         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
494
495         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
496         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
497
498 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
499
500         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
501         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
502         multiarch strcmp for PPC64.
503         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
504         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
505         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
506         multiarch optimizations.
507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
508         (__libc_ifunc_impl_list): Likewise.
509
510 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
511
512         * benchtests/scripts/validate_benchout.py: New script.
513         * benchtests/Makefile (bench-func): Call it.
514         * benchtests/scripts/benchout.schema.json: New file.
515
516 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
517
518         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
519         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
520         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
521         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
522         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
523         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
524         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
525         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
526         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
527         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
528         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
529         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
530         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
531         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
532         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
533         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
535         Moved ...
536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
537         ... here.
538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
539         Moved ...
540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
542         Moved ...
543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
544         ... here.
545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
546         Moved ...
547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
548         ... here.
549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
550         Moved ...
551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
553         Moved ...
554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
555         ... here.
556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
557         Moved ...
558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
559         ... here.
560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
561         Moved ...
562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
564         Moved ...
565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
566         ... here.
567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
568         Moved ...
569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
570         ... here.
571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
572         Moved ...
573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
574         ... here.
575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
576         Moved ...
577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
579         Moved ...
580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
581         ... here.
582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
583         Moved ...
584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
585         ... here.
586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
587         Moved ...
588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
589         ... here.
590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
591         Moved ...
592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
594         Moved ...
595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
596         ... here.
597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
598         Moved ...
599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
600         ... here.
601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
602         Moved ...
603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
605         Moved ...
606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
607         ... here.
608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
609         Moved ...
610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
612         Moved ...
613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
615         Moved ...
616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
617         ... here.
618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
619         Moved ...
620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
621         ... here.
622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
623         Moved ...
624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
625         ... here.
626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
627         Moved ...
628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
630         Moved ...
631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
632         ... here.
633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
634         Moved ...
635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
636         ... here.
637         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
638         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
639         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
640         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
642         Moved ...
643         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
644         ... here.
645         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
646         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
647         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
648         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
649         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
650         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
652         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
653         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
654         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
655         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
656         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
658         Moved ...
659         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
663         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
664         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
666         Moved ...
667         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
668         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
669         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
670         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
671         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
672         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
673         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
674
675 2014-06-10  Wilco  <wdijkstr@arm.com>
676
677         * math/test-fenv-return.c: New file.
678         * math/Makefile: Add new test test-fenv-return.
679
680 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
681
682         [BZ #17042]
683         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
684         when x - 1 is zero.
685         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
686         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
687         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
688         0.0L for an argument of 1.0L.
689         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
690         Likewise.
691         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
692         value when x - 1 is zero.
693         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
694         * sysdeps/i386/fpu/libm-test-ulps: Update.
695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
696
697 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
698
699         [BZ #15119]
700         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
701
702 2014-06-09  Roland McGrath  <roland@hack.frob.com>
703
704         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
705         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
706
707 2014-06-09  Roland McGrath  <roland@hack.frob.com>
708
709         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
710         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
711
712         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
713         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
714
715         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
716         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
717
718         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
719         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
720
721         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
722         if not already defined.
723         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
724         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
725         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
726         (TLS_INIT_TP): Use it.
727         (TLS_DEFINE_INIT_TP): New macro.
728         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
729
730 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
731
732         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
733         constant.
734         [POSIX] (IXANY): Likewise.
735         [POSIX] (OLCUC): Likewise.
736         [POSIX || POSIX2008] (CBAUD): Do not allow.
737         [POSIX || POSIX2008] (DEFECHO): Likewise.
738         [POSIX || POSIX2008] (ECHOCTL): Likewise.
739         [POSIX || POSIX2008] (ECHOKE): Likewise.
740         [POSIX || POSIX2008] (ECHOPRT): Likewise.
741         [POSIX || POSIX2008] (EXTA): Likewise.
742         [POSIX || POSIX2008] (EXTB): Likewise.
743         [POSIX || POSIX2008] (FLUSHO): Likewise.
744         [POSIX || POSIX2008] (LOBLK): Likewise.
745         [POSIX || POSIX2008] (PENDIN): Likewise.
746         [POSIX || POSIX2008] (SWTCH): Likewise.
747         [POSIX || POSIX2008] (VDISCARD): Likewise.
748         [POSIX || POSIX2008] (VDSUSP): Likewise.
749         [POSIX || POSIX2008] (VLNEXT): Likewise.
750         [POSIX || POSIX2008] (VREPRINT): Likewise.
751         [POSIX || POSIX2008] (VSTATUS): Likewise.
752         [POSIX || POSIX2008] (VWERASE): Likewise.
753         (B*): Change to B[0123456789]*.
754         * conform/data/time.h-data [POSIX || UNIX98]
755         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
756         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
757         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
758         [POSIX] (tm_*): Do not allow.
759
760 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
761
762         * Makefile (install): Don't set LANGUAGE.
763         * Makefile.in (install): Likewise.
764         * assert/Makefile (test-assert-ENV): Remove variable.
765         (test-assert-perr-ENV): Likewise.
766         * elf/Makefile (neededtest4-ENV): Likewise.
767         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
768         [$(cross-compiling) = no]: Don't set LANGUAGE.
769         * io/ftwtest-sh (LANG): Remove variable.
770         * libio/Makefile (tst-widetext-ENV): Likewise.
771         * manual/install.texi (Running make install): Don't refer to
772         environment settings for make install.
773         * INSTALL: Regenerated.
774         * nptl/tst-tls6.sh: Don't set LANG.
775         * posix/globtest.sh (LANG): Remove variable.
776         * string/Makefile (tester-ENV): Likewise.
777         (inl-tester-ENV): Likewise.
778         (noinl-tester-ENV): Likewise.
779         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
780         [$(cross-compiling) = no]: Don't set LANGUAGE.
781         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
782         without explicit environment settings.
783
784 2014-06-06  Roland McGrath  <roland@hack.frob.com>
785
786         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
787         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
788         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
789         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
790
791 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
792
793         * crypt/crypt-private.h [DOS]: Add some includes taken from the
794         other files in the crypt directory.
795         * crypt/crypt.c: Remove duplicate includes.
796         * crypt/crypt-entry.c: Likewise.
797         * crypt/crypt_util.c: Likewise.
798
799 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
800
801         * Makeconfig (run-program-env): New variable.
802         (run-program-prefix-before-env): Likewise.
803         (run-program-prefix-after-env): Likewise.
804         (run-program-prefix): Define in terms of new variables.
805         (built-program-cmd-before-env): New variable.
806         (built-program-cmd-after-env): Likewise.
807         (built-program-cmd): Define in terms of new variables.
808         (test-program-prefix-before-env): New variable.
809         (test-program-prefix-after-env): Likewise.
810         (test-program-prefix): Define in terms of new variables.
811         (test-program-cmd-before-env): New variable.
812         (test-program-cmd-after-env): Likewise.
813         (test-program-cmd): Define in terms of new variables.
814         * Rules (make-test-out): Use $(run-program-env).
815         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
816         (help): Do not mention environment variables.  Mention
817         --timeoutfactor option.
818         (timeoutfactor): New variable.
819         (blacklist_exports): Remove function.
820         (exports): Remove variable.
821         (command): Do not include ${exports}.
822         * manual/install.texi (Configuring and compiling): Do not mention
823         test wrappers preserving environment variables.  Mention that last
824         assignment to a variable must take precedence.
825         * INSTALL: Regenerated.
826         * benchtests/Makefile (run-bench): Use $(run-program-env).
827         * catgets/Makefile ($(objpfx)test1.cat): Use
828         $(built-program-cmd-before-env), $(run-program-env) and
829         $(built-program-cmd-after-env).
830         ($(objpfx)test2.cat): Do not specify environment variables
831         explicitly.
832         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
833         $(run-program-env) and $(built-program-cmd-after-env).
834         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
835         $(run-program-env) and $(test-program-cmd-after-env).
836         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
837         explicitly.
838         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
839         run_program_env and test_program_cmd_after_env arguments.
840         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
841         * elf/tst-pathopt.sh: Use run_program_env argument.
842         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
843         $(test-wrapper-env) and $(run-program-env).
844         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
845         run_program_env arguments.
846         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
847         * intl/Makefile ($(objpfx)tst-gettext.out): Use
848         $(test-program-prefix-before-env), $(run-program-env) and
849         $(test-program-prefix-after-env).
850         ($(objpfx)tst-gettext2.out): Likewise.
851         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
852         run_program_env and test_program_prefix_after_env arguments.
853         * intl/tst-gettext2.sh: Likewise.
854         * intl/tst-gettext4.sh: Do not set environment variables
855         explicitly.
856         * intl/tst-gettext6.sh: Likewise.
857         * intl/tst-translit.sh: Likewise.
858         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
859         $(test-program-prefix-before-env), $(run-program-env) and
860         $(test-program-prefix-after-env).
861         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
862         run_program_env and test_program_prefix_after_env arguments.
863         * math/Makefile (run-regen-ulps): Use $(run-program-env).
864         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
865         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
866         explicitly with each use of ${test_wrapper_env}.
867         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
868         $(test-program-prefix-before-env), $(run-program-env) and
869         $(test-program-prefix-after-env).
870         * posix/tst-getconf.sh: Do not set environment variables
871         explicitly.
872         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
873         run_program_env and test_program_prefix_after_env arguments.
874         * stdio-common/tst-printf.sh: Do not set environment variables
875         explicitly.
876         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
877         $(test-program-prefix-before-env), $(run-program-env) and
878         $(test-program-prefix-after-env).
879         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
880         run_program_env and test_program_prefix_after_env arguments.
881         Split $test calls into $test_pre and $test.
882         * timezone/Makefile (build-testdata): Use
883         $(built-program-cmd-before-env), $(run-program-env) and
884         $(built-program-cmd-after-env).
885
886 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
887
888         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
889         strlen for non SHARED builds.
890
891 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
892
893         * nptl/allocatestack.c (check_list): Inlined function...
894         (__reclaim_stacks): ... here.
895
896 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
897
898         [BZ #15698]
899         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
900         memory overrun.
901
902 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
903
904         * Rules (make-test-out): Include
905         LOCPATH=$(common-objpfx)localedata in default environment.
906         * debug/Makefile (tst-chk1-ENV): Remove variable.
907         (tst-chk2-ENV): Likewise.
908         (tst-chk3-ENV): Likewise.
909         (tst-chk4-ENV): Likewise.
910         (tst-chk5-ENV): Likewise.
911         (tst-chk6-ENV): Likewise.
912         (tst-lfschk1-ENV): Likewise.
913         (tst-lfschk2-ENV): Likewise.
914         (tst-lfschk3-ENV): Likewise.
915         (tst-lfschk4-ENV): Likewise.
916         (tst-lfschk5-ENV): Likewise.
917         (tst-lfschk6-ENV): Likewise.
918         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
919         (tst-iconv7-ENV): Likewise.
920         * intl/Makefile (LOCPATH-ENV): Likewise.
921         (tst-codeset-ENV): Likewise.
922         (tst-gettext3-ENV): Likewise.
923         (tst-gettext5-ENV): Likewise.
924         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
925         (tst-fopenloc-ENV): Likewise.
926         (tst-fgetws-ENV): Remove variable.
927         (tst-ungetwc1-ENV): Likewise.
928         (tst-ungetwc2-ENV): Likewise.
929         (bug-ungetwc2-ENV): Likewise.
930         (tst-swscanf-ENV): Likewise.
931         (bug-ftell-ENV): Likewise.
932         (tst-fgetwc-ENV): Likewise.
933         (tst-fseek-ENV): Likewise.
934         (tst-ftell-partial-wide-ENV): Likewise.
935         (tst-ftell-active-handler-ENV): Likewise.
936         (tst-ftell-append-ENV): Likewise.
937         * posix/Makefile (tst-fnmatch-ENV): Likewise.
938         (tst-regexloc-ENV): Likewise.
939         (bug-regex1-ENV): Likewise.
940         (tst-regex-ENV): Likewise.
941         (tst-regex2-ENV): Likewise.
942         (bug-regex5-ENV): Likewise.
943         (bug-regex6-ENV): Likewise.
944         (bug-regex17-ENV): Likewise.
945         (bug-regex18-ENV): Likewise.
946         (bug-regex19-ENV): Likewise.
947         (bug-regex20-ENV): Likewise.
948         (bug-regex22-ENV): Likewise.
949         (bug-regex23-ENV): Likewise.
950         (bug-regex25-ENV): Likewise.
951         (bug-regex26-ENV): Likewise.
952         (bug-regex30-ENV): Likewise.
953         (bug-regex32-ENV): Likewise.
954         (bug-regex33-ENV): Likewise.
955         (bug-regex34-ENV): Likewise.
956         (bug-regex35-ENV): Likewise.
957         (tst-rxspencer-ENV): Likewise.
958         (tst-rxspencer-no-utf8-ENV): Likewise.
959         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
960         (tst-sscanf-ENV): Likewise.
961         (tst-swprintf-ENV): Likewise.
962         (tst-swscanf-ENV): Likewise.
963         (test-vfprintf-ENV): Likewise.
964         (scanf13-ENV): Likewise.
965         (bug14-ENV): Likewise.
966         (tst-grouping-ENV): Likewise.
967         * stdlib/Makefile (tst-strtod-ENV): Likewise.
968         (tst-strtod3-ENV): Likewise.
969         (tst-strtod4-ENV): Likewise.
970         (tst-strtod5-ENV): Likewise.
971         (testmb2-ENV): Likewise./
972         * string/Makefile (tst-strxfrm-ENV): Likewise.
973         (tst-strxfrm2-ENV): Likewise.
974         (bug-strcoll1-ENV): Likewise.
975         (test-strcasecmp-ENV): Likewise.
976         (test-strncasecmp-ENV): Likewise.
977         * time/Makefile (tst-strptime-ENV): Likewise.
978         (tst-ftime_l-ENV): Likewise.
979         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
980         (tst-mbrtowc-ENV): Likewise.
981         (tst-wcrtomb-ENV): Likewise.
982         (tst-mbrtowc2-ENV): Likewise.
983         (tst-c16c32-1-ENV): Likewise.
984         (tst-mbsnrtowcs-ENV): Likewise.
985
986 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
987
988         * manual/resource.texi (How to get information about the memory
989         subsystem?): Fix typo.
990         Reported by Peon de la Parra Ivan <peon@keba.com>
991
992 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
993
994         [BZ #16882]
995         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
996         (pthread_spin_lock): Branch out of spin loop to proper location.
997         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
998         (pthread_spin_lock): Likewise.
999
1000         * nptl/tst-spin4.c: New test.
1001         * nptl/Makefile (tests): Add tst-spin4.
1002
1003 2014-06-03  Andreas Schwab  <schwab@suse.de>
1004
1005         [BZ #15946]
1006         * resolv/res_send.c (send_dg): Reload file descriptor after
1007         calling reopen.
1008
1009 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1010
1011         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1012
1013 2014-06-03  Richard Henderson  <rth@redhat.com>
1014
1015         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1016         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1017         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1018         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1019         in the SAVE_PID block.
1020         (__libc_vfork): New alias.
1021         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1022
1023         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1024         child in registers, not on the stack.  Remove RESET_PID conditionals.
1025         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1026
1027 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1028
1029         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1030
1031 2014-06-03  Wilco  <wdijkstr@arm.com>
1032
1033         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1034         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1035         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1036         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1037         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1038         Likewise.
1039
1040 2014-06-03  Wilco  <wdijkstr@arm.com>
1041
1042         * sysdeps/aarch64/fpu/math_private.h
1043         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1044         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1045         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1046         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1047         Fix declarations.
1048
1049 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1050
1051         * crypt/crypt-private.h: Include ufc-crypt.h.
1052         (__b64_from_24bit): Declare extern.
1053         * crypt/crypt_util.c(__b64_from_24bit): New function.
1054         (b64t): New static const variable.
1055         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1056         (b64t): Remove variable.
1057         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1058         * crypt/sha256-crypt.c: Include crypt-private.h.
1059         (b64t): Remove variable.
1060         (__sha256_crypt_r): Remove b64_from_24bit and replace
1061         with __b64_from_24bit.
1062         * crypt/sha512-crypt.c: Likewise.
1063
1064 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1065
1066         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1067         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1068         Label the code __libc_vfork rather than __vfork.
1069         [!NOT_IN_libc] (vfork): Define as weak alias.
1070         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1071         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1072         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1073
1074 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1075
1076         * malloc/malloc.c (malloc_info): Fix format specifier for
1077         n_mmaps.
1078
1079 2014-06-02  Wilco  <wdijkstr@arm.com>
1080
1081         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1082         FPCR write.
1083
1084 2014-06-02  Wilco  <wdijkstr@arm.com>
1085
1086         [BZ #17009]
1087         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1088         Rewrite to reduce FPCR/FPSR accesses.
1089
1090 2014-06-01  David S. Miller  <davem@davemloft.net>
1091
1092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1093
1094 2014-05-31  David S. Miller  <davem@davemloft.net>
1095
1096         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1097         to occur in round to nearest mode when |x| >= 2.0
1098
1099 2014-05-30  Richard Henderson  <rth@twiddle.net>
1100
1101         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1102         (PSEUDO_RET_NOERRNO): Remove.
1103         (ret): Don't redefine.
1104         (ret_NOERRNO): Define in terms of ret.
1105         (ret_ERRVAL): Likewise.
1106
1107         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1108         use of PSEUDO_RET; perform the error check directly.
1109
1110 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1111
1112         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1113         with __int128_t.
1114
1115 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1116
1117         * malloc/malloc (malloc_info): Fix formatting.
1118
1119 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1120             Roland McGrath  <roland@hack.frob.com>
1121
1122         * malloc/malloc (malloc_info): Also print mmapped statistics.
1123
1124 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1125
1126         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1127         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1128
1129 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1130
1131         * malloc/malloc.c (malloc_info): Inline mi_arena.
1132
1133 2014-05-29  Richard Henderson  <rth@twiddle.net>
1134
1135         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1136         Remove comma before expanding ASM_ARGS_##nr.
1137         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1138         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1139         of ASM_ARGS_##nr.
1140         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1141         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1142         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1143         (ASM_ARGS_1): Add leading comma.
1144
1145         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1146         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1147         to __errno_location.
1148         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1149         Remove the expected plt for __errno_location.
1150
1151         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1152         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1153         call to __read_tp.
1154
1155         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1156         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1157         it and break it down.
1158         (DOCARGS_0, DOCARGS_1): Do nothing.
1159         (DOCARGS_2): Update to store into the new stack frame.
1160         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1161         (UNDOCARGS_1): Update to restore from the new stack frame.
1162         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1163         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1164
1165         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1166         (SINGLE_THREAD_P): New parameter for result regno.
1167         (PSEUDO): Update to match; use cbz instead of beq.
1168
1169         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1170         Use ENTRY to define the _nocancel entry point.  Share the syscall
1171         and syscall error check paths with the cancel path.
1172         (PSEUDO_END): New.
1173
1174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1175         whitespace; tabs before and after asm mnemonics.
1176
1177 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1178
1179         [BZ #15132]
1180         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1181         Call fstat64 or stat64 internally, depending on arguments passed.
1182         Replace stat buffer argument with file descriptor argument.
1183         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1184         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1185         Pass fd to __internal_statvfs instead of calling fstat64.
1186         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1187         Pass fd to __internal_statvfs64 instead of calling fstat64.
1188         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1189         Pass -1 to __internal_statvfs instead of calling stat64.
1190         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1191         Pass -1 to __internal_statvfs64 instead of calling stat64.
1192
1193 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1194
1195         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1196         that was previously under [RESET_PID].
1197         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1198
1199         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1200         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1201
1202 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1203
1204         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1205
1206         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1207         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1208
1209 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1210
1211         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1212
1213 2014-05-27  Andreas Schwab  <schwab@suse.de>
1214
1215         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1216         TLS_INIT_TP macro.
1217         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1218         * elf/rtld.c (init_tls, dl_main): Likewise.
1219         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1220         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1221         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1222         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1223         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1224         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1225         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1226         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1227         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1228         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1229         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1230         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1231         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1232         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1233         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1234         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1235         * sysdeps/generic/tls.h: Update description.
1236
1237 2014-05-27  Will Newton  <will.newton@linaro.org>
1238
1239         [BZ #16990]
1240         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1241         and restore r2 rather than just restoring.
1242
1243 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1244
1245         [BZ #16724]
1246         * libio/tst-ftell-append.c: New test case.
1247         * libio/Makefile (tests): Add test case.
1248         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1249         append mode.
1250         * libio/wfileops.c (do_ftell_wide): Likewise.
1251
1252 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1253
1254         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1255
1256         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1257         ...
1258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1260         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1261         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1262         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1263         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1264         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1265         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1267         Moved ...
1268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1270         Moved ...
1271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1272         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1273         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1274         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1275         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1276         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1277         ...
1278         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1279         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1280         Moved ...
1281         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1282         here.
1283         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1284         ...
1285         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1286         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1287         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1288
1289         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1290         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1291         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1292         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1293
1294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1295         merge into ...
1296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1298         ...
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1301         ...
1302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1303         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1304         Moved ...
1305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1306         here.
1307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1308         Moved ...
1309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1311         Moved ...
1312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1313
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1315         conditional [RESET_PID].
1316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1317         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1318         removed.
1319         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1320         removed.
1321
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1323         <tcb-offsets.h>.
1324         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1325         (__libc_vfork): New strong alias.
1326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1327         removed.
1328         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1329         Removed.
1330
1331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1332         <tcb-offsets.h>.
1333         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1334         (__libc_vfork): New strong alias.
1335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1336         removed.
1337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1338         removed.
1339
1340 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1341
1342         * malloc/malloc.c (mi_arena): New function.
1343         (malloc_info): Remove nested function mi_arena. Call non-nosted
1344         function mi_arena.
1345
1346 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1347
1348         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1349         by insrwi.
1350         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1351         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1352         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1353         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1354         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1355         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1356         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1357
1358 2014-05-26  Andreas Schwab  <schwab@suse.de>
1359
1360         [BZ #16984]
1361         * locale/programs/repertoire.c (repertoire_read): Add slash
1362         between I18NPATH element and file name.
1363         * locale/programs/locfile.c (locfile_read): Likewise.
1364
1365 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1366
1367         * nptl/pthread_mutexattr_settype.c
1368         (__pthread_mutexattr_settype):
1369         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1370
1371 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1372
1373         * nptl/tst-mutex5 (do_test):
1374         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1375
1376 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1377
1378         * benchtests/README: Document 'init' directive.
1379         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1380         BENCH_INIT.
1381         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1382         (parse_file): Recognize 'init' directive.
1383
1384 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1385
1386         [BZ #16796]
1387         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1388         alignment of struct pthread.
1389
1390 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1391
1392         [BZ #16878]
1393         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1394         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1395         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1396         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1397
1398 2014-05-25  Richard Henderson  <rth@twiddle.net>
1399
1400         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1401         (SINGLE_THREAD_P_PIC): Remove.
1402         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1403         (SINGLE_THREAD_P_PIC): Remove.
1404
1405         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1406         branch to syscall error ...
1407         (PSEUDO): ... here.
1408         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1409         from __local_syscall_error to .Lsyscall_error.
1410         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1411         (SYSCALL_ERROR): Update label name.
1412
1413         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1414         Do not use DOARGS/UNDOARGS.
1415         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1416         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1417         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1418         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1419         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1420
1421         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1422         block comment.
1423
1424         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1425         define if !NOT_IN_libc.
1426         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1427         define with non-default symbol versions.
1428
1429 2014-05-23  Richard Henderson  <rth@twiddle.net>
1430
1431         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1432         (vfork, __vfork): Define via compat_symbol.
1433
1434         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1435         [!HAVE_IFUNC] (vfork_compat): Remove.
1436         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1437
1438 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1439
1440         [BZ #16978]
1441         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1442         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1443         variable.
1444
1445 2014-05-23  Richard Henderson  <rth@twiddle.net>
1446
1447         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1448         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1449         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1450         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1451
1452         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1453         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1454         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1455         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1456         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1457         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1458         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1459         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1460         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1461         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1462         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1463         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1464         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1465         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1466         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1467         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1468         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1469         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1470         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1471         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1472         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1473         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1474         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1475         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1476         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1477         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1478         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1479         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1480         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1481         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1482         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1483         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1484         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1485         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1486         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1487         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1488         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1489         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1490         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1491         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1492         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1493         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1494         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1495         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1496         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1497         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1498         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1499         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1500         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1501         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1502         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1503         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1505         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1506         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1507         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1508
1509         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1510         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1511         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
1512         before exiting on error.
1513         (__libc_vfork): New strong alias.
1514         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1515         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1516
1517         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1518         that was previously under [RESET_PID].
1519         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1520
1521         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1522
1523 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1524
1525         [BZ #16977]
1526         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1527         value when x - 1 is zero.
1528         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1529         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1530         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1531         0.0L for an argument of 1.0L.
1532         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1533         Likewise.
1534         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1535         value when x - 1 is zero.
1536         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1537         * sysdeps/i386/fpu/libm-test-ulps: Update.
1538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1539
1540 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
1541
1542         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1543         alphasort and versionsort.
1544
1545 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1546
1547         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1548         macro.
1549         [copysignf]: Likewise.
1550
1551 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1552
1553         * crypt/md5-crypt.c: Fix formatting.
1554
1555 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1556
1557         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1558         (b64_from_24bit): New function.
1559
1560 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1561
1562         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1563         libc_hidden_builtin_def to ifunc.
1564         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1565         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1566
1567 2014-05-21  Roland McGrath  <roland@hack.frob.com>
1568
1569         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1570         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1571
1572 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
1573
1574         * nscd/Depend (linuxthreads): Remove.
1575         (nptl): Add.
1576         * resolv/Depend (linuxthreads): Remove.
1577         * rt/Depend (linuxthreads): Remove.
1578
1579         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1580         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1581         $(common-objpfx)elf/.
1582         (link-libc-before-gnulib): Likewise.
1583         (elfobjdir): Remove variable.
1584         * Makefile (install): Use $(elf-objpfx) instead of
1585         $(common-objpfx)elf/.
1586         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1587         $(elfobjdir)/.
1588         (link-libc-deps): Likewise.
1589         ($(common-objpfx)libc.so): Likewise.
1590         ($(common-objpfx)linkobj/libc.so): Likewise.
1591         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1592         instead of $(common-objpfx)elf/.
1593         (symbolic-link-list): Likewise.
1594         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1595         [$(cross-compiling) = no]: Likewise.
1596         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1597         $(elfobjdir)/.
1598         (static-gnulib-arch): Likewise.
1599         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1600         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1601         $(common-objpfx)elf/.
1602
1603 2014-05-21  Richard Henderson  <rth@redhat.com>
1604
1605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1606         (SINGLE_THREAD_P): Use the correct width load.  Fold
1607         into the ldr offset.
1608
1609         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1610         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1611
1612 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
1613
1614         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1615         (libgcc_s_resume): Use __attribute_used__.
1616         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1617         Likewise.
1618
1619 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1620
1621         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1622         optimization when used with float constants.
1623
1624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1625
1626 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
1627
1628         [BZ #16915]
1629         * locale/nl_langinfo_l.c: Make direct reference to every
1630         _nl_current_CATEGORY symbol.
1631         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1632         (tests-static): Add tst-langinfo-static.
1633         (tests-special): Add tst-langinfo-static.out.
1634         ($(objpfx)tst-langinfo.out): Redirect output.
1635         ($(objpfx)tst-langinfo-static.out): New.
1636         * localedata/tst-langinfo.sh: Send output to stdout.
1637         * localedata/tst-langinfo-static.c: New file.
1638
1639         [BZ #16965]
1640         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1641         when the shift amount is modulo the limb size.
1642
1643 2014-05-20  Richard Henderson  <rth@redhat.com>
1644
1645         [BZ #16967]
1646         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1647         Change type of sa_flags from unsigned int to int.
1648
1649         [BZ #16966]
1650         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1651
1652         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1653
1654 2014-05-20  Will Newton  <will.newton@linaro.org>
1655
1656         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1657         Test the return value of the system call in the nocancel case.
1658
1659 2014-05-20  Will Newton  <will.newton@linaro.org>
1660             Yvan Roux  <yvan.roux@linaro.org>
1661
1662         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1663         #include of asm/ptrace.h.
1664         (PTRACE_GET_THREAD_AREA): Remove #undef.
1665         (PTRACE_GETHBPREGS): Likewise.
1666         (PTRACE_SETHBPREGS): Likewise.
1667         (struct user_regs_struct): New structure.
1668         (struct user_fpsimd_struct): New structure.
1669         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1670         #include of asm/ptrace.h and second #include of sys/user.h.
1671         (PTRACE_GET_THREAD_AREA): Remove #undef.
1672         (PTRACE_GETHBPREGS): Likewise.
1673         (PTRACE_SETHBPREGS): Likewise.
1674         (ELF_NGREG): Use new struct user_regs_struct.
1675         (elf_fpregset_t): Use new struct user_fpsimd_struct.
1676
1677 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1678
1679         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1681
1682 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
1683
1684         [BZ #16958]
1685         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1686         membar to avoid block loads/stores to overlap previous stores.
1687
1688 2014-05-17  Richard Henderson  <rth@redhat.com>
1689
1690         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1691         Create the __##syscall_name##_nocancel entry point.
1692         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1693         Remove; let the sysdep-cancel.h code create it.
1694
1695 2014-05-17  David S. Miller  <davem@davemloft.net>
1696
1697         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1698         Protect with __USE_GNU.
1699         (TIOCSET_TEMPT): Likewise.
1700         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1701         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1702         these are already provided in bits/ioctl-types.h
1703
1704 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1705
1706         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1707         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1708
1709         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1710         Use wait4 regardless of [__NR_waitpid].
1711
1712 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
1713
1714         PR libgcc/60166
1715         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1716         (_FP_NANSIGN_Q): Set the quiet bit.
1717
1718 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
1719
1720         * benchtests/Makefile
1721         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1722         not $(common-objpfx)math/libm.so.
1723         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1724         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1725         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1726         $(common-objpfx)dlfcn/libdl.so.
1727         ($(objpfx)tst-audit8): Depend on $(libm), not
1728         $(common-objpfx)math/libm.so.
1729         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1730         not $(common-objpfx)dlfcn/libdl.so.
1731         * math/Makefile
1732         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1733         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
1734         [$(build-shared) = yes].
1735         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1736         $(common-objpfx)nptl/libpthread.so.
1737         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1738         $(common-objpfx)math/libm.so$(libm.so-version) or
1739         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1740         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1741         $(common-objpfx)dlfcn/libdl.so.
1742         * setjmp/Makefile (link-libm): Remove variable.
1743         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1744         * stdio-common/Makefile (link-libm): Remove variable.
1745         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1746         * stdlib/Makefile (link-libm): Remove variable.
1747         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1748         ($(objpfx)tst-strtod-round): Likewise.
1749         ($(objpfx)tst-tininess): Likewise.
1750         ($(objpfx)tst-strtod-underflow): Likewise.
1751         ($(objpfx)tst-strtod6): Likewise.
1752         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1753         $(libdl), not $(common-objpfx)nptl/libpthread.so and
1754         $(common-objpfx)dlfcn/libdl.so.
1755
1756 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1757
1758         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1759         BSD terminal modes definitions.
1760
1761 2014-05-16  Roland McGrath  <roland@hack.frob.com>
1762
1763         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1764         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1765
1766         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1767         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1768         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1769         Don't do #include_next.
1770         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1771         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1772         Don't do #include_next.
1773         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1774         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1775         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1776         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1777
1778 2014-05-16  Allan McRae  <allan@archlinux.org>
1779
1780         * po/sv.po: Update Swedish translation from translation project.
1781
1782         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1783         in sed expression.
1784
1785 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
1786
1787         [BZ #16917]
1788         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1789         errno if the TIOCGPTN ioctl fails with an error different than
1790         EINVAL.
1791         * login/tst-ptsname.c: New file.
1792         * login/Makefile (tests): Add tst-ptsname.
1793
1794         [BZ #16943]
1795         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1796         and prlimit64.
1797
1798 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1799
1800         [BZ #16849]
1801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1802         herrno to return EAI_AGAIN.
1803
1804 2014-05-14  Roland McGrath  <roland@hack.frob.com>
1805
1806         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1807         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1808         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1809         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1810         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1811         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1812         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1813         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1814         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1815         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1816         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1817         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1818         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1819         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1820         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1821         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1822         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1823         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1824         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1825         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1826         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1827         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1828         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1829         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1830         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1831         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1832         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1833         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1834         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1835         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1837         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1839         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1841         Moved ...
1842         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1844         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1845         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1846         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1848         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1850         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1852         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1854         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1856         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1858         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1860         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1862         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1864         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1866         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1868         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1870         Moved ...
1871         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1873         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1874         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1875         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1877         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1879         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1881         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1883         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1885         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1887         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1889         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1891         Moved ...
1892         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1894         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1895
1896         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1897         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1898         (libpthread-sysdep_routines): Add elision-related stuff here instead.
1899         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1900         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1901         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1902         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1903         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1904         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1905         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1906         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1907         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1908         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1910         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1911         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1912         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1913         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1914         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1915         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1916         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1917         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1918         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1919         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1920         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1921         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1922         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1923         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1924         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1925         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1926         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1927
1928         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1929         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1930
1931         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1932         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1933         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1934         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1935         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1937         Moved ...
1938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1939         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1940         Moved ...
1941         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1942         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1943         Moved ...
1944         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1945         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1946         Moved ...
1947         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1948         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1949         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1950         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1951         Moved ...
1952         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1953         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1954         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1955         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1956         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1957         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1958         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1960         Moved ...
1961         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1963         Moved ...
1964         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1965         ... here.
1966         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1967         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1968         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1969         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1970         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1971         Moved ...
1972         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1973         ... here.
1974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1975         Moved ...
1976         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1977         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1978         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1979         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1980         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1982         Moved ...
1983         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1984         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1985         Moved ...
1986         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1987         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1988         Moved ...
1989         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1990         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1991         Moved ...
1992         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1993         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1994         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1995         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1996         Moved ...
1997         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1998         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1999         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2000         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2001         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2002         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2003         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2005         Moved ...
2006         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2007         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2008         Moved ...
2009         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2010         ... here.
2011         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2012         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2013         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2014         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2015         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2016         Moved ...
2017         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2018         ... here.
2019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2020         Moved ...
2021         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2022         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2023         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2024         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2025         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2026         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2027         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2028         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2029         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2031         Moved ...
2032         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2034         Moved ...
2035         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2036         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2037         Moved ...
2038         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2039         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2040         Moved ...
2041         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2042         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2043         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2044         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2045         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2046         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2047         Moved ...
2048         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2049         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2050         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2051         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2052         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2053         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2054         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2055         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2056         Moved ...
2057         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2058         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2059         Moved ...
2060         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2061         ... here.
2062         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2063         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2064         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2065         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2066         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2067         Moved ...
2068         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2069         ... here.
2070         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2071         Moved ...
2072         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2073         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2074         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2075         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2076         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2077         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2078         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2079         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2080         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2081         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2082         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2083
2084         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2085         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2086
2087         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2088         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2089
2090         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2091         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2092         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2093         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2094         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2095         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2096         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2097         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2098         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2099         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2100         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2101         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2103         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2104         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2105         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2106         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2108         Moved ...
2109         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2113         Moved ...
2114         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2115         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2116         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2118         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2122         Moved ...
2123         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2125         Moved ...
2126         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2127         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2128         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2129         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2130         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2132         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2133         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2134         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2135         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2136         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2137         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2138         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2139         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2140         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2141         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2142         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2143
2144         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2145         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2146         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2147         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2148         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2149
2150         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2151         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2152         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2153         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2154         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2155         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2156         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2157         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2158         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2159         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2160
2161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2163
2164         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2165         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2166         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2167         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2168         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2169         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2170         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2171         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2172         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2173         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2174         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2175         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2176         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2177         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2178         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2179         Update #include.
2180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2181         Likewise.
2182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2183         Likewise.
2184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2185         Likewise.
2186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2187         Likewise.
2188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2189         Likewise.
2190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2191         Likewise.
2192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2193         Likewise.
2194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2195         Likewise.
2196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2197         Likewise.
2198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2201         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2203         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2205         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2206         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2207         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2208         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2209         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2210         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2211         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2212         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2213
2214         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2215         that was previously under [RESET_PID].
2216         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2217         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2218         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2219
2220         * sysdeps/i386/nptl/Implies: New file.
2221         * sysdeps/x86_64/nptl/Implies: New file.
2222         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2223         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2224         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2225         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2226
2227         * sysdeps/unix/sysv/linux/i386/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/i386/vfork.S: File removed.
2231         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2232
2233         * sysdeps/unix/sysv/linux/x86_64/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         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2237         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2238
2239         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2240         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2241         (__libc_vfork): New strong alias.
2242         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2243         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2244         * nptl/pt-vfork.c: New file.
2245         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2246         (libpthread: GLIBC_2.20): New version set (empty).
2247
2248 2014-05-14  Will Newton  <will.newton@linaro.org>
2249
2250         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2251         rather than #if.
2252
2253 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2254
2255         [BZ #16564]
2256         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2257         arguments with exponent 65 or above.
2258         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2259         arguments 0x1p113L or above.
2260         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2261         to arguments 0x1p107L or above.
2262         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2263         positive arguments with exponent 65 or above.
2264         * math/auto-libm-test-in: Add more tests of log1p.
2265         * math/auto-libm-test-out: Regenerated.
2266
2267         [BZ #16928]
2268         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2269         non-finite arguments is +0.
2270         * math/s_cacosf.c (__cacosf): Likewise.
2271         * math/s_cacosl.c (__cacosl): Likewise.
2272         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2273         * sysdeps/i386/fpu/libm-test-ulps: Update.
2274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2275
2276         [BZ #16927]
2277         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2278         value.
2279         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2280         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2281         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2282         for explicit high bit of mantissa when testing for argument equal
2283         to 1.
2284         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2285         * sysdeps/i386/fpu/libm-test-ulps: Update.
2286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2287
2288         [BZ #16516]
2289         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2290         (__erf): Scale by 16 instead of 8 in potentially underflowing
2291         case.  Ensure exception if result actually underflows.
2292         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2293         (__erff): Scale by 16 instead of 8 in potentially underflowing
2294         case.  Ensure exception if result actually underflows.
2295         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2296         (efx8): Remove variable.
2297         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2298         case.  Ensure exception if result actually underflows.
2299         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2300         (efx8): Remove variable.
2301         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2302         case.  Ensure exception if result actually underflows.
2303         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2304         (efx8): Remove variable.
2305         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2306         case.  Ensure exception if result actually underflows.
2307         * math/auto-libm-test-in: Add more tests of erf.
2308         * math/auto-libm-test-out: Regenerated.
2309
2310 2014-05-14  Andreas Schwab  <schwab@suse.de>
2311
2312         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2313         Remove code conditionalized on USE___THREAD.
2314
2315         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2316         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2317         not definedness.
2318
2319 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2320
2321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2322         Define unconditionally.
2323         (__ASSUME_O_CLOEXEC): Likewise.
2324         (__ASSUME_SOCK_CLOEXEC): Likewise.
2325         (__ASSUME_IN_NONBLOCK): Likewise.
2326         (__ASSUME_PIPE2): Likewise.
2327         (__ASSUME_EVENTFD2): Likewise.
2328         (__ASSUME_SIGNALFD4): Likewise.
2329         (__ASSUME_DUP3): Likewise.
2330         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2331         (__ASSUME_DUP3): Do not define.
2332         (__ASSUME_EVENTFD2): Likewise.
2333         (__ASSUME_IN_NONBLOCK): Likewise.
2334         (__ASSUME_O_CLOEXEC): Likewise.
2335         (__ASSUME_PIPE2): Likewise.
2336         (__ASSUME_SIGNALFD4): Likewise.
2337         (__ASSUME_SOCK_CLOEXEC): Likewise.
2338         (__ASSUME_UTIMES): Undefine.
2339         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2340         (__ASSUME_UTIMES): Do not define.
2341         (__ASSUME_O_CLOEXEC): Likewise.
2342         (__ASSUME_SOCK_CLOEXEC): Likewise.
2343         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2344         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2345         0x020621].
2346         (__ASSUME_PIPE2): Likewise.
2347         (__ASSUME_EVENTFD2): Likewise.
2348         (__ASSUME_SIGNALFD4): Likewise.
2349         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2350         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2351         Do not define.
2352         (__ASSUME_EVENTFD2): Likewise.
2353         (__ASSUME_SIGNALFD4): Likewise.
2354         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2355         (__ASSUME_32BITUIDS): Likewise.
2356         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2357         (__ASSUME_IPC64): Likewise.
2358         (__ASSUME_ST_INO_64_BIT): Likewise.
2359         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2360         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2361         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2362         (__ASSUME_UTIMES): Do not define.
2363         (__ASSUME_PSELECT): Likewise.
2364         (__ASSUME_PPOLL): Likewise.
2365         (__ASSUME_O_CLOEXEC): Likewise.
2366         (__ASSUME_SOCK_CLOEXEC): Likewise.
2367         (__ASSUME_IN_NONBLOCK): Likewise.
2368         (__ASSUME_PIPE2): Likewise.
2369         (__ASSUME_EVENTFD2): Likewise.
2370         (__ASSUME_SIGNALFD4): Likewise.
2371         (__ASSUME_DUP3): Likewise.
2372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2373         (__ASSUME_UTIMES): Likewise.
2374         (__ASSUME_O_CLOEXEC): Likewise.
2375         (__ASSUME_SOCK_CLOEXEC): Likewise.
2376         (__ASSUME_IN_NONBLOCK): Likewise.
2377         (__ASSUME_PIPE2): Likewise.
2378         (__ASSUME_EVENTFD2): Likewise.
2379         (__ASSUME_SIGNALFD4): Likewise.
2380         (__ASSUME_DUP3): Likewise.
2381         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2382         (__ASSUME_UTIMES): Likewise.
2383         (__ASSUME_O_CLOEXEC): Likewise.
2384         (__ASSUME_SOCK_CLOEXEC): Likewise.
2385         (__ASSUME_IN_NONBLOCK): Likewise.
2386         (__ASSUME_PIPE2): Likewise.
2387         (__ASSUME_EVENTFD2): Likewise.
2388         (__ASSUME_SIGNALFD4): Likewise.
2389         (__ASSUME_DUP3): Likewise.
2390         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2391         Likewise.
2392         (__ASSUME_UTIMES): Likewise.
2393         (__ASSUME_EVENTFD2): Likewise.
2394         (__ASSUME_SIGNALFD4): Likewise.
2395         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2396         (__ASSUME_O_CLOEXEC): Likewise.
2397         (__ASSUME_SOCK_CLOEXEC): Likewise.
2398         (__ASSUME_IN_NONBLOCK): Likewise.
2399         (__ASSUME_PIPE2): Likewise.
2400         (__ASSUME_EVENTFD2): Likewise.
2401         (__ASSUME_SIGNALFD4): Likewise.
2402         (__ASSUME_DUP3): Likewise.
2403         (__ASSUME_UTIMES): Undefine.
2404
2405         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2406         feclearexcept.  Remove symbol versioning code.
2407         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2408         symbol versioning code.
2409         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2410         symbol versioning code.
2411         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2412         feupdateenv.  Remove symbol versioning code.
2413         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2414         fegetexceptflag.  Remove symbol versioning code.
2415         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2416         fesetexceptflag.  Remove symbol versioning code.
2417         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2418         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2419         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2420         (__posix_fadvise64_l32): Remove prototype.
2421         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2422         code.
2423
2424 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2425
2426         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2427         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2428         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2429         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2430
2431 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2432
2433         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2434         current working directory
2435
2436 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2437
2438         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2439         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2440         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2441         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2442         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2443         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2444         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2445         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2446         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2447         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2448         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2449         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2450         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2451         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2452         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2453         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2454         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2455         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2456         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2457         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2458         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2459         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2460         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2461         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2462         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2463         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2464         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2465         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2466         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2467         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2468         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2469         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2470         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2471         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2472         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2473         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2474         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2475         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2476         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2477         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2478         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2479         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2480
2481         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2482         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2483
2484         * sysdeps/unix/sysv/linux/arm/Makefile
2485         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2486         Add rt-aeabi_unwind_cpp_pr1.
2487         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2488         Add nptl-aeabi_unwind_cpp_pr1.
2489         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2490         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2491         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2492         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2493         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2494         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2495
2496         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2497         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2498         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2499         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2500
2501         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2502         Deconditionalize the code that was previously under [RESET_PID].
2503         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2504
2505         * sysdeps/generic/exit-thread.h: New file.
2506         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2507         * include/unistd.h (__exit_thread): Remove declaration.
2508         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2509         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2510         * csu/libc-start.c: Include <exit-thread.h>.
2511         (LIBC_START_MAIN): Pass no argument to __exit_thread.
2512         * nptl/pthread_create.c: Include <exit-thread.h>.
2513         (start_thread): Call __exit_thread in place of __exit_thread_inline.
2514         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2515         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2516         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2517         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2518         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2519         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2520         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2521         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2522         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2523         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2524         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2525         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2526         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2527         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2528         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2529         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2530
2531 2014-05-13  Andreas Schwab  <schwab@suse.de>
2532
2533         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2534
2535 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
2536
2537         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2538         (__ASSUME_UTIMES): Do not condition on kernel version.
2539         (__ASSUME_PSELECT): Define unconditionally.
2540         (__ASSUME_PPOLL): Likewise.
2541         (__ASSUME_ATFCTS): Likewise.
2542         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2543         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2544         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2545         (__ASSUME_UTIMENSAT): Define unconditionally.
2546         (__ASSUME_PRIVATE_FUTEX): Likewise.
2547         (__ASSUME_FALLOCATE): Likewise.
2548         (__ASSUME_O_CLOEXEC): Likewise.
2549         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2550         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2551         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2552         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2553         (__ASSUME_IN_NONBLOCK): Likewise.
2554         (__ASSUME_PIPE2): Likewise.
2555         (__ASSUME_EVENTFD2): Likewise.
2556         (__ASSUME_SIGNALFD4): Likewise.
2557         (__ASSUME_DUP3): Likewise.
2558         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2559         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2560         (__ASSUME_AT_RANDOM): Likewise.
2561         (__ASSUME_PREADV): Likewise.
2562         (__ASSUME_PWRITEV): Likewise.
2563         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2564         (__ASSUME_F_GETOWN_EX): Define unconditionally.
2565         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2566         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2567         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2568         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2569         (__ASSUME_O_CLOEXEC): Define unconditionally.
2570         (__ASSUME_PSELECT): Do not undefine conditionally.
2571         (__ASSUME_PPOLL): Likewise.
2572         (__ASSUME_ATFCTS): Likewise.
2573         (__ASSUME_SET_ROBUST_LIST): Likewise.
2574         (__ASSUME_UTIMENSAT): Likewise.
2575         (__ASSUME_FDATASYNC): Define unconditionally.
2576         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2577         (__ASSUME_SIGFRAME_V2): Likewise.
2578         )__ASSUME_EVENTFD2): Likewise.
2579         (__ASSUME_SIGNALFD4): Likewise.
2580         (__ASSUME_PSELECT): Do not undefine conditionally.
2581         (__ASSUME_PPOLL): Likewise.
2582         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2583         (__ASSUME_PSELECT): Define unconditionally.
2584         (__ASSUME_PPOLL): Likewise.
2585         (__ASSUME_O_CLOEXEC): Likewise.
2586         (__ASSUME_SOCK_CLOEXEC): Likewise.
2587         (__ASSUME_IN_NONBLOCK): Likewise.
2588         (__ASSUME_PIPE2): Likewise.
2589         (__ASSUME_EVENTFD2): Likewise.
2590         (__ASSUME_SIGNALFD4): Likewise.
2591         (__ASSUME_DUP3): Likewise.
2592         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2593         (__ASSUME_O_CLOEXEC): Likewise.
2594         (__ASSUME_SOCK_CLOEXEC): Likewise.
2595         (__ASSUME_IN_NONBLOCK): Likewise.
2596         (__ASSUME_PIPE2): Likewise.
2597         (__ASSUME_EVENTFD2): Likewise.
2598         (__ASSUME_SIGNALFD4): Likewise.
2599         (__ASSUME_DUP3): Likewise.
2600         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2601         (__ASSUME_EVENTFD2): Likewise.
2602         (__ASSUME_SIGNALFD4): Likewise.
2603         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2604
2605 2014-05-12  Andreas Schwab  <schwab@suse.de>
2606
2607         [BZ #16932]
2608         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2609         (_nss_nis_gethostbyname4_r): Return error if item length is larger
2610         than maximum RPC packet size.
2611         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2612         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2613         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2614         (_nss_nis_getservbyport_r): Likewise.
2615
2616 2014-05-12  Will Newton  <will.newton@linaro.org>
2617
2618         * malloc/Makefile (tests): Add tst-mallopt.
2619         * malloc/tst-mallopt.c: New file.
2620
2621 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2622
2623         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2624         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2625
2626 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2627
2628         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2629         (tst-tlsmod6.so): Likewise.
2630
2631 2014-05-09  Roland McGrath  <roland@hack.frob.com>
2632
2633         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2634
2635 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
2636
2637         [BZ #16064]
2638         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2639         and <dl-procinfo.h>.
2640         (__fegetenv): Save SSE state in envp->__eip if supported.
2641         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2642         envp->__eip if supported.
2643         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2644         and <dl-procinfo.h>.
2645         (__fesetenv): Always set __eip, __cs_selector, __opcode,
2646         __data_offset and __data_selector in environment to 0.  Set SSE
2647         state if supported.
2648         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2649         test-fenv-sse.
2650         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2651         -mfpmath=sse.
2652         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2653
2654 2014-05-09  Will Newton  <will.newton@linaro.org>
2655
2656         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2657         and libc_relro_required for ARM.
2658         * sysdeps/arm/preconfigure: Regenerate.
2659
2660 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2661             Stefan Liebler  <stli@linux.vnet.ibm.com>
2662
2663         * config.make.in (enable-lock-elision): New Makefile variable.
2664         * configure.ac: Likewise.
2665         * configure: Regenerate.
2666         * sysdeps/s390/configure.ac:
2667         Add check for gcc transactions support.
2668         * sysdeps/s390/configure: Regenerate.
2669         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2670         Build elision files if enabled.
2671         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2672         Add lock elision support for s390.
2673         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2674         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2675         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2676         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2677         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2678         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2679         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2680         Likewise.
2681         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2682         Likewise.
2683         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2684         Likewise.
2685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2686         Likewise.
2687         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2688         (__lll_timedlock_elision, __lll_lock_elision)
2689         (__lll_unlock_elision, __lll_trylock_elision)
2690         (lll_timedlock_elision, lll_lock_elision)
2691         (lll_unlock_elision, lll_trylock_elision): Add.
2692         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2693         (pthread_mutex_t): Add lock elision support for s390.
2694
2695 2014-05-14  Wilco  <wdijkstr@arm.com>
2696
2697         * sysdeps/arm/fclrexcpt.c: Cleanup.
2698         * sysdeps/arm/fedisblxcpt.c: Cleanup.
2699         * sysdeps/arm/feenablxcpt.c: Cleanup.
2700         * sysdeps/arm/fegetenv.c: Cleanup.
2701         * sysdeps/arm/fegetexcept.c: Cleanup.
2702         * sysdeps/arm/fegetround.c: Cleanup.
2703         * sysdeps/arm/feholdexcpt.c: Cleanup.
2704         * sysdeps/arm/fesetenv.c: Cleanup.
2705         * sysdeps/arm/fesetround.c: Cleanup.
2706         * sysdeps/arm/feupdateenv.c: Cleanup.
2707         * sysdeps/arm/fgetexcptflg.c: Cleanup.
2708         * sysdeps/arm/fraiseexcpt.c: Cleanup.
2709         * sysdeps/arm/fsetexcptflg.c: Cleanup.
2710         * sysdeps/arm/ftestexcept.c: Cleanup.
2711         * sysdeps/arm/get-rounding-mode.h: Cleanup.
2712         * sysdeps/arm/setfpucw.c: Cleanup.
2713
2714 2014-05-09  Will Newton  <will.newton@linaro.org>
2715
2716         * sysdeps/arm/armv7/strcmp.S: New file.
2717         * NEWS: Mention addition of ARMv7 optimized strcmp.
2718
2719 2014-05-08  Roland McGrath  <roland@hack.frob.com>
2720
2721         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2722         look for %.ac rather than %.in.
2723
2724         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2725         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2726         * sysdeps/mach/hurd/configure: Regenerated.
2727         * sysdeps/unix/sysv/linux/configure: Regenerated.
2728
2729         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2730
2731 2014-05-07  Steve Ellcey  <sellcey@mips.com>
2732
2733         [BZ# 16922]
2734         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2735         (LONG_SUB): Ditto.
2736         (PTR_SUB): Ditto.
2737
2738 2014-05-07  Andreas Schwab  <schwab@suse.de>
2739
2740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2741         when skipping over non-matching result from nscd.
2742
2743 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
2744
2745         [BZ #16876]
2746         * nptl/sockperf.c (client): Check socket return value.
2747
2748         [BZ #16877]
2749         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2750         nscd security class.
2751
2752 2014-05-06  Roland McGrath  <roland@hack.frob.com>
2753
2754         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2755         * sysdeps/arm/unwind.h: ... here.
2756
2757 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
2758
2759         [BZ# 16916]
2760         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2761         Define.
2762
2763 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2764
2765         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2766         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2767         multiarch strncpy for PPC64.
2768         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2769         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2771         multiarch optimizations.
2772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2773         (__libc_ifunc_impl_list): Likewise.
2774         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2775         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2776         multiarch stpncpy for PPC64.
2777         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2778         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2779
2780 2014-05-06  Andreas Schwab  <schwab@suse.de>
2781
2782         [BZ #16912]
2783         * gmon/mcount.c (_MCOUNT_DECL): Use
2784         atomic_compare_and_exchange_bool_acq instead of
2785         catomic_compare_and_exchange_bool_acq.
2786
2787 2014-05-05  Roland McGrath  <roland@hack.frob.com>
2788
2789         * elf/Makefile (others, install-bin): Remove pldd.
2790         (pldd-modules): Variable removed.
2791         ($(objpfx)pldd): Target removed.
2792         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2793         (others, install-bin): Append pldd here.
2794         ($(objpfx)pldd): New target.
2795
2796         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2797         to 0, so the first #if test emitted later doesn't see it undefined.
2798         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2799         * sysdeps/gnu/errlist.c: Regenerated.
2800
2801 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2802
2803         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2804         [libc_hidden_builtin_def]: Define to empty value.
2805         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2806         [libc_hidden_builtin_def]: Likewise.
2807         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2808         [libc_hidden_builtin_def]: Likewise.
2809         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2810         [libc_hidden_builtin_def]: Likewise.
2811         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2812         __redirect_memcpy and define ifunc as default hidden symbol.
2813         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2814         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2815
2816 2014-05-04  Adam Conrad  <adconrad@0c3.net>
2817
2818         * locale/iso-4217.def: Reintroduce XDR currency.
2819
2820 2014-05-04  Allan McRae  <allan@archlinux.org>
2821
2822         * po/eo.po: Update Esperanto translation from translation project.
2823
2824 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
2825
2826         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2827         and FEATURE_INDEX_MAX to 1.
2828         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2829
2830 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2831
2832         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2833         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2834         * iconvdata/big5.c (ONE_DIRECTION): Define.
2835         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2836         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2837         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2838         * iconvdata/cp932.c (ONE_DIRECTION): Define.
2839         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2840         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2841         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2842         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2843         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2844         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2845         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2846         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2847         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2848         * iconvdata/gbk.c (ONE_DIRECTION): Define.
2849         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2850         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2851         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2852         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2853         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2854         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2855         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2856         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2857         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2858         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2859         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2860         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2861         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2862         * iconvdata/iso646.c (ONE_DIRECTION): Define.
2863         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2864         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2865         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2866         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2867         * iconvdata/johab.c (ONE_DIRECTION): Define.
2868         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2869         * iconvdata/sjis.c (ONE_DIRECTION): Define.
2870         * iconvdata/t.61.c (ONE_DIRECTION): Define.
2871         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2872         * iconvdata/tscii.c (ONE_DIRECTION): Define.
2873         * iconvdata/uhc.c (ONE_DIRECTION): Define.
2874         * iconvdata/unicode.c (ONE_DIRECTION): Define.
2875         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2876         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2877         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2878
2879 2014-05-01  Roland McGrath  <roland@hack.frob.com>
2880
2881         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2882         (_IO_JUMPS_OFFSET): Define to 0.
2883
2884         * nptl/sysdeps/pthread/bits/libc-lock.h
2885         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2886         (__libc_lock_define_initialized_recursive): Always define using
2887         initializer.  Modern compilers treat uninitialized (implicit zero) and
2888         explicit zero initializers the same (i.e. put the datum in bss).
2889
2890 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2891
2892         * nscd/nscd-client.h: Include <string.h>.
2893
2894 2014-05-01  David S. Miller  <davem@davemloft.net>
2895
2896         [BZ #16885]
2897         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2898         multiple zero bytes exist at the end of a string.
2899         Reported by Aurelien Jarno <aurelien@aurel32.net>
2900
2901         * string/test-strcmp.c (check): Add explicit test for situations where
2902         there are multiple zero bytes after the first.
2903
2904 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
2905
2906         [BZ #16890]
2907         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2908         when compiling wprintf.
2909         * stdio-common/tstdiomisc.c (t3): New function.
2910         (main): Call it.
2911
2912 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2913
2914         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2915         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2916         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2917         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2918
2919 2014-05-01  Steve Ellcey  <sellcey@mips.com>
2920
2921         * stdlib/longlong.h: Updated from GCC.
2922
2923 2014-05-01  Will Newton  <will.newton@linaro.org>
2924             Bernard Ogden  <bernie.ogden@linaro.org>
2925
2926         * NEWS: Update fixed bug list.
2927
2928         [BZ #15119]
2929         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2930
2931 2014-04-30  David S. Miller  <davem@davemloft.net>
2932
2933         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2934         (libc_feholdexcept_setround_sparc_ctx): New function.
2935         (libc_fesetenv_sparc_ctx): Likewise.
2936         (libc_feupdateenv_sparc_ctx): Likewise.
2937         (libc_feholdsetround_sparc_ctx): Likewise.
2938         (libc_feholdexcept_setround_ctx): Define.
2939         (libc_feholdexcept_setroundf_ctx): Likewise.
2940         (libc_feholdexcept_setroundl_ctx): Likewise.
2941         (libc_fesetenv_ctx): Likewise.
2942         (libc_fesetenvf_ctx): Likewise.
2943         (libc_fesetenvl_ctx): Likewise.
2944         (libc_feupdateenv_ctx): Likewise.
2945         (libc_feupdateenvf_ctx): Likewise.
2946         (libc_feupdateenvl_ctx): Likewise.
2947         (libc_feresetround_ctx): Likewise.
2948         (libc_feresetroundf_ctx): Likewise.
2949         (libc_feresetroundl_ctx): Likewise.
2950         (libc_feholdsetround_ctx): Likewise.
2951         (libc_feholdsetroundf_ctx): Likewise.
2952         (libc_feholdsetroundl_ctx): Likewise.
2953
2954         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2955         with __USE_GNU instead of XOPEN cpp guards.
2956
2957         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2958         0.
2959
2960         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2961         with XOPEN cpp guards.
2962
2963 2014-04-30  Julian Brown  <julian@codesourcery.com>
2964
2965         [BZ #16888]
2966         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2967         handling.
2968
2969 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
2970
2971         [BZ #9894]
2972         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2973         Change to 2.6.32.
2974         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2975         * sysdeps/unix/sysv/linux/configure: Regenerated.
2976         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2977         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2978         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2979         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2980         * README: Update reference to required Linux kernel version.
2981         * manual/install.texi (Linux): Update reference to required Linux
2982         kernel headers version.
2983         * INSTALL: Regenerated.
2984
2985         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2986         header inclusion.
2987         [POSIX] (limits.h): Likewise.
2988         [POSIX] (math.h): Likewise.
2989         [POSIX] (sys/wait.h): Likewise.
2990         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2991         function.
2992         [POSIX] (stddef.h): Do not allow header inclusion.
2993
2994 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2995
2996         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2997
2998 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
2999
3000         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3001         Return immediately after lll_futex_wake.
3002
3003 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3004
3005         [BZ #16791]
3006         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3007         structure.
3008         (datahead_init_pos): Call datahead_init_common early.
3009         (datahead_init_neg): Likewise.
3010
3011         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3012         datahead_init_neg): New functions.
3013         * nscd/aicache.c (addhstaiX): Use them.
3014         * nscd/grpcache.c (cache_addgr): Likewise.
3015         * nscd/hstcache.c (cache_addhst): Likewise.
3016         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3017         * nscd/netgroupcache.c (do_notfound): Likewise.
3018         (addgetnetgrentX): Likewise.
3019         (addinnetgrX): Likewise.
3020         * nscd/pwdcache.c (cache_addpw): Likewise.
3021         * nscd/servicescache.c (cache_addserv): Likewise.
3022
3023 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3024             Atsushi Onoe  <atsushi@onoe.org>
3025
3026         [BZ #14308]
3027         [BZ #12994]
3028         [BZ #13651]
3029         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3030         one response is valid.
3031         * resolv/res_send.c (send_dg): Check for validity of other
3032         response if the current response is a referral.
3033
3034 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3035
3036         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3037
3038 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3039
3040         [BZ #16823]
3041         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3042         Always divide by positive zero when computing -Inf result.
3043         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3044         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3045
3046 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3047
3048         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3049         FPSCR if value do not change.
3050         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3051         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3052         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3053         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3054         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3055         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3056         function.
3057
3058 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3059
3060         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3061         * sysdeps/unix/sysv/linux/hppa: Move directory from
3062         ports/systeps/unix/sysv/linux/hppa.
3063         * README: Update listing for hppa-*-linux-gnu.
3064
3065 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3066
3067         [BZ #16754]
3068         * manual/stdio.texi (Hook functions): Fix types of stream hook
3069         functions.
3070         [BZ #16854]
3071         * socket/sys/socket.h: Fix typo in comment.
3072
3073 2014-04-28  Wilco  <wdijkstr@arm.com>
3074
3075         * sysdeps/arm/fenv_private.h: New file.
3076         * sysdeps/arm/math_private.h: New file.
3077         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3078
3079 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3080
3081         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3082         with __int128_t.
3083         (La_x86_64_retval): Likewise.
3084
3085 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3086
3087         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3088         fpsr if value didn't change.
3089         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3090         to fpcr if value didn't change.
3091         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3092         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3093         fpsr or fpcr if value didn't change.
3094         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3095         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3096         fpcr if value didn't change.
3097         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3098         to fpsr if value didn't change.
3099
3100 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3101
3102         * nptl/tst-sem3.c: Use test-skeleton.c
3103         (main): Rename to do_test.  Use return instead of
3104         exit.
3105         * nptl/tst-sem4.c: Use test-skeleton.c
3106         (main): Rename to do_test.
3107
3108 2014-04-22  David S. Miller  <davem@davemloft.net>
3109
3110         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3111         (struct sigaction): New struct member __glibc_reserved0, change
3112         type of sa_flags to int.
3113
3114 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3115
3116         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3117         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3118
3119 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3120
3121         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3122         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3123
3124 2014-04-22  Will Newton  <will.newton@linaro.org>
3125             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3126
3127         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3128         (__longjmp): Add longjmp and longjmp_target SystemTap
3129         probes.
3130         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3131         (__sigsetjmp): Add setjmp SystemTap probe.
3132
3133 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3134
3135         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3136         match manual order.
3137
3138 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3139
3140         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3141
3142         * sysdeps/powerpc/fpu/fenv_private.h
3143         (libc_feholdexcept_setroundl_ctx): Define to
3144         libc_feholdexcept_setround_ppc_ctx.
3145         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3146         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3147         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3148         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3149
3150 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3151
3152         * sysdeps/aarch64/math-tests.h: New file.
3153
3154 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3155
3156         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3157         New.
3158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3159         Check and set bit_AVX2_Usable.
3160         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3161         macro.
3162         (bit_AVX2): Likewise.
3163         (index_AVX2_Usable): Likewise.
3164         (CPUID_AVX2): Likewise.
3165         (HAS_AVX2): Likewise.
3166
3167 2014-04-17  Will Newton  <will.newton@linaro.org>
3168
3169         * manual/setjmp.texi (System V contexts): Add note that
3170         calling setcontext on a context created by a call to a
3171         signal handler is undefined.  Update text to note that
3172         setcontext from a signal handler is possible but not
3173         recommended.
3174
3175         [BZ #16629]
3176         * stdlib/tst-setcontext.c: Include signal.h.
3177         (main): Check that the signal stack before and
3178         after swapcontext is the same.
3179
3180         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3181         Re-implement to restore registers in user code and avoid
3182         rt_sigreturn system call.
3183
3184 2014-04-17  Wilco  <wdijkstr@arm.com>
3185
3186         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3187         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3188         * math/test-fenv.c: Skip exception trap tests on targets which only
3189         support non-stop mode.
3190
3191 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3192             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3193
3194         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3195         (libc_feholdsetround_aarch64_ctx)
3196         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3197         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3198         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3199         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3200         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3201         (libc_feresetround_noexl_ctx): Define.
3202
3203 2014-04-16  Richard Henderson  <rth@redhat.com>
3204
3205         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3206
3207         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3208         unwind tables.
3209
3210         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3211         const from the non-libc, non-ldso copy.
3212
3213         * sysdeps/alpha/libm-test-ulps: Regenerate.
3214
3215 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3216             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3217
3218         * sysdeps/aarch64/fpu/math_private.h: New file.
3219
3220 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3221
3222         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3223
3224 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3225
3226         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3227         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3228         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3229         Intel MPX bound registers before _dl_profile_fixup.
3230         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3231         registers after _dl_profile_fixup.  Save and restore bound
3232         registers bnd0/bnd1 when calling _dl_call_pltexit.
3233         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3234         (LR_BND_OFFSET): Likewise.
3235         (LRV_BND0_OFFSET): Likewise.
3236         (LRV_BND1_OFFSET): Likewise.
3237
3238 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3239
3240         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3241         to...
3242         * sysdeps/mach/hurd/i386/tls.h: ... here.
3243         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3244         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3245         fields.
3246
3247 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3248
3249         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3250
3251 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3252
3253         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3254
3255 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3256
3257         [BZ #14770]
3258         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3259         * sysdeps/s390/configure: Regenerate.
3260
3261         [BZ #16824]
3262         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3263         Set round-to-nearest internally to reduce error accumulation.
3264
3265 2014-04-16  Alan Modra  <amodra@gmail.com>
3266
3267         [BZ #16740]
3268         [BZ #16619]
3269         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3270         * math/libm-test.inc (frexp_test_data): Add tests.
3271         * NEWS: Update fixed bug list.
3272
3273 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3274
3275         * benchtests/Makefile: Depend on libraries in build directory.
3276         (bench-math): Separate out math tests.
3277         (bench-pthread): Separate out pthread tests.
3278         (bench): Include math and pthread tests.
3279
3280 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3281
3282         [BZ #16831]
3283         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3284         _dl_debug_initialize.
3285
3286         * configure.ac: Remove SELinux header check.
3287         * configure: Regenerate.
3288         * nscd/selinux.c (perms): Array of const char* to permission names.
3289         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3290         default policy. Call string_to_security_class and string_to_av_perm to
3291         translate strings. Enforce default policy and call avs_has_perm with
3292         results of translated strings.
3293
3294 2014-04-13  David S. Miller  <davem@davemloft.net>
3295
3296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3297
3298 2014-04-12  Allan McRae  <allan@archlinux.org>
3299
3300         [BZ #16838]
3301         * manual/string.texi (Collation Functions): Fix qsort argument
3302         order in example.
3303         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3304
3305 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3306
3307         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3308         Make the test a no-op if there are no exceptions defined.
3309
3310 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3311
3312         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3313         enable-hardcoded-path-in-tests
3314
3315 2014-04-11  Will Newton  <will.newton@linaro.org>
3316
3317         * benchtests/Makefile (extra-objs): Add json-lib.o.
3318         (bench-func): Tidy up JSON output.
3319         * benchtests/bench-skeleton.c: Include json-lib.h.
3320         (main): Use JSON library functions to do output of
3321         benchmark results.
3322         * benchtests/bench-timing-type.c (main): Output the
3323         timing type simply, leaving formatting to the user.
3324         * benchtests/json-lib.c: New file.
3325         * benchtests/json-lib.h: Likewise.
3326
3327 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3328
3329         [BZ #15215]
3330         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3331         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3332         memory barriers.  Add comments.
3333         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3334         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3335         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3336         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3337         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3338         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3339
3340 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3341
3342         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3343         * sysdeps/s390/s390-64/configure.ac: ... this ...
3344         * sysdeps/s390/configure.ac: ... to here.
3345         * sysdeps/s390/s390-32/configure: Delete file.
3346         * sysdeps/s390/s390-64/configure: Delete file.
3347         * sysdeps/s390/configure: Regenerate.
3348
3349 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3350
3351         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3352
3353 2014-04-11  Will Newton  <will.newton@linaro.org>
3354
3355         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3356         to zero if it is not defined elsewhere.  (mtrim): Test
3357         the value of MALLOC_DEBUG with #if rather than #ifdef.
3358
3359 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3360
3361         * benchtests/pthread_once-inputs: New file.
3362         * benchtests/pthread_once-source.c: New file.
3363         * benchtests/README: Update documentation.
3364
3365 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3366             H.J. Lu  <hongjiu.lu@intel.com>
3367
3368         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3369         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3370         * sysdeps/x86_64/configure: Regenerated.
3371         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3372         macro.
3373         (REGISTER_SAVE_RAX): Likewise.
3374         (REGISTER_SAVE_RCX): Likewise.
3375         (REGISTER_SAVE_RDX): Likewise.
3376         (REGISTER_SAVE_RSI): Likewise.
3377         (REGISTER_SAVE_RDI): Likewise.
3378         (REGISTER_SAVE_R8): Likewise.
3379         (REGISTER_SAVE_R9): Likewise.
3380         (REGISTER_SAVE_BND0): Likewise.
3381         (REGISTER_SAVE_BND1): Likewise.
3382         (REGISTER_SAVE_BND2): Likewise.
3383         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3384         bound registers when calling _dl_fixup.
3385
3386 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3387
3388         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3389         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3390         of its definition.
3391         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3392         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3393         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3394         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3395         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3396         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3397         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3398
3399 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3400
3401         [BZ #15514]
3402         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3403         pathconf(_PC_NAME_MAX).
3404
3405 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3406
3407         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3408         Remove macro usage.
3409         (__PTHREAD_SPINS): Move definition to ...
3410         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3411         (__PTHREAD_SPINS): ... here.
3412         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3413         (__PTHREAD_SPIN): Likewise.
3414         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3415         (__PTHREAD_SPIN): Likewise.
3416         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3417         (__PTHREAD_SPIN): Likewise.
3418         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3419         (__PTHREAD_SPIN): Likewise.
3420         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3421         (__PTHREAD_SPIN): Likewise.
3422         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3423         (__PTHREAD_SPIN): Likewise.
3424         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3425         (__PTHREAD_SPIN): Likewise.
3426         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3427         (__PTHREAD_SPIN): Likewise.
3428         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3429         (__PTHREAD_SPIN): Likewise.
3430         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3431         (__PTHREAD_SPIN): Likewise.
3432         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3433         (__PTHREAD_SPIN): Likewise.
3434         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3435         (__PTHREAD_SPIN): Likewise.
3436
3437         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3438         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3439         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3440         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3441         imply folder.
3442         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3443         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3444         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3445         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3446         correct imply path.
3447         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3448         strlen symbol for non multi-arch builds.
3449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3450         missing hidden_def and weak_alias.
3451
3452 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3453
3454         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3455
3456 2014-04-07  Will Newton  <will.newton@linaro.org>
3457
3458         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3459         and contents.  [!_LIBC] Remove #ifndef and contents.
3460         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3461         * string/memccpy.c (__memccpy): Use ANSI prototype.
3462         * string/memfrob.c (memfrob): Likewise.
3463         * string/strcoll.c (STRCOLL): Likewise.
3464         * string/strlen.c (strlen): Likewise.
3465         * string/strtok.c (STRTOK): Likewise.
3466         * string/strcat.c: Remove unused #include of memcopy.h.
3467         (strcat): Use ANSI prototype.
3468         * string/strchr.c: Remove unused #include of memcopy.h.
3469         (strchr): Use ANSI prototype.
3470         * string/strcmp.c: Remove unused #include of memcopy.h.
3471         (strcmp): Use ANSI prototype.
3472         * string/strcpy.c: Remove unused #include of memcopy.h.
3473         (strcpy): Use ANSI prototype.
3474
3475 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3476
3477         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3478         * config.make.in (config-extra-cppflags): Set it from
3479         libc_extra_cppflags.
3480         * configure.ac (libc_extra_cflags): Make it accumulate over
3481         configure fragments.
3482         (libc_extra_cppflags): New flag.
3483         * configure. Regenerate.
3484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3485         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3486         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3488
3489         [BZ #16815]
3490         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3491         result for FE_DOWNWARD rounding mode.
3492         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3493         Likewise.
3494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3495
3496 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3497
3498         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3499         in function argument name.
3500
3501 2014-04-03  David Svoboda  <svoboda@cert.org>
3502
3503         [BZ #5666]
3504         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3505         explicitly.
3506
3507 2014-04-03  Roland McGrath  <roland@hack.frob.com>
3508
3509         * elf/dl-unmap-segments.h: New file.
3510         * sysdeps/generic/ldsodefs.h
3511         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3512         * elf/dl-close.c: Include <dl-unmap-segments.h>.
3513         * elf/dl-fptr.c: Likewise.
3514         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3515         * sysdeps/aarch64/tlsdesc.c: Likewise.
3516         * sysdeps/arm/tlsdesc.c: Likewise.
3517         * sysdeps/i386/tlsdesc.c: Likewise.
3518         * sysdeps/tile/dl-runtime.c: Likewise.
3519         * sysdeps/x86_64/tlsdesc.c: Likewise.
3520         * elf/dl-load.h: New file.
3521         * elf/dl-load.c: Include it.
3522         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3523         Macros moved to dl-load.h.
3524         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3525         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3526         Use _dl_unmap_segments in place of __munmap.
3527         Break out segment-mapping loop into ...
3528         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3529
3530 2014-04-03  Will Newton  <will.newton@linaro.org>
3531
3532         * elf/dl-lookup.c (do_lookup_x): Remove comment
3533         referring to nested function and move variable
3534         declarations down to before first use.
3535
3536 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
3537
3538         [BZ #16799]
3539         [BZ #16800]
3540         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3541         with 0 numerator.
3542         * math/s_catanf.c (__catanf): Likewise.
3543         * math/s_catanh.c (__catanh): Likewise.
3544         * math/s_catanhf.c (__catanhf): Likewise.
3545         * math/s_catanhl.c (__catanhl): Likewise.
3546         * math/s_catanl.c (__catanl): Likewise.
3547         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3548         by positive zero when computing -Inf result.
3549         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3550         (catanh_test): Likewise.
3551         * sysdeps/i386/fpu/libm-test-ulps: Update.
3552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3553
3554         [BZ #16789]
3555         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3556         instead of using underflowing value in computing result.
3557         * math/s_clog10.c (__clog10): Likewise.
3558         * math/s_clog10f.c (__clog10f): Likewise.
3559         * math/s_clog10l.c (__clog10l): Likewise.
3560         * math/s_clogf.c (__clogf): Likewise.
3561         * math/s_clogl.c (__clogl): Likewise.
3562         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3563         (clog10_test): Likewise.
3564         * sysdeps/i386/fpu/libm-test-ulps: Update.
3565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3566
3567 2014-04-02  Alan Modra  <amodra@gmail.com>
3568
3569         [BZ #16739]
3570         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3571         output when value is near a power of two.  Use int64_t for lx and
3572         remove casts.  Use decimal rather than hex exponent constants.
3573         Don't use long double multiplication when double will suffice.
3574         * math/libm-test.inc (nextafter_test_data): Add tests.
3575         * NEWS: Add 16739 and 16786 to bug list.
3576
3577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3578
3579         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3580
3581 2014-04-01  Will Newton  <will.newton@linaro.org>
3582
3583         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3584         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
3585
3586 2014-04-01  Florian Weimer  <fweimer@redhat.com>
3587
3588         [BZ #13347]
3589         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3590         * nptl/tst-setuid2.c: New file.
3591         * nptl/Makefile (xtests): Add tst-setuid2.
3592
3593 2014-04-01  Alan Modra  <amodra@gmail.com>
3594
3595         [BZ #16786]
3596         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3597
3598 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3599
3600         [BZ #6803]
3601         [BZ #6804]
3602         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3603         set errno as appropriate.
3604         * math/w_scalbf.c (__scalbf): Likewise.
3605         * math/w_scalbl.c (__scalbl): Likewise.
3606         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3607         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3608         * math/libm-test.inc (scalb_test_data): Add errno expectations.
3609         Add more NaN tests.
3610
3611         [BZ #16349]
3612         * math/w_atan2.c: Include <errno.h>.
3613         (__atan2): Set errno for result underflowing to zero.
3614         * math/w_atan2f.c: Include <errno.h>.
3615         (__atan2f): Set errno for result underflowing to zero.
3616         * math/w_atan2l.c: Include <errno.h>.
3617         (__atan2l): Set errno for result underflowing to zero.
3618         * math/auto-libm-test-in: Don't allow missing errno for some atan2
3619         tests.
3620         * math/auto-libm-test-out: Regenerated.
3621
3622 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3623
3624         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3625         Encode instruction correctly in little endian.
3626         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3627         Likewise.
3628         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3629         Likewise.
3630         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3631         Likewise.
3632         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3633         Likewise.
3634
3635 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
3636
3637         [BZ #9894]
3638         * sysdeps/unix/sysv/linux/kernel-features.h
3639         [__sparc__ && !__arch64__ && !__sparc_v9__]
3640         (__ASSUME_SET_ROBUST_LIST): Do not define.
3641         [__sparc__ && !__arch64__ && !__sparc_v9__]
3642         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3643         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3644         Likewise.
3645         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3646         (__ASSUME_FUTEX_LOCK_PI): Undefine.
3647         (__ASSUME_REQUEUE_PI): Likewise.
3648         (__ASSUME_SET_ROBUST_LIST): Likewise.
3649         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3650         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3651         Undefine.
3652         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3653         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3654         Likewise.
3655         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3656         Likewise.
3657         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3658         Likewise.
3659         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3660         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3661         Undefine.
3662         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3663         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3664         Likewise.
3665
3666         [BZ #16648]
3667         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3668         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3669         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3670
3671 2014-03-31  Will Newton  <will.newton@linaro.org>
3672
3673         * benchtests/Makefile (bench): Add ffs and ffsll to list
3674         of tests.
3675         * benchtests/ffs-inputs: New file.
3676         * benchtests/ffsll-inputs: Likewise.
3677
3678 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
3679
3680         [BZ #16770]
3681         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3682         too large before casting to int.
3683         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3684         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3685         * math/libm-test.inc (scalb_test_data): Add more tests.
3686
3687 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3688
3689         * benchtests/Makefile (DETAILED_OPT): New make option.
3690         (bench-func): Run benchmark program with -d if DETAILED_OPT is
3691         set.
3692         * benchtests/bench-skeleton.c: Include stdbool.h.
3693         (main): Store and print timings per input.
3694         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3695         member to each argument value.
3696         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3697         (_print_arg_data): Initialize per-input timing to 0.
3698
3699         * benchtests/Makefile (timing-type): New binary.
3700         (bench-clean): Also remove bench-timing-type.
3701         (bench): New target for timing-type.
3702         (bench-func): Print output in JSON format.
3703         * benchtests/bench-skeleton.c (main): Print output in JSON
3704         format.
3705         * benchtests/bench-timing-type.c: New file.
3706         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3707         (TIMING_PRINT_STATS): Remove.
3708         * benchtests/scripts/bench.py (_print_arg_data): Store variant
3709         name separately.
3710
3711         * benchtests/bench-modf.c: Remove.
3712         * benchtests/modf-inputs: New inputs file.
3713
3714 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
3715
3716         [BZ #16362]
3717         * math/s_clog10.c (M_PI_LOG10E): New macro.
3718         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3719         imaginary parts are 0.
3720         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3721         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3722         imaginary parts are 0.
3723         * math/s_clog10l.c (M_PI_LOG10El): New macro.
3724         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3725         imaginary parts are 0.
3726         * math/libm-test.inc (clog10_test_data): Update expected results
3727         for when real and imaginary parts are 0.
3728
3729 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
3730
3731         * elf/dl-load.c: Finish conversion of __builtin_expect into
3732         __glibc_{un}likely.
3733
3734 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
3735
3736         [BZ #16348]
3737         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3738         1+x for argument with exponent below -67.
3739         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3740         Likewise.
3741         * math/auto-libm-test-in: Add more tests of exp.
3742         * math/auto-libm-test-out: Regenerated.
3743
3744 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3745
3746         [BZ #16759]
3747         * inet/getnetgrent_r.c (get_nonempty_val): New function.
3748         (nscd_getnetgrent): Use it.
3749
3750         [BZ #16760]
3751         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3752         of stpcpy.
3753
3754 2014-03-27  Andi Kleen  <ak@linux.intel.com>
3755
3756         * nptl/sysdeps/unix/sysv/linux/x86_64/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.
3762         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3763         (lll_robust_lock, lll_cond_lock, lll_timedlock)
3764         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3765         (lll_robust_unlock): Remove out of line section. Use cfi
3766         intrinsics.
3767         (LLL_STUB_UNWIND_INFO*): Remove.
3768
3769 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3770
3771         [BZ #16758]
3772         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3773         blank values.
3774
3775 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
3776
3777         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3778
3779 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
3780
3781         [BZ #16198]
3782         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3783         fnstenv.
3784         * math/test-fenv-preserve.c: New file.
3785         * math/Makefile (tests): Add test-fenv-preserve.
3786
3787 2014-03-26  Will Newton <will.newton@linaro.org>
3788
3789         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3790
3791 2014-03-25  Roland McGrath  <roland@hack.frob.com>
3792
3793         * scripts/versionlist.awk: Partition the version sets and emit all
3794         GLIBC_* (sorted) before all others (sorted).
3795
3796 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3797
3798         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3799         GLIBC_2.2.5 version.
3800
3801 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3802
3803         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3804         calls.
3805
3806         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3807         previous change.
3808
3809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3810
3811 2014-03-25  Andreas Schwab  <schwab@suse.de>
3812
3813         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3814         label to be used after in6ailist is initialized.
3815
3816 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3817
3818         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3819         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3820
3821 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
3822
3823         [BZ #16357]
3824         [BZ #16599]
3825         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3826         min_plus_half.
3827         (fp_formats): Update initializers.
3828         (init_fp_formats): Initialize new field.
3829         (output_for_one_input_case): Allow underflow for results up to
3830         min_plus_half.
3831         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3832         * math/auto-libm-test-in: Don't mark some underflows from asin and
3833         atanh as spurious.
3834         * math/auto-libm-test-out: Regenerated.
3835         * sysdeps/i386/fpu/libm-test-ulps: Update.
3836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3837
3838 2014-03-25  Andreas Schwab  <schwab@suse.de>
3839
3840         * libio/Makefile (tst-ftell-partial-wide-ENV)
3841         (tst-ftell-active-handler-ENV): Define.
3842
3843 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
3844
3845         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3846
3847 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3848
3849         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3850
3851 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3852
3853         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3854         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3855         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3856
3857 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3858
3859         [BZ #16634]
3860         * elf/dl-load.c (open_verify): Add mode parameter.
3861         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3862         (open_path): Change from boolean 'secure' to complete flag 'mode'
3863         (_dl_map_object): Adjust.
3864         * elf/Makefile (tests): Add tst-dlopen-aout.
3865         * elf/tst-dlopen-aout.c: New test.
3866
3867 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
3868
3869         [BZ #16714]
3870         * sysdeps/unix/sysv/linux/s390/bits/stat.h
3871         (struct stat): Rename member pad0 to __glibc_reserved0.
3872
3873         [BZ #16712]
3874         * sysdeps/s390/s390-32/bits/wordsize.h
3875         (__WORDSIZE32_SIZE_ULONG): New define.
3876         * sysdeps/s390/s390-64/bits/wordsize.h
3877         (__WORDSIZE32_SIZE_ULONG): Likewise.
3878         * sysdeps/generic/stdint.h (SIZE_MAX):
3879         Define as UL if __WORDSIZE32_SIZE_ULONG.
3880
3881         [BZ #16713]
3882         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3883         (__glibc_reserved0): New variable.
3884         (sa_flags): Change type to int.
3885
3886         * posix/Makefile (before-compile): Use += before-compile instead
3887         of a :=.
3888
3889         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3890         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3891
3892 2014-03-20  Andreas Schwab  <schwab@suse.de>
3893
3894         [BZ #16743]
3895         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3896         non-matching result from nscd.
3897
3898 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3899
3900         * scripts/bench.py: Moved to ...
3901         * benchtests/scripts/bench.py: ... here.
3902         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3903
3904 2014-03-24  Andreas Schwab  <schwab@suse.de>
3905
3906         [BZ #16002]
3907         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3908         alloca_account and account alloca use for struct in6ailist.
3909
3910 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
3911
3912         [BZ #16284]
3913         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3914         rounding mode to recompute results that overflow to infinity or
3915         underflow to zero.
3916         * math/auto-libm-test-in: Don't mark tests as expected to fail for
3917         bug 16284.
3918         * math/auto-libm-test-out: Regenerated.
3919         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3920         (ccosh_test): Likewise.
3921         (csin_test_data): Use plus_oflow.
3922         (csin_test): Use ALL_RM_TEST.
3923         (csinh_test_data): Use plus_oflow.
3924         (csinh_test): Use ALL_RM_TEST.
3925         * sysdeps/i386/fpu/libm-test-ulps: Update.
3926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927
3928 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
3929
3930         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3931         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3932         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3933
3934         [BZ #16731]
3935         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3936         when x - 1 is zero.
3937         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3938         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3939         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3940         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3941         argument is 1.
3942         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3943         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3944         zero.
3945         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3946         * sysdeps/i386/fpu/libm-test-ulps: Update.
3947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3948
3949 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3950
3951         * scripts/bench.pl: Remove file.
3952         * scripts/bench.py: New benchmark script.
3953         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3954         * benchtests/README: Mention python dependency.
3955         * scripts/pylintrc: New file.
3956         * scripts/pylint: New file.
3957
3958         * bits/mathdef.h: Use #ifdef instead of #if.
3959         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3960         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3961         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3962         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3963         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3964         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3965
3966 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3967             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3968
3969         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3971         and strpbrk-ppc64 objects.
3972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3973         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3974         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3975         multiarch strpbrk for POWER7.
3976         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3977         multiarch strpbrk for PPC64.
3978         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3979         ifunc selector.
3980         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3981         strpbrk for POWER7.
3982
3983 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
3984
3985         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3986         (atan_test): Likewise.
3987         (atanh_test_data): Use NO_TEST_INLINE for two tests.
3988         (atanh_test): Use ALL_RM_TEST.
3989         (atan2_test_data): Likewise.
3990         (cabs_test): Likewise.
3991         (cacosh_test): Likewise.
3992         (carg_test): Likewise.
3993         (casin_test): Likewise.
3994         (casinh_test): Likewise.
3995         (cbrt_test): Likewise.
3996         (csqrt_test): Likewise.
3997         (erf_test): Likewise.
3998         (erfc_test): Likewise.
3999         (pow10_test): Likewise.
4000         (exp2_test): Likewise.
4001         (hypot_test): Likewise.
4002         (j0_test): Likewise.
4003         (j1_test): Likewise.
4004         (lgamma_test): Likewise.
4005         (gamma_test): Likewise.
4006         (sincos_test): Likewise.
4007         (tanh_test): Likewise.
4008         (y0_test): Likewise.
4009         (y1_test): Likewise.
4010         * sysdeps/i386/fpu/libm-test-ulps: Update.
4011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4012
4013 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4014
4015         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4017         and strcspn-ppc64 objects.
4018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4019         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4020         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4021         multiarch strcspn for POWER7.
4022         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4023         multiarch strcspn for PPC64.
4024         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4025         ifunc selector.
4026         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4027         strcspn for POWER7.
4028
4029 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4030
4031         * math/gen-libm-test.pl (generate_testfile): Expect only function
4032         name as argument to AUTO_TESTS_* and pass results for all rounding
4033         modes to parse_args.
4034         (parse_auto_input): Separate inputs of automatic tests from
4035         outputs before storing in %auto_tests.
4036         * math/libm-test.inc (acos_test_data): Update call to
4037         AUTO_TESTS_f_f.
4038         (acos_test): Use ALL_RM_TEST.
4039         (acos_tonearest_test_data): Remove.
4040         (acos_test_tonearest): Likewise.
4041         (acos_towardzero_test_data): Likewise.
4042         (acos_test_towardzero): Likewise.
4043         (acos_downward_test_data): Likewise.
4044         (acos_test_downward): Likewise.
4045         (acos_upward_test_data): Likewise.
4046         (acos_test_upward): Likewise.
4047         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4048         (asin_test_data): Likewise.
4049         (asin_test): Use ALL_RM_TEST.
4050         (asin_tonearest_test_data): Remove.
4051         (asin_test_tonearest): Likewise.
4052         (asin_towardzero_test_data): Likewise.
4053         (asin_test_towardzero): Likewise.
4054         (asin_downward_test_data): Likewise.
4055         (asin_test_downward): Likewise.
4056         (asin_upward_test_data): Likewise.
4057         (asin_test_upward): Likewise.
4058         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4059         (atan_test_data): Likewise.
4060         (atanh_test_data): Likewise.
4061         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4062         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4063         (carg_test_data): Likewise.
4064         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4065         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4066         (ccosh_test_data): Likewise.
4067         (cexp_test_data): Likewise.
4068         (clog_test_data): Likewise.
4069         (clog10_test_data): Likewise.
4070         (cos_test_data): Update call to AUTO_TESTS_f_f.
4071         (cos_test): Use ALL_RM_TEST.
4072         (cos_tonearest_test_data): Remove.
4073         (cos_test_tonearest): Likewise.
4074         (cos_towardzero_test_data): Likewise.
4075         (cos_test_towardzero): Likewise.
4076         (cos_downward_test_data): Likewise.
4077         (cos_test_downward): Likewise.
4078         (cos_upward_test_data): Likewise.
4079         (cos_test_upward): Likewise.
4080         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4081         (cosh_test): Use ALL_RM_TEST.
4082         (cosh_tonearest_test_data): Remove.
4083         (cosh_test_tonearest): Likewise.
4084         (cosh_towardzero_test_data): Likewise.
4085         (cosh_test_towardzero): Likewise.
4086         (cosh_downward_test_data): Likewise.
4087         (cosh_test_downward): Likewise.
4088         (cosh_upward_test_data): Likewise.
4089         (cosh_test_upward): Likewise.
4090         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4091         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4092         (ctan_test_data): Likewise.
4093         (ctan_test): Use ALL_RM_TEST.
4094         (ctan_tonearest_test_data): Remove.
4095         (ctan_test_tonearest): Likewise.
4096         (ctan_towardzero_test_data): Likewise.
4097         (ctan_test_towardzero): Likewise.
4098         (ctan_downward_test_data): Likewise.
4099         (ctan_test_downward): Likewise.
4100         (ctan_upward_test_data): Likewise.
4101         (ctan_test_upward): Likewise.
4102         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4103         (ctanh_test): Use ALL_RM_TEST.
4104         (ctanh_tonearest_test_data): Remove.
4105         (ctanh_test_tonearest): Likewise.
4106         (ctanh_towardzero_test_data): Likewise.
4107         (ctanh_test_towardzero): Likewise.
4108         (ctanh_downward_test_data): Likewise.
4109         (ctanh_test_downward): Likewise.
4110         (ctanh_upward_test_data): Likewise.
4111         (ctanh_test_upward): Likewise.
4112         (erf_test_data): Update call to AUTO_TESTS_f_f.
4113         (erfc_test_data): Likewise.
4114         (exp_test_data): Likewise.
4115         (exp_test): Use ALL_RM_TEST.
4116         (exp_tonearest_test_data): Remove.
4117         (exp_test_tonearest): Likewise.
4118         (exp_towardzero_test_data): Likewise.
4119         (exp_test_towardzero): Likewise.
4120         (exp_downward_test_data): Likewise.
4121         (exp_test_downward): Likewise.
4122         (exp_upward_test_data): Likewise.
4123         (exp_test_upward): Likewise.
4124         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4125         (exp10_test): Use ALL_RM_TEST.
4126         (exp10_tonearest_test_data): Remove.
4127         (exp10_test_tonearest): Likewise.
4128         (exp10_towardzero_test_data): Likewise.
4129         (exp10_test_towardzero): Likewise.
4130         (exp10_downward_test_data): Likewise.
4131         (exp10_test_downward): Likewise.
4132         (exp10_upward_test_data): Likewise.
4133         (exp10_test_upward): Likewise.
4134         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4135         (expm1_test_data): Likewise.
4136         (expm1_test): Use ALL_RM_TEST.
4137         (expm1_tonearest_test_data): Remove.
4138         (expm1_test_tonearest): Likewise.
4139         (expm1_towardzero_test_data): Likewise.
4140         (expm1_test_towardzero): Likewise.
4141         (expm1_downward_test_data): Likewise.
4142         (expm1_test_downward): Likewise.
4143         (expm1_upward_test_data): Likewise.
4144         (expm1_test_upward): Likewise.
4145         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4146         (fma_test): Use ALL_RM_TEST.
4147         (fma_towardzero_test_data): Remove.
4148         (fma_test_towardzero): Likewise.
4149         (fma_downward_test_data): Likewise.
4150         (fma_test_downward): Likewise.
4151         (fma_upward_test_data): Likewise.
4152         (fma_test_upward): Likewise.
4153         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4154         (j0_test_data): Update call to AUTO_TESTS_f_f.
4155         (j1_test_data): Likewise.
4156         (jn_test_data): Update call to AUTO_TESTS_if_f.
4157         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4158         (log_test_data): Update call to AUTO_TESTS_f_f.
4159         (log10_test_data): Likewise.
4160         (log1p_test_data): Likewise.
4161         (log2_test_data): Likewise.
4162         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4163         (pow_tonearest_test_data): Likewise.
4164         (sin_test_data): Update call to AUTO_TESTS_f_f.
4165         (sin_test): Use ALL_RM_TEST.
4166         (sin_tonearest_test_data): Remove.
4167         (sin_test_tonearest): Likewise.
4168         (sin_towardzero_test_data): Likewise.
4169         (sin_test_towardzero): Likewise.
4170         (sin_downward_test_data): Likewise.
4171         (sin_test_downward): Likewise.
4172         (sin_upward_test_data): Likewise.
4173         (sin_test_upward): Likewise.
4174         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4175         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4176         (sinh_test): Use ALL_RM_TEST.
4177         (sinh_tonearest_test_data): Remove.
4178         (sinh_test_tonearest): Likewise.
4179         (sinh_towardzero_test_data): Likewise.
4180         (sinh_test_towardzero): Likewise.
4181         (sinh_downward_test_data): Likewise.
4182         (sinh_test_downward): Likewise.
4183         (sinh_upward_test_data): Likewise.
4184         (sinh_test_upward): Likewise.
4185         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4186         (sqrt_test): Use ALL_RM_TEST.
4187         (sqrt_tonearest_test_data): Remove.
4188         (sqrt_test_tonearest): Likewise.
4189         (sqrt_towardzero_test_data): Likewise.
4190         (sqrt_test_towardzero): Likewise.
4191         (sqrt_downward_test_data): Likewise.
4192         (sqrt_test_downward): Likewise.
4193         (sqrt_upward_test_data): Likewise.
4194         (sqrt_test_upward): Likewise.
4195         (tan_test_data): Update call to AUTO_TESTS_f_f.
4196         (tan_test): Use ALL_RM_TEST.
4197         (tan_tonearest_test_data): Remove.
4198         (tan_test_tonearest): Likewise.
4199         (tan_towardzero_test_data): Likewise.
4200         (tan_test_towardzero): Likewise.
4201         (tan_downward_test_data): Likewise.
4202         (tan_test_downward): Likewise.
4203         (tan_upward_test_data): Likewise.
4204         (tan_test_upward): Likewise.
4205         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4206         (tgamma_test_data): Likewise.
4207         (y0_test_data): Likewise.
4208         (y1_test_data): Likewise.
4209         (yn_test_data): Update call to AUTO_TESTS_if_f.
4210         (main): Do not call removed functions.
4211
4212 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4213
4214         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4215         (ldexp_test_data): Remove.
4216         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4217         scalbn_test_data.
4218         (scalb_test): Use ALL_RM_TEST.
4219
4220 2014-03-19  Andreas Schwab  <schwab@suse.de>
4221
4222         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4223
4224 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4225
4226         [BZ #16649]
4227         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4228         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4229         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4230         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4231         (__ASSUME_PREADV): Undefine.
4232         (__ASSUME_PWRITEV): Likewise.
4233
4234 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4235
4236         * bits/mman-linux.h: Add comment about non-Linux use.
4237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4238         bits/mman-linux.h resting place.
4239
4240         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4241         * bits/mman-linux.h: ... here.
4242
4243 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4244
4245         * conform/conformtest.pl: Add standard definition when calling C
4246         preprocessor on data files.
4247         (checknamespace): Remove unused variable.
4248
4249 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4250
4251         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4252         minus_oflow, plus_uflow and minus_uflow in expected results.
4253         * math/libm-test.inc (scalbn_test_data): Add more tests of
4254         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4255         minus_uflow.
4256         (scalbn_test): Use ALL_RM_TEST.
4257         (scalbln_test_data): Add more tests of negative arguments.  Use
4258         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4259         (scalbln_test): Use ALL_RM_TEST.
4260
4261 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4262
4263         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4264
4265 2014-03-18  Will Newton  <will.newton@linaro.org>
4266
4267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4268         inaccurate comment.
4269
4270 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4271
4272         * Makerules [!subdir] (check-abi): Exit with error status if a
4273         test failed.
4274
4275 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4276
4277         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4278         for rint.  Include results for all rounding modes.
4279         (nearbyint_test): Use ALL_RM_TEST.
4280         (rint_test_data): Include all tests used for nearbyint.
4281
4282 2014-03-17  Will Newton  <will.newton@linaro.org>
4283
4284         * nptl/sysdeps/pthread/pthread.h: Revert previous
4285         change.
4286
4287         * sysdeps/generic/ldsodefs.h: Revert previous
4288         change.
4289
4290         * libio/genops.c: Revert previous change.
4291         * libio/libioP.h: Likewise.
4292         * stdio-common/vfprintf.c: Likewise.
4293
4294         * sysdeps/generic/math_private.h: Revert previous
4295         change.
4296
4297         * sysdeps/generic/math_private.h: Check whether
4298         HAVE_RM_CTX is defined with #ifdef rather
4299         than #if.
4300
4301         * argp/argp-fmtstream.h: Check whether
4302         __STRICT_ANSI__ is defined with #ifdef rather
4303         than #if.
4304         * argp/argp.h: Likewise.
4305
4306         * libio/genops.c: Check whether
4307         _IO_JUMPS_OFFSET is defined with #ifdef rather
4308         than #if.
4309         * libio/libioP.h: Likewise.
4310         * stdio-common/vfprintf.c: Likewise.
4311
4312         * sysdeps/generic/ldsodefs.h: Check whether
4313         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4314         than #if.
4315
4316         * nptl/sysdeps/pthread/pthread.h: Check
4317         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4318         its value.
4319
4320 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4321
4322         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4323         setting O_APPEND.
4324         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4325         test case.
4326
4327         [BZ #16680]
4328         * libio/fileops.c (_IO_file_open): Seek to end of file but
4329         don't cache the offset.
4330         (get_file_offset): Remove function.
4331         (do_ftell): Use cached offset when available.
4332         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4333         don't cache the offset.
4334         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4335         case.
4336         (do_one_test): Call it.
4337         (do_ftell_test): Fix up expected old offset for a+ mode.
4338         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4339         available.
4340
4341         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4342         up test status with function return status.
4343         (do_write_test): Likewise.
4344         (do_append_test): Likewise.
4345
4346         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4347         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4348         Remove.
4349
4350 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4351
4352         * math/gen-libm-test.pl (parse_args): Handle results specified for
4353         each rounding mode separately.
4354         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4355         tests and results from lrint_tonearest_test_data,
4356         lrint_towardzero_test_data, lrint_downward_test_data and
4357         lrint_upward_test_data.
4358         (lrint_test): Use ALL_RM_TEST.
4359         (lrint_tonearest_test_data): Remove.
4360         (lrint_test_tonearest): Likewise.
4361         (lrint_towardzero_test_data): Likewise.
4362         (lrint_test_towardzero): Likewise.
4363         (lrint_downward_test_data): Likewise.
4364         (lrint_test_downward): Likewise.
4365         (lrint_upward_test_data): Likewise.
4366         (lrint_test_upward): Likewise.
4367         (llrint_test_data): Merge in per-rounding-mode tests and results
4368         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4369         llrint_downward_test_data and llrint_upward_test_data.
4370         (llrint_test): Use ALL_RM_TEST.
4371         (llrint_tonearest_test_data): Remove.
4372         (llrint_test_tonearest): Likewise.
4373         (llrint_towardzero_test_data): Likewise.
4374         (llrint_test_towardzero): Likewise.
4375         (llrint_downward_test_data): Likewise.
4376         (llrint_test_downward): Likewise.
4377         (llrint_upward_test_data): Likewise.
4378         (llrint_test_upward): Likewise.
4379         (rint_test_data): Merge in per-rounding-mode tests and results
4380         from rint_tonearest_test_data, rint_towardzero_test_data,
4381         rint_downward_test_data and rint_upward_test_data.  Add
4382         per-rounding-mode results for tests not in those arrays.
4383         (rint_test): Use ALL_RM_TEST.
4384         (rint_tonearest_test_data): Remove.
4385         (rint_test_tonearest): Likewise.
4386         (rint_towardzero_test_data): Likewise.
4387         (rint_test_towardzero): Likewise.
4388         (rint_downward_test_data): Likewise.
4389         (rint_test_downward): Likewise.
4390         (rint_upward_test_data): Likewise.
4391         (rint_test_upward): Likewise.
4392         (main): Don't call removed functions.
4393
4394 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4395
4396         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4397         "Compiled on ..." crapola.  It is anti-useful.
4398
4399 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4400
4401         * scripts/evaluate-test.sh: Handle fourth argument to determine
4402         whether test run should stop on failure.
4403         * Makeconfig (stop-on-test-failure): New variable.
4404         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4405         $(stop-on-test-failure).
4406         * Makefile (tests): Give a summary of results from testing and
4407         exit with failure status if they include an ERROR or FAIL.
4408         (xtests): Likewise.
4409         * manual/install.texi (Configuring and compiling): Mention
4410         stop-on-test-failure=y.
4411         * INSTALL: Regenerated.
4412
4413 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4414
4415         * scripts/versionlist.awk: New file.
4416         * Makerules [$(build-shared) = yes]
4417         (postclean-generated): Add Versions.def, not Versions.def.v and
4418         Versions.def.v.i.
4419         ($(common-objpfx)Versions.def.v.i): Target removed.
4420         ($(common-objpfx)Versions.def): New target.
4421         ($(common-objpfx)Versions.all): Depend on that rather that
4422         $(common-objpfx)Versions.def.v.
4423         * Versions.def: File removed.
4424
4425         * Makeconfig (+gccwarn): Add -Wundef.
4426         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4427         a dl-sysdep.h breaking its contract.
4428         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4429         * include/stackinfo.h: New file.
4430         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4431         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4432         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4433         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4434         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4435         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4436         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4437         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4438         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4439         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4440         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4441         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4442         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4443         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4444         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4445
4446 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4447
4448         [BZ #16707]
4449         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4450         implementation.
4451         * math/libm-test.inc (round_test_data): Add more tests.
4452
4453         [BZ #16706]
4454         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4455         implementation.
4456         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4457
4458         [BZ #16701]
4459         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4460         implementation.
4461         * math/libm-test.inc (ceil_test_data): Add more tests.
4462
4463         * math/libm-test.inc (trunc_test_data): Add more tests related to
4464         BZ#16414.
4465
4466 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4467
4468         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4469         with #if rather than #ifdef.
4470         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4471
4472 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4473
4474         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4475         first.  Disable AVX-512 GCC support if assembler doesn't support
4476         it.
4477         * sysdeps/x86_64/configure: Regenerated.
4478
4479 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4480
4481         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4482         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4483         (__old_pthread_attr_setstack): Likewise.
4484         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4485         [!_STACK_GROWS_DOWN]: Likewise.
4486
4487 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4488
4489         * config.make.in (have-bash2): Delete.
4490         * configure.ac (libc_cv_have_bash2): Delete.
4491         * configure: Regenerate.
4492         * elf/Makefile (common-ldd-rewrite): Rename to ...
4493         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4494         (sh-ldd-rewrite): Delete.
4495         (bash-ldd-rewrite): Delete.
4496         (have-bash2): Delete checks.
4497         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4498         ldd-rewrite.
4499
4500         * config.make.in (have-ksh): Delete.
4501         (KSH): Delete.
4502         * configure.ac (libc_cv_have_ksh): Delete.
4503         * configure: Regenerate.
4504
4505         * elf/Makefile: Delete $(have-ksh) check.
4506         ($(objpfx)sotruss): Change KSH to BASH.
4507         * elf/sotruss.ksh: Rename to ...
4508         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
4509         function style to match POSIX.  Drop ksh vim mode setting.
4510
4511         * manual/time.texi (Specifying the Time Zone with TZ): Change
4512         Tuesday to Thursday.
4513
4514         * debug/tst-longjmp_chk2.c: Update header comment.
4515         (stackoverflow_handler): Add comment.  Call assert on pass value.
4516
4517 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
4518
4519         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4520         (HAVE_AVX512_ASM_SUPPORT): Likewise.
4521         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4522         (La_x86_64_vector): Add zmm.
4523         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4524         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4525         ($(objpfx)tst-audit10): New target.
4526         ($(objpfx)tst-audit10.out): Likewise.
4527         (tst-audit10-ENV): New.
4528         (AVX512-CFLAGS): Likewise.
4529         (CFLAGS-tst-audit10.c): Likewise.
4530         (CFLAGS-tst-auditmod10a.c): Likewise.
4531         (CFLAGS-tst-auditmod10b.c): Likewise.
4532         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4533         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4534         * sysdeps/x86_64/configure: Regenerated.
4535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4536         AVX-512 zmm register support.
4537         (_dl_x86_64_save_sse): Likewise.
4538         (_dl_x86_64_restore_sse): Likewise.
4539         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4540         size vector registers.
4541         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4542         (ZMM_SIZE): Likewise.
4543         * sysdeps/x86_64/tst-audit10.c: New file.
4544         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4545         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4546
4547 2014-03-13  Roland McGrath  <roland@hack.frob.com>
4548
4549         * configure.ac (HAVE_EHDR_START): New check.
4550         * configure: Regenerated.
4551         * config.h.in (HAVE_EHDR_START): New #undef.
4552         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4553         assuming the lowest-addressed segment maps the start of the file.
4554
4555 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
4556
4557         * INSTALL: Regenerated.
4558
4559 2014-03-13  Will Newton  <will.newton@linaro.org>
4560
4561         * manual/setjmp.texi (System V contexts): Improve
4562         clarity and grammar of documentation.
4563
4564 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
4565
4566         [BZ #16381]
4567         * elf/Makefile (tests): Add tst-pie2.
4568         (tests-pie): Add tst-pie2.
4569         * elf/tst-pie2.c: New file.
4570         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4571         for ET_EXEC.
4572         * elf/rtld.c (map_doit): Load executable as lt_executable.
4573         (dl_main): Likewise.
4574
4575 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
4576
4577         [BZ #16642]
4578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4579         (__ASSUME_PSELECT): Undefine.
4580
4581 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4582
4583         [BZ #16689]
4584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4585         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4586         static build.
4587         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4588         selector for static builds.
4589
4590 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4591
4592         [BZ #16695]
4593         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4594         key in the buffer.
4595
4596 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4597
4598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4599         IFUNC selector for static builds.
4600
4601 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
4602
4603         * sysdeps/mips/math_private.h [__mips_hard_float]
4604         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4605         libc_feresetround_mips_ctx.
4606         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4607         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4608         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4609
4610         [BZ #16677]
4611         * math/s_nextafter.c (__nextafter): Do not return value from
4612         overflowing computation.
4613         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4614         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4615         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4616         Likewise.
4617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4618         Likewise.
4619         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4620         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4621
4622 2014-03-11  Roland McGrath  <roland@hack.frob.com>
4623
4624         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4625         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4626         Move sfi_sp use from the load-multiple (that no longer sets sp) to
4627         the new mov targetting sp.
4628
4629 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4630
4631         [BZ #16683]
4632         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4633         Define it for static builds as well.
4634         (NO_BZERO_IMPL): Likewise.
4635
4636 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4637
4638         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4639         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4640         multiarch strspn for PPC64.
4641         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4642         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4644         (__libc_ifunc_impl_list): Likewise.
4645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4646         multiarch optimizations
4647         * string/strspn.c (strspn): Using macro to redefine symbol name.
4648
4649 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4650             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4651
4652         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4653         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4654         multiarch strncat for PPC64.
4655         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4656         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4658         (__libc_ifunc_impl_list): Likewise.
4659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4660         multiarch optimizations
4661
4662 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4663
4664         [BZ #16639]
4665         * nscd/nscd.service: Make service type forking.
4666
4667 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4668
4669         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4670         sign in non default rounding modes.
4671         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4672
4673 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
4674
4675         * math/libm-test.inc (ALL_RM_TEST): New macro.
4676         (ceil_test): Use ALL_RM_TEST.
4677         (cimag_test): Likewise.
4678         (conj_test): Likewise.
4679         (copysign_test): Likewise.
4680         (cproj_test): Likewise.
4681         (creal_test): Likewise.
4682         (fabs_test): Likewise.
4683         (floor_test): Likewise.
4684         (fmax_test): Likewise.
4685         (fmin_test): Likewise.
4686         (fmod_test): Likewise.
4687         (fpclassify_test): Likewise.
4688         (frexp_test): Likewise.
4689         (ilogb_test): Likewise.
4690         (isfinite_test): Likewise.
4691         (finite_test): Likewise.
4692         (isgreater_test): Likewise.
4693         (isgreaterequal_test): Likewise.
4694         (isinf_test): Likewise.
4695         (isless_test): Likewise.
4696         (islessequal_test): Likewise.
4697         (islessgreater_test): Likewise.
4698         (isnan_test): Likewise.
4699         (isnormal_test): Likewise.
4700         (issignaling_test): Likewise.
4701         (isunordered_test): Likewise.
4702         (logb_test): Likewise.
4703         (logb_downward_test_data): Remove.
4704         (logb_test_downward): Likewise.
4705         (lround_test): Use ALL_RM_TEST.
4706         (llround_test): Likewise.
4707         (modf_test): Likewise.
4708         (nexttoward_test): Likewise.
4709         (remainder_test): Likewise.
4710         (drem_test): Likewise.
4711         (remainder_tonearest_test_data): Likewise.
4712         (remainder_test_tonearest): Likewise.
4713         (drem_test_tonearest): Likewise.
4714         (remainder_towardzero_test_data): Likewise.
4715         (remainder_test_towardzero): Likewise.
4716         (drem_test_towardzero): Likewise.
4717         (remainder_downward_test_data): Likewise.
4718         (remainder_test_downward): Likewise.
4719         (drem_test_downward): Likewise.
4720         (remainder_upward_test_data): Likewise.
4721         (remainder_test_upward): Likewise.
4722         (drem_test_upward): Likewise.
4723         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
4724         (round_test): Use ALL_RM_TEST.
4725         (signbit_test): Likewise.
4726         (trunc_test): Likewise.
4727         (significand_test): Likewise.
4728         (main): Don't call removed functions.
4729
4730 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
4731
4732         [BZ #16674]
4733         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4734         || __USE_XOPEN2K8].
4735         (ILL_ILLOPN): Likewise.
4736         (ILL_ILLADR): Likewise.
4737         (ILL_ILLTRP): Likewise.
4738         (ILL_PRVOPC): Likewise.
4739         (ILL_PRVREG): Likewise.
4740         (ILL_COPROC): Likewise.
4741         (ILL_BADSTK): Likewise.
4742         (FPE_INTDIV): Likewise.
4743         (FPE_INTOVF): Likewise.
4744         (FPE_FLTDIV): Likewise.
4745         (FPE_FLTOVF): Likewise.
4746         (FPE_FLTUND): Likewise.
4747         (FPE_FLTRES): Likewise.
4748         (FPE_FLTINV): Likewise.
4749         (FPE_FLTSUB): Likewise.
4750         (SEGV_MAPERR): Likewise.
4751         (SEGV_ACCERR): Likewise.
4752         (BUS_ADRALN): Likewise.
4753         (BUS_ADRERR): Likewise.
4754         (BUS_OBJERR): Likewise.
4755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4756         (TRAP_TRACE): Likewise.
4757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4758         __USE_XOPEN2K8].
4759         (CLD_KILLED): Likewise.
4760         (CLD_DUMPED): Likewise.
4761         (CLD_TRAPPED): Likewise.
4762         (CLD_STOPPED): Likewise.
4763         (CLD_CONTINUED): Likewise.
4764         (POLL_IN): Likewise.
4765         (POLL_OUT): Likewise.
4766         (POLL_MSG): Likewise.
4767         (POLL_ERR): Likewise.
4768         (POLL_PRI): Likewise.
4769         (POLL_HUP): Likewise.
4770         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4771         Likewise.
4772         (ILL_ILLOPN): Likewise.
4773         (ILL_ILLADR): Likewise.
4774         (ILL_ILLTRP): Likewise.
4775         (ILL_PRVOPC): Likewise.
4776         (ILL_PRVREG): Likewise.
4777         (ILL_COPROC): Likewise.
4778         (ILL_BADSTK): Likewise.
4779         (FPE_INTDIV): Likewise.
4780         (FPE_INTOVF): Likewise.
4781         (FPE_FLTDIV): Likewise.
4782         (FPE_FLTOVF): Likewise.
4783         (FPE_FLTUND): Likewise.
4784         (FPE_FLTRES): Likewise.
4785         (FPE_FLTINV): Likewise.
4786         (FPE_FLTSUB): Likewise.
4787         (SEGV_MAPERR): Likewise.
4788         (SEGV_ACCERR): Likewise.
4789         (BUS_ADRALN): Likewise.
4790         (BUS_ADRERR): Likewise.
4791         (BUS_OBJERR): Likewise.
4792         (BUS_MCEERR_AR): Likewise.
4793         (BUS_MCEERR_AO): Likewise.
4794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4795         (TRAP_TRACE): Likewise.
4796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4797         __USE_XOPEN2K8].
4798         (CLD_KILLED): Likewise.
4799         (CLD_DUMPED): Likewise.
4800         (CLD_TRAPPED): Likewise.
4801         (CLD_STOPPED): Likewise.
4802         (CLD_CONTINUED): Likewise.
4803         (POLL_IN): Likewise.
4804         (POLL_OUT): Likewise.
4805         (POLL_MSG): Likewise.
4806         (POLL_ERR): Likewise.
4807         (POLL_PRI): Likewise.
4808         (POLL_HUP): Likewise.
4809         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4810         (ILL_ILLOPN): Likewise.
4811         (ILL_ILLADR): Likewise.
4812         (ILL_ILLTRP): Likewise.
4813         (ILL_PRVOPC): Likewise.
4814         (ILL_PRVREG): Likewise.
4815         (ILL_COPROC): Likewise.
4816         (ILL_BADSTK): Likewise.
4817         (FPE_INTDIV): Likewise.
4818         (FPE_INTOVF): Likewise.
4819         (FPE_FLTDIV): Likewise.
4820         (FPE_FLTOVF): Likewise.
4821         (FPE_FLTUND): Likewise.
4822         (FPE_FLTRES): Likewise.
4823         (FPE_FLTINV): Likewise.
4824         (FPE_FLTSUB): Likewise.
4825         (SEGV_MAPERR): Likewise.
4826         (SEGV_ACCERR): Likewise.
4827         (BUS_ADRALN): Likewise.
4828         (BUS_ADRERR): Likewise.
4829         (BUS_OBJERR): Likewise.
4830         (BUS_MCEERR_AR): Likewise.
4831         (BUS_MCEERR_AO): Likewise.
4832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4833         (TRAP_TRACE): Likewise.
4834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4835         __USE_XOPEN2K8].
4836         (CLD_KILLED): Likewise.
4837         (CLD_DUMPED): Likewise.
4838         (CLD_TRAPPED): Likewise.
4839         (CLD_STOPPED): Likewise.
4840         (CLD_CONTINUED): Likewise.
4841         (POLL_IN): Likewise.
4842         (POLL_OUT): Likewise.
4843         (POLL_MSG): Likewise.
4844         (POLL_ERR): Likewise.
4845         (POLL_PRI): Likewise.
4846         (POLL_HUP): Likewise.
4847         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4848         Likewise.
4849         (ILL_ILLOPN): Likewise.
4850         (ILL_ILLADR): Likewise.
4851         (ILL_ILLTRP): Likewise.
4852         (ILL_PRVOPC): Likewise.
4853         (ILL_PRVREG): Likewise.
4854         (ILL_COPROC): Likewise.
4855         (ILL_BADSTK): Likewise.
4856         (ILL_BADIADDR): Likewise.
4857         (ILL_BREAK): Likewise.
4858         (FPE_INTDIV): Likewise.
4859         (FPE_INTOVF): Likewise.
4860         (FPE_FLTDIV): Likewise.
4861         (FPE_FLTOVF): Likewise.
4862         (FPE_FLTUND): Likewise.
4863         (FPE_FLTRES): Likewise.
4864         (FPE_FLTINV): Likewise.
4865         (FPE_FLTSUB): Likewise.
4866         (FPE_DECOVF): Likewise.
4867         (FPE_DECDIV): Likewise.
4868         (FPE_DECERR): Likewise.
4869         (FPE_INVASC): Likewise.
4870         (FPE_INVDEC): Likewise.
4871         (SEGV_MAPERR): Likewise.
4872         (SEGV_ACCERR): Likewise.
4873         (SEGV_PSTKOVF): Likewise.
4874         (BUS_ADRALN): Likewise.
4875         (BUS_ADRERR): Likewise.
4876         (BUS_OBJERR): Likewise.
4877         (BUS_MCEERR_AR): Likewise.
4878         (BUS_MCEERR_AO): Likewise.
4879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4880         (TRAP_TRACE): Likewise.
4881         (TRAP_BRANCH): Likewise.
4882         (TRAP_HWBKPT): Likewise.
4883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4884         __USE_XOPEN2K8].
4885         (CLD_KILLED): Likewise.
4886         (CLD_DUMPED): Likewise.
4887         (CLD_TRAPPED): Likewise.
4888         (CLD_STOPPED): Likewise.
4889         (CLD_CONTINUED): Likewise.
4890         (POLL_IN): Likewise.
4891         (POLL_OUT): Likewise.
4892         (POLL_MSG): Likewise.
4893         (POLL_ERR): Likewise.
4894         (POLL_PRI): Likewise.
4895         (POLL_HUP): Likewise.
4896         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4897         (ILL_ILLOPN): Likewise.
4898         (ILL_ILLADR): Likewise.
4899         (ILL_ILLTRP): Likewise.
4900         (ILL_PRVOPC): Likewise.
4901         (ILL_PRVREG): Likewise.
4902         (ILL_COPROC): Likewise.
4903         (ILL_BADSTK): Likewise.
4904         (FPE_INTDIV): Likewise.
4905         (FPE_INTOVF): Likewise.
4906         (FPE_FLTDIV): Likewise.
4907         (FPE_FLTOVF): Likewise.
4908         (FPE_FLTUND): Likewise.
4909         (FPE_FLTRES): Likewise.
4910         (FPE_FLTINV): Likewise.
4911         (FPE_FLTSUB): Likewise.
4912         (SEGV_MAPERR): Likewise.
4913         (SEGV_ACCERR): Likewise.
4914         (BUS_ADRALN): Likewise.
4915         (BUS_ADRERR): Likewise.
4916         (BUS_OBJERR): Likewise.
4917         (BUS_MCEERR_AR): Likewise.
4918         (BUS_MCEERR_AO): Likewise.
4919         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4920         (TRAP_TRACE): Likewise.
4921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4922         __USE_XOPEN2K8].
4923         (CLD_KILLED): Likewise.
4924         (CLD_DUMPED): Likewise.
4925         (CLD_TRAPPED): Likewise.
4926         (CLD_STOPPED): Likewise.
4927         (CLD_CONTINUED): Likewise.
4928         (POLL_IN): Likewise.
4929         (POLL_OUT): Likewise.
4930         (POLL_MSG): Likewise.
4931         (POLL_ERR): Likewise.
4932         (POLL_PRI): Likewise.
4933         (POLL_HUP): Likewise.
4934         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4935         (ILL_ILLOPN): Likewise.
4936         (ILL_ILLADR): Likewise.
4937         (ILL_ILLTRP): Likewise.
4938         (ILL_PRVOPC): Likewise.
4939         (ILL_PRVREG): Likewise.
4940         (ILL_COPROC): Likewise.
4941         (ILL_BADSTK): Likewise.
4942         (FPE_INTDIV): Likewise.
4943         (FPE_INTOVF): Likewise.
4944         (FPE_FLTDIV): Likewise.
4945         (FPE_FLTOVF): Likewise.
4946         (FPE_FLTUND): Likewise.
4947         (FPE_FLTRES): Likewise.
4948         (FPE_FLTINV): Likewise.
4949         (FPE_FLTSUB): Likewise.
4950         (SEGV_MAPERR): Likewise.
4951         (SEGV_ACCERR): Likewise.
4952         (BUS_ADRALN): Likewise.
4953         (BUS_ADRERR): Likewise.
4954         (BUS_OBJERR): Likewise.
4955         (BUS_MCEERR_AR): Likewise.
4956         (BUS_MCEERR_AO): Likewise.
4957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4958         (TRAP_TRACE): Likewise.
4959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4960         __USE_XOPEN2K8].
4961         (CLD_KILLED): Likewise.
4962         (CLD_DUMPED): Likewise.
4963         (CLD_TRAPPED): Likewise.
4964         (CLD_STOPPED): Likewise.
4965         (CLD_CONTINUED): Likewise.
4966         (POLL_IN): Likewise.
4967         (POLL_OUT): Likewise.
4968         (POLL_MSG): Likewise.
4969         (POLL_ERR): Likewise.
4970         (POLL_PRI): Likewise.
4971         (POLL_HUP): Likewise.
4972         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4973         (ILL_ILLOPN): Likewise.
4974         (ILL_ILLADR): Likewise.
4975         (ILL_ILLTRP): Likewise.
4976         (ILL_PRVOPC): Likewise.
4977         (ILL_PRVREG): Likewise.
4978         (ILL_COPROC): Likewise.
4979         (ILL_BADSTK): Likewise.
4980         (FPE_INTDIV): Likewise.
4981         (FPE_INTOVF): Likewise.
4982         (FPE_FLTDIV): Likewise.
4983         (FPE_FLTOVF): Likewise.
4984         (FPE_FLTUND): Likewise.
4985         (FPE_FLTRES): Likewise.
4986         (FPE_FLTINV): Likewise.
4987         (FPE_FLTSUB): Likewise.
4988         (SEGV_MAPERR): Likewise.
4989         (SEGV_ACCERR): Likewise.
4990         (BUS_ADRALN): Likewise.
4991         (BUS_ADRERR): Likewise.
4992         (BUS_OBJERR): Likewise.
4993         (BUS_MCEERR_AR): Likewise.
4994         (BUS_MCEERR_AO): Likewise.
4995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4996         (TRAP_TRACE): Likewise.
4997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4998         __USE_XOPEN2K8].
4999         (CLD_KILLED): Likewise.
5000         (CLD_DUMPED): Likewise.
5001         (CLD_TRAPPED): Likewise.
5002         (CLD_STOPPED): Likewise.
5003         (CLD_CONTINUED): Likewise.
5004         (POLL_IN): Likewise.
5005         (POLL_OUT): Likewise.
5006         (POLL_MSG): Likewise.
5007         (POLL_ERR): Likewise.
5008         (POLL_PRI): Likewise.
5009         (POLL_HUP): Likewise.
5010         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5011         (ILL_ILLOPN): Likewise.
5012         (ILL_ILLADR): Likewise.
5013         (ILL_ILLTRP): Likewise.
5014         (ILL_PRVOPC): Likewise.
5015         (ILL_PRVREG): Likewise.
5016         (ILL_COPROC): Likewise.
5017         (ILL_BADSTK): Likewise.
5018         (ILL_DBLFLT): Likewise.
5019         (ILL_HARDWALL): Likewise.
5020         (FPE_INTDIV): Likewise.
5021         (FPE_INTOVF): Likewise.
5022         (FPE_FLTDIV): Likewise.
5023         (FPE_FLTOVF): Likewise.
5024         (FPE_FLTUND): Likewise.
5025         (FPE_FLTRES): Likewise.
5026         (FPE_FLTINV): Likewise.
5027         (FPE_FLTSUB): Likewise.
5028         (SEGV_MAPERR): Likewise.
5029         (SEGV_ACCERR): Likewise.
5030         (BUS_ADRALN): Likewise.
5031         (BUS_ADRERR): Likewise.
5032         (BUS_OBJERR): Likewise.
5033         (BUS_MCEERR_AR): Likewise.
5034         (BUS_MCEERR_AO): Likewise.
5035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5036         (TRAP_TRACE): Likewise.
5037         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5038         __USE_XOPEN2K8].
5039         (CLD_KILLED): Likewise.
5040         (CLD_DUMPED): Likewise.
5041         (CLD_TRAPPED): Likewise.
5042         (CLD_STOPPED): Likewise.
5043         (CLD_CONTINUED): Likewise.
5044         (POLL_IN): Likewise.
5045         (POLL_OUT): Likewise.
5046         (POLL_MSG): Likewise.
5047         (POLL_ERR): Likewise.
5048         (POLL_PRI): Likewise.
5049         (POLL_HUP): Likewise.
5050         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5051         (ILL_ILLOPN): Likewise.
5052         (ILL_ILLADR): Likewise.
5053         (ILL_ILLTRP): Likewise.
5054         (ILL_PRVOPC): Likewise.
5055         (ILL_PRVREG): Likewise.
5056         (ILL_COPROC): Likewise.
5057         (ILL_BADSTK): Likewise.
5058         (FPE_INTDIV): Likewise.
5059         (FPE_INTOVF): Likewise.
5060         (FPE_FLTDIV): Likewise.
5061         (FPE_FLTOVF): Likewise.
5062         (FPE_FLTUND): Likewise.
5063         (FPE_FLTRES): Likewise.
5064         (FPE_FLTINV): Likewise.
5065         (FPE_FLTSUB): Likewise.
5066         (SEGV_MAPERR): Likewise.
5067         (SEGV_ACCERR): Likewise.
5068         (BUS_ADRALN): Likewise.
5069         (BUS_ADRERR): Likewise.
5070         (BUS_OBJERR): Likewise.
5071         (BUS_MCEERR_AR): Likewise.
5072         (BUS_MCEERR_AO): Likewise.
5073         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5074         (TRAP_TRACE): Likewise.
5075         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5076         __USE_XOPEN2K8].
5077         (CLD_KILLED): Likewise.
5078         (CLD_DUMPED): Likewise.
5079         (CLD_TRAPPED): Likewise.
5080         (CLD_STOPPED): Likewise.
5081         (CLD_CONTINUED): Likewise.
5082         (POLL_IN): Likewise.
5083         (POLL_OUT): Likewise.
5084         (POLL_MSG): Likewise.
5085         (POLL_ERR): Likewise.
5086         (POLL_PRI): Likewise.
5087         (POLL_HUP): Likewise.
5088         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5089         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5090
5091         [BZ #16670]
5092         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5093         before #include of <time.h>.
5094         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5095         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5096         (test-xfail-UNIX98/sched.h/conform): Likewise.
5097
5098 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5099
5100         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5101         error absence of trapping exception support.
5102         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5103
5104 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5105
5106         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5107         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5108         * timezone/Makefile (testdata): Move definition above include of
5109         Rules.
5110         (test-zones): New variable.
5111         (tests-special): Add zone files.
5112         (build-testdata): Use $(evaluate-test).
5113
5114         * elf/Makefile (tests-special): Rename tests to end with .out.
5115         ($(objpfx)noload-mem): Likewise.
5116         ($(objpfx)tst-leaks1-mem): Likewise.
5117         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5118         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5119         $(objpfx)test-iconvconfig.out.
5120         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5121         set -e inside subshell and redirect output to file.
5122         * iconvdata/Makefile (generated): Rename tests to end with .out.
5123         Correct type.
5124         (tests-special): Rename tests to end with .out.
5125         ($(objpfx)mtrace-tst-loading): Likewise.
5126         * intl/Makefile (generated): Likewise.
5127         (tests-special): Likewise.
5128         ($(objpfx)mtrace-tst-gettext): Likewise.
5129         * misc/Makefile (generated): Likewise.
5130         (tests-special): Likewise.
5131         ($(objpfx)tst-error1-mem): Likewise.
5132         * nptl/Makefile (tests-special): Likewise.
5133         ($(objpfx)tst-stack3-mem): Likewise.
5134         (generated): Likewise.
5135         * posix/Makefile (generated): Likewise.
5136         (tests-special): Likewise.
5137         (xtests-special): Likewise.
5138         ($(objpfx)tst-fnmatch-mem): Likewise.
5139         ($(objpfx)bug-regex2-mem): Likewise.
5140         ($(objpfx)bug-regex14-mem): Likewise.
5141         ($(objpfx)bug-regex21-mem): Likewise.
5142         ($(objpfx)bug-regex31-mem): Likewise.
5143         ($(objpfx)tst-vfork3-mem): Likewise.
5144         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5145         ($(objpfx)tst-pcre-mem): Likewise.
5146         ($(objpfx)tst-boost-mem): Likewise.
5147         ($(objpfx)bug-ga2-mem): Likewise.
5148         ($(objpfx)bug-glob2-mem): Likewise.
5149         * resolv/Makefile (generate): Likewise.
5150         (tests-special): Likewise.
5151         (xtests-special): Likewise.
5152         (generated): Likewise.
5153         ($(objpfx)mtrace-tst-leaks): Likewise.
5154         ($(objpfx)mtrace-tst-leaks2): Likewise.
5155
5156         * scripts/merge-test-results.sh: New file.
5157         * Makefile (tests-special-notdir): New variable.
5158         (tests): Run merge-test-results.sh.
5159         (xtests): Likewise.
5160         * Rules (tests-special-notdir): New variable.
5161         (xtests-special-notdir): Likewise.
5162         (tests): Run merge-test-results.sh
5163         (xtests): Likewise.
5164
5165         * Makeconfig (test-xfail-name): New variable.
5166         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5167         compute variable name for expected failures.
5168         * conform/Makefile (conformtest-headers-data): New variable.
5169         (conformtest-standards): Likewise.
5170         (conformtest-headers-ISO): Likewise.
5171         (conformtest-headers-ISO99): Likewise.
5172         (conformtest-headers-ISO11): Likewise.
5173         (conformtest-headers-POSIX): Likewise.
5174         (conformtest-headers-XPG3): Likewise.
5175         (conformtest-headers-XPG4): Likewise.
5176         (conformtest-headers-UNIX98): Likewise.
5177         (conformtest-headers-XOPEN2K): Likewise.
5178         (conformtest-headers-POSIX2008): Likewise.
5179         (conformtest-headers-XOPEN2K8): Likewise.
5180         (conformtest-header-list-base): Likewise.
5181         (conformtest-header-list-tests): Likewise.
5182         (conformtest-header-base): Likewise.
5183         (conformtest-header-tests): Likewise.
5184         (tests-special): Add $(conformtest-header-list-tests).  If
5185         [$(fast-check) && !$(cross-compiling)], add
5186         $(conformtest-header-tests) instead of
5187         $(objpfx)run-conformtest.out.
5188         (generated): Add $(conformtest-header-list-base).  If
5189         [$(fast-check) && !$(cross-compiling)], add
5190         $(conformtest-header-base).  Remove previous setting.
5191         ($(conformtest-header-list-tests)): New target.
5192         (test-xfail-run-conformtest): Remove variable.
5193         ($(objpfx)run-conformtest.out): Remove target.
5194         (test-xfail-ISO11/complex.h/conform): New variable.
5195         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5196         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5197         (test-xfail-XPG3/varargs.h/conform): Likewise.
5198         (test-xfail-XPG4/varargs.h/conform): Likewise.
5199         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5200         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5201         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5202         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5203         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5204         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5205         (test-xfail-XPG3/ftw.h/conform): Likewise.
5206         (test-xfail-XPG3/grp.h/conform): Likewise.
5207         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5208         (test-xfail-XPG3/limits.h/conform): Likewise.
5209         (test-xfail-XPG3/pwd.h/conform): Likewise.
5210         (test-xfail-XPG3/search.h/conform): Likewise.
5211         (test-xfail-XPG3/signal.h/conform): Likewise.
5212         (test-xfail-XPG3/stdio.h/conform): Likewise.
5213         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5214         (test-xfail-XPG3/string.h/conform): Likewise.
5215         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5216         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5217         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5218         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5219         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5220         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5221         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5222         (test-xfail-XPG3/termios.h/conform): Likewise.
5223         (test-xfail-XPG3/time.h/conform): Likewise.
5224         (test-xfail-XPG3/unistd.h/conform): Likewise.
5225         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5226         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5227         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5228         (test-xfail-XPG4/netdb.h/conform): Likewise.
5229         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5230         (test-xfail-XPG4/signal.h/conform): Likewise.
5231         (test-xfail-XPG4/stdio.h/conform): Likewise.
5232         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5233         (test-xfail-XPG4/stropts.h/conform): Likewise.
5234         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5235         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5236         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5237         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5238         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5239         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5240         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5241         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5242         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5243         (test-xfail-XPG4/termios.h/conform): Likewise.
5244         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5245         (test-xfail-XPG4/unistd.h/conform): Likewise.
5246         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5247         (test-xfail-POSIX/sched.h/conform): Likewise.
5248         (test-xfail-POSIX/signal.h/conform): Likewise.
5249         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5250         (test-xfail-POSIX/tar.h/conform): Likewise.
5251         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5252         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5253         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5254         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5255         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5256         (test-xfail-UNIX98/sched.h/conform): Likewise.
5257         (test-xfail-UNIX98/signal.h/conform): Likewise.
5258         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5259         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5260         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5261         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5262         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5263         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5264         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5265         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5266         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5267         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5268         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5269         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5270         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5271         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5272         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5273         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5274         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5275         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5276         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5277         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5278         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5279         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5280         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5281         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5282         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5283         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5284         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5285         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5286         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5287         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5288         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5289         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5290         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5291         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5292         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5293         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5294         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5295         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5296         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5297         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5298         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5299         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5300         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5301         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5302         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5303         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5304         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5305         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5306         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5307         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5308         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5309         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5310         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5311         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5312         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5313         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5314         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5315         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5316         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5317         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5318         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5319         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5320         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5321         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5322         (conformtest-cc-flags): Likewise.
5323         ($(conformtest-header-tests): New target.
5324         * conform/check-header-lists.sh: New file.
5325         * conform/run-conformtest.sh: Remove.
5326
5327         * conform/conformtest.pl: Allow ' and \ in values given for
5328         constants.
5329         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5330         inclusion.
5331         [POSIX] (sys/types.h): Likewise.
5332         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5333         inclusion.
5334         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5335         inclusion.
5336         * conform/data/signal.h-data (SIGIO): Remove expectation.
5337         [XPG3] (SIGBUS): Do not expect.
5338         [POSIX || XPG3] (SIGPOLL): Likewise.
5339         [POSIX || XPG3] (SIGPROF): Likewise.
5340         [POSIX || XPG3] (SIGSYS): Likewise.
5341         [XPG3] (SIGTRAP): Likewise.
5342         [POSIX || XPG3] (SIGURG): Likewise.
5343         [POSIX || XPG3] (SIGVTALRM): Likewise.
5344         [POSIX || XPG3] (SIGXCPU): Likewise.
5345         [POSIX || XPG3] (SIGXFSZ): Likewise.
5346         [POSIX] (SA_SIGINFO): Expect.
5347         [XPG3] (siginfo_t): Do not expect type or contents.
5348         [POSIX] (si_pid): Do not expect element.
5349         [POSIX] (si_uid): Likewise.
5350         [POSIX] (si_addr): Likewise.
5351         [POSIX] (si_status): Likewise.
5352         [POSIX] (si_band): Likewise.
5353         [XPG4] (si_value): Likewise.
5354         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5355         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5356         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5357         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5358         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5359         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5360         [POSIX || XPG3] (ILL_COPROC): Likewise.
5361         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5362         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5363         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5364         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5365         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5366         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5367         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5368         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5369         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5370         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5371         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5372         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5373         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5374         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5375         [POSIX || XPG3] (CLD_EXITED): Likewise.
5376         [POSIX || XPG3] (CLD_KILLED): Likewise.
5377         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5378         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5379         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5380         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5381         [POSIX || XPG3] (POLL_IN): Likewise.
5382         [POSIX || XPG3] (POLL_OUT): Likewise.
5383         [POSIX || XPG3] (POLL_MSG): Likewise.
5384         [POSIX || XPG3] (POLL_ERR): Likewise.
5385         [POSIX || XPG3] (POLL_PRI): Likewise.
5386         [POSIX || XPG3] (POLL_HUP): Likewise.
5387         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5388         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5389         (SIG*): Do not allow.
5390         [XPG3] (si_*): Likewise.
5391         [XPG3] (SI_*): Likewise.
5392         [XPG3 || XPG4] (sigev_*): Likewise.
5393         [XPG3 || XPG4] (SIGEV_*): Likewise.
5394         [XPG3 || XPG4] (sival_*): Likewise.
5395         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5396         [POSIX || XPG3] (BUS_*): Likewise.
5397         [POSIX || XPG3] (CLD_*): Likewise.
5398         [POSIX || XPG3] (FPE_*): Likewise.
5399         [POSIX || XPG3] (ILL_*): Likewise.
5400         [POSIX || XPG3] (POLL_*): Likewise.
5401         [POSIX || XPG3] (SEGV_*): Likewise.
5402         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5403         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5404         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5405         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5406         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5407         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5408         Specify type and value.
5409         (TVERSLEN): Likewise.
5410         (REGTYPE): Likewise.
5411         (AREGTYPE): Likewise.
5412         (LNKTYPE): Likewise.
5413         (SYMTYPE): Likewise.
5414         (CHRTYPE): Likewise.
5415         (BLKTYPE): Likewise.
5416         (DIRTYPE): Likewise.
5417         (FIFOTYPE): Likewise.
5418         (CONTTYPE): Likewise.
5419         (TSUID): Likewise.
5420         (TSGID): Likewise.
5421         (TSVTX): Likewise.
5422         (TUREAD): Likewise.
5423         (TUWRITE): Likewise.
5424         (TUEXEC): Likewise.
5425         (TGREAD): Likewise.
5426         (TGWRITE): Likewise.
5427         (TGEXEC): Likewise.
5428         (TOREAD): Likewise.
5429         (TOWRITE): Likewise.
5430         (TOEXEC): Likewise.
5431         [POSIX] (TSVTX): Expect constant.
5432
5433 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5434
5435         * Makefile (tests): Change dependencies to ....
5436         (tests-special): ... additions to this variable.
5437         (tests): Depend on $(tests-special).
5438         * Makerules (check-abi-list): New variable.
5439         (check-abi): Depend on $(check-abi-list).
5440         [$(subdir) = elf] (tests-special): Add
5441         $(objpfx)check-abi-libc.out.
5442         [$(build-shared) = yes && subdir] (tests-special): Add
5443         $(check-abi-list).
5444         [$(build-shared) = yes && subdir] (tests): Do not depend on
5445         check-abi.
5446         * Rules (tests): Depend on $(tests-special).
5447         (xtests): Depend on $(xtests-special).
5448         * catgets/Makefile (tests): Change dependencies to ....
5449         (tests-special): ... additions to this variable.
5450         * conform/Makefile (tests): Change dependencies to ....
5451         (tests-special): ... additions to this variable.
5452         * elf/Makefile (tests): Change dependencies to ....
5453         (tests-special): ... additions to this variable.
5454         * grp/Makefile (tests): Change dependencies to ....
5455         (tests-special): ... additions to this variable.
5456         * iconv/Makefile (xtests): Change dependencies to ....
5457         (xtests-special): ... additions to this variable.
5458         * iconvdata/Makefile (tests): Change dependencies to ....
5459         (tests-special): ... additions to this variable.
5460         * intl/Makefile (tests): Change dependencies to ....
5461         (tests-special): ... additions to this variable.  Also add
5462         $(objpfx)tst-gettext.out.
5463         * io/Makefile (tests): Change dependencies to ....
5464         (tests-special): ... additions to this variable.
5465         * libio/Makefile (tests): Change dependencies to ....
5466         (tests-special): ... additions to this variable.
5467         * malloc/Makefile (tests): Change dependencies to ....
5468         (tests-special): ... additions to this variable.
5469         * misc/Makefile (tests): Change dependencies to ....
5470         (tests-special): ... additions to this variable.
5471         * nptl/Makefile (tests): Change dependencies to ....
5472         (tests-special): ... additions to this variable.
5473         * nptl_db/Makefile (tests): Change dependencies to ....
5474         (tests-special): ... additions to this variable.
5475         * posix/Makefile (tests): Change dependencies to ....
5476         (tests-special): ... additions to this variable.
5477         (xtests): Change dependencies to ....
5478         (xtests-special): ... additions to this variable.
5479         * resolv/Makefile (tests): Change dependencies to ....
5480         (tests-special): ... additions to this variable.
5481         (xtests): Change dependencies to ....
5482         (xtests-special): ... additions to this variable.
5483         * stdio-common/Makefile (tests): Change dependencies to ....
5484         (tests-special): ... additions to this variable.
5485         (do-tst-unbputc): Remove target.
5486         (do-tst-printf): Likewise.
5487         * stdlib/Makefile (tests): Change dependencies to ....
5488         (tests-special): ... additions to this variable.
5489         * string/Makefile (tests): Change dependencies to ....
5490         (tests-special): ... additions to this variable.
5491         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5492         (tests-special): ... additions to this variable.
5493
5494         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5495         whole file.
5496         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5497         whole file.
5498         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5499         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5500
5501         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5502         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5503         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5504         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5505         * conform/data/libgen.h-data [XPG3]: Likewise.
5506         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5507         * conform/data/ndbm.h-data [XPG3]: Likewise.
5508         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5509         * conform/data/netdb.h-data [XPG3]: Likewise.
5510         * conform/data/netinet/in.h-data [XPG3]: Likewise.
5511         * conform/data/poll.h-data [XPG3]: Likewise.
5512         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5513         * conform/data/strings.h-data [XPG3]: Likewise.
5514         * conform/data/stropts.h-data [XPG3]: Likewise.
5515         * conform/data/sys/mman.h-data [XPG3]: Likewise.
5516         * conform/data/sys/resource.h-data [XPG3]: Likewise.
5517         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5518         Likewise.
5519         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5520         * conform/data/sys/time.h-data [XPG3]: Likewise.
5521         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5522         * conform/data/sys/uio.h-data [XPG3]: Likewise.
5523         * conform/data/sys/un.h-data [XPG3]: Likewise.
5524         * conform/data/syslog.h-data [XPG3]: Likewise.
5525         * conform/data/ucontext.h-data [XPG3]: Likewise.
5526         * conform/data/utmpx.h-data [XPG3]: Likewise.
5527         * conform/data/varargs.h-data [UNIX98]: Enable file.
5528
5529         * manual/Makefile (INSTALL_INFO): Remove variable setting.
5530
5531         * math/libm-test.inc (struct test_f_f_data): Move expected results
5532         into structure for each rounding mode.
5533         (struct test_ff_f_data): Likewise.
5534         (struct test_ff_f_data_nexttoward): Likewise.
5535         (struct test_fi_f_data): Likewise.
5536         (struct test_fl_f_data): Likewise.
5537         (struct test_if_f_data): Likewise.
5538         (struct test_fff_f_data): Likewise.
5539         (struct test_c_f_data): Likewise.
5540         (struct test_f_f1_data): Likewise.
5541         (struct test_fF_f1_data): Likewise.
5542         (struct test_ffI_f1_data): Likewise.
5543         (struct test_c_c_data): Likewise.
5544         (struct test_cc_c_data): Likewise.
5545         (struct test_f_i_data): Likewise.
5546         (struct test_ff_i_data): Likewise.
5547         (struct test_f_l_data): Likewise.
5548         (struct test_f_L_data): Likewise.
5549         (struct test_fFF_11_data): Likewise.
5550         (RM_): New macro.
5551         (RM_FE_DOWNWARD): Likewise.
5552         (RM_FE_TONEAREST): Likewise.
5553         (RM_FE_TOWARDZERO): Likewise.
5554         (RM_FE_UPWARD): Likewise.
5555         (RUN_TEST_LOOP_f_f): Update references to expected results.
5556         (RUN_TEST_LOOP_2_f): Likewise.
5557         (RUN_TEST_LOOP_fff_f): Likewise.
5558         (RUN_TEST_LOOP_c_f): Likewise.
5559         (RUN_TEST_LOOP_f_f1): Likewise.
5560         (RUN_TEST_LOOP_fF_f1): Likewise.
5561         (RUN_TEST_LOOP_fI_f1): Likewise.
5562         (RUN_TEST_LOOP_ffI_f1): Likewise.
5563         (RUN_TEST_LOOP_c_c): Likewise.
5564         (RUN_TEST_LOOP_cc_c): Likewise.
5565         (RUN_TEST_LOOP_f_i): Likewise.
5566         (RUN_TEST_LOOP_f_i_tg): Likewise.
5567         (RUN_TEST_LOOP_ff_i_tg): Likewise.
5568         (RUN_TEST_LOOP_f_b): Likewise.
5569         (RUN_TEST_LOOP_f_b_tg): Likewise.
5570         (RUN_TEST_LOOP_f_l): Likewise.
5571         (RUN_TEST_LOOP_f_L): Likewise.
5572         (RUN_TEST_LOOP_fFF_11): Likewise.
5573         * math/gen-libm-test.pl (parse_args): Output four copies of
5574         expected results for each test.
5575
5576         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5577         (__ASSUME_UTIMES): Remove.
5578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5579         (__ASSUME_UTIMES): Likewise.
5580
5581         * math/gen-auto-libm-tests.c: Update comment on output format.
5582         (output_for_one_input_case): Generate before-rounding and
5583         after-rounding information as conditions on output flags not
5584         floating-point format.
5585         * math/auto-libm-test-out: Regenerated.
5586         * math/gen-libm-test.pl (cond_value): New function.
5587         (or_cond_value): Use cond_value.
5588         (generate_testfile): Handle conditional exceptions.
5589
5590 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
5591
5592         * math/libm-test.inc (max_valid_error): New variable.
5593         (init_max_error): Take new argument specifying whether function
5594         results are exactly determined.  Set max_valid_error and bound
5595         other variables for errors based on this argument.
5596         (set_max_error): Do not record results above max_valid_error.
5597         (check_float_internal): Only accept errors of up to 0.5ulps if
5598         also at most max_valid_error.
5599         (START): Take new argument EXACT and pass it to init_max_error.
5600         (acos_test): Update call to START.
5601         (acos_test_tonearest): Likewise.
5602         (acos_test_towardzero): Likewise.
5603         (acos_test_downward): Likewise.
5604         (acos_test_upward): Likewise.
5605         (acosh_test): Likewise.
5606         (asin_test): Likewise.
5607         (asin_test_tonearest): Likewise.
5608         (asin_test_towardzero): Likewise.
5609         (asin_test_downward): Likewise.
5610         (asin_test_upward): Likewise.
5611         (asinh_test): Likewise.
5612         (atan_test): Likewise.
5613         (atanh_test): Likewise.
5614         (atan2_test): Likewise.
5615         (cabs_test): Likewise.
5616         (cacos_test): Likewise.
5617         (cacosh_test): Likewise.
5618         (carg_test): Likewise.
5619         (casin_test): Likewise.
5620         (casinh_test): Likewise.
5621         (catan_test): Likewise.
5622         (catanh_test): Likewise.
5623         (cbrt_test): Likewise.
5624         (ccos_test): Likewise.
5625         (ccosh_test): Likewise.
5626         (ceil_test): Likewise.
5627         (cexp_test): Likewise.
5628         (cimag_test): Likewise.
5629         (clog_test): Likewise.
5630         (clog10_test): Likewise.
5631         (conj_test): Likewise.
5632         (copysign_test): Likewise.
5633         (cos_test): Likewise.
5634         (cos_test_tonearest): Likewise.
5635         (cos_test_towardzero): Likewise.
5636         (cos_test_downward): Likewise.
5637         (cos_test_upward): Likewise.
5638         (cosh_test): Likewise.
5639         (cosh_test_tonearest): Likewise.
5640         (cosh_test_towardzero): Likewise.
5641         (cosh_test_downward): Likewise.
5642         (cosh_test_upward): Likewise.
5643         (cpow_test): Likewise.
5644         (cproj_test): Likewise.
5645         (creal_test): Likewise.
5646         (csin_test): Likewise.
5647         (csinh_test): Likewise.
5648         (csqrt_test): Likewise.
5649         (ctan_test): Likewise.
5650         (ctan_test_tonearest): Likewise.
5651         (ctan_test_towardzero): Likewise.
5652         (ctan_test_downward): Likewise.
5653         (ctan_test_upward): Likewise.
5654         (ctanh_test): Likewise.
5655         (ctanh_test_tonearest): Likewise.
5656         (ctanh_test_towardzero): Likewise.
5657         (ctanh_test_downward): Likewise.
5658         (ctanh_test_upward): Likewise.
5659         (erf_test): Likewise.
5660         (erfc_test): Likewise.
5661         (exp_test): Likewise.
5662         (exp_test_tonearest): Likewise.
5663         (exp_test_towardzero): Likewise.
5664         (exp_test_downward): Likewise.
5665         (exp_test_upward): Likewise.
5666         (exp10_test): Likewise.
5667         (exp10_test_tonearest): Likewise.
5668         (exp10_test_towardzero): Likewise.
5669         (exp10_test_downward): Likewise.
5670         (exp10_test_upward): Likewise.
5671         (pow10_test): Likewise.
5672         (exp2_test): Likewise.
5673         (expm1_test): Likewise.
5674         (expm1_test_tonearest): Likewise.
5675         (expm1_test_towardzero): Likewise.
5676         (expm1_test_downward): Likewise.
5677         (expm1_test_upward): Likewise.
5678         (fabs_test): Likewise.
5679         (fdim_test): Likewise.
5680         (floor_test): Likewise.
5681         (fma_test): Likewise.
5682         (fma_test_towardzero): Likewise.
5683         (fma_test_downward): Likewise.
5684         (fma_test_upward): Likewise.
5685         (fmax_test): Likewise.
5686         (fmin_test): Likewise.
5687         (fmod_test): Likewise.
5688         (fpclassify_test): Likewise.
5689         (frexp_test): Likewise.
5690         (hypot_test): Likewise.
5691         (ilogb_test): Likewise.
5692         (isfinite_test): Likewise.
5693         (finite_test): Likewise.
5694         (isgreater_test): Likewise.
5695         (isgreaterequal_test): Likewise.
5696         (isinf_test): Likewise.
5697         (isless_test): Likewise.
5698         (islessequal_test): Likewise.
5699         (islessgreater_test): Likewise.
5700         (isnan_test): Likewise.
5701         (isnormal_test): Likewise.
5702         (issignaling_test): Likewise.
5703         (isunordered_test): Likewise.
5704         (j0_test): Likewise.
5705         (j1_test): Likewise.
5706         (jn_test): Likewise.
5707         (ldexp_test): Likewise.
5708         (lgamma_test): Likewise.
5709         (gamma_test): Likewise.
5710         (lrint_test): Likewise.
5711         (lrint_test_tonearest): Likewise.
5712         (lrint_test_towardzero): Likewise.
5713         (lrint_test_downward): Likewise.
5714         (lrint_test_upward): Likewise.
5715         (llrint_test): Likewise.
5716         (llrint_test_tonearest): Likewise.
5717         (llrint_test_towardzero): Likewise.
5718         (llrint_test_downward): Likewise.
5719         (llrint_test_upward): Likewise.
5720         (log_test): Likewise.
5721         (log10_test): Likewise.
5722         (log1p_test): Likewise.
5723         (log2_test): Likewise.
5724         (logb_test): Likewise.
5725         (logb_test_downward): Likewise.
5726         (lround_test): Likewise.
5727         (llround_test): Likewise.
5728         (modf_test): Likewise.
5729         (nearbyint_test): Likewise.
5730         (nextafter_test): Likewise.
5731         (nexttoward_test): Likewise.
5732         (pow_test): Likewise.
5733         (pow_test_tonearest): Likewise.
5734         (pow_test_towardzero): Likewise.
5735         (pow_test_downward): Likewise.
5736         (pow_test_upward): Likewise.
5737         (remainder_test): Likewise.
5738         (drem_test): Likewise.
5739         (remainder_test_tonearest): Likewise.
5740         (drem_test_tonearest): Likewise.
5741         (remainder_test_towardzero): Likewise.
5742         (drem_test_towardzero): Likewise.
5743         (remainder_test_downward): Likewise.
5744         (drem_test_downward): Likewise.
5745         (remainder_test_upward): Likewise.
5746         (drem_test_upward): Likewise.
5747         (remquo_test): Likewise.
5748         (rint_test): Likewise.
5749         (rint_test_tonearest): Likewise.
5750         (rint_test_towardzero): Likewise.
5751         (rint_test_downward): Likewise.
5752         (rint_test_upward): Likewise.
5753         (round_test): Likewise.
5754         (scalb_test): Likewise.
5755         (scalbn_test): Likewise.
5756         (scalbln_test): Likewise.
5757         (signbit_test): Likewise.
5758         (sin_test): Likewise.
5759         (sin_test_tonearest): Likewise.
5760         (sin_test_towardzero): Likewise.
5761         (sin_test_downward): Likewise.
5762         (sin_test_upward): Likewise.
5763         (sincos_test): Likewise.
5764         (sinh_test): Likewise.
5765         (sinh_test_tonearest): Likewise.
5766         (sinh_test_towardzero): Likewise.
5767         (sinh_test_downward): Likewise.
5768         (sinh_test_upward): Likewise.
5769         (sqrt_test): Likewise.
5770         (sqrt_test_tonearest): Likewise.
5771         (sqrt_test_towardzero): Likewise.
5772         (sqrt_test_downward): Likewise.
5773         (sqrt_test_upward): Likewise.
5774         (tan_test): Likewise.
5775         (tan_test_tonearest): Likewise.
5776         (tan_test_towardzero): Likewise.
5777         (tan_test_downward): Likewise.
5778         (tan_test_upward): Likewise.
5779         (tanh_test): Likewise.
5780         (tgamma_test): Likewise.
5781         (trunc_test): Likewise.
5782         (y0_test): Likewise.
5783         (y1_test): Likewise.
5784         (yn_test): Likewise.
5785         (significand_test): Likewise.
5786
5787         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5788         individual tests in comment.
5789         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5790         (prev_max_error): New variable.
5791         (prev_real_max_error): Likewise.
5792         (prev_imag_max_error): Likewise.
5793         (compare_ulp_data): Don't refer to test names in comment.
5794         (find_test_ulps): Remove function.
5795         (find_function_ulps): Likewise.
5796         (find_complex_function_ulps): Likewise.
5797         (init_max_error): Take function name as argument.  Look up ulps
5798         for that function.
5799         (print_ulps): Remove function.
5800         (print_max_error): Use prev_max_error instead of calling
5801         find_function_ulps.
5802         (print_complex_max_error): Use prev_real_max_error and
5803         prev_imag_max_error instead of calling find_complex_function_ulps.
5804         (check_float_internal): Take max_ulp parameter instead of calling
5805         find_test_ulps.  Don't call print_ulps.
5806         (check_float): Update call to check_float_internal.
5807         (check_complex): Update calls to check_float_internal.
5808         (START): Pass argument to init_max_error.
5809         * math/gen-libm-test.pl (%results): Don't include "kind"
5810         information.
5811         (parse_ulps): Don't handle ulps of individual tests.
5812         (print_ulps_file): Likewise.
5813         (output_ulps): Likewise.
5814         * math/README.libm-test: Update.
5815         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5816         individual tests.
5817         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5818         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5819         * sysdeps/arm/libm-test-ulps: Likewise.
5820         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5821         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5822         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5823         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5824         * sysdeps/microblaze/libm-test-ulps: Likewise.
5825         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5826         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5827         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5828         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5829         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5830         * sysdeps/sh/libm-test-ulps: Likewise.
5831         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5832         * sysdeps/tile/libm-test-ulps: Likewise.
5833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834
5835 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
5836
5837         * math/libm-test.inc (print_complex_max_error): Check separately
5838         whether real and imaginary errors are within allowed range and
5839         pass 0 to print_complex_function_ulps instead of value within
5840         allowed range.
5841
5842 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5843
5844         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5845         formatting.
5846         (get_handles_fopen): Likewise.
5847         (do_write_test): Likewise.
5848
5849         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5850
5851         * libio/fileops.c (do_ftell): Use cached offset when
5852         available.
5853         * libio/iofwide.c (do_ftell_wide): Likewise.
5854         * libio/iofdopen.c (_IO_new_fdopen): Don't use
5855         _IO_file_attach.
5856         * libio/wfileops.c (_IO_fwide): Don't cache offset.
5857
5858         [BZ #16532]
5859         * libio/libioP.h (get_file_offset): New function.
5860         * libio/fileops.c (get_file_offset): Likewise.
5861         (do_ftell): Likewise.
5862         (_IO_new_file_seekoff): Split out ftell logic.
5863         * libio/wfileops.c (do_ftell_wide): Likewise.
5864         (_IO_wfile_seekoff): Split out ftell logic.
5865         * libio/tst-ftell-active-handler.c: New test case.
5866         * libio/Makefile (tests): Add it.
5867
5868 2014-03-03  Roland McGrath  <roland@hack.frob.com>
5869
5870         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5871         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5872
5873 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5874
5875         [BZ #16639]
5876         * nscd/connections.c (nscd_init): Call do_exit.
5877         (start_threads): Call do_exit and notify_parent.
5878         (begin_drop_privileges): Call do_exit.
5879         (finish_drop_privileges): Likewise.
5880         * nscd/selinux.c (preserve_capabilities): Likewise.
5881         (install_real_capabilities): Likewise.
5882         (nscd_selinux_enabled): Likewise.
5883         (avc_create_thread): Likewise.
5884         (avc_alloc_lock): Likewise.
5885         (nscd_avc_init): Likewise.
5886         * nscd/nscd.c (parent_fd): New static variable.
5887         (main): Create a pipe between parent and child processes.
5888         Skip closing parent_fd.
5889         (monitor_child): New function.
5890         (do_exit): Likewise.
5891         (notify_parent): Likewise.
5892         * nscd/nscd.h (notify_parent): Likewise.
5893         (do_exit): Likewise.
5894
5895 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
5896
5897         * malloc/malloc.c (__libc_calloc): Revert last change.
5898
5899 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5900
5901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5902
5903 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5904
5905         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5907         implementation.
5908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5909         (__libc_ifunc_impl_list): Likewise.
5910         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5911         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5912         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5913         * string/strrchr.c: Define STRRCHR.
5914
5915 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
5916
5917         * benchtest/bench-strtok.c (simple_strtok): Delete.
5918         (strtok_string): Use as benchmark.
5919         * string/strtok (STRTOK): New macro.
5920
5921 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
5922
5923         * manual/threads.texi: Add header and standard comments to all
5924         functions.
5925
5926         * elf/dl-lookup.c (check_match): New function.
5927         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5928         (do_lookup_x): Remove nested function check_match. Use non-nested
5929         function check_match.
5930
5931 2014-02-28  Roland McGrath  <roland@hack.frob.com>
5932
5933         * csu/Makefile (generated, before-compile): Use += rather than =.
5934         * catgets/Makefile (generated, generated-dirs): Likewise.
5935         * debug/Makefile (generated): Likewise.
5936         * dlfcn/Makefile (generated): Likewise.
5937         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5938         * iconvdata/Makefile (before-compile, generated): Likewise.
5939         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5940         * libio/Makefile (generated): Likewise.
5941         * malloc/Makefile (generated): Likewise.
5942         * manual/Makefile (generated, generated-dirs): Likewise.
5943         * misc/Makefile (generated): Likewise.
5944         * posix/Makefile (generated): Likewise.
5945         * resolv/Makefile (generated): Likewise.
5946         * sunrpc/Makefile (generated, generated-dirs): Likewise.
5947         * timezone/Makefile (generated, generated-dirs): Likewise.
5948
5949         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5950
5951 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5952
5953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5954         power8 implementation.
5955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5956         file: POWER8 llround ifunc implementation.
5957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5958         (__lllround): Add POWER8 implementation.
5959         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5960         POWER8 llround implementation.
5961
5962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5963         power8 implementation.
5964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5965         file: POWER8 llrint ifunc implementation.
5966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5967         Add POWER8 implementation.
5968         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5969         POWER8 llrint implementation.
5970
5971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5972         power8 implementation.
5973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5974         file: POWER8 finite ifunc implementation.
5975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5976         Add POWER8 implementation.
5977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5978         Likewise.
5979         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5980         POWER8 finite implementation.
5981         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5982
5983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5984         power8 implementation.
5985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5986         file: POWER8 isinf ifunc implementation.
5987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5988         POWER8 implementation.
5989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5990         Likewise.
5991         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5992         isinf implementation.
5993         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5994
5995         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5996         (INIT_ARCH): Add hwcap2 initialization.
5997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5998         power8 implementation.
5999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6000         file: POWER8 isnan ifunc implementation.
6001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6002         POWER8 implementation.
6003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6004         Likewise.
6005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6006         isnan implementation.
6007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6008
6009 2014-02-27  Joey Ye  <joey.ye@arm.com>
6010
6011         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6012         (_FP_NANFRAC_Q): Set to zero.
6013
6014 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6015
6016         [BZ #16623]
6017         * math/auto-libm-test-in: New test inputs.
6018         * math/auto-libm-test-out: Regenerate.
6019         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6020         and DA.
6021         (__cos): Likewise.
6022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6023
6024 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6025
6026         * scripts/evaluate-test.sh: Take new argument indicating whether
6027         failure is expected.
6028         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6029         indicating whether failure is expected.
6030         * conform/Makefile (test-xfail-run-conformtest): New variable.
6031         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6032         level.
6033         * posix/Makefile (test-xfail-annexc): New variable.
6034         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6035
6036 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6037
6038         * argp/Makefile: Include Makeconfig immediately after defining
6039         subdir.
6040         * assert/Makefile: Likewise.
6041         * benchtests/Makefile: Likewise.
6042         * catgets/Makefile: Likewise.
6043         * conform/Makefile: Likewise.
6044         * crypt/Makefile: Likewise.
6045         * csu/Makefile: Likewise.
6046         (all): Remove target.
6047         * ctype/Makefile: Include Makeconfig immediately after defining
6048         subdir.
6049         * debug/Makefile: Likewise.
6050         * dirent/Makefile: Likewise.
6051         * dlfcn/Makefile: Likewise.
6052         * gmon/Makefile: Likewise.
6053         * gnulib/Makefile: Likewise.
6054         * grp/Makefile: Likewise.
6055         * gshadow/Makefile: Likewise.
6056         * hesiod/Makefile: Likewise.
6057         * hurd/Makefile: Likewise.
6058         (all): Remove target.
6059         * iconvdata/Makefile: Include Makeconfig immediately after
6060         defining subdir.
6061         * inet/Makefile: Likewise.
6062         * intl/Makefile: Likewise.
6063         * io/Makefile: Likewise.
6064         * libio/Makefile: Likewise.
6065         (all): Remove target.
6066         * locale/Makefile: Include Makeconfig immediately after defining
6067         subdir.
6068         * login/Makefile: Likewise.
6069         * mach/Makefile: Likewise.
6070         (all): Remove target.
6071         * malloc/Makefile: Include Makeconfig immediately after defining
6072         subdir.
6073         (all): Remove target.
6074         * manual/Makefile: Include Makeconfig immediately after defining
6075         subdir.
6076         * math/Makefile: Likewise.
6077         * misc/Makefile: Likewise.
6078         * nis/Makefile: Likewise.
6079         * nss/Makefile: Likewise.
6080         * po/Makefile: Likewise.
6081         (all): Remove target.
6082         * posix/Makefile: Include Makeconfig immediately after defining
6083         subdir.
6084         * pwd/Makefile: Likewise.
6085         * resolv/Makefile: Likewise.
6086         * resource/Makefile: Likewise.
6087         * rt/Makefile: Likewise.
6088         * setjmp/Makefile: Likewise.
6089         * shadow/Makefile: Likewise.
6090         * signal/Makefile: Likewise.
6091         * socket/Makefile: Likewise.
6092         * soft-fp/Makefile: Likewise.
6093         * stdio-common/Makefile: Likewise.
6094         * stdlib/Makefile: Likewise.
6095         * streams/Makefile: Likewise.
6096         * string/Makefile: Likewise.
6097         * sunrpc/Makefile: Likewise.
6098         (all): Remove target.
6099         * sysvipc/Makefile: Include Makeconfig immediately after defining
6100         subdir.
6101         * termios/Makefile: Likewise.
6102         * time/Makefile: Likewise.
6103         * timezone/Makefile: Likewise.
6104         (all): Remove target.
6105         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6106         subdir.
6107         * wctype/Makefile: Likewise.
6108
6109 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6110
6111         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6112         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6113         (libc_feholdexcept_setround_mips): Ditto.
6114         (libc_feholdsetround): New.
6115         (libc_feholdsetroundf): New.
6116         (libc_feholdsetroundl): New.
6117         (libc_feupdateenv_test_mips): New.
6118         (libc_feupdateenv_test): New.
6119         (libc_feupdateenv_testf): New.
6120         (libc_feupdateenv_testl): New.
6121         (libc_feresetround): New.
6122         (libc_feresetroundf): New.
6123         (libc_feresetroundl): New.
6124         (libc_fetestexcept_mips): New.
6125         (libc_fetestexcept): New.
6126         (libc_fetestexceptf): New.
6127         (libc_fetestexceptl): New.
6128         (HAVE_RM_CTX): New.
6129         (libc_feholdexcept_setround_mips_ctx): New.
6130         (libc_feholdexcept_setround_ctx): New.
6131         (libc_feholdexcept_setroundf_ctx): New.
6132         (libc_feholdexcept_setroundl_ctx): New.
6133         (libc_fesetenv_mips_ctx): New.
6134         (libc_fesetenv_ctx): New.
6135         (libc_fesetenv_ctxf): New.
6136         (libc_fesetenv_ctxl): New.
6137         (libc_feupdateenv_mips_ctx): New.
6138         (libc_feupdateenv_ctx): New.
6139         (libc_feupdateenvf_ctx): New.
6140         (libc_feupdateenvl_ctx): New.
6141         (libc_feholdsetround_mips_ctx): New.
6142         (libc_feholdsetround_ctx): New.
6143         (libc_feholdsetroundf_ctx): New.
6144         (libc_feholdsetroundl_ctx): New.
6145         (libc_feresetround_mips_ctx): New.
6146         (libc_feresetround_ctx): New.
6147         (libc_feresetroundf_ctx): New.
6148         (libc_feresetroundl_ctx): New.
6149
6150 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6151
6152         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6153
6154         * manual/ipc.texi: New file.
6155         * manual/Makefile (chapters): Add ipc.
6156         * manual/job.texi: Add "Inter-Process Communication" to next.
6157         * manual/process.texi: Add "Inter-Process Communication" to prev.
6158
6159 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6160
6161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6162
6163 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6164
6165         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6166
6167         * manual/arith.texi: Fix spaces after sentences.
6168         * manual/charset.texi: Likewise.
6169         * manual/errno.texi: Likewise.
6170         * manual/install.texi: Likewise.
6171         * manual/llio.texi: Likewise.
6172         * manual/locale.texi: Likewise.
6173         * manual/maint.texi: Likewise.
6174         * manual/math.texi: Likewise.
6175         * manual/memory.texi: Likewise.
6176         * manual/message.texi: Likewise.
6177         * manual/probes.texi: Likewise.
6178         * manual/resource.texi: Likewise.
6179         * manual/signal.texi: Likewise.
6180         * manual/socket.texi: Likewise.
6181         * manual/stdio.texi: Likewise.
6182         * manual/string.texi: Likewise.
6183         * manual/time.texi: Likewise.
6184         * manual/users.texi: Likewise.
6185
6186 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6187
6188         [BZ #16632]
6189         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6190         _DEFAULT_SOURCE is defined.
6191
6192 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6193             Carlos O'Donell  <carlos@redhat.com>
6194
6195         [BZ #16613]
6196         * elf/dl-tls.c (_dl_count_modids): New function.
6197         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6198         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6199         audit library and increment generation counter.
6200         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6201         * elf/tst-audit9.c: New file.
6202         * elf/tst-auditmod9a.c: New file.
6203         * elf/tst-auditmod9b.c: New file.
6204         * elf/Makefile: Add rules to build and run tst-audit9.
6205
6206 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6207
6208         [BZ #15347]
6209         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6210
6211 2014-02-25  Will Newton  <will.newton@linaro.org>
6212
6213         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6214         (__longjmp): Restore sp and lr before restoring callee
6215         saved registers.  Add longjmp and longjmp_target
6216         SystemTap probe point.
6217         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6218         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6219         Define to zero to match jmpbuf layout.
6220         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6221         (__sigsetjmp): Save sp and lr before saving callee
6222         saved registers.  Add setjmp SystemTap probe point.
6223
6224 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6225
6226         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6227
6228 2014-02-24  Andreas Schwab  <schwab@suse.de>
6229
6230         [BZ #15804]
6231         * elf/pldd.c (wait_for_ptrace_stop): New function.
6232         (main): Call it after attaching.
6233
6234 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6235
6236         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6237         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6238         Versions files is now verboten.
6239         * hurd/Versions (libc: GLIBC_2.0):
6240         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6241         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6242         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6243         * mach/Versions: Likewise.
6244
6245         * csu/Versions: Remove unused %include.
6246         * resolv/Versions: Likewise.
6247
6248 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6249
6250         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6251         ($(objpfx)check-local-headers.out): Likewise.
6252         ($(objpfx)begin-end-check.out): Likewise.
6253         * Makerules (check-abi-%.out): Likewise.
6254         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6255         ($(objpfx)test2.cat): Likewise.
6256         ($(objpfx)de/libc.cat): Likewise.
6257         ($(objpfx)test-gencat.out): Likewise.
6258         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6259         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6260         ($(objpfx)noload-mem): Likewise.
6261         ($(objpfx)tst-pathopt.out): Likewise.
6262         ($(objpfx)tst-rtld-load-self.out): Likewise.
6263         ($(objpfx)tst-array1-cmp.out): Likewise.
6264         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6265         ($(objpfx)tst-array2-cmp.out): Likewise.
6266         ($(objpfx)tst-array3-cmp.out): Likewise.
6267         ($(objpfx)tst-array4-cmp.out): Likewise.
6268         ($(objpfx)tst-array5-cmp.out): Likewise.
6269         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6270         ($(objpfx)check-textrel.out): Likewise.
6271         ($(objpfx)check-execstack.out): Likewise.
6272         ($(objpfx)check-localplt.out): Likewise.
6273         ($(objpfx)order2-cmp.out): Likewise.
6274         ($(objpfx)tst-leaks1-mem): Likewise.
6275         ($(objpfx)tst-leaks1-static-mem): Likewise.
6276         ($(objpfx)tst-initorder-cmp.out): Likewise.
6277         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6278         ($(objpfx)tst-unused-dep.out): Likewise.
6279         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6280         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6281         * iconv/Makefile (test-iconvconfig): Likewise.
6282         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6283         ($(objpfx)iconv-test.out): Likewise.
6284         ($(objpfx)tst-tables.out): Likewise.
6285         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6286         ($(objpfx)tst-gettext.out): Likewise.
6287         ($(objpfx)tst-translit.out): Likewise.
6288         ($(objpfx)tst-gettext2.out): Likewise.
6289         ($(objpfx)tst-gettext4.out): Likewise.
6290         ($(objpfx)tst-gettext6.out): Likewise.
6291         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6292         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6293         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6294         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6295         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6296         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6297         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6298         ($(objpfx)wordexp-tst.out): Likewise.
6299         ($(objpfx)annexc.out): Likewise.
6300         ($(objpfx)tst-fnmatch-mem): Likewise.
6301         ($(objpfx)bug-regex2-mem): Likewise.
6302         ($(objpfx)bug-regex14-mem): Likewise.
6303         ($(objpfx)bug-regex21-mem): Likewise.
6304         ($(objpfx)bug-regex31-mem): Likewise.
6305         ($(objpfx)tst-vfork3-mem): Likewise.
6306         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6307         ($(objpfx)tst-pcre-mem): Likewise.
6308         ($(objpfx)tst-boost-mem): Likewise.
6309         ($(objpfx)tst-getconf.out): Likewise.
6310         ($(objpfx)bug-ga2-mem): Likewise.
6311         ($(objpfx)bug-glob2-mem): Likewise.
6312         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6313         ($(objpfx)mtrace-tst-leaks2): Likewise.
6314         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6315         ($(objpfx)tst-printf.out): Likewise.
6316         ($(objpfx)tst-setvbuf1.out): Likewise.
6317         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6318         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6319         ($(objpfx)tst-fmtmsg.out): Likewise.
6320         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6321         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6322
6323         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6324         * bits/sigaction.h [__USE_MISC]: Likewise.
6325         * bits/waitstatus.h: Update #endif comments.
6326         * ctype/ctype.h: Likewise.
6327         * dirent/dirent.h: Likewise.
6328         [__USE_MISC]: Remove redundant conditionals.
6329         * grp/grp.h: Update #endif comments.
6330         [__USE_GNU]: Remove redundant conditionals.
6331         [__USE_MISC]: Likewise.
6332         * inet/netinet/in.h [__USE_GNU]: Likewise.
6333         * io/sys/stat.h [__USE_MISC]: Likewise.
6334         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6335         * libio/bits/stdio.h: Update #endif comments.
6336         [__USE_MISC]: Remove redundant conditionals.
6337         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6338         * libio/stdio.h: Update #endif comments.
6339         [__USE_MISC]: Remove redundant conditionals.
6340         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6341         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6342         * math/math.h: Update #else and #endif comments.
6343         [__USE_MISC]: Remove redundant conditionals.
6344         * misc/sys/uio.h: Update #endif comments.
6345         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6346         * posix/glob.h [__USE_MISC]: Likewise.
6347         * posix/sys/types.h: Update #endif comments.
6348         [__USE_MISC]: Remove redundant conditionals.
6349         * posix/sys/wait.h: Update #endif comments.
6350         [__USE_MISC]: Remove redundant conditionals.
6351         * posix/unistd.h: Update #endif comments.
6352         [__USE_MISC]: Remove redundant conditionals.
6353         * pwd/pwd.h [__USE_GNU]: Likewise.
6354         [__USE_MISC]: Likewise.
6355         * resolv/netdb.h [__USE_GNU]: Likewise.
6356         * signal/signal.h: Update #endif comments.
6357         [__USE_MISC]: Remove redundant conditionals.
6358         * stdlib/stdlib.h: Update #else and #endif comments.
6359         [__USE_MISC]: Remove redundant conditionals.
6360         [__USE_GNU]: Likewise.
6361         * string/bits/string2.h [__USE_MISC]: Likewise.
6362         * string/string.h: Update #endif comments.
6363         [__USE_MISC]: Remove redundant conditionals.
6364         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6365         Likewise.
6366         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6367         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6368         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6369         Likewise.
6370         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6371         Likewise.
6372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6373         comments.
6374         [__USE_MISC]: Remove redundant conditionals.
6375         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6376         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6377         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6378         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6379         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6380         Likewise.
6381         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6382         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6383         Likewise.
6384         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6385         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6386         Likewise.
6387         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6388         Likewise.
6389         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6390         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6391         Likewise.
6392         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6393         Likewise.
6394         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6395         * sysdeps/x86/bits/string.h: Update #endif comments.
6396         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6397         conditionals.
6398         * time/sys/time.h: Update #endif comments.
6399         * time/time.h: Likewise.
6400         [__USE_MISC]: Remove redundant conditionals.
6401
6402 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6403
6404         [BZ #16600]
6405         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6406
6407 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6408
6409         * Versions.def (librt): Add GLIBC_2.17.
6410
6411 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6412
6413         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6414         synonym for _SYS_AUXV_H to allow direct inclusion.
6415         * sysdeps/sparc/bits/hwcap.h: Likewise.
6416         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6417         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6418         * sysdeps/sparc/sysdep.h: Likewise.
6419
6420 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6421
6422         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6423
6424 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6425
6426         * benchtests/bench-strrchr.c: Print length instead of position.
6427
6428 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6429
6430         [BZ #16611]
6431         * sysdeps/unix/sysv/linux/kernel-features.h
6432         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6433         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6434         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6435         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6436         Likewise.
6437         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6438         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6439         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6440         (__ASSUME_SENDMMSG): Define instead of using previous
6441         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6443         (__ASSUME_SENDMMSG_SYSCALL): Define.
6444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6445         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6446         Likewise.
6447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6449         Likewise.
6450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6451         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6452         Likewise.
6453         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6454         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6455         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6456         [__ASSUME_SENDMMSG]: Change conditionals to
6457         [__ASSUME_SENDMMSG_SOCKETCALL].
6458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6459         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6460         Define.
6461         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6462         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6463         Likewise.
6464         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6465         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6466         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6467         [!__ASSUME_SENDMMSG]: Change conditional to
6468         [!__ASSUME_SENDMMSG_SOCKETCALL].
6469         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6470         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6471         Define.
6472
6473         [BZ #16610]
6474         * sysdeps/unix/sysv/linux/kernel-features.h
6475         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6476         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6477         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6478         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6479         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6480         [__i386__ || __sparc__]
6481         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6482         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6483         (__ASSUME_RECVMMSG): Define instead of using previous
6484         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6485         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6486         (__ASSUME_RECVMMSG_SYSCALL): Define.
6487         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6489         Likewise.
6490         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6492         Likewise.
6493         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6494         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6495         Likewise.
6496         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6497         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6498         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6499         [__ASSUME_RECVMMSG]: Change condition to
6500         [__ASSUME_RECVMMSG_SOCKETCALL].
6501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6502         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6503         Define.
6504         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6507         Likewise.
6508         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6509         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6510         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6511         [!__ASSUME_RECVMMSG]: Change condition to
6512         [!__ASSUME_RECVMMSG_SOCKETCALL].
6513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6514         (__ASSUME_RECVMMSG_SYSCALL): Define.
6515
6516         [BZ #16609]
6517         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6518         __powerpc__ || __s390__ || __sh__ || __sparc__]
6519         (__ASSUME_SOCKETCALL): Define.
6520         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6521         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6522         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6523         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6524         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6525         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6526         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6527         (__ASSUME_ACCEPT4): Define instead of using previous
6528         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6529         __powerpc__ || __sparc__ || __s390__)] condition.
6530         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6531         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6532         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6533         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6534         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6535         [!__ASSUME_ACCEPT4]: Change condition to
6536         [!__ASSUME_ACCEPT4_SOCKETCALL].
6537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6538         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
6539         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6541         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6542         __ASSUME_ACCEPT4_SYSCALL.
6543         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6544         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6545         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6546         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6547         __ASSUME_ACCEPT4_SYSCALL.
6548         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6549         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6550         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6551         [__ASSUME_ACCEPT4]: Change condition to
6552         [__ASSUME_ACCEPT4_SOCKETCALL].
6553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6554         (__ASSUME_SOCKETCALL): Define.
6555         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6557         (__ASSUME_SOCKETCALL): Define.
6558         (__ASSUME_ACCEPT4): Remove.
6559         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6560         Define.
6561         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6562         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6565         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6566
6567         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6568         macro.
6569         (HWCAP_ARM_LPAE): Likewise.
6570         (HWCAP_ARM_EVTSTRM): Likewise.
6571         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6572         Add vpfd32, lpae and evtstrm.
6573         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6574         Increase to 22.
6575
6576 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
6577
6578         * math/auto-libm-test-in: Add tests of clog10.
6579         * math/auto-libm-test-out: Regenerated.
6580         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6581         * sysdeps/i386/fpu/libm-test-ulps: Update.
6582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6583
6584 2014-02-18  Andreas Schwab  <schwab@suse.de>
6585
6586         [BZ #16574]
6587         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6588         Store non-zero if the second buffer was newly allocated.
6589         (send_dg): Likewise.
6590         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6591         to send_vc and send_dg.
6592         (res_nsend): Pass NULL for ansp2_malloced.
6593         * resolv/res_query.c (__libc_res_nquery): Add parameter
6594         answerp2_malloced and pass it down to __libc_res_nsend.
6595         (res_nquery): Pass additional NULL to __libc_res_nquery.
6596         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6597         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
6598         second answer buffer if answerp2_malloced was set.
6599         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6600         (__libc_res_nquerydomain): Add parameter
6601         answerp2_malloced and pass it down to __libc_res_nquery.
6602         (res_nquerydomain): Pass additional NULL to
6603         __libc_res_nquerydomain.
6604         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6605         additional NULL to __libc_res_nsend and __libc_res_nquery.
6606         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6607         additional NULL to __libc_res_nsearch.
6608         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
6609         parameter of __libc_res_nsearch to check for separately allocated
6610         second buffer.
6611         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6612         __libc_res_nquery.
6613         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6614         additional NULL to __libc_res_nquery.
6615         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6616         __libc_res_nsearch.
6617         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6618         * include/resolv.h: Update prototypes of __libc_res_nquery,
6619         __libc_res_nsearch, __libc_res_nsend.
6620
6621 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
6622
6623         * math/auto-libm-test-in: Add tests of fma.
6624         * math/auto-libm-test-out: Regenerated.
6625         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6626         (fma_towardzero_test_data): Likewise.
6627         (fma_downward_test_data): Likewise.
6628         (fma_upward_test_data): Likewise.
6629         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6630         mpc_mode.
6631         (rounding_modes): Add values for new field.
6632         (func_calc_method): Add value mpfr_fff_f.
6633         (func_calc_desc): Add mpfr_fff_f union field.
6634         (test_function): Add field exact_args.
6635         (FUNC): Add macro argument EXACT_ARGS.
6636         (FUNC_mpfr_f_f): Update call to FUNC.
6637         (FUNC_mpfr_f_f): Likewise.
6638         (FUNC_mpfr_ff_f): Likewise.
6639         (FUNC_mpfr_if_f): Likewise.
6640         (FUNC_mpc_c_f): Likewise.
6641         (FUNC_mpc_c_c): Likewise.
6642         (test_functions): Add fma.  Update calls to FUNC.
6643         (handle_input_arg): Add argument exact_args.
6644         (add_test): Update call to handle_input_arg.
6645         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
6646         (output_for_one_input_case): Update call to calc_generic_results.
6647         Recalculate exact zero results in each rounding mode.
6648
6649         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6650         non-negative before setting low bit.
6651         * math/auto-libm-test-in: Mark one asin test possibly having
6652         spurious underflow.
6653         * math/auto-libm-test-out: Regenerated.
6654         * sysdeps/i386/fpu/libm-test-ulps: Update.
6655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6656
6657 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
6658
6659         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6660         * sysdeps/unix/sysv/linux/microblaze: Move directory from
6661         ports/sysdeps/unix/sysv/linux/microblaze.
6662         * README: Add missing listing for microblaze*-*-linux-gnu.
6663
6664 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
6665
6666         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6667         * sysdeps/unix/sysv/linux/ia64: Move directory from
6668         ports/sysdeps/unix/sysv/linux/ia64.
6669         * README: Update listing for ia64-*-linux-gnu.
6670
6671 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
6672             Joseph Myers  <joseph@codesourcery.com>
6673
6674         * Makeconfig (test-name): New variable.
6675         (evaluate-test): Likewise.
6676         * Makerules (do-test-clean): Remove .test-result files.
6677         (common-mostlyclean): Likewise.
6678         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6679         * scripts/evaluate-test.sh: New file.
6680
6681 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
6682
6683         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6684         separate $(objpfx)tst-fopenloc-cmp.out and
6685         $(objpfx)tst-fopenloc-mem.out targets.
6686         (tests): Update dependencies.
6687         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6688         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6689         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6690         (tst-rxspencer-no-utf8-ARGS): New variable.
6691         (tst-rxspencer-no-utf8-ENV): Likewise.
6692         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6693         instead of $(objpfx)tst-rxspencer-mem.
6694         ($(objpfx)tst-rxspencer-mem): Change target to
6695         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
6696         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6697         * posix/tst-rxspencer-no-utf8.c: New file.
6698
6699         * elf/Makefile ($(objpfx)order.out): Remove rule.
6700         [$(run-built-tests) = yes] (tests): Depend on
6701         $(objpfx)order-cmp.out.
6702         ($(objpfx)order-cmp.out): New rule.
6703         [$(run-built-tests) = yes] (tests): Depend on
6704         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6705         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6706         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6707         $(objpfx)tst-array5-static-cmp.out.
6708         ($(objpfx)tst-array1.out): Remove rule.
6709         ($(objpfx)tst-array1-cmp.out): New rule.
6710         ($(objpfx)tst-array1-static.out): Remove rule.
6711         ($(objpfx)tst-array1-static-cmp.out): New rule.
6712         ($(objpfx)tst-array2.out): Remove rule.
6713         ($(objpfx)tst-array2-cmp.out): New rule.
6714         ($(objpfx)tst-array3.out): Remove rule.
6715         ($(objpfx)tst-array3-cmp.out): New rule.
6716         ($(objpfx)tst-array4.out): Remove rule.
6717         ($(objpfx)tst-array4-cmp.out): New rule.
6718         ($(objpfx)tst-array5.out): Remove rule.
6719         ($(objpfx)tst-array5-cmp.out): New rule.
6720         ($(objpfx)tst-array5-static.out): Remove rule.
6721         ($(objpfx)tst-array5-static-cmp.out): New rule.
6722         [$(run-built-tests) = yes] (tests): Depend on
6723         $(objpfx)order2-cmp.out.
6724         ($(objpfx)order2.out): Remove rule.
6725         ($(objpfx)order2-cmp.out): New rule.
6726         ($(objpfx)tst-initorder.out): Remove rule.
6727         [$(run-built-tests) = yes] (tests): Depend on
6728         $(objpfx)tst-initorder-cmp.out.
6729         ($(objpfx)tst-initorder-cmp.out): New rule.
6730         ($(objpfx)tst-initorder2.out): Remove rule.
6731         [$(run-built-tests) = yes] (tests): Depend on
6732         $(objpfx)tst-initorder2-cmp.out.
6733         ($(objpfx)tst-initorder2-cmp.out): New rule.
6734         [$(run-built-tests) = yes] (tests): Depend on
6735         $(objpfx)tst-unused-dep-cmp.out.
6736         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6737         ($(objpfx)tst-unused-dep-cmp.out): New rule.
6738         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6739         on $(objpfx)tst-setvbuf1-cmp.out.
6740         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6741         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6742         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6743         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6744         ($(objpfx)tst-svc.out): Remove rule.
6745         ($(objpfx)tst-svc-cmp.out): New rule.
6746
6747 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
6748
6749         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6750         * ctype/ctype.h [__USE_MISC]: Likewise.
6751         * dirent/dirent.h [__USE_MISC]: Likewise.
6752         * grp/grp.h [__USE_MISC]: Likewise.
6753         * io/fcntl.h [__USE_MISC]: Likewise.
6754         * io/sys/stat.h [__USE_MISC]: Likewise.
6755         * libio/stdio.h [__USE_MISC]: Likewise.
6756         * posix/unistd.h [__USE_MISC]: Likewise.
6757         * pwd/pwd.h [__USE_MISC]: Likewise.
6758         * stdlib.h [__USE_MISC]: Likewise.
6759         * string/bits/string2.h [__USE_MISC]: Likewise.
6760         * string/string.h [__USE_MISC]: Likewise.
6761         * time/time.h [__USE_MISC]: Likewise.
6762
6763 2014-02-13  Andreas Schwab  <schwab@suse.de>
6764
6765         [BZ #16574]
6766         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6767         second answer buffer if it was separately allocated.
6768
6769 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
6770
6771         * sysdeps/mips/math-tests.h: Include <features.h>.
6772         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6773         (ROUNDING_TESTS_long_double): Do not define.
6774         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6775         (EXCEPTION_TESTS_long_double): Likewise.
6776         * sysdeps/mips/mips64/libm-test-ulps: Update.
6777
6778         * include/features.h (__USE_BSD): Remove macro definitions.
6779         (__USE_SVID): Likewise.
6780         (_BSD_SOURCE): Likewise.
6781         (_SVID_SOURCE): Likewise.
6782         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6783         from definition of _DEFAULT_SOURCE.
6784         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6785         [_DEFAULT_SOURCE].
6786         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6787         * bits/mman.h [__USE_BSD]: Likewise.
6788         * bits/termios.h [__USE_BSD]: Likewise.
6789         * bits/waitstatus.h [__USE_BSD]: Likewise.
6790         * ctype/ctype.h [__USE_SVID]: Likewise.
6791         * dirent/dirent.h [__USE_BSD]: Likewise.
6792         * grp/grp.h [__USE_SVID]: Likewise.
6793         [__USE_BSD]: Likewise.
6794         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6795         * io/fcntl.h [__USE_BSD]: Likewise.
6796         * io/ftw.h [__USE_BSD]: Likewise.
6797         * io/sys/stat.h [__USE_BSD]: Likewise.
6798         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6799         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6800         * libio/stdio.h [__USE_SVID]: Likewise.
6801         [__USE_BSD]: Likewise.
6802         * math/math.h [__USE_SVID]: Likewise.
6803         [__USE_BSD]: Likewise.
6804         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6805         * misc/bits/syslog.h [__USE_BSD]: Likewise.
6806         * misc/search.h [__USE_SVID]: Likewise.
6807         * misc/sys/mman.h [__USE_BSD]: Likewise.
6808         * misc/sys/syslog.h [__USE_BSD]: Likewise.
6809         * misc/sys/uio.h [__USE_BSD]: Likewise.
6810         * posix/bits/unistd.h [__USE_BSD]: Likewise.
6811         * posix/glob.h [__USE_BSD]: Likewise.
6812         * posix/regex.h [__USE_BSD]: Likewise.
6813         * posix/sys/types.h [__USE_BSD]: Likewise.
6814         [__USE_SVID]: Likewise.
6815         * posix/sys/utsname.h [__USE_SVID]: Likewise.
6816         * posix/sys/wait.h [__USE_BSD]: Likewise.
6817         [__USE_SVID]: Likewise.
6818         * posix/unistd.h [__USE_BSD]: Likewise.
6819         [__USE_SVID]: Likewise.
6820         * pwd/pwd.h [__USE_SVID]: Likewise.
6821         * resolv/netdb.h [__USE_BSD]: Likewise.
6822         * setjmp/setjmp.h [__USE_BSD]: Likewise.
6823         * signal/signal.h [__USE_BSD]: Likewise.
6824         [__USE_SVID]: Likewise.
6825         * socket/sys/socket.h [__USE_BSD]: Likewise.
6826         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6827         * stdlib/stdlib.h [__USE_BSD]: Likewise.
6828         [__USE_SVID]: Likewise.
6829         * string/bits/string2.h [__USE_BSD]: Likewise.
6830         [__USE_SVID]: Likewise.
6831         * string/bits/string3.h [__USE_BSD]: Likewise.
6832         * string/endian.h [__USE_BSD]: Likewise.
6833         * string/string.h [__USE_SVID]: Likewise.
6834         [__USE_BSD]: Likewise.
6835         * string/strings.h [__USE_BSD]: Likewise.
6836         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6837         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6838         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6839         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6840         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6841         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6842         Likewise.
6843         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6844         Likewise.
6845         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6846         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6847         Likewise.
6848         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6849         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6850         Likewise.
6851         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6852         Likewise.
6853         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6854         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6855         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6856         Likewise.
6857         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6858         Likewise.
6859         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6860         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6861         * termios/termios.h [__USE_BSD]: Likewise.
6862         * time/sys/time.h [__USE_BSD]: Likewise.
6863         * time/time.h [__USE_BSD]: Likewise.
6864         [__USE_SVID]: Likewise.
6865
6866         * Makefile (subdir_targets): Remove subdir_lint.out.
6867
6868         * stdio-common/Makefile (do-tst-unbputc): Remove target.
6869         (do-tst-printf): Likewise.
6870         (tests): Depend directly on $(objpfx)tst-unbputc.out and
6871         $(objpfx)tst-printf.out.
6872
6873         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6874
6875         * Makerules (check-abi-%): Change target to
6876         $(objpfx)check-abi-%.out.
6877         (check-abi target): Update dependencies.
6878         (check-abi-pattern variable): Redirect output of diff to $@.
6879         (check-abi variable): Likewise.
6880         * elf/Makefile (check-abi): Update dependencies.
6881
6882         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6883         unused.
6884         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6885         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6886         subnormal range.
6887         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6888         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6889         value has largest subnormal exponent.
6890         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6891         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6892         * sysdeps/aarch64/soft-fp/sfp-machine.h
6893         (_FP_TININESS_AFTER_ROUNDING): New macro.
6894         * sysdeps/alpha/soft-fp/sfp-machine.h
6895         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6896         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6897         Likewise.
6898         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6899         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6900         * sysdeps/mips/soft-fp/sfp-machine.h
6901         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6902         * sysdeps/powerpc/soft-fp/sfp-machine.h
6903         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6904         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6905         Likewise.
6906         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6907         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6908         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6909         (_FP_TININESS_AFTER_ROUNDING): Likewise.
6910         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6911         Likewise.
6912
6913 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
6914
6915         [BZ #16545]
6916         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6917         model 1.
6918
6919 2014-02-12  Richard Henderson  <rth@redhat.com>
6920
6921         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6922         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6923         * sysdeps/unix/sysv/linux/alpha: Move directory from
6924         ports/sysdeps/unix/sysv/linux/alpha.
6925         * README: Update listing for alpha-*-linux-gnu.
6926
6927 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
6928
6929         * include/features.h: Update comment documenting feature test
6930         macros.
6931         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
6932         _DEFAULT_SOURCE.
6933         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6934         (_SVID_SOURCE): Likewise.
6935         (_DEFAULT_SOURCE): Update description of default features.
6936         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6937         with _GNU_SOURCE.
6938         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6939         (S_ISVTX): Likewise.
6940         * manual/math.texi (Mathematical Constants): Likewise.
6941         * manual/signal.texi (Interrupted Primitives): Likewise.
6942         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6943         * math/test-matherr.c (_SVID_SOURCE): Do not define.
6944         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6945         Don't refer to _SVID_SOURCE in warning text.
6946
6947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6948
6949         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6950         already defined.
6951         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6952         * sysdeps/mips/dl-lookup.c: Remove.
6953         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6954
6955 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6956
6957         [BZ #16447]
6958         * math/auto-libm-test-in: Add testcase for expl.
6959         * math/auto-libm-test-out: Regenerate.
6960         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6961         calculation of unsafe.
6962         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6963
6964 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6965
6966         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6967         * sysdeps/unix/sysv/linux/aarch64: Move directory from
6968         ports/sysdeps/unix/sysv/linux/aarch64.
6969         * README: Update listing for aarch64*-*-linux-gnu.
6970
6971 2014-02-11  Will Newton  <will.newton@linaro.org>
6972
6973         * manual/probes.texi (Mathematical Function Probes): Use
6974         "triggered" instead of "hit".
6975
6976         * manual/probes.texi (Internal Probes): Add documentation
6977         of setjmp, longjmp and longjmp_target probes.
6978
6979         * include/stap-probe.h: Add comment about probe argument
6980         format.
6981
6982         * malloc/mtrace.c (attribute_hidden): Remove unused macro
6983         definition.  (tr_where, tr_freehook, tr_mallochook,
6984         tr_reallochook, tr_memalignhook): Use ANSI protoype.
6985
6986 2014-02-11  David S. Miller  <davem@davemloft.net>
6987
6988         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6989         processing int_tests.
6990
6991 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
6992
6993         * sysdeps/mips: Move directory from ports/sysdeps/mips.
6994         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6995         * sysdeps/unix/sysv/linux/mips: Move directory from
6996         ports/sysdeps/unix/sysv/linux/mips.
6997         * README: Update listing for mips-*-linux-gnu and
6998         mips64-*-linux-gnu.
6999
7000 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7001
7002         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7003         * sysdeps/unix/sysv/linux/m68k: Move directory from
7004         ports/sysdeps/unix/sysv/linux/m68k.
7005         * README: Update listing for m68k-*-linux-gnu.
7006
7007 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7008
7009         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7010         * sysdeps/unix/sysv/linux/generic: Move directory from
7011         ports/sysdeps/unix/sysv/linux/generic.
7012         * sysdeps/unix/sysv/linux/tile: Move directory from
7013         ports/sysdeps/unix/sysv/linux/tile.
7014         * README: Update listing for tile*-*-linux-gnu.
7015
7016 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7017
7018         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7019         __builtin_expect.
7020         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7021         * catgets/open_catalog.c (__open_catalog): Likewise.
7022         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7023         * debug/confstr_chk.c: Likewise.
7024         * debug/fread_chk.c (__fread_chk): Likewise.
7025         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7026         * debug/getgroups_chk.c: Likewise.
7027         * debug/mbsnrtowcs_chk.c: Likewise.
7028         * debug/mbsrtowcs_chk.c: Likewise.
7029         * debug/mbstowcs_chk.c: Likewise.
7030         * debug/memcpy_chk.c: Likewise.
7031         * debug/memmove_chk.c: Likewise.
7032         * debug/mempcpy_chk.c: Likewise.
7033         * debug/memset_chk.c: Likewise.
7034         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7035         * debug/strcat_chk.c (__strcat_chk): Likewise.
7036         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7037         * debug/strncat_chk.c (__strncat_chk): Likewise.
7038         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7039         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7040         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7041         * debug/wcpncpy_chk.c: Likewise.
7042         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7043         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7044         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7045         * debug/wcsncpy_chk.c: Likewise.
7046         * debug/wcsnrtombs_chk.c: Likewise.
7047         * debug/wcsrtombs_chk.c: Likewise.
7048         * debug/wcstombs_chk.c: Likewise.
7049         * debug/wmemcpy_chk.c: Likewise.
7050         * debug/wmemmove_chk.c: Likewise.
7051         * debug/wmempcpy_chk.c: Likewise.
7052         * debug/wmemset_chk.c: Likewise.
7053         * dirent/scandirat.c (SCANDIRAT): Likewise.
7054         * dlfcn/dladdr1.c (dladdr1): Likewise.
7055         * dlfcn/dladdr.c (dladdr): Likewise.
7056         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7057         * dlfcn/dlerror.c (__dlerror): Likewise.
7058         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7059         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7060         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7061         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7062         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7063         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7064         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7065         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7066         Likewise.
7067         * elf/dl-conflict.c: Likewise.
7068         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7069         * elf/dl-dst.h: Likewise.
7070         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7071         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7072         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7073         * elf/dl-init.c (call_init, _dl_init): Likewise.
7074         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7075         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7076         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7077         Likewise.
7078         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7079         Likewise.
7080         * elf/dl-minimal.c (__libc_memalign): Likewise.
7081         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7082         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7083         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7084         * elf/dl-sym.c (do_sym): Likewise.
7085         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7086         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7087         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7088         * elf/dl-writev.h (_dl_writev): Likewise.
7089         * elf/ldconfig.c (search_dir): Likewise.
7090         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7091         (dl_main): Likewise.
7092         * elf/setup-vdso.h (setup_vdso): Likewise.
7093         * grp/compat-initgroups.c (compat_call): Likewise.
7094         * grp/fgetgrent.c (fgetgrent): Likewise.
7095         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7096         * grp/putgrent.c (putgrent): Likewise.
7097         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7098         Likewise.
7099         * hurd/hurdinit.c: Likewise.
7100         * iconvdata/8bit-gap.c (struct): Likewise.
7101         * iconvdata/ansi_x3.110.c : Likewise.
7102         * iconvdata/big5.c : Likewise.
7103         * iconvdata/big5hkscs.c : Likewise.
7104         * iconvdata/cp1255.c: Likewise.
7105         * iconvdata/cp1258.c : Likewise.
7106         * iconvdata/cp932.c : Likewise.
7107         * iconvdata/euc-cn.c: Likewise.
7108         * iconvdata/euc-jisx0213.c : Likewise.
7109         * iconvdata/euc-jp.c: Likewise.
7110         * iconvdata/euc-jp-ms.c : Likewise.
7111         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7112         * iconvdata/gb18030.c : Likewise.
7113         * iconvdata/gbbig5.c (const): Likewise.
7114         * iconvdata/gbgbk.c: Likewise.
7115         * iconvdata/gbk.c : Likewise.
7116         * iconvdata/ibm1364.c : Likewise.
7117         * iconvdata/ibm930.c : Likewise.
7118         * iconvdata/ibm932.c: Likewise.
7119         * iconvdata/ibm933.c : Likewise.
7120         * iconvdata/ibm935.c : Likewise.
7121         * iconvdata/ibm937.c : Likewise.
7122         * iconvdata/ibm939.c : Likewise.
7123         * iconvdata/ibm943.c: Likewise.
7124         * iconvdata/iso_11548-1.c: Likewise.
7125         * iconvdata/iso-2022-cn.c : Likewise.
7126         * iconvdata/iso-2022-cn-ext.c : Likewise.
7127         * iconvdata/iso-2022-jp-3.c: Likewise.
7128         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7129         * iconvdata/iso-2022-kr.c : Likewise.
7130         * iconvdata/iso646.c (gconv_end): Likewise.
7131         * iconvdata/iso_6937-2.c : Likewise.
7132         * iconvdata/iso_6937.c : Likewise.
7133         * iconvdata/iso8859-1.c: Likewise.
7134         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7135         * iconvdata/shift_jisx0213.c : Likewise.
7136         * iconvdata/sjis.c : Likewise.
7137         * iconvdata/t.61.c : Likewise.
7138         * iconvdata/tcvn5712-1.c : Likewise.
7139         * iconvdata/tscii.c: Likewise.
7140         * iconvdata/uhc.c : Likewise.
7141         * iconvdata/unicode.c (gconv_end): Likewise.
7142         * iconvdata/utf-16.c (gconv_end): Likewise.
7143         * iconvdata/utf-32.c (gconv_end): Likewise.
7144         * iconvdata/utf-7.c (base64): Likewise.
7145         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7146         * iconv/gconv_close.c (__gconv_close): Likewise.
7147         * iconv/gconv_open.c (__gconv_open): Likewise.
7148         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7149         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7150         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7151         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7152         (ucs4le_internal_loop_single): Likewise.
7153         * iconv/iconv.c (iconv): Likewise.
7154         * iconv/iconv_close.c: Likewise.
7155         * iconv/loop.c (SINGLE): Likewise.
7156         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7157         * include/atomic.h: Likewise.
7158         * inet/inet6_option.c (option_alloc): Likewise.
7159         * intl/bindtextdom.c (set_binding_values): Likewise.
7160         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7161         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7162         * intl/localealias.c (read_alias_file): Likewise.
7163         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7164         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7165         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7166         * libio/fmemopen.c (fmemopen): Likewise.
7167         * libio/iofgets.c (_IO_fgets): Likewise.
7168         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7169         * libio/iofgetws.c (fgetws): Likewise.
7170         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7171         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7172         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7173         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7174         * locale/findlocale.c (_nl_find_locale): Likewise.
7175         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7176         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7177         Likewise.
7178         * locale/setlocale.c (setlocale): Likewise.
7179         * login/programs/pt_chown.c (main): Likewise.
7180         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7181         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7182         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7183         (mmap, mmap64, mremap, munmap): Likewise.
7184         * math/e_exp2l.c: Likewise.
7185         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7186         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7187         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7188         * math/s_catan.c (__catan): Likewise.
7189         * math/s_catanf.c (__catanf): Likewise.
7190         * math/s_catanh.c (__catanh): Likewise.
7191         * math/s_catanhf.c (__catanhf): Likewise.
7192         * math/s_catanhl.c (__catanhl): Likewise.
7193         * math/s_catanl.c (__catanl): Likewise.
7194         * math/s_ccosh.c (__ccosh): Likewise.
7195         * math/s_ccoshf.c (__ccoshf): Likewise.
7196         * math/s_ccoshl.c (__ccoshl): Likewise.
7197         * math/s_cexp.c (__cexp): Likewise.
7198         * math/s_cexpf.c (__cexpf): Likewise.
7199         * math/s_cexpl.c (__cexpl): Likewise.
7200         * math/s_clog10.c (__clog10): Likewise.
7201         * math/s_clog10f.c (__clog10f): Likewise.
7202         * math/s_clog10l.c (__clog10l): Likewise.
7203         * math/s_clog.c (__clog): Likewise.
7204         * math/s_clogf.c (__clogf): Likewise.
7205         * math/s_clogl.c (__clogl): Likewise.
7206         * math/s_csin.c (__csin): Likewise.
7207         * math/s_csinf.c (__csinf): Likewise.
7208         * math/s_csinh.c (__csinh): Likewise.
7209         * math/s_csinhf.c (__csinhf): Likewise.
7210         * math/s_csinhl.c (__csinhl): Likewise.
7211         * math/s_csinl.c (__csinl): Likewise.
7212         * math/s_csqrt.c (__csqrt): Likewise.
7213         * math/s_csqrtf.c (__csqrtf): Likewise.
7214         * math/s_csqrtl.c (__csqrtl): Likewise.
7215         * math/s_ctan.c (__ctan): Likewise.
7216         * math/s_ctanf.c (__ctanf): Likewise.
7217         * math/s_ctanh.c (__ctanh): Likewise.
7218         * math/s_ctanhf.c (__ctanhf): Likewise.
7219         * math/s_ctanhl.c (__ctanhl): Likewise.
7220         * math/s_ctanl.c (__ctanl): Likewise.
7221         * math/w_pow.c: Likewise.
7222         * math/w_powf.c: Likewise.
7223         * math/w_powl.c: Likewise.
7224         * math/w_scalb.c (sysv_scalb): Likewise.
7225         * math/w_scalbf.c (sysv_scalbf): Likewise.
7226         * math/w_scalbl.c (sysv_scalbl): Likewise.
7227         * misc/error.c (error_tail): Likewise.
7228         * misc/pselect.c (__pselect): Likewise.
7229         * nis/nis_callback.c (__nis_create_callback): Likewise.
7230         * nis/nis_call.c (__nisfind_server): Likewise.
7231         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7232         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7233         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7234         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7235         * nis/nis_lookup.c (nis_lookup): Likewise.
7236         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7237         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7238         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7239         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7240         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7241         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7242         * nis/nss_compat/compat-initgroups.c (add_group)
7243         (internal_getgrent_r): Likewise.
7244         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7245         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7246         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7247         (internal_getspnam_r): Likewise.
7248         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7249         (_nss_nis_getaliasbyname_r): Likewise.
7250         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7251         (_nss_nis_getntohost_r): Likewise.
7252         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7253         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7254         (_nss_nis_getgrgid_r): Likewise.
7255         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7256         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7257         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7258         (_nss_nis_gethostbyname4_r): Likewise.
7259         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7260         (initgroups_netid): Likewise.
7261         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7262         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7263         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7264         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7265         (_nss_nis_getprotobynumber_r): Likewise.
7266         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7267         (_nss_nis_getsecretkey): Likewise.
7268         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7269         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7270         (_nss_nis_getpwuid_r): Likewise.
7271         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7272         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7273         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7274         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7275         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7276         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7277         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7278         Likewise.
7279         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7280         (_nss_nisplus_getntohost_r): Likewise.
7281         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7282         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7283         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7284         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7285         Likewise.
7286         * nis/nss_nisplus/nisplus-initgroups.c
7287         (_nss_nisplus_initgroups_dyn): Likewise.
7288         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7289         (_nss_nisplus_getnetbyaddr_r): Likewise.
7290         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7291         (_nss_nisplus_getprotobynumber_r): Likewise.
7292         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7293         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7294         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7295         Likewise.
7296         * nis/nss_nisplus/nisplus-service.c
7297         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7298         (_nss_nisplus_getservbyport_r): Likewise.
7299         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7300         (_nss_nisplus_getspnam_r): Likewise.
7301         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7302         Likewise.
7303         * nscd/aicache.c (addhstaiX): Likewise.
7304         * nscd/cache.c (cache_search, prune_cache): Likewise.
7305         * nscd/connections.c (register_traced_file, send_ro_fd)
7306         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7307         (main_loop_epoll): Likewise.
7308         * nscd/grpcache.c (addgrbyX): Likewise.
7309         * nscd/hstcache.c (addhstbyX): Likewise.
7310         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7311         * nscd/mem.c (gc, mempool_alloc): Likewise.
7312         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7313         (addinnetgrX): Likewise.
7314         * nscd/nscd-client.h (__nscd_acquire_maplock)
7315         (__nscd_drop_map_ref): Likewise.
7316         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7317         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7318         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7319         Likewise.
7320         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7321         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7322         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7323         (__nscd_get_map_ref): Likewise.
7324         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7325         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7326         Likewise.
7327         * nscd/pwdcache.c (addpwbyX): Likewise.
7328         * nscd/selinux.c (preserve_capabilities): Likewise.
7329         * nscd/servicescache.c (addservbyX): Likewise.
7330         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7331         * posix/fnmatch.c (fnmatch): Likewise.
7332         * posix/getopt.c (_getopt_internal_r): Likewise.
7333         * posix/glob.c (glob, glob_in_dir): Likewise.
7334         * posix/wordexp.c (exec_comm_child): Likewise.
7335         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7336         (getanswer_r, gaih_getanswer_slice): Likewise.
7337         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7338         * resolv/res_init.c: Likewise.
7339         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7340         * resolv/res_query.c (__libc_res_nquery): Likewise.
7341         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7342         Likewise.
7343         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7344         * stdio-common/perror.c (perror): Likewise.
7345         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7346         * stdio-common/tmpnam.c (tmpnam): Likewise.
7347         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7348         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7349         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7350         Likewise.
7351         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7352         * stdlib/putenv.c (putenv): Likewise.
7353         * stdlib/setenv.c (__add_to_environ): Likewise.
7354         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7355         * stdlib/strtol_l.c (INTERNAL): Likewise.
7356         * string/memmem.c (memmem): Likewise.
7357         * string/strerror.c (strerror): Likewise.
7358         * string/strnlen.c (__strnlen): Likewise.
7359         * string/test-memmem.c (simple_memmem): Likewise.
7360         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7361         * sunrpc/pm_getport.c (__get_socket): Likewise.
7362         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7363         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7364         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7365         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7366         Likewise.
7367         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7368         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7369         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7370         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7371         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7372         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7373         Likewise.
7374         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7375         Likewise.
7376         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7377         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7378         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7379         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7380         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7382         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7383         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7384         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7385         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7386         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7387         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7388         Likewise.
7389         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7390         Likewise.
7391         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7392         Likewise.
7393         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7394         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7395         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7396         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7397         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7398         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7399         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7400         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7401         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7402         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7403         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7404         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7405         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7406         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7407         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7408         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7409         Likewise.
7410         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7411         Likewise.
7412         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7413         Likewise.
7414         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7415         Likewise.
7416         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7417         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7418         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7419         Likewise.
7420         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7421         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7422         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7423         * sysdeps/posix/sleep.c: Likewise.
7424         * sysdeps/posix/tempname.c: Likewise.
7425         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7426         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7427         Likewise.
7428         * sysdeps/powerpc/powerpc32/dl-machine.h
7429         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7430         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7431         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7432         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7433         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7434         Likewise.
7435         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7436         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7437         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7438         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7439         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7440         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7441         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7442         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7443         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7444         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7445         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7446         (elf_machine_lazy_rel): Likewise.
7447         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7448         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7449         (elf_machine_lazy_rel): Likewise.
7450         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7451         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7452         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7453         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7454         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7455         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7456         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7457         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7458         Likewise.
7459         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7460         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7461         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7462         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7463         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7464         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7465         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7466         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7467         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7468         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7469         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7470         Likewise.
7471         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7472         (__posix_fallocate64_l64): Likewise.
7473         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7474         (posix_fallocate): Likewise.
7475         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7476         Likewise.
7477         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7478         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7479         (getifaddrs_internal): Likewise.
7480         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7481         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7482         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7483         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7484         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7485         (__posix_fallocate64_l64): Likewise.
7486         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7487         Likewise.
7488         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7489         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7490         (__get_clockfreq): Likewise.
7491         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7492         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7493         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7496         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7497         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7498         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7499         Likewise.
7500         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7501         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7502         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7503         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7504         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7505         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7506         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7507         Likewise.
7508         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7509         (posix_fallocate): Likewise.
7510         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7511         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7512         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7513         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7514         (elf_machine_rela, elf_machine_rela_relative)
7515         (elf_machine_lazy_rel): Likewise.
7516         * time/asctime.c (asctime_internal): Likewise.
7517         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7518         * time/tzset.c (__tzset_parse_tz): Likewise.
7519         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7520         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7521         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7522         * wcsmbs/wcsmbsload.h: Likewise.
7523
7524         [BZ #15894]
7525         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7526
7527         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7528         (arena_get2): Remove THREAD_STATS conditionals.
7529         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7530         (__malloc_stats, int): Likewise.
7531
7532 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
7533
7534         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7535         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
7536
7537         * manual/setjmp.texi: Fix typos/grammar errors.
7538
7539         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7540         Only return early when n is <= 0.  Delete unused return statement.
7541
7542         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7543         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7544         * debug/tst-longjmp_chk3.c: New file.
7545
7546         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7547         (test_main): Replace code with set_fortify_handler call.
7548         * debug/test-strcpy_chk.c: Likewise.
7549         * debug/tst-chk1.c: Likewise.
7550         * debug/tst-longjmp_chk.c: Likewise.
7551         * test-skeleton.c: Include fcntl.h & paths.h
7552         (set_fortify_handler): Define.
7553
7554         * debug/tst-longjmp_chk.c: Add header comment and include
7555         ../test-skeleton.c.
7556         (do_test): Mark static.
7557         (TEST_FUNCTION): Define.
7558
7559         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7560         (IP_PMTUDISC_INTERFACE): Likewise.
7561         (IP_MULTICAST_IF): Likewise.
7562         (IP_MULTICAST_TTL): Likewise.
7563         (IP_MULTICAST_LOOP): Likewise.
7564         (IP_ADD_MEMBERSHIP): Likewise.
7565         (IP_DROP_MEMBERSHIP): Likewise.
7566         (IP_UNBLOCK_SOURCE): Likewise.
7567         (IP_BLOCK_SOURCE): Likewise.
7568         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7569         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7570         (IP_MSFILTER): Likewise.
7571         (MCAST_JOIN_GROUP): Likewise.
7572         (MCAST_BLOCK_SOURCE): Likewise.
7573         (MCAST_UNBLOCK_SOURCE): Likewise.
7574         (MCAST_LEAVE_GROUP): Likewise.
7575         (MCAST_JOIN_SOURCE_GROUP): Likewise.
7576         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7577         (MCAST_MSFILTER): Likewise.
7578         (IP_MULTICAST_ALL): Likewise.
7579         (IP_UNICAST_IF): Likewise.
7580
7581         * timezone/Makefile: Delete $(have-ksh) check.
7582         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7583         * timezone/tzselect.ksh: Add +x mode bits.
7584
7585         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7586         (ANON_INODE_FS_MAGIC): Likewise.
7587         (BDEVFS_MAGIC): Likewise.
7588         (BINFMTFS_MAGIC): Likewise.
7589         (BTRFS_TEST_MAGIC): Likewise.
7590         (CRAMFS_MAGIC_WEND): Likewise.
7591         (DEBUGFS_MAGIC): Likewise.
7592         (ECRYPTFS_SUPER_MAGIC): Likewise.
7593         (EXT3_SUPER_MAGIC): Likewise.
7594         (EXT4_SUPER_MAGIC): Likewise.
7595         (FUTEXFS_SUPER_MAGIC): Likewise.
7596         (HOSTFS_SUPER_MAGIC): Likewise.
7597         (HUGETLBFS_MAGIC): Likewise.
7598         (MINIX3_SUPER_MAGIC): Likewise.
7599         (MTD_INODE_FS_MAGIC): Likewise.
7600         (NILFS_SUPER_MAGIC): Likewise.
7601         (OPENPROM_SUPER_MAGIC): Likewise.
7602         (PIPEFS_MAGIC): Likewise.
7603         (PSTOREFS_MAGIC): Likewise.
7604         (QNX6_SUPER_MAGIC): Likewise.
7605         (RAMFS_MAGIC): Likewise.
7606         (REISERFS_SUPER_MAGIC_STRING): Likewise.
7607         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7608         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7609         (SECURITYFS_MAGIC): Likewise.
7610         (SELINUX_MAGIC): Likewise.
7611         (SMACK_MAGIC): Likewise.
7612         (SOCKFS_MAGIC): Likewise.
7613         (SQUASHFS_MAGIC): Likewise.
7614         (STACK_END_MAGIC): Likewise.
7615         (TMPFS_MAGIC): Likewise.
7616         (USBDEVICE_SUPER_MAGIC): Likewise.
7617         (V9FS_MAGIC): Likewise.
7618         (XENFS_SUPER_MAGIC): Likewise.
7619         (CRAMFS_MAGIC): Fix typo in comment.
7620         (EXT2_SUPER_MAGIC): Update comment.
7621         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7622
7623 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
7624
7625         * sysdeps/arm: Move directory from ports/sysdeps/arm.
7626         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7627         * sysdeps/unix/sysv/linux/arm: Move directory from
7628         ports/sysdeps/unix/sysv/linux/arm.
7629         * README: Update listing for arm-*-linux-gnueabi.
7630
7631         * README: Remove mention of am33.
7632
7633 2014-02-07  Roland McGrath  <roland@hack.frob.com>
7634
7635         * bits/sigset.h (__sigemptyset): Use a statement expression rather
7636         than the comma operator, to avoid "rhs of comma has no effect"
7637         compiler warnings.
7638         (__sigfillset, __sigandset, __sigorset): Likewise.
7639         * include/signal.h (__sigemptyset): Likewise.
7640         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7641
7642 2014-02-07  Allan McRae  <allan@archlinux.org>
7643
7644         * version.h (RELEASE): Set to "development".
7645         (VERSION): Set to "2.19.90"
7646         * NEWS: Add 2.20 section.
7647
7648 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
7649
7650         [BZ #16529]
7651         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7652
7653 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
7654
7655         * manual/contrib.texi: Update entry for Carlos O'Donell,
7656         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7657
7658 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
7659
7660         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7661
7662         * sysdeps/unix/sysv/linux/kernel-features.h
7663         [__LINUX_KERNEL_VERSION >= 0x020621]
7664         (__ASSUME_PROC_PID_TASK_COMM): Define.
7665
7666 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7667
7668         [BZ #16398]
7669         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7670         conversion when destination buffer does not have enough space.
7671         * libio/tst-ftell-partial-wide.c: New test case.
7672         * libio/Makefile (tests): Add tst-ftell-partial-wide.
7673
7674         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7675         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
7676         Leonard and Allan McRae.
7677
7678 2014-02-04  David S. Miller  <davem@davemloft.net>
7679
7680         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7681         32-bit.
7682
7683 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7684
7685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7686         New file
7687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7688         New file
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7690         New file.
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7692         New file.
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7694         New file.
7695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7696         New file.
7697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7698         New file.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7700         New file.
7701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7702         New file.
7703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7704         New file.
7705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7706         New file.
7707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7708         New file.
7709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7710         New file.
7711
7712 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7713
7714         * nptl/shlib-versions: Change powerpc*le start to 2.17.
7715         * shlib-versions: Likewise.
7716
7717 2014-02-04  Roland McGrath  <roland@hack.frob.com>
7718             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7719
7720         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7721         (abilist-pattern): New variable, set to %-le.abilist.
7722
7723         * Makerules (abilist-pattern): New variable.
7724         (vpath): Use $(abilist-pattern) in place of %.abilist.
7725         (check-abi-% pattern rule): Likewise.
7726         (check-abi, update-abi): Likewise.
7727
7728 2014-02-04  Eric Wong  <normalperson@yhbt.net>
7729
7730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7731
7732 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
7733
7734         * manual/startup.texi: Add next, previous, and top entries for
7735         the `Program Arguments' and `Environment Variables' nodes.
7736
7737 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
7738
7739         * manual/macros.texi: Add comments before MTASC-safety macros.
7740
7741         * manual/users.texi: Document MTASC-safety properties.
7742
7743         * manual/threads.texi (pthread_key_create, pthread_key_delete)
7744         (pthread_getspecific, pthread_setspecific): Format with
7745         @deftypefun, and add @safety note.
7746         * manual/signal.texi: Move comments that analyze the above
7747         functions to their home place.
7748
7749 2014-02-03  Allan McRae  <allan@archlinux.org>
7750
7751         * po/sl.po: Update Slovenian translation from translation project.
7752
7753 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
7754
7755         * manual/time.texi (timegm): Add missing blank after @c.
7756         Reported by Joseph Myers <joseph@codesourcery.com>.
7757
7758 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
7759
7760         * manual/check-safety.sh: New.
7761         * manual/Makefile ($(objpfx)stamp-summary): Run it.
7762
7763         * manual/terminal.texi: Document MTASC-safety properties.
7764
7765         * manual/filesys.texi: Document MTASC-safety properties.
7766
7767         * manual/errno.texi: Document MTASC-safety properties.
7768
7769         * manual/intro.texi: Document safety identifiers and
7770         conditionals.
7771
7772         * manual/string.texi (wcstok): Fix prototype.
7773         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7774
7775         * manual/time.texi: Document MTASC-safety properties.
7776
7777         * manual/string.texi: Document MTASC-safety properties.
7778
7779         * manual/threads.texi: Document MTASC-safety properties.
7780
7781         * manual/stdio.texi: Document MTASC-safety properties.
7782
7783         * manual/syslog.texi: Document MTASC-safety properties.
7784
7785         * manual/sysinfo.texi: Document MTASC-safety properties.
7786
7787         * manual/startup.texi: Document MTASC-safety properties.
7788
7789         * manual/socket.texi: Document MTASC-safety properties.
7790
7791         * manual/signal.texi: Document MTASC-safety properties.
7792
7793 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
7794
7795         * manual/setjmp.texi: Document MTASC-safety properties.
7796
7797         * manual/search.texi: Document MTASC-safety properties.
7798
7799         * manual/resource.texi: Document MTASC-safety properties.
7800
7801         * manual/process.texi: Document MTASC-safety properties.
7802
7803         * manual/platform.texi: Document MTASC-safety properties.
7804
7805         * manual/pipe.texi: Document MTASC-safety properties.
7806
7807         * manual/pattern.texi: Document MTASC-safety properties.
7808
7809         * manual/message.texi: Document MTASC-safety properties.
7810
7811         [BZ #12751]
7812         * manual/memory.texi: Document MTASC-safety properties.
7813
7814         * manual/math.texi: Document MTASC-safety properties.
7815
7816         * manual/locale.texi: Document MTASC-safety properties.
7817
7818         * manual/llio.texi: Document MTASC-safety properties.
7819
7820         * manual/libdl.texi: New.
7821
7822         * manual/lang.texi: Document MTASC-safety properties.
7823
7824         * manual/job.texi: Document MTASC-safety properties.
7825
7826         * manual/getopt.texi: Document MTASC-safety properties.
7827
7828         * manual/ctype.texi: Document MTASC-safety properties.
7829
7830 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
7831
7832         [BZ #16046]
7833         * csu/libc-tls.c (static_map): Remove variable.
7834         (__libc_setup_tls): Use main executable's link map for TLS data.
7835         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7836         casing for LM_ID_BASE and GL(dl_nns).
7837         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7838         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
7839         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7840         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7841         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7842         member.
7843         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7844         l_phnum members.
7845
7846 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
7847
7848         * manual/debug.texi: Document MTASC-safety properties.
7849
7850 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
7851
7852         [BZ #16510]
7853         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7854         of __x86_64__ when disabling x87 inline functions.
7855
7856 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
7857
7858         * manual/charset.texi: Document MTASC-safety properties.
7859
7860         * manual/crypt.texi: Document MTASC-safety properties.
7861
7862         * manual/conf.texi: Document MTASC-safety properties.
7863
7864         * manual/arith.texi: Document MTASC-safety properties.
7865
7866         * manual/argp.texi: Document MTASC-safety properties.
7867
7868         * manual/macros.texi: Introduce macros to document multi
7869         thread, asynchronous signal and asynchronous cancellation
7870         safety properties.
7871         * manual/intro.texi: Introduce the properties themselves.
7872
7873 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7874
7875         * sysdeps/sh/sh4/Makefile: New file.
7876
7877 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
7878
7879         * math/gen-libm-test.pl ($srcdir): New variable.
7880         ($auto_input): Use it.
7881
7882 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7883
7884         [BZ #16506]
7885         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7886         access beyond array bounds when parsing netgroups file.
7887
7888         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7889         the old buffer before realloc.
7890
7891 2014-01-27  Allan McRae  <allan@archlinux.org>
7892
7893         * po/fr.po: Update French translation from translation project.
7894
7895 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7896
7897         * sysdeps/sh/libm-test-ulps: Regenerate.
7898
7899 2014-01-24  David S. Miller  <davem@davemloft.net>
7900
7901         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7902
7903 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7904
7905         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7906         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7907
7908 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7909
7910         [BZ #16474]
7911         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7912         string pointers after reallocation.
7913
7914 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7915
7916         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7917         __SH4A__ instead of __SH_FPU_ANY__.
7918
7919 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7920
7921         * sysdeps/sh/fpu_control.h: New file.
7922         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7923         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7924         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7925         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7926         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7927         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7928         * sysdeps/sh/sys/ucontext.h: Remove.
7929         * sysdeps/sh/sys: Remove directory.
7930
7931 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7932
7933         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7934         s390/sys/ucontext.h.
7935         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7936         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7937
7938 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
7939
7940         [BZ #15605]
7941         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7942
7943 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7944
7945         [BZ#16431]
7946         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7947         Adjust the vDSO correctly for internal calls.
7948         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7949
7950 2014-01-20  Allan McRae  <allan@archlinux.org>
7951
7952         * po/ca.po: Update Catalan translation from translation project.
7953
7954 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
7955
7956         * sysdeps/s390/sotruss-lib.c: New file.
7957
7958 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7959
7960         [BZ#16430]
7961         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7962         (__GI___gettimeofday): Alias for a different internal symbol to avoid
7963         local calls issues by not having a PLT stub required for IFUNC calls.
7964         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7965
7966 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
7967
7968         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7969         * math/test-fpucw-static.c: Likewise.
7970
7971 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7972
7973         [BZ #16453]
7974         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7975
7976 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7977
7978         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7979         implementation for powerpc.
7980
7981 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
7982
7983         [BZ #14782]
7984         * sysdeps/posix/system.c (__libc_system): Do not enable
7985         asynchronous cancellation.
7986
7987 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7988
7989         [BZ #16427]
7990         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7991         handling only for numbers special also in the IEEE case.
7992
7993 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7994
7995         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7996
7997 2014-01-11  Allan McRae  <allan@archlinux.org>
7998
7999         * po/bg.po: Update Bulgarian translation from translation project.
8000
8001         * po/de.po: Update German translation from translation project.
8002
8003 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8004
8005         * sysdeps/generic/gcc-compat.h: New file.
8006
8007 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8008
8009         * benchtests/asin-inputs: Correct slow inputs.
8010         * benchtests/acos-inputs: Likewise.
8011
8012 2014-01-10  Allan McRae  <allan@archlinux.org>
8013
8014         * po:sv.po: Update Swedish translation from translation project.
8015
8016         * po/vi.po: Update Vietnamese translation from translation project.
8017
8018         * po/eo.po: Update Esperanto translation from translation project.
8019
8020         * po/cs.po: Update Czech translation from translation project.
8021
8022         * po/nl.po: Update Dutch translation from translation project.
8023
8024         * po/pl.po: Update Polish translation from translation project.
8025
8026         * po/ru.po: Update Russian translation from translation project.
8027
8028         * po/uk.po: Update Ukrainian translation from translation project.
8029
8030 2014-01-08  Brooks Moses  <bmoses@google.com>
8031
8032         * elf/dl-load.c: Fix comment typo.
8033
8034 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8035
8036         * po/header.pot: Rename to...
8037         * po/pot.header: ... this.
8038         * po/Makefile: Use pot.header.
8039
8040 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8041             Maxim Kuvyrkov  <maxim@kugelworks.com>
8042
8043         [BZ #16394]
8044         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8045         SRC and DEST against LEN.
8046
8047 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8048
8049         [BZ #16414]
8050         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8051         implementation.
8052         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8053
8054 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8055
8056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8057
8058 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8059
8060         [BZ #16408]
8061         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8062         for large positive arguments.
8063
8064 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8065
8066         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8067
8068         * math/auto-libm-test-in: Mark various tests with
8069         xfail-rounding:ldbl-128ibm.
8070         * math/auto-libm-test-out: Regenerated.
8071
8072         [BZ #16407]
8073         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8074         Increase overflow threshold.
8075
8076 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8077
8078         [BZ #14286]
8079         * stdio-common/vfprintf.c: Check for integer overflow.
8080
8081 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8082
8083         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8084         the first argument and return value of __tls_get_addr_internal.
8085
8086 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8087
8088         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8089         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8090
8091 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8092
8093         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8094         * sysdeps/s390/rtld-global-offsets.sym: New file.
8095         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8096         GLIBC_2.19 symbol.
8097         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8098         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8099         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8100         ... this.
8101         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8102         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8103         ... this.
8104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8105         Regenerate.
8106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8107         Regenerate.
8108         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8109         halfs of GPRs for high_gprs contexts.
8110         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8111         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8112         field.
8113         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8114         uc_flags field.
8115         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8116         64 bit versions:
8117         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8118         for high GPRs (uc_high_gprs) and for future extensions
8119         (__reserved).
8120         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8121         for future extensions (__reserved).
8122         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8123         64 bit versions:
8124         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8125         SC_HIGHGPRS offset definition.
8126         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8127         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8128
8129         * Versions.def: Add GLIBC_2.19 for libpthread.
8130         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8131         siglongjmp for libpthread with GLIBC_2.19 symver.
8132         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8133         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8134         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8135         * sysdeps/s390/__longjmp.c: New file.
8136         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8137         * sysdeps/s390/longjmp.c: New file.
8138         * sysdeps/s390/setjmp.S: New file.
8139         * sysdeps/s390/sigjmp.S: New file.
8140         * sysdeps/s390/v1-longjmp.c: New file.
8141         * sysdeps/s390/v1-setjmp.h: New file.
8142         * sysdeps/s390/v1-sigjmp.c: New file.
8143         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8144         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8145         GLIBC_2.19 version.
8146         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8147         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8148         versioned symbols for ____longjmp_chk.
8149         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8150         Likewise.
8151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8152         Regenerate.
8153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8154         Regenerate.
8155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8156         Regenerate.
8157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8158         Regenerate.
8159         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8160         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8161         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8162         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8163         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8164         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8165         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8166         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8167         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8168         * sysdeps/s390/rtld-__longjmp.c: New file.
8169         * sysdeps/s390/rtld-setjmp.S: New file.
8170
8171 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8172
8173         [BZ #16400]
8174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8175         Return -__logl (x) for small positive arguments without evaluating
8176         a polynomial.
8177
8178 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8179
8180         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8181         Rename to ...
8182         (__ptrace_peeksiginfo_args): ... this.
8183         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8184         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8185         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8186
8187 2014-01-06  Allan McRae  <allan@archlinux.org>
8188
8189         * inet/netinet/in.h: Fix typo in comment.
8190
8191 2014-01-05  Andreas Jaeger  <aj@suse.de>
8192
8193         * sysdeps/i386/fpu/libm-test-ulps: Update.
8194
8195 2014-01-05  Allan McRae  <allan@archlinux.org>
8196
8197         * po/libc.pot: Regenerated.
8198
8199         * malloc/memusagestat.c: Fix gettext call formatting.
8200
8201 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8202
8203         * nscd/nscd.c: Improve usage() output.
8204
8205 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8206
8207         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8208         * sysdeps/unix/sysv/linux/configure: Regenerated.
8209         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8210         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8211
8212 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8213
8214         [BZ #16390]
8215         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8216         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8217
8218 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8219
8220         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8221         extra tokens at end of #undef directive.
8222         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8223         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8224         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8225
8226 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8227
8228         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8229
8230         * math/auto-libm-test-in: Mark various tests with
8231         xfail-rounding:ldbl-128ibm.
8232         * math/auto-libm-test-out: Regenerated.
8233
8234 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8235
8236         [BZ #16386]
8237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8238         numbers with subnormal high part when calculating exponent.
8239
8240         [BZ #16385]
8241         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8242         fabs.
8243
8244         [BZ #16384]
8245         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8246         M_LN2l.
8247         (__ieee754_acoshl): Use __log1pl not __log1p.
8248
8249 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8250
8251         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8252         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8253         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8254         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8255         (reused_arena, arena_get2): Convert to GNU style.
8256         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8257         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8258         (memalign_check, __malloc_set_state): Likewise.
8259         * malloc/mallocbug.c (main): Likewise.
8260         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8261         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8262         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8263         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8264         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8265         (__posix_memalign, malloc_info): Likewise.
8266         * malloc/malloc.h: Likewise.
8267         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8268         (mallochook, memalignhook, reallochook, mabort): Likewise.
8269         * malloc/mcheck.h: Likewise.
8270         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8271         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8272         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8273         * malloc/morecore.c (__default_morecore): Likewise.
8274         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8275         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8276         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8277         (print_and_abort): Likewise.
8278         * malloc/obstack.h: Likewise.
8279         * malloc/set-freeres.c (__libc_freeres): Likewise.
8280         * malloc/tst-mallocstate.c (main): Likewise.
8281         * malloc/tst-mtrace.c (main): Likewise.
8282         * malloc/tst-realloc.c (do_test): Likewise.
8283
8284 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285
8286         [BZ #16366]
8287         * nscd/netgroupcache.c (do_notfound): New function.
8288         (addgetnetgrentX): Use it.
8289
8290         [BZ # 16365]
8291         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8292         NSS_STATUS_NOTFOUND.
8293
8294 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8295
8296         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8298
8299 2014-01-01  Allan McRae  <allan@archlinux.org>
8300
8301         * scripts/update-copyrights: Update configure input file suffix.
8302
8303         * NEWS: Update copyright year.
8304         * catgets/gencat.c: Likewise.
8305         * csu/version.c: Likewise.
8306         * debug/catchsegv.sh: Likewise.
8307         * debug/pcprofiledump.c: Likewise.
8308         * debug/xtrace.sh: Likewise.
8309         * elf/ldconfig.c: Likewise.
8310         * elf/ldd.bash.in: Likewise.
8311         * elf/pldd.c: Likewise.
8312         * elf/sotruss.ksh: Likewise.
8313         * elf/sprof.c: Likewise.
8314         * iconv/iconv_prog.c: Likewise.
8315         * iconv/iconvconfig.c: Likewise.
8316         * locale/programs/locale.c: Likewise.
8317         * locale/programs/localedef.c: Likewise.
8318         * login/programs/pt_chown.c: Likewise.
8319         * malloc/memusage.sh: Likewise.
8320         * malloc/memusagestat.c: Likewise.
8321         * malloc/mtrace.pl: Likewise.
8322         * manual/libc.texinfo: Likewise.
8323         * nscd/nscd.c: Likewise.
8324         * nss/getent.c: Likewise.
8325         * nss/makedb.c: Likewise.
8326         * posix/getconf.c: Likewise.
8327         * scripts/test-installation.pl: Likewise.
8328
8329         * All files with FSF copyright notices: Update copyright dates
8330         using scripts/update-copyrights.
8331         * intl/plural.c: Regenerated.
8332         * locale/programs/charmap-kw.h: Likewise.
8333         * locale/programs/locfile-kw.h: Likewise.
8334
8335 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8336
8337         * sysdeps/unix/sysv/linux/configure: Regenerated.
8338         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8339         the linux/fanotify.h header.
8340         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8341         HAVE_LINUX_FANOTIFY_H is defined.
8342
8343 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8344
8345         * benchtests/cos-inputs: New inputs.
8346         * benchtests/sin-inputs: Likewise.
8347
8348         * benchtests/atan-inputs: New inputs. Fix name of multiple
8349         precision fallback inputs.
8350
8351         * benchtests/atanh-inputs: New inputs.
8352         * benchtests/tanh-inputs: Likewise.
8353
8354         * benchtests/acosh-inputs: New inputs.
8355         * benchtests/asinh-inputs: Likewise.
8356
8357         * benchtests/cosh-inputs: New inputs.
8358         * benchtests/sinh-inputs: Likewise.
8359
8360         * benchtests/acos-inputs: Add more inputs.
8361         * benchtests/asin-inputs: Likewise.
8362
8363 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8364
8365         [BZ #16375]
8366         * manual/arith.texi: Fix spelling.
8367         * manual/charset.texi: Likewise.
8368         * manual/errno.texi: Likewise.
8369         * manual/filesys.texi: Likewise.
8370         * manual/lang.texi: Likewise.
8371         * manual/llio.texi: Likewise.
8372         * manual/locale.texi: Likewise.
8373         * manual/message.texi: Likewise.
8374         * manual/resource.texi: Likewise.
8375         * manual/search.texi: Likewise.
8376         * manual/setjmp.texi: Likewise.
8377         * manual/stdio.texi: Likewise.
8378         * manual/string.texi: Likewise.
8379         * manual/sysinfo.texi: Likewise.
8380         * manual/time.texi: Likewise.
8381
8382 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8383
8384         * po/sl.po: New file.
8385
8386 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8387
8388         * .gitignore: Add core/.gdbinit/.gdb_history.
8389
8390 2013-12-27  Allan McRae  <allan@archlinux.org>
8391
8392         [BZ #16369]
8393         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8394         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8395
8396 2013-12-24  Brooks Moses  <bmoses@google.com>
8397
8398         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8399         all compilers that claim C++98 compliance, not just GCC.
8400         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8401         Likewise.
8402
8403 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8404
8405         * NEWS: Restore accidentally deleted bug-fix entries.
8406
8407 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8408             Ondřej Bílka  <neleai@seznam.cz>
8409
8410         [BZ #15073]
8411         * malloc/malloc.c (_int_free): Perform sanity check only if we
8412         have_lock.
8413
8414 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8415
8416         [BZ #12986]
8417         * manual/stdio.texi (String Input Conversions): Clarify that character
8418         classes are not supported.
8419
8420 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8421
8422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8423
8424 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8425
8426         [BZ #16337]
8427         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8428         Calculate results for small negative arguments directly rather
8429         than using reflection formula with special underflow handling.
8430
8431         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8432         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8433         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8434         (fchflags): Likewise.
8435         (revoke): Likewise.
8436         (setlogin): Likewise.
8437         (sigaltstack): Likewise.
8438         (wait4): Likewise.
8439         (sigblock): Remove.
8440         (sigsetmask): Likewise.
8441         (wait3): Likewise.
8442         (waitpid): Likewise.
8443         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8444         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8445         file.
8446         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8447         * sysdeps/unix/bsd/Makefile: ... here.
8448         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8449         * sysdeps/unix/bsd/Versions: ... here.
8450         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8451         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8452         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8453         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8454         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8455         * sysdeps/unix/bsd/sigblock.c: ... here.
8456         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8457         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8458         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8459         * sysdeps/unix/bsd/sigvec.c: ... here.
8460         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8461         * sysdeps/unix/bsd/tcdrain.c: ... here.
8462         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8463         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8464         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8465         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8466         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8467         * sysdeps/unix/bsd/wait.c: ... here.
8468         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8469         * sysdeps/unix/bsd/wait3.c: ... here.
8470         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8471         * sysdeps/unix/bsd/waitpid.c: ... here.
8472
8473 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8474
8475         [BZ #16356]
8476         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8477         round-to-nearest for [!USE_AS_EXPM1L].
8478         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8479         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8480         more tests of exp and exp10.  Expect some exp10 tests to miss
8481         exceptions or fail in directed rounding modes.
8482         * math/auto-libm-test-out: Regenerated.
8483         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8484         (exp10_test_tonearest): New function.
8485         (exp10_towardzero_test_data): New array.
8486         (exp10_test_towardzero): New function.
8487         (exp10_downward_test_data): New array.
8488         (exp10_test_downward): New function.
8489         (exp10_upward_test_data): New array.
8490         (exp10_test_upward): New function.
8491         (main): Call the new functions.
8492         * sysdeps/i386/fpu/libm-test-ulps: Update.
8493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8494
8495 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8496
8497         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8498         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8499         * math/auto-libm-test-out: Regenerated.
8500         * math/libm-test.inc (acosh_test_data): Add more tests.
8501         (atanh_test_data): Likewise.
8502         (ceil_test_data): Likewise.
8503         (copysign_test_data): Likewise.
8504         * sysdeps/i386/fpu/libm-test-ulps: Update.
8505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8506
8507         * timezone/checktab.awk: Update from tzcode 2013i.
8508         * timezone/private.h: Likewise.
8509         * timezone/scheck.c: Likewise.
8510         * timezone/tzfile.h: Likewise.
8511         * timezone/tzselect.ksh: Likewise.
8512         * timezone/zdump.c: Likewise.
8513         * timezone/zic.c: Likewise.
8514
8515         * math/auto-libm-test-in: Add tests of cpow.
8516         * math/auto-libm-test-out: Regenerated.
8517         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8518         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8519         mpc_cc_c.
8520         (func_calc_desc): Add mpc_cc_c union field.
8521         (test_functions): Add cpow.
8522         (special_fill_2pi): New function.
8523         (special_real_inputs): Add 2pi.
8524         (calc_generic_results): Handle mpc_cc_c.
8525         * sysdeps/i386/fpu/libm-test-ulps: Update.
8526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8527
8528         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8529         csqrt, ctan and ctanh.
8530         * math/auto-libm-test-out: Regenerated.
8531         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8532         (TEST_COND_x86): Likewise.
8533         (ccos_test_data): Use AUTO_TESTS_c_c.
8534         (ccosh_test_data): Likewise.
8535         (cexp_test_data): Likewise.
8536         (clog_test_data): Likewise.
8537         (csqrt_test_data): Likewise.
8538         (ctan_test_data): Likewise.
8539         (ctan_tonearest_test_data): Likewise.
8540         (ctan_towardzero_test_data): Likewise.
8541         (ctan_downward_test_data): Likewise.
8542         (ctan_upward_test_data): Likewise.
8543         (ctanh_test_data): Likewise.
8544         (ctanh_tonearest_test_data): Likewise.
8545         (ctanh_towardzero_test_data): Likewise.
8546         (ctanh_downward_test_data): Likewise.
8547         (ctanh_upward_test_data): Likewise.
8548         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8549         mpc_c_c.
8550         (func_calc_desc): Add mpc_c_c union field.
8551         (FUNC_mpc_c_c): New macro.
8552         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8553         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8554         ctanh.
8555         (special_fill_min_subnorm_p120): New function.
8556         (special_real_inputs): Add min_subnorm_p120.
8557         (calc_generic_results): Handle mpc_c_c.
8558         * sysdeps/i386/fpu/libm-test-ulps: Update.
8559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8560
8561 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
8562
8563         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8564         (do_sin_slow): New functions.
8565         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8566         (cslow2, csloww1, csloww2): Use the new functions.
8567
8568         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8569         Use M to change sign of result instead of X.  Assume X is
8570         positive.
8571         (csloww1): Likewise.
8572         (__sin): Adjust.
8573         (__cos): Adjust.
8574
8575         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8576         arguments A and DA.
8577         (__sin): Adjust.
8578         (__cos): Likewise.
8579
8580         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8581         (__cos): Likewise.
8582         (sloww1): Don't adjust sign of DX.
8583         (csloww1): Likewise.
8584         (sloww2): Use X directly and don't adjust sign of DX.
8585         (csloww2): Likewise.
8586
8587 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8588
8589         * math/auto-libm-test-in: Add tests of cabs and carg.
8590         * math/auto-libm-test-out: Regenerated.
8591         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8592         (carg_test_data): Likewise.
8593         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8594         mpc_c_f.
8595         (func_calc_desc): Add mpc_c_f union field.
8596         (test_functions): Add cabs and carg.
8597         (calc_generic_results): Handle mpc_c_f.
8598
8599         * sysdeps/powerpc/powerpc32/libgcc-compat.S
8600         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8601         as a macro and a compat symbol.
8602         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8603         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8604         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8605         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8606         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8607         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8608         not use .hidden.
8609         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8610         Likewise.
8611         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8612         Likewise.
8613         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8614         Likewise.
8615         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8616         Likewise.
8617         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8618         Likewise.
8619         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8620         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8621         from GLIBC_2.3.2.
8622
8623 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8624
8625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8626
8627 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8628
8629         * manual/texinfo.tex: Update to version 2013-11-26.10 with
8630         trailing whitespace removed.
8631         * scripts/config.guess: Update to version 2013-11-29.
8632         * scripts/config.sub: Update to version 2013-10-01.
8633
8634         * math/auto-libm-test-in: Add tests of sincos.
8635         * math/auto-libm-test-out: Regenerated.
8636         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8637         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8638         mpfr_f_11.
8639         (func_calc_desc): Add mpfr_f_11 union field.
8640         (test_functions): Add sincos.
8641         (calc_generic_results): Handle mpfr_f_11.
8642         * sysdeps/i386/fpu/libm-test-ulps: Update.
8643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8644
8645 2013-12-19  Andreas Schwab  <schwab@suse.de>
8646
8647         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8648         CALL_MCOUNT.
8649         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8650         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8651         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8652
8653 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
8654
8655         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8656         * sysdeps/i386/fpu/libm-test-ulps: Update.
8657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658
8659         [BZ #16293]
8660         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8661         round-to-nearest mode when using frndint.
8662         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8663         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8664         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8665         Likewise.
8666         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
8667         sinh test to fail.
8668         * math/auto-libm-test-out: Regenerated.
8669         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8670         (TEST_COND_x86): Likewise.
8671         (expm1_tonearest_test_data): New array.
8672         (expm1_test_tonearest): New function.
8673         (expm1_towardzero_test_data): New array.
8674         (expm1_test_towardzero): New function.
8675         (expm1_downward_test_data): New array.
8676         (expm1_test_downward): New function.
8677         (expm1_upward_test_data): New array.
8678         (expm1_test_upward): New function.
8679         (main): Run the new test functions.
8680         * sysdeps/i386/fpu/libm-test-ulps: Update.
8681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8682
8683         * include/features.h: Update comment documenting feature test
8684         macros.  Mention _DEFAULT_SOURCE in comment.
8685         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8686         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8687         _BSD_SOURCE and _SVID_SOURCE.
8688         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8689         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8690         !_SVID_SOURCE]: Likewise.
8691         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8692         (__USE_POSIX_IMPLICITLY): Define.
8693         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8694         (_POSIX_SOURCE): Undefine and redefine.
8695         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8696         (_POSIX_C_SOURCE): Likewise.
8697         * manual/creature.texi (_DEFAULT_SOURCE): Document.
8698         (Feature Test Macros): Update documentation of default features.
8699
8700 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8701
8702         * benchtests/Makefile: Add bench-strtok.
8703         * benchtests/bench-strtok.c: New file: strtok benchtest.
8704
8705 2013-12-19  Allan McRae  <allan@archlinux.org>
8706
8707         * manual/install.texi: Suppress menu for plain text output.
8708         * INSTALL: Regenerated.
8709
8710 2013-12-18  Brooks Moses  <bmoses@google.com>
8711
8712         [BZ #15846]
8713         * misc/getauxval.c: Include errno.h.
8714         (__getauxval): Set errno to ENOENT if the requested type is not
8715         found.
8716         * misc/sys/auxv.h (getauxval): Document that it may set errno;
8717         don't declare with __attribute_const__.
8718         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8719         * manual/startup.texi: Document that getauxval sets errno.
8720
8721 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8722
8723         * math/auto-libm-test-in: Add tests of jn and yn.
8724         * math/auto-libm-test-out: Regenerated.
8725         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8726         (yn_test_data): Likewise.
8727         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8728         mpfr_if_f.
8729         (func_calc_desc): Add mpfr_if_f union field.
8730         (FUNC_mpfr_if_f): New macro.
8731         (test_functions): Add jn and yn.
8732         (calc_generic_results): Assert type of second input for
8733         mpfr_ff_f.  Handle mpfr_if_f.
8734         (output_for_one_input_case): Disable all checking for arguments
8735         fitting floating-point types in case of an integer argument.
8736         * sysdeps/i386/fpu/libm-test-ulps: Update.
8737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8738
8739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8740         Don't expect fegetround reference in libm.so.
8741
8742 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8743
8744         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8745         $(config-cflags-nofma).
8746
8747 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
8748
8749         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8750         * math/auto-libm-test-out: Regenerated.
8751
8752         [BZ #16338]
8753         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8754         to determine exponent and adjust argument to have exponent of -1.
8755         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8756         log2.
8757         * math/auto-libm-test-out: Regenerated.
8758         * sysdeps/i386/fpu/libm-test-ulps: Update.
8759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8760
8761 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
8762
8763         * manual/probes.texi: Remove cases when per-thread arenas are
8764         disabled.
8765
8766 2013-12-18  Andreas Schwab  <schwab@suse.de>
8767
8768         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8769         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8770         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8771         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8772         * sysdeps/i386/i686/multiarch/Makefile: Update.
8773         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8774
8775 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8776
8777         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8778         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8779
8780 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
8781
8782         [BZ #15968]
8783         Support TZ transition times < 00:00:00.
8784         This is needed for version-3 tz-format files; it supports time
8785         stamps past 2037 for America/Godthab (the only entry in the tz
8786         database for which this change is relevant).
8787         * manual/time.texi (TZ Variable): Document transition times
8788         from -167:59:59 through -00:00:01.
8789         * time/tzset.c (tz_rule): Time of day is now signed.
8790         (__tzset_parse_tz): Parse negative time of day.
8791
8792         Document TZ transition times >= 25:00:00.
8793         * manual/time.texi (TZ Variable): Document transition times from
8794         25:00:00 through 167:59:59.  These are already supported, and this
8795         support will help with version-3 tz-format files.
8796
8797         * manual/time.texi (TZ Variable): Modernize North America example
8798         to reflect current (i.e., 2007-and-later) daylight saving rules.
8799
8800         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8801
8802 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8803
8804         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8805         * sysdeps/unix/bsd/bits/stat.h: Likewise.
8806         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8807         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8808         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8809         * sysdeps/unix/bsd/bsdstat.h: Likewise.
8810         * sysdeps/unix/bsd/clock.c: Likewise.
8811         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8812         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8813         * sysdeps/unix/bsd/init-posix.c: Likewise.
8814         * sysdeps/unix/bsd/poll.c: Likewise.
8815         * sysdeps/unix/bsd/ptsname.c: Likewise.
8816         * sysdeps/unix/bsd/seekdir.c: Likewise.
8817         * sysdeps/unix/bsd/setegid.c: Likewise.
8818         * sysdeps/unix/bsd/seteuid.c: Likewise.
8819         * sysdeps/unix/bsd/setgid.c: Likewise.
8820         * sysdeps/unix/bsd/setrgid.c: Likewise.
8821         * sysdeps/unix/bsd/setruid.c: Likewise.
8822         * sysdeps/unix/bsd/setsid.c: Likewise.
8823         * sysdeps/unix/bsd/setuid.c: Likewise.
8824         * sysdeps/unix/bsd/sigaction.c: Likewise.
8825         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8826         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8827         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8828         * sysdeps/unix/bsd/telldir.c: Likewise.
8829         * sysdeps/unix/bsd/times.c: Likewise.
8830         * sysdeps/unix/bsd/usleep.c: Likewise.
8831
8832         * misc/Makefile (install-lib): Remove libbsd-compat.a.
8833         ($(objpfx)libbsd-compat.a): Remove rule.
8834
8835         * include/features.h (__FAVOR_BSD): Do not define.
8836         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8837         features conflicting with POSIX.
8838         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8839         (_BSD_SOURCE): Remove description of not being a subset of other
8840         feature test macros.
8841         * manual/job.texi (getpgrp): Do not document BSD version.
8842         (getpgid): Do not document by reference to BSD getpgrp.
8843         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8844         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8845         * signal/signal.h [__FAVOR_BSD]: Likewise.
8846         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8847         instead of making contents conditional on [__FAVOR_BSD].
8848         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8849
8850 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8851
8852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8853
8854 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
8855
8856         [BZ #16314]
8857         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8858         values below 2**-450, not 2**-500.
8859         * math/auto-libm-test-in: Don't allow spurious underflow from
8860         hypot.
8861         * math/auto-libm-test-out: Regenerated.
8862
8863         [BZ #16316]
8864         [BZ #16330]
8865         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8866         values of ha and hb and sort them after adjusting subnormal
8867         arguments.
8868         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8869         Likewise.
8870         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8871         values of ea and eb and sort them after adjusting subnormal
8872         arguments.
8873         * math/auto-libm-test-in: Do not expect some hypot tests of
8874         subnormals to fail.  Add more hypot tests.
8875         * math/auto-libm-test-out: Regenerated.
8876
8877 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8878
8879         [BZ #13304]
8880         * sysdeps/sh/s_fma.c: New file.
8881         * sysdeps/sh/s_fmaf.c: New file.
8882         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
8883         version.
8884         * sysdeps/sh/Implies: Add sh/soft-fp.
8885
8886 2013-12-16  Roland McGrath  <roland@hack.frob.com>
8887
8888         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
8889         level of indirection to members `objname', `errstring', `malloced'.
8890         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8891         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
8892         it as the __longjmp argument (just pass 1 instead).
8893         (_dl_catch_error): Initialize C with argument pointers and address of
8894         volatile local ERRCODE rather than copying values out of C at return.
8895
8896 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
8897
8898         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8899         * math/auto-libm-test-out: Regenerated.
8900         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8901         (hypot_test_data): Likewise.
8902         (pow_test_data): Likewise.
8903         (pow_tonearest_test_data): Likewise.
8904         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8905         mpfr_ff_f.
8906         (func_calc_desc): Add mpfr_ff_f union field.
8907         (FUNC_mpfr_ff_f): New macro.
8908         (test_functions): Add atan2, hypot and pow.
8909         (special_fill_min): New function.
8910         (special_fill_minus_min): Likewise.
8911         (special_fill_min_subnorm): Likewise.
8912         (special_fill_minus_min_subnorm): Likewise.
8913         (special_real_inputs): Add min, -min, min_subnorm and
8914         -min_subnorm.
8915         (calc_generic_results): Handle mpfr_ff_f.
8916         * sysdeps/i386/fpu/libm-test-ulps: Update.
8917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8918
8919 2013-12-16  Will Newton  <will.newton@linaro.org>
8920
8921         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8922         (Aligned Memory Blocks): Add documentation for aligned_alloc
8923         and suggest it as an alternative to posix_memalign.
8924         (Hooks for Malloc): Document __memalign_hook is also called
8925         for aligned_alloc.  (Summary of Malloc): Add summary for
8926         aligned alloc.  Document __memalign_hook is also called
8927         for aligned_alloc.
8928
8929 2013-12-16  Will Newton  <will.newton@linaro.org>
8930
8931         * manual/memory.texi (Malloc Examples): Clarify default
8932         alignment documentation.  Suggest posix_memalign rather
8933         than memalign or valloc.
8934         (Aligned Memory Blocks): Remove suggestion to use memalign
8935         or valloc.  Remove obsolete comment about BSD.
8936         Document memalign errno values and mark the function obsolete.
8937         Document posix_memalign returned error codes.  Mark valloc
8938         as obsolete.  (Hooks for Malloc): __memalign_hook is also
8939         called for posix_memalign and valloc.
8940         (Summary of Malloc): Add posix_memalign to function summary.
8941         __memalign_hook is also called for posix_memalign and valloc.
8942
8943 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8944
8945         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8946         TAYLOR_SIN.
8947         (__sin): Adjust.
8948         (__cos): Likewise.
8949         (sloww): Use mynumber union.  Expand ternary operator into
8950         if-else statements.
8951         (cslow): use mynumber union.
8952
8953 2013-12-16  Allan McRae  <allan@archlinux.org>
8954
8955         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8956         * configure: Regenerated.
8957
8958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8959
8960         [BZ #14120]
8961         * configure.ac: Added --enable-maintainer-mode. Check for
8962         autoconf when enabled.
8963         * configure: Regenerated.
8964
8965         * nscd/nscd.service: New file.
8966         * nscd/nscd.tmpfiles: New file.
8967
8968 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
8969
8970         [BZ #12100]
8971         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8972         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8973         * sysdeps/x86_64/multiarch/strstr.c: ... here.
8974         (strstr): Add __strstr_sse2_unaligned ifunc.
8975         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8976         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8977         (strcasestr): Remove __strcasestr_sse42 ifunc.
8978         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8981
8982 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8983
8984         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8985         * sysdeps/sh/bits/fenv.h: ... here.
8986         * sysdeps/sh/sh4/fpu/bits: Remove directory.
8987
8988 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8989
8990         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8991
8992         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8993         hypotf multiarch implementations.
8994         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8995         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8996         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8997         multiarch hypot for PPC64.
8998         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8999         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9000         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9001         multiarch hypotf for PPC64.
9002
9003         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9004         modff multiarch implementations.
9005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9008         multiarch modf for PPC64.
9009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9012         multiarch modff for PPC64.
9013
9014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9015         and logl multiarch implementations.
9016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9019         multiarch logb for PPC64.
9020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9023         multiarch logb for PPC64.
9024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9027         multiarch logb for PPC64.
9028
9029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9030         isinff multiarch implementation.
9031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9032         file.
9033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9035         multiarch isinf for PPC64.
9036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9037         file.
9038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9039         multiarch isinff for PPC64.
9040
9041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9042         finitef multiarch implementation.
9043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9044         file.
9045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9047         multiarch finite for PPC64.
9048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9049         file.
9050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9051         multiarch finitef for PPC64.
9052
9053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9054         lrint multiarch implementation.
9055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9056         file.
9057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9059         multiarch llrint for PPC64.
9060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9061         multiarch lrint for PPC64.
9062
9063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9064         copysignf multiarch implementation.
9065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9066         file.
9067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9068         file.
9069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9070         multiarch copysign for PPC64.
9071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9072         multiarch copysignf for PPC64.
9073
9074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9075         multiarch implementation.
9076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9077         file.
9078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9079         file.
9080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9081         file.
9082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9083         file.
9084         multiarch llround for PPC64.
9085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9086         multiarch trunc for PPC64.
9087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9088         multiarch truncf for PPC64.
9089
9090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9091         multiarch implementation.
9092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9093         file.
9094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9095         file.
9096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9097         file.
9098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9099         file.
9100         multiarch llround for PPC64.
9101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9102         multiarch round for PPC64.
9103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9104         multiarch roundf for PPC64.
9105
9106         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9107         multiarch implementation.
9108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9109         file.
9110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9111         file.
9112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9113         file.
9114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9115         file.
9116         multiarch llround for PPC64.
9117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9118         multiarch floor for PPC64.
9119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9120         multiarch floorf for PPC64.
9121
9122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9123         multiarch implementation.
9124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9125         file.
9126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9127         file.
9128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9129         file.
9130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9131         file.
9132         multiarch llround for PPC64.
9133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9134         multiarch ceil for PPC64.
9135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9136         multiarch ceilf for PPC64.
9137
9138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9139         multiarch implementation.
9140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9141         file.
9142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9143         file.
9144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9145         file.
9146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9147         multiarch llround for PPC64.
9148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9149         multiarch lround for PPC64.
9150
9151         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9152         multiarch implementation.
9153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9156         file.
9157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9160         multiarch isnan for PPC64.
9161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9162         multiarch isnanf for PPC64.
9163
9164         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9165         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9166         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9167         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9168         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9170
9171         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9172         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9173         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9174         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9175
9176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9177         multiarch implementations.
9178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9179         (__libc_ifunc_impl_list): Likewise.
9180         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9181         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9182         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9183         multiarch stpcpy for PPC64.
9184
9185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9186         multiarch implementations.
9187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9188         (__libc_ifunc_impl_list): Likewise.
9189         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9190         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9191         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9192         multiarch strcpy for PPC64.
9193
9194         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9195         redefine function name.
9196         (_wordcopy_fwd_dest_aligned): Likewise.
9197         (_wordcopy_bwd_aligned): Likewise.
9198         (_wordcopy_bwd_dest_aligned): Likewise.
9199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9200         multiarch implementations.
9201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9202         (__libc_ifunc_impl_list): Likewise.
9203         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9205         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9206         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9207         multiarch wcscpy for PPC64.
9208
9209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9210         multiarch implementations.
9211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9212         (__libc_ifunc_impl_list): Likewise.
9213         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9214         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9215         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9216         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9217         multiarch wcscpy for PPC64.
9218
9219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9220         multiarch implementations.
9221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9222         (__libc_ifunc_impl_list): Likewise.
9223         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9224         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9225         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9226         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9227         multiarch wcsrchr for PPC64.
9228
9229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9230         multiarch implementations.
9231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9232         (__libc_ifunc_impl_list): Likewise.
9233         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9234         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9235         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9236         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9237         multiarch wcschr for PPC64.
9238
9239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9240         multiarch implementations.
9241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9242         (__libc_ifunc_impl_list): Likewise.
9243         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9244         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9245         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9246         multiarch strchrnul for PPC64.
9247
9248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9249         implementations.
9250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9251         (__libc_ifunc_impl_list): Likewise.
9252         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9253         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9254         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9255         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9256         strchr for PPC64.
9257
9258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9259         implementations.
9260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9261         (__libc_ifunc_impl_list): Likewise.
9262         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9263         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9264         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9265         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9266         strncmp for PPC64.
9267
9268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9269         multiarch implementations.
9270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9271         (__libc_ifunc_impl_list): Likewise.
9272         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9273         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9274         strncasecmp for PPC64.
9275         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9276         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9277         multiarch strncasecmp_l for PPC64.
9278
9279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9280         multiarch implementations.
9281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9282         (__libc_ifunc_impl_list): Likewise.
9283         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9284         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9285         multiarch strcasecmp for PPC64.
9286         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9287         file.
9288         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9289         multiarch strcasecmp_l for PPC64.
9290
9291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9292         implementations.
9293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9294         (__libc_ifunc_impl_list): Likewise.
9295         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9296         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9297         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9298         strnlen for PPC64.
9299
9300         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9301         implementations.
9302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9303         (__libc_ifunc_impl_list): Likewise.
9304         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9305         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9306         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9307         strlen for PPC64.
9308
9309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9310         implementations.
9311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9312         (__libc_ifunc_impl_list): Likewise.
9313         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9314         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9315         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9316         rawmemrchr for PPC64.
9317
9318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9319         implementation.
9320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9321         (__libc_ifunc_impl_list): Likewise.
9322         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9323         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9324         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9325         memrchr for PPC64.
9326
9327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9328         implementation.
9329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9330         (__libc_ifunc_impl_list): Likewise.
9331         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9332         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9333         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9334         memchr for PPC64.
9335
9336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9337         implementation.
9338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9339         (__libc_ifunc_impl_list): Likewise.
9340         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9341         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9342         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9343         mempcpy for PPC64.
9344
9345         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9346         avoid cretion of __bzero symbol.
9347         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9348         Likewise.
9349         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9350         Likewise.
9351         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9352         Likewise.
9353         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9354         multiarch implementations.
9355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9356         (__libc_ifunc_impl_list): Likewise.
9357         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9358         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9359         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9360         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9361         bzero for PPC32.
9362         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9363         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9364         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9365         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9366         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9367         memset for PPC64.
9368         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9369
9370         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9372         implementations.
9373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9374         (__libc_ifunc_impl_list): Likewise.
9375         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9376         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9377         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9378         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9379         memcmp for PPC64.
9380
9381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9382         multiarch for POWER/PPC64.
9383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9384         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9385         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9386         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9387         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9388         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9389         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9391         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9392         memcpy for PPC64.
9393
9394         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9395         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9396         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9397         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9398         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9399         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9400         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9401         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9402         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9403         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9404         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9405         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9406         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9407         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9408         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9416
9417 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9418
9419         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9420
9421 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9422
9423         * benchtests/Makefile (bench): Add exp2 and log2.
9424         (LDLIBS-bench-exp2): Add -lm.
9425         (LDLIBS-bench-log2): Likewise.
9426         * benchtests/exp2-inputs: New inputs file.
9427         * benchtests/log2-inputs: New inputs file.
9428         * benchtests/log-inputs: Add new inputs.
9429         * benchtests/tan-inputs: Likewise.
9430
9431 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9432
9433         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9434         definition...
9435         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9436         (csloww2): ... from here.
9437
9438         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9439         instead of structures.
9440         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9441         (POLYNOMIAL): Likewise.
9442         (TAYLOR_SLOW): Likewise.
9443         (__sin): Likewise.
9444         (__cos): Likewise.
9445         (slow1): Likewise.
9446         (slow2): Likewise.
9447         (sloww): Likewise.
9448         (sloww1); Likewise.
9449         (sloww2): Likewise.
9450         (bsloww1): Likewise.
9451         (bsloww2): Likewise.
9452         (cslow2): Likewise.
9453         (csloww): Likewise.
9454         (csloww1): Likewise.
9455         (csloww2): Likewise.
9456
9457 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9458
9459         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9460         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9461         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9462         * malloc/hooks.c (realloc_check): Likewise.
9463
9464         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9465         * malloc/arena.c: Remove PER_THREAD conditional.
9466         [!PER_THREAD]: Remove code.
9467         (ptmalloc_unlock_all2): Likewise.
9468         (ptmalloc_init): Likewise.
9469         (_int_new_arena): Likewise.
9470         (arena_get2): Likewise.
9471         * malloc/hooks.c (__malloc_get_state): Likewise.
9472         (__malloc_set_state): Likewise.
9473         * malloc/malloc.c: Likewise.
9474         (struct malloc_state): Likewise.
9475         (struct malloc_par): Likewise.
9476         (__libc_realloc): Likewise.
9477         (__libc_mallopt): Likewise.
9478
9479 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9480
9481         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9482
9483 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9484
9485         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9486         macro to a function.  Check for zero perturb_byte.
9487         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9488
9489         * malloc/malloc.c: (force_reg): Remove.
9490         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9491         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9492         force_reg by atomic_forced_read.
9493         * malloc/arena.c (ptmalloc_init): Likewise.
9494         * malloc/hooks.c (top_check): Likewise.
9495
9496 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9497
9498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9499
9500 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9501
9502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9503
9504 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9505
9506         * math/auto-libm-test-in: Add tests of lgamma.
9507         * math/auto-libm-test-out: Regenerated.
9508         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9509         (M_LOG_2_SQRT_PIl): Likewise.
9510         (lgamma_test_data): Use AUTO_TESTS_f_f1.
9511         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9512         mpfr_f_f1.
9513         (func_calc_desc): Add mpfr_f_f1 union field.
9514         (ARGS1): New macro.
9515         (ARGS2): Likewise.
9516         (ARGS3): Likewise.
9517         (ARGS4): Likewise.
9518         (RET1): Likewise.
9519         (RET2): Likewise.
9520         (CALC): Likewise.
9521         (FUNC): Likewise.
9522         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9523         (test_functions): Add lgamma.
9524         (calc_generic_results): Handle mpfr_f_f1.
9525         * sysdeps/i386/fpu/libm-test-ulps: Update.
9526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9527
9528 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9529
9530         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9531         __mpn_add_n for PowerPC64/POWER7.
9532         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9533         __mpn_sub_n for PowerPC64/POWER7.
9534
9535         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9536         __mpn_addmul_1 for PowerPC64.
9537         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9538         __mpn_submul_1 for PowerPC64.
9539         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9540         for PowerPC64.
9541         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9542         for PowerPC64.
9543
9544 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
9545
9546         [BZ #15089]
9547         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9548
9549 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9550
9551         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9552
9553         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9554         add multiarch folders.
9555         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9556         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9557         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9558         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9559         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9560         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9561         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9562         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9563         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9564         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9565         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9572
9573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9574         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9576         New file.
9577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9578         New file.
9579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9580         multiarch __ieee754_hypot for PowerPC32.
9581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9582         New file.
9583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9584         New file.
9585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9586         multiarch __ieee754_hypotf for PowerPC32.
9587
9588         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9589         long_double_symbol only if __logbl is defined.
9590         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9591         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9592         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9593         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9594         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9595         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9596         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9597         path for implementation.
9598         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9599         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9601         logb, and logbl multiarch implementations for PowerPC32.
9602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9603         file.
9604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9605         file.
9606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9607         multiarch logb for PowerPC32.
9608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9609         file.
9610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9611         file.
9612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9613         multiarch logbf for PowerPC32.
9614         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9616         file.
9617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9618         multiarch logbl implementation for PowerPC32.
9619
9620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9621         and modff multiarch implementations.
9622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9623         New file.
9624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9625         New file.
9626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9627         multiarch modf for PowerPC32.
9628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9629         New file.
9630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9631         New file.
9632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9633         multiarch modff for PowerPC32.
9634
9635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9636         and lrintf multiarch implementations.
9637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9638         New file.
9639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9640         New file.
9641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9642         multiarch lrint for PowerPC32.
9643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9644         file: multiarch lrintf for PowerPC32.
9645
9646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9647         and lroundf multiarch implementations.
9648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9649         New file.
9650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9651         New file.
9652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9653         New file.
9654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9655         multiarch lround for PowerPC32.
9656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9657         file: multiarch lroundf for PowerPC32.
9658
9659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9660         copysign and copysignf multiarch implementations.
9661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9662         New file.
9663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9664         New file.
9665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9666         file: multiarch copysign for PowerPC32.
9667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9668         file: multiarch copysignf for PowerPC32.
9669
9670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9671         and truncf multiarch implementations.
9672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9673         New file.
9674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9675         file.
9676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9677         multiarch trunc for PowerPC32.
9678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9679         New file.
9680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9681         New file.
9682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9683         multiarch truncf for PowerPC32.
9684
9685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9686         and roundf multiarch implementations.
9687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9688         New file.
9689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9690         file.
9691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9692         multiarch round for PowerPC32.
9693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9694         New file.
9695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9696         New file.
9697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9698         multiarch roundf for PowerPC32.
9699
9700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9701         and floorf multiarch implementations.
9702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9703         New file.
9704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9705         file.
9706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9707         multiarch floor for PowerPC32.
9708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9709         New file.
9710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9711         New file.
9712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9713         multiarch floorf for PowerPC32.
9714
9715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9716         and ceilf multiarch implementations.
9717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9718         New file.
9719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9720         file.
9721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9722         multiarch ceil for PowerPC32.
9723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9724         New file.
9725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9726         file.
9727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9728         multiarch ceilf for PowerPC32.
9729
9730         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9731         is defined.
9732         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9733         FINITEF is defined.
9734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9735         and finitef multiarch implementations.
9736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9737         New file.
9738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9739         file.
9740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9741         multiarch finite for PowerPC32.
9742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9743         New file.
9744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9745         file: multiarch finitef for PowerPC32.
9746
9747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9748         and isinff multiarch implementations.
9749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9750         file.
9751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9752         file.
9753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9754         multiarch isinf for PowerPC32.
9755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9756         New file.
9757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9758         multiarch isinff for PowerPC32.
9759
9760         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9761         alias when __isnan is defined.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9763         and isnanf multiarch implementations.
9764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9765         file.
9766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9767         file.
9768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9769         file.
9770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9771         file.
9772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9773         multiarch isnan for PowerPC32.
9774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9775         New file.
9776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9777         New file.
9778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9779         multiarch isnanf for PowerPC32.
9780
9781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9782         and sqrtf multiarch implementations.
9783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9784         file.
9785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9786         file.
9787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9788         multiarch sqrt for PowerPC32.
9789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9790         file.
9791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9792         file.
9793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9794         multiarch sqrtf for PowerPC32.
9795
9796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9797         and llroundf multiarch implementations.
9798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9799         New file.
9800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9801         New file.
9802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9803         New file.
9804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9805         file: multiarch llround for PowerPC32.
9806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9807         file: multiarch llroundf for PowerPC32.
9808
9809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9810         multiarch PowerPC32 fpu implementations.
9811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9812         New file.
9813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9814         New file.
9815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9816         multiarch llrint for PowerPC32.
9817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9818         New file.
9819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9820         New file.
9821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9822         file.
9823
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9825
9826         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9827         file.
9828         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9829         file.
9830         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9831         file.
9832         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9833         multiarch wordcopy for PPC32.
9834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9835         wordcopy objects.
9836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9837         (__libc_ifunc_impl_list): Likewise.
9838         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9839         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9840         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9841         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9842         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9843         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9844
9845         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9847         file.
9848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9849         file.
9850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9851         file.
9852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9853         multiarch wcscpy for PPC32.
9854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9855         multiarch objects.
9856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9857         (__libc_ifunc_impl_list): Likewise.
9858         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9859         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9860         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9861         sysdeps/powerpc/power6/wcscpy.c.
9862
9863         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9864         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9865         file.
9866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9867         file.
9868         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9869         file.
9870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9871         multiarch wcsrchr for PPC32.
9872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9873         multiarch objects.
9874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9875         (__libc_ifunc_impl_list): Likewise.
9876         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9877         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9878         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9879         sysdeps/powerpc/power6/wcsrchr.c.
9880
9881         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9882         file.
9883         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9884         file.
9885         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9887         multiarch wcschr for PPc32.
9888         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9889         multiarch objects.
9890         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9891         (__libc_ifunc_impl_list): Likewise.
9892         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9893         * sysdeps/powerpc/power6/wcschr.c: ... to here.
9894         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9895         sysdeps/powerpc/power6/wcschr.c.
9896
9897         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9898         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9899         file.
9900         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9901         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9902         file: multiarch strchr for PPC32.
9903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9904         multiarch objects.
9905         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9906         (__libc_ifunc_impl_list): Likewise.
9907
9908         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9909         name.
9910         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9911         file.
9912         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9913         file.
9914         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9915         multiarch strchrnul for PPC32.
9916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9917         multiarch objects.
9918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9919         (__libc_ifunc_impl_list): Likewise.
9920
9921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9922         file.
9923         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9924         multiarch strncasecmp for PPC32.
9925         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9926         file.
9927         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9928         multiarch strncasecmp_l for PPC32.
9929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9930         strncasecmp multiarch objects.
9931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9932         (__libc_ifunc_impl_list): Likewise.
9933
9934         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9935         file.
9936         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9937         multiarch strncasecmp for PPC32.
9938         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9939         New file.
9940         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9941         multiarch strcasecmp_l for PPC32.
9942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9943         multiarch objects.
9944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9945         (__libc_ifunc_impl_list): Likewise.
9946
9947         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9948         file.
9949         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9950         file.
9951         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9952         multiarch strncmp for PPC32.
9953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9954         multiarch objects.
9955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9956         (__libc_ifunc_impl_list): Likewise.
9957
9958         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9959         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9960         file.
9961         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9962         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9963         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9964         multiarch objects.
9965         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9966         (__libc_ifunc_impl_list): Likewise.
9967
9968         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9969         file.
9970         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9971         file.
9972         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9974         multiarch objects.
9975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9976         (__libc_ifunc_impl_list): Likewise.
9977
9978         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9979         file.
9980         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9981         file.
9982         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9983         multiarch rawmemchr for PPC32.
9984         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9985         multiarch objects.
9986         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9987         (__libc_ifunc_impl_list): Likewise.
9988
9989         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9990         file.
9991         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9992         file.
9993         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9994         file: memrchr multiarch for PPC32.
9995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9996         multiarch objects.
9997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9998         (__libc_ifunc_impl_list): Likewise.
9999
10000         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10001         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10002         file.
10003         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10004         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10005         multiarch memchr for PPC32.
10006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10007         multiarch objects.
10008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10009         (__libc_ifunc_impl_list): Likewise.
10010
10011         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10012         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10013         file.
10014         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10015         file.
10016         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10017         file: multiarch mempcpy for PPC32.
10018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10019         multiarch objects.
10020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10021         (__libc_ifunc_impl_list): Likewise.
10022
10023         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10024         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10025         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10026         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10027         multiarch bzero for PPC32.
10028         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10029         file.
10030         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10031         file.
10032         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10033         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10034         file: multiarch memset for PPC32.
10035         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10036         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10037         memset multiarch objects.
10038         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10039         (__libc_ifunc_impl_list): Likewise.
10040
10041         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10042         file.
10043         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10044         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10045         memcmp for PPC32.
10046         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10048         multiarch objects.
10049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10050         (__libc_ifunc_impl_list): Likewise.
10051
10052         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10054         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10055         file.
10056         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10057         file.
10058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10059         file.
10060         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10061         multiarch memcpy for PPC32.
10062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10063         multiarch objects.
10064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10065         (__libc_ifunc_impl_list): Likewise.
10066
10067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10068         support multiarch for POWER/PPC32.
10069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10070         Likewise.
10071         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10073         Implies file to make multiarch folder appers before the fpu and
10074         default folder for power4 configuration.
10075
10076 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10077
10078         * scripts/bench.pl: Append volatile keyword to type.
10079
10080 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10081
10082         * sysdeps/sh/sotruss-lib.c: New file.
10083         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10084
10085 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10086
10087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10088
10089 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10090
10091         [BZ #6810]
10092         * math/w_tgamma.c: Include <errno.h>.
10093         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10094         * math/w_tgammaf.c: Include <errno.h>.
10095         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10096         * math/w_tgammal.c: Include <errno.h>.
10097         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10098         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10099         underflow.  Add more tgamma tests.
10100         * math/auto-libm-test-out: Regenerated.
10101         * sysdeps/i386/fpu/libm-test-ulps: Update.
10102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10103
10104         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10105         sin, sinh, tan, tanh, tgamma, y0 and y1.
10106         * math/auto-libm-test-out: Regenerated.
10107         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10108         (TEST_COND_x86): Likewise.
10109         (M_E2l): Remove macro.
10110         (M_E3l): Likewise.
10111         (M_2_SQRT_PIl): Likewise.
10112         (M_SQRT_PIl): Likewise.
10113         (M_1_DIV_El): Likewise.
10114         (log_test_data): Use AUTO_TESTS_f_f.
10115         (log10_test_data): Likewise.
10116         (log1p_test_data): Likewise.
10117         (log2_test_data): Likewise.
10118         (sin_test_data): Likewise.
10119         (sin_tonearest_test_data): Likewise.
10120         (sin_towardzero_test_data): Likewise.
10121         (sin_downward_test_data): Likewise.
10122         (sin_upward_test_data): Likewise.
10123         (sinh_test_data): Likewise.
10124         (sinh_tonearest_test_data): Likewise.
10125         (sinh_towardzero_test_data): Likewise.
10126         (sinh_downward_test_data): Likewise.
10127         (sinh_upward_test_data): Likewise.
10128         (tan_test_data): Likewise.
10129         (tan_tonearest_test_data): Likewise.
10130         (tan_towardzero_test_data): Likewise.
10131         (tan_downward_test_data): Likewise.
10132         (tan_upward_test_data): Likewise.
10133         (tanh_test_data): Likewise.
10134         (tgamma_test_data): Likewise.
10135         (y0_test_data): Likewise.
10136         (y1_test_data): Likewise.
10137         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10138         (special_real_inputs): Add pi/4.
10139         * sysdeps/i386/fpu/libm-test-ulps: Update.
10140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10141
10142 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10143
10144         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10145         "longjmp_target" static probes.
10146         (__longjmp): Rename to __longjmp_symbol.
10147         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10148         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10149         on which longjmp to generate.
10150         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10151         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10152         probe.
10153         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10154         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10155         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10156         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10157         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10158         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10160         __longjmp_symbol based on which __longjmp to generate.
10161         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10162         probe.
10163         (setjmp): Rename to setjmp_symbol.
10164         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10165         (_setjmp): Rename to _setjmp_symbol.
10166         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10167         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10168         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10169         which setjmp to generate.
10170         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10171         "longjmp_target" static probes.
10172
10173 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10174
10175         * benchtests/README: Add note about output arguments.
10176         * benchtests/bench-sincos.c: Remove file.
10177         * benchtests/sincos-inputs: New file.
10178         * scripts/bench.pl: Identify output arguments and define
10179         static variables for them.
10180
10181         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10182
10183         [BZ #15941]
10184         * Makefile (INSTALL): Add install-plain.texi as the primary
10185         dependency.
10186         * manual/install-plain.texi: New file.
10187         * manual/install.texi: Include node directive only for
10188         non-plaintext output.
10189
10190 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10191
10192         * stdlib/longlong.h: Update from GCC.
10193
10194         [BZ #6807]
10195         [BZ #15901]
10196         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10197         * math/w_j0f.c (y0f): Likewise.
10198         * math/w_j0l.c (__y0l): Likewise.
10199         * math/w_j1.c (y1): Likewise.
10200         * math/w_j1f.c (y1f): Likewise.
10201         * math/w_j1l.c (__y1l): Likewise
10202         * math/w_jn.c (yn): Likewise.
10203         * math/w_jnf.c (ynf): Likewise.
10204         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10205         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10206         value for Bessel function domain errors outside _SVID_ mode.
10207         Adjust sign of return value for yn (negative integer, 0).
10208         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10209         by zero in return for negative x and set sign appropriately for
10210         negative n.
10211         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10212         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10213         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10214         expectations in error cases.
10215         (y1_test_data): Likewise.
10216         (yn_test_data): Likewise.
10217         * sysdeps/i386/fpu/libm-test-ulps: Update.
10218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10219
10220 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10221
10222         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10223         "64" to "64-v1".  Add "64-v2".
10224         (abi-64-options): Rename to ...
10225         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10226         (abi-64-condition): Rename to ...
10227         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10228         (abi-64-ld-soname): Rename to ...
10229         (abi-64-v1-ld-soname): ... this.
10230         (abi-64-v2-options): Define.
10231         (abi-64-v2-condition): Likewise.
10232         (abi-64-v2-ld-soname): Likewise.
10233         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10234         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10238
10239 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10240             Alan Modra  <amodra@gmail.com>
10241
10242         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10243         New versions for use with the ELFv2 ABI.
10244         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10245         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10246         declaration.
10247         (struct La_ppc64v2_retval): Likewise.
10248         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10249         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10250         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10251         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10252         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10253         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10254         Do not save or restore CR.
10255         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10256         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10257         return values for ELFv2 ABI.  Fix location of FPR return registers.
10258         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10259         updated values for _CALL_ELF == 2.
10260         (La_regs, La_retval, int_retval): Likewise.
10261
10262 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10263
10264         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10265         (FRAME_MIN_SIZE_PARM): Likewise.
10266         (FRAME_BACKCHAIN): Likewise.
10267         (FRAME_CR_SAVE): Likewise.
10268         (FRAME_LR_SAVE): Likewise.
10269         (FRAME_TOC_SAVE): Likewise.
10270         (FRAME_PARM_SAVE): Likewise.
10271         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10272         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10273         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10274         (call_mcount_parm_offset): New macro.
10275         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10276         (PROF): Use symbolic stack frame offsets.
10277         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10278         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10279         Redefine in terms of FRAME_MIN_SIZE.
10280         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10281         (_dl_profile_resolve): Likewise.  Update comment.
10282         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10283         symbols stack frame offsets.
10284         (__sigsetjmp): Likewise.
10285         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10286         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10287         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10288         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10289
10290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10291         (FRAME_BACKCHAIN): Remove.
10292         (FRAME_CR_SAVE): Likewise.
10293         (FRAME_LR_SAVE): Likewise.
10294         (FRAME_COMPILER_DW): Likewise.
10295         (FRAME_LINKER_DW): Likewise.
10296         (FRAME_TOC_SAVE): Likewise.
10297         (FRAME_PARM_SAVE): Likewise.
10298         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10299         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10300         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10302         (CHECK_SP): Use symbolic stack frame offsets.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10304         zone" instead of caller's parameter save area for temp storage.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10306         Likewise.  Also, use symbolic stack frame offsets.
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10308         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10309         our own stack frame instead of the caller's.
10310         (__socket): Use symbolic stack frame offsets.
10311
10312 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10313             Alan Modra  <amodra@gmail.com>
10314
10315         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10316         Define.
10317         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10318         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10319         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10320         New function.
10321         (elf_machine_fixup_plt): Call it.
10322         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10323         reloc arguments.
10324         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10325         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10326         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10327         r2 before calling target.
10328
10329 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10330             Alan Modra  <amodra@gmail.com>
10331
10332         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10333         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10334         versions of macros to support ELFv2 ABI.
10335         (LOCALENTRY): New macro.
10336         (ENTRY, EALIGN): Use it.
10337         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10338         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10339         fall through into ENTRY entry point.
10340         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10341         Only define if _CALL_ELF != 2.
10342
10343         (elf_machine_matches_host): Verify ABI version matches.
10344         (RTLD_START): Use LOCALENTRY.
10345         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10346         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10347         (PLT_ENTRY_WORDS): New macro.
10348         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10349         (elf_machine_runtime_setup): Support ELFv2 ABI.
10350         (elf_machine_fixup_plt): Likewise.
10351         (elf_machine_plt_conflict): Likewise.
10352         (resolve_ifunc): Likewise.
10353         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10354         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10355         Likewise.
10356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10357         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10359         (makecontext): Support ELFv2 ABI.
10360         * elf/elf.h (EF_PPC64_ABI): Define.
10361
10362 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10363
10364         * sysdeps/powerpc/powerpc64/sysdep.h
10365         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10366         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10367         (ENTRY) [ASSEMBLER]: ... but instead here ...
10368         (EALIGN) [ASSEMBLER]: ... and here.
10369         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10370         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10371         (ENTRY_2) [!ASSEMBLER]: Use it.
10372         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10373         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10374         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10375         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10376         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10378         Use PPC64_LOAD_FUNCPTR.
10379
10380         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10381
10382 2013-12-04  Alan Modra  <amodra@gmail.com>
10383
10384         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10385         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10386         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10387         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10388
10389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10390         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10391         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10392         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10393         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10394         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10395
10396 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10397
10398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10399         (__makecontext): Fix incorrect CFI when backtracing out of
10400         context created via makecontext.
10401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10402         (__setcontext): Fix incorrect CFI during switch to new context.
10403         (__novec_setcontext): Likewise.
10404
10405 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10406
10407         [BZ #4772]
10408         * time/strptime_l.c (__strptime_internal): Allow modifiers
10409         in strptime.
10410         * time/tst-strptime.c (day_tests): Add testcase.
10411
10412 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10413
10414         * scripts/bench.pl: Skip over blank lines.
10415
10416 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10417
10418         [BZ #926]
10419         * manual/time.texi (Calendar Time): Clarify what timezone functions
10420         use.
10421
10422 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10423
10424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10425
10426 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10427
10428         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10429         implementation.
10430         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10431         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10432         * debug/memset_chk.c (__memset_chk): Likewise.
10433         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10434         * debug/strncpy_chk.c: Likewise.
10435
10436 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10437
10438         [BZ #15268]
10439         [BZ #15425]
10440         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10441         (__ieee754_exp): For possibly underflowing results, check size of
10442         result and force underflow exception if required.
10443         * math/auto-libm-test-in: Add more tests of exp.
10444         * math/auto-libm-test-out: Regenerated.
10445         * sysdeps/i386/fpu/libm-test-ulps: Update.
10446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10447
10448         [BZ #16283]
10449         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10450         * math/w_exp2f.c (__exp2f): Likewise.
10451         * math/w_exp2l.c (__exp2l): Likewise.
10452         * math/auto-libm-test-in: Do not allow missing errno on exp2
10453         underflow.
10454         * math/auto-libm-test-out: Regenerated.
10455
10456 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10457
10458         [BZ #16274]
10459         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10460         handle filename validation.
10461         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10462         (do_open): Delete.
10463
10464 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10465
10466         [BZ #6786]
10467         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10468         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10469         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10470         <float.h>.
10471         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10472         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10473         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10474         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10475         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10476         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10477         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10478         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10479         Add more erfc tests.
10480         * math/auto-libm-test-out: Regenerated.
10481         * sysdeps/i386/fpu/libm-test-ulps: Update.
10482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10483
10484         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10485         exp2, expm1, j0 and j1.
10486         * math/auto-libm-test-out: Regenerated.
10487         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10488         (erfc_test_data): Likewise.
10489         (exp_test_data): Likewise.
10490         (exp_tonearest_test_data): Likewise.
10491         (exp_towardzero_test_data): Likewise.
10492         (exp_downward_test_data): Likewise.
10493         (exp_upward_test_data): Likewise.
10494         (exp10_test_data): Likewise.
10495         (exp2_test_data): Likewise.
10496         (expm1_test_data): Likewise.
10497         (j0_test_data): Likewise.
10498         (j1_test_data): Likewise.
10499         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10500         (input_flag_type): Add flag_xfail_rounding.
10501         (input_flags): Add xfail-rounding.
10502         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10503         (output_for_one_input_case): Handle flag_xfail_rounding.
10504         * sysdeps/i386/fpu/libm-test-ulps: Update.
10505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10506
10507 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
10508
10509         [BZ #16289]
10510         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10511         division by 0.
10512
10513 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10514
10515         [BZ #16195]
10516         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10517         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10518         (STAP_PROBE0): New macro.
10519         (STAP_PROBE1): Likewise.
10520         (STAP_PROBE2): Likewise.
10521         (STAP_PROBE3): Likewise.
10522         (STAP_PROBE4): Likewise.
10523
10524 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
10525
10526         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10527
10528 2013-12-02  Steve Ellcey  <sellcey@mips.com>
10529
10530         * benchtests/Makefile (bench): Add sqrt.
10531         (LDLIBS-bench-sqrt): New.
10532         * benchtests/sqrt-input: New.
10533
10534 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
10535
10536         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10537         (GAIH_EAI): Likewise.
10538         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10539         (gaih_inet): Likewise.
10540         (getaddrinfo): Don't use GAIH_EAI.
10541
10542         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10543         (struct gaih): Remove definition.
10544
10545 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10546
10547         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10548         Use HERRNOP directly.
10549
10550 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10551
10552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10553
10554 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
10555
10556         * math/gen-auto-libm-tests.c (test_functions): Add more
10557         single-argument functions.
10558         (special_fill_pi_2): New function.
10559         (special_fill_minus_pi_2): Likewise.
10560         (special_fill_pi_6): Likewise.
10561         (special_fill_minus_pi_6): Likewise.
10562         (special_fill_pi_3): Likewise.
10563         (special_fill_2pi_3): Likewise.
10564         (special_fill_e): Likewise.
10565         (special_fill_1_e): Likewise.
10566         (special_fill_e_minus_1): Likewise.
10567         (special_real_inputs): Add more special inputs.
10568         (output_for_one_input_case): Do not require ERANGE on underflow to
10569         zero if round-to-nearest result does not underflow to zero, unless
10570         exact results required.
10571         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10572         atan, atanh, cbrt, cos and cosh.
10573         * math/auto-libm-test-out: Regenerated.
10574         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10575         (acos_tonearest_test_data): Likewise.
10576         (acos_towardzero_test_data): Likewise.
10577         (acos_downward_test_data): Likewise.
10578         (acos_upward_test_data): Likewise.
10579         (acosh_test_data): Likewise.
10580         (asin_test_data): Likewise.
10581         (asin_tonearest_test_data): Likewise.
10582         (asin_towardzero_test_data): Likewise.
10583         (asin_upward_test_data): Likewise.
10584         (asinh_test_data): Likewise.
10585         (atan_test_data): Likewise.
10586         (atanh_test_data): Likewise.
10587         (cbrt_test_data): Likewise.
10588         (cos_test_data): Likewise.
10589         (cos_tonearest_test_data): Likewise.
10590         (cos_towardzero_test_data): Likewise.
10591         (cos_downward_test_data): Likewise.
10592         (cos_upward_test_data): Likewise.
10593         (cosh_test_data): Likewise.
10594         (cosh_tonearest_test_data): Likewise.
10595         (cosh_towardzero_test_data): Likewise.
10596         (cosh_downward_test_data): Likewise.
10597         (cosh_upward_test_data): Likewise.
10598         * sysdeps/i386/fpu/libm-test-ulps: Update.
10599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10600
10601 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
10602
10603         [BZ #6787]
10604         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10605         * math/w_exp10f.c (__exp10f): Likewise.
10606         * math/w_exp10l.c (__exp10l): Likewise.
10607         * math/libm-test.inc (exp10_test_data): Add more tests and expect
10608         errno settings in existing tests.
10609
10610         [BZ #14032]
10611         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10612         precision control set to double precision.
10613         * sysdeps/i386/fpu/w_sqrt.c: New file.
10614         * math/auto-libm-test-in: Add more tests.
10615         * math/auto-libm-test-out: Update.
10616
10617         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10618         (sqrt_test_tonearest): New function.
10619         (sqrt_towardzero_test_data): New variable.
10620         (sqrt_test_towardzero): New function.
10621         (sqrt_downward_test_data): New variable.
10622         (sqrt_test_downward): New function.
10623         (sqrt_upward_test_data): New variable.
10624         (sqrt_test_upward): New function.
10625         (main): Call the new functions.
10626
10627         * math/gen-auto-libm-tests.c: New file.
10628         * math/auto-libm-test-in: Likewise.
10629         * math/auto-libm-test-out: New generated file.
10630         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10631         variables.
10632         (%beautify): Add generated representations of zero.
10633         (top level): Set $auto_input and call parse_auto_input.
10634         (beautify): Remove trailing "f" from hex float constants.
10635         (parse_args): Handle XFAIL_TEST.
10636         (convert_condition): New function.
10637         (or_value): Likewise.
10638         (or_cond_value): Likewise.
10639         (generate_testfile): Handle AUTO_TESTS_* lines.
10640         (parse_auto_input): New function.
10641         * math/libm-test.inc (XFAIL_TEST): New macro.
10642         (ERRNO_UNCHANGED): Update value.
10643         (ERRNO_EDOM): Likewise.
10644         (ERRNO_ERANGE): Likewise.
10645         (IGNORE_RESULT): Likewise.
10646         (TEST_COND_flt_32): New macro.
10647         (TEST_COND_dbl_64): Likewise.
10648         (TEST_COND_ldbl_96_intel): Likewise.
10649         (TEST_COND_ldbl_96_m68k): Likewise.
10650         (TEST_COND_ldbl_128): Likewise.
10651         (TEST_COND_ldbl_128ibm): Likewise.
10652         (TEST_COND_long32): Likewise.
10653         (TEST_COND_long64): Likewise.
10654         (TEST_COND_before_rounding): Likewise.
10655         (TEST_COND_after_rounding): Likewise.
10656         (enable_test): Handle XFAIL_TEST flag.
10657         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10658         with finite results.
10659         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10660         auto-libm-test-out.
10661
10662 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10663             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10664
10665         [BZ #16214]
10666         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10667         __tls_get_addr_internal instead of __tls_get_offset in order to
10668         avoid GOT pointer dependency.  Make rtld export
10669         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10670         __tls_get_addr since we are a __tls_get_offset platform.
10671         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10672         GOT pointer being set up before.
10673         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10674
10675 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
10676
10677         * manual/math.texi (Errors in Math Functions): Document accuracy
10678         goals.
10679
10680         [BZ #15004]
10681         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10682         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10683         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10684         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10685         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10686         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10687         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10688         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10690         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10691         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10692         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10693         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10694         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10695         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10696         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10697
10698         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10699         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10700         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10701         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10702         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10703         Likewise.
10704         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10705         Likewise.
10706         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10707         Likewise.
10708         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10709         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10710         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10711         atomic-feupdateenv and flt-rounds.
10712         * sysdeps/powerpc/nofpu/Versions (libc): Add
10713         __atomic_feholdexcept, __atomic_feclearexcept,
10714         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10715         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10716         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10717         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10718         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10719         here.
10720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10721         Update.
10722
10723         * manual/arith.texi (FP Exceptions): Document that exceptions may
10724         not be raised when matherr is used.
10725         (Math Error Reporting): Document overflow in directed rounding
10726         modes.  Document that errno may not be set when finite values are
10727         returned on overflow.  Document intent to set errno on underflow
10728         only for underflow to zero.
10729
10730         [BZ #16271]
10731         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10732         round-to-nearest then adjust result for other rounding modes.
10733         * include/fenv.h (fegetround): Use libm_hidden_proto.
10734         * math/fegetround.c (fegetround): Use libm_hidden_def.
10735         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10736         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10737         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10738         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10739         Likewise.
10740         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10741         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10742         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10743         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10744
10745 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10746
10747         [BZ #16077]
10748         * nss/Versions (libnss_files): Add
10749         _nss_files_gethostbyname3_r.
10750         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10751         New function.
10752         (HOST_DB_LOOKUP): Remove macro.
10753         (_nss_files_gethostbyname_r): Implement function without the
10754         HOST_DB_LOOKUP macro.
10755         (_nss_files_gethostbyname2_r): Likewise.
10756
10757 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
10758
10759         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10760
10761 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
10762
10763         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10764         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10765         warning.
10766
10767 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10768
10769         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10770         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10771         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10772         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10773         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10774         __fe_nomask_env_priv and attribute_hidden.
10775         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10776         (libc_feupdateenv_test_ppc): Likewise.
10777         (libc_feresetround_ppc): Likewise.
10778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10779         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10780         compat_symbol macro.
10781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10782         (__fe_nomask_env): Likewise.
10783         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10784
10785 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10786
10787         * string/Makefile: Remove ifunc tests.
10788         * string/test-string.h: Define TEST_IFUNC.
10789         * string/test-bcopy-ifunc.c: Remove.
10790         * string/test-bzero-ifunc.c: Likewise.
10791         * string/test-memccpy-ifunc.c: Likewise.
10792         * string/test-memchr-ifunc.c: Likewise.
10793         * string/test-memcmp-ifunc.c: Likewise.
10794         * string/test-memcpy-ifunc.c: Likewise.
10795         * string/test-memmem-ifunc.c: Likewise.
10796         * string/test-memmove-ifunc.c: Likewise.
10797         * string/test-mempcpy-ifunc.c: Likewise.
10798         * string/test-memrchr-ifunc.c: Likewise.
10799         * string/test-memset-ifunc.c: Likewise.
10800         * string/test-rawmemchr-ifunc.c: Likewise.
10801         * string/test-stpcpy-ifunc.c: Likewise.
10802         * string/test-stpncpy-ifunc.c: Likewise.
10803         * string/test-strcasecmp-ifunc.c: Likewise.
10804         * string/test-strcasestr-ifunc.c: Likewise.
10805         * string/test-strcat-ifunc.c: Likewise.
10806         * string/test-strchr-ifunc.c: Likewise.
10807         * string/test-strchrnul-ifunc.c: Likewise.
10808         * string/test-strcmp-ifunc.c: Likewise.
10809         * string/test-strcpy-ifunc.c: Likewise.
10810         * string/test-strcspn-ifunc.c: Likewise.
10811         * string/test-strlen-ifunc.c: Likewise.
10812         * string/test-strncasecmp-ifunc.c: Likewise.
10813         * string/test-strncat-ifunc.c: Likewise.
10814         * string/test-strncmp-ifunc.c: Likewise.
10815         * string/test-strncpy-ifunc.c: Likewise.
10816         * string/test-strnlen-ifunc.c: Likewise.
10817         * string/test-strpbrk-ifunc.c: Likewise.
10818         * string/test-strrchr-ifunc.c: Likewise.
10819         * string/test-strspn-ifunc.c: Likewise.
10820         * string/test-strstr-ifunc.c: Likewise.
10821
10822 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10823
10824         * benchtests/Makefile: Remove ifunc tests.
10825         * benchtests/bench-string.h: Define TEST_IFUNC.
10826         * benchtests/bench-bcopy-ifunc.c: Remove.
10827         * benchtests/bench-bzero-ifunc.c: Likewise.
10828         * benchtests/bench-memccpy-ifunc.c: Likewise.
10829         * benchtests/bench-memchr-ifunc.c: Likewise.
10830         * benchtests/bench-memcmp-ifunc.c: Likewise.
10831         * benchtests/bench-memcpy-ifunc.c: Likewise.
10832         * benchtests/bench-memmem-ifunc.c: Likewise.
10833         * benchtests/bench-memmove-ifunc.c: Likewise.
10834         * benchtests/bench-mempcpy-ifunc.c: Likewise.
10835         * benchtests/bench-memrchr-ifunc.c: Likewise.
10836         * benchtests/bench-memset-ifunc.c: Likewise.
10837         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10838         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10839         * benchtests/bench-stpcpy-ifunc.c: Likewise.
10840         * benchtests/bench-stpncpy-ifunc.c: Likewise.
10841         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10842         * benchtests/bench-strcasestr-ifunc.c: Likewise.
10843         * benchtests/bench-strcat-ifunc.c: Likewise.
10844         * benchtests/bench-strchr-ifunc.c: Likewise.
10845         * benchtests/bench-strchrnul-ifunc.c: Likewise.
10846         * benchtests/bench-strcmp-ifunc.c: Likewise.
10847         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10848         * benchtests/bench-strcpy-ifunc.c: Likewise.
10849         * benchtests/bench-strcspn-ifunc.c: Likewise.
10850         * benchtests/bench-strlen-ifunc.c: Likewise.
10851         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10852         * benchtests/bench-strncat-ifunc.c: Likewise.
10853         * benchtests/bench-strncmp-ifunc.c: Likewise.
10854         * benchtests/bench-strncpy-ifunc.c: Likewise.
10855         * benchtests/bench-strnlen-ifunc.c: Likewise.
10856         * benchtests/bench-strpbrk-ifunc.c: Likewise.
10857         * benchtests/bench-strrchr-ifunc.c: Likewise.
10858         * benchtests/bench-strsep-ifunc.c: Likewise.
10859         * benchtests/bench-strspn-ifunc.c: Likewise.
10860         * benchtests/bench-strstr-ifunc.c: Likewise.
10861
10862 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10863
10864         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10865
10866 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
10867
10868         * resolv/netdb.h: Use __glibc_reserved instead __unused.
10869         * rt/aio.h: Likewise.
10870         * sysdeps/gnu/bits/utmp.h: Likewise.
10871         * sysdeps/gnu/bits/utmpx.h: Likewise.
10872         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10873         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10874         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10875         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10876         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10877         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10878         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10879         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10880         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10881         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10882         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10883         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10884         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10886         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10887         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10888         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10889         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10890         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10891         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10892         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10893         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10894         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10895         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10896         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10897         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10898         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10899         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10900         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10901         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10902         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10903         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10904         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10905         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10906         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10907         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10908         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10909         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10910         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10911         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10912         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10913         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10914
10915 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
10916
10917         [BZ #16245]
10918         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10919         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10920
10921 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
10922
10923         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10924         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10925         Likewise.
10926
10927 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10928
10929         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10930         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10931         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10932         (__fesetround): Remove define.
10933         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10934         rounding and exceptions handling.
10935         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10936         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10937         (__fe_nomask_env): Likewise.
10938         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10939         __fegetround instead of fegetround.
10940         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10941         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10942
10943 2013-11-21  Roland McGrath  <roland@hack.frob.com>
10944
10945         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10946         it's there.
10947
10948         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10949
10950 2013-11-21  Meador Inge  <meadori@codesourcery.com>
10951
10952         [BZ #11157]
10953         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10954         (encrypt_r): Likewise.
10955         * malloc/obstack.h (obstack_free): Likewise.
10956         * posix/unistd.h (encrypt): Likewise.
10957
10958 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
10959
10960         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10961         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10962         DL_CALL_DT_FINI() that call the functions directly.
10963         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10964         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10965         * elf/dl-fini.c: Likewise.
10966
10967 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
10968
10969         * malloc/hooks.c (memalign_check): Add alignment rounding.
10970         * malloc/malloc.c (_mid_memalign): New function.
10971         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10972         Implement by calling _mid_memalign.
10973         * manual/probes.texi (Memory Allocation Probes): Remove
10974         memory_valloc_retry and memory_pvalloc_retry.
10975
10976 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10977
10978         * locale/programs/locarchive.c (open_archive): Add const
10979         qualifier to ARCHIVEFNAME and copy default fname to
10980         DEFAULT_FNAME.
10981
10982         [BZ #15601]
10983         * libio/tst-widetext.input: Rename Oriya to Odia.
10984         * locale/iso-639.def: Likewise.
10985
10986         * manual/probes.texi (Mathematical Function Probes): Add
10987         documentation for sin, cos, asin and acos probes.
10988         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10989         (__sin32): Add slowasin probe.
10990         (__cos32): Add slowacos probe.
10991         (__mpsin): Add slowsin probe.
10992         (__mpcos): Add slowcos probe.
10993
10994 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
10995
10996         [BZ #15483]
10997         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10998         thread-local __sim_exceptions_thread and global
10999         __sim_exceptions_global.
11000         (__sim_disabled_exceptions): Change to thread-local
11001         __sim_disabled_exceptions_thread and global
11002         __sim_disabled_exceptions_global.
11003         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11004         and global __sim_round_mode_global.
11005         (__simulate_exceptions): Use thread-local floating-point state and
11006         set global state from it as needed.
11007         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11008         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11009         __sim_round_mode_thread.
11010         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11011         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11012         and global __sim_exceptions_global.
11013         (__sim_disabled_exceptions): Change to thread-local
11014         __sim_disabled_exceptions_thread and global
11015         __sim_disabled_exceptions_global.
11016         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11017         and global __sim_round_mode_global.
11018         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11019         (SIM_SET_GLOBAL): Likewise.
11020         * sysdeps/powerpc/soft-fp/sfp-machine.h
11021         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11022         __sim_round_mode_thread.
11023         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11024         __sim_disabled_exceptions_thread.
11025         (__sim_exceptions): Change to __sim_exceptions_thread.
11026         (__sim_disabled_exceptions): Change to
11027         __sim_disabled_exceptions_thread.
11028         (__sim_round_mode): Change to __sim_round_mode_thread.
11029         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11030         thread-local floating-point state and set global state from it as
11031         needed.
11032         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11033         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11034         (__sim_disabled_exceptions): Remove extern declaration.
11035         (feenableexcept): Use thread-local floating-point state and set
11036         global state from it as needed.
11037         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11038         extern declaration.
11039         (__sim_disabled_exceptions): Likewise.
11040         (__sim_round_mode): Likewise.
11041         (__fegetenv): Use thread-local floating-point state.
11042         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11043         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11044         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11045         floating-point state and set global state from it as needed.
11046         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11047         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11048         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11049         Likewise.
11050         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11051         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11052         Likewise.
11053         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11054         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11055         Use __sim_round_mode_thread.
11056         * math/test-fenv-tls.c: New file.
11057         * math/Makefile (tests): Add test-fenv-tls.
11058         ($(objpfx)test-fenv-tls): Depend on
11059         $(common-objpfx)nptl/libpthread.so.
11060
11061 2013-11-19  Andreas Schwab  <schwab@suse.de>
11062
11063         * locale/programs/locale.c (show_info): Decode wordarray elements.
11064         * locale/categories.def (LC_MONETARY): Add element for
11065         _NL_MONETARY_CRNCYSTR.
11066         * locale/C-monetary.c (conversion_rate): New variable.
11067         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11068         element.
11069
11070 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11071
11072         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11073         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11074
11075 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11076
11077         * elf/Makefile (tst-auxv): New test.
11078         * elf/tst-auxv.c: New
11079         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11080
11081 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11082
11083         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11084         (hidden_proto): Caller changed.
11085         (hidden_tls_proto): New macro.
11086         (libc_hidden_tls_proto): Likewise.
11087         (rtld_hidden_tls_proto): Likewise.
11088         (libm_hidden_tls_proto): Likewise.
11089         (libresolv_hidden_tls_proto): Likewise.
11090         (librt_hidden_tls_proto): Likewise.
11091         (libdl_hidden_tls_proto): Likewise.
11092         (libnss_files_hidden_tls_proto): Likewise.
11093         (libnsl_hidden_tls_proto): Likewise.
11094         (libnss_nisplus_hidden_tls_proto): Likewise.
11095         (libutil_hidden_tls_proto): Likewise.
11096
11097 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11098
11099         [BZ #10253]
11100         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11101         (decompose_rpath): Defer expansion to fillin_rpath.
11102         (_dl_init_paths): Pass linkmap to fillin_rpath.
11103
11104 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11105
11106         * benchtests/Makefile: Add strsep.
11107         * benchtests/bench-strsep.c: New file: strsep benchtest.
11108         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11109
11110 2013-11-18  Andreas Schwab  <schwab@suse.de>
11111
11112         * locale/programs/locale.c (show_info) [case byte]: Check for
11113         '\377' instead of '\177'.
11114         * locale/C-monetary.c (not_available): Always use "\377".
11115         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11116         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11117         detect unavailable sign_posn locale elements.
11118         * locale/localeconv.c (__localeconv): For grouping and
11119         mon_grouping handle "\177" and "\377" like no grouping.
11120         (INT_ELEM): New macro.  Use it to set all numeric members.
11121         * locale/programs/ld-monetary.c (monetary_read)
11122         <tok_mon_grouping>: Normalize single -1 to the empty string.
11123         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11124         Likewise.
11125
11126 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11127
11128         [BZ #16055]
11129         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11130         when we match (nil).
11131         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11132
11133 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11134
11135         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11136         (NO_TEST_INLINE): Update value.
11137         (ERRNO_UNCHANGED): Likewise.
11138         (ERRNO_EDOM): Likewise.
11139         (ERRNO_ERANGE): Likewise.
11140         (IGNORE_RESULT): Likewise.
11141         (check_float_internal): Check signs of NaN results if
11142         TEST_NAN_SIGN used.
11143         (check_complex): Pass TEST_NAN_SIGN flag through to second
11144         check_float_internal call.
11145         (copysign_test_data): Add tests with quiet NaNs as second
11146         argument.  Use TEST_NAN_SIGN.
11147         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11148         TEST_NAN_SIGN.
11149         (signbit_test_data): Add tests of quiet NaN argument.
11150         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11151
11152         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11153         $ignore_result.
11154         (parse_args): Handle function results specified as IGNORE.
11155         * math/libm-test.inc (IGNORE_RESULT): New macro.
11156         (check_float_internal): Do not check numerical result if flag
11157         IGNORE_RESULT set.
11158         (check_complex): Pass through IGNORE_RESULT to second
11159         check_float_internal call.
11160         (check_int): Do not check numerical result if flag IGNORE_RESULT
11161         set.
11162         (check_long): Likewise.
11163         (check_bool): Likewise.
11164         (check_longlong): Likewise.
11165         (lrint_test_data): Add tests of infinite and NaN arguments.
11166         (lrint_tonearest_test_data): Likewise.
11167         (lrint_towardzero_test_data): Likewise.
11168         (lrint_downward_test_data): Likewise.
11169         (lrint_upward_test_data): Likewise.
11170         (llrint_test_data): Likewise.
11171         (llrint_tonearest_test_data): Likewise.
11172         (llrint_towardzero_test_data): Likewise.
11173         (llrint_downward_test_data): Likewise.
11174         (llrint_upward_test_data): Likewise.
11175         (lround_test_data): Likewise.
11176         (llround_test_data): Likewise.
11177
11178         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11179         (ERRNO_UNCHANGED): Update value.
11180         (ERRNO_EDOM): Likewise.
11181         (ERRNO_ERANGE): Likewise.
11182         (NO_TEST_INLINE_FLOAT): New macro.
11183         (NO_TEST_INLINE_DOUBLE): Likewise.
11184         (enable_test): New function.
11185         (RUN_TEST_f_f): Check enable_test before running test.
11186         (RUN_TEST_2_f): Likewise.
11187         (RUN_TEST_fff_f): Likewise.
11188         (RUN_TEST_c_f): Likewise.
11189         (RUN_TEST_f_f1): Likewise.
11190         (RUN_TEST_fF_f1): Likewise.
11191         (RUN_TEST_fI_f1): Likewise.
11192         (RUN_TEST_ffI_f1): Likewise.
11193         (RUN_TEST_c_c): Likewise.
11194         (RUN_TEST_cc_c): Likewise.
11195         (RUN_TEST_f_i): Likewise.
11196         (RUN_TEST_f_i_tg): Likewise.
11197         (RUN_TEST_ff_i_tg): Likewise.
11198         (RUN_TEST_f_b): Likewise.
11199         (RUN_TEST_f_b_tg): Likewise.
11200         (RUN_TEST_f_l): Likewise.
11201         (RUN_TEST_f_L): Likewise.
11202         (RUN_TEST_fFF_11): Likewise.
11203         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11204         conditionals.
11205         (cosh_test_data): Likewise.
11206         (exp_test_data): Likewise.
11207         (expm1_test_data): Likewise.
11208         (hypot_test_data): Likewise.
11209         (pow_test_data): Likewise.
11210         (sinh_test_data): Likewise.
11211         (tanh_test_data): Likewise.
11212         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11213         flags argument.
11214
11215         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11216         tests with quiet NaN input and output.
11217         (acosh_test_data): Likewise.
11218         (asin_test_data): Likewise.
11219         (asinh_test_data): Likewise.
11220         (atan_test_data): Likewise.
11221         (atanh_test_data): Likewise.
11222         (atan2_test_data): Likewise.
11223         (cbrt_test_data): Likewise.
11224         (cos_test_data): Likewise.
11225         (cosh_test_data): Likewise.
11226         (erf_test_data): Likewise.
11227         (erfc_test_data): Likewise.
11228         (exp_test_data): Likewise.
11229         (exp10_test_data): Likewise.
11230         (exp2_test_data): Likewise.
11231         (expm1_test_data): Likewise.
11232         (hypot_test_data): Likewise.
11233         (j0_test_data): Likewise.
11234         (j1_test_data): Likewise.
11235         (jn_test_data): Likewise.
11236         (lgamma_test_data): Likewise.
11237         (log_test_data): Likewise.
11238         (log10_test_data): Likewise.
11239         (log1p_test_data): Likewise.
11240         (log2_test_data): Likewise.
11241         (pow_test_data): Likewise.
11242         (scalb_test_data): Likewise.
11243         (sin_test_data): Likewise.
11244         (sincos_test_data): Likewise.
11245         (sinh_test_data): Likewise.
11246         (tan_test_data): Likewise.
11247         (tanh_test_data): Likewise.
11248         (tgamma_test_data): Likewise.
11249         (y0_test_data): Likewise.
11250         (y1_test_data): Likewise.
11251         (yn_test_data): Likewise.
11252
11253         [BZ #16167]
11254         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11255         argument being NaN and avoid computations with second argument in
11256         that case.
11257         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11258         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11259         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11260
11261 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11262
11263         * locale/iso-639.def: Add Chitwani Tharu (the).
11264
11265 2013-11-14  Andreas Schwab  <schwab@suse.de>
11266
11267         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11268         word instead of empty string.
11269
11270 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11271
11272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11273         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11275         (__fe_nomask_env): Likewise.
11276
11277 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11278
11279         * benchtests/bench-timing.h: Include time.h.
11280
11281 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11282
11283         [BZ #15997]
11284         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11285         to 3.4.0 for x32.
11286         * sysdeps/unix/sysv/linux/configure: Regenerated.
11287
11288 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11289
11290         [BZ #16151]
11291         * stdlib/strtod_l.c (round_and_return): Do not consider
11292         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11293         exponent one less than half the least subnormal exponent.
11294         * stdlib/test-strtod-round-data: Add more tests.
11295         * stdlib/tst-strtod-round.c (tests): Regenerated.
11296
11297 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11298
11299         [BZ #14143]
11300         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11301         (__fe_mask_env): Likewise.
11302         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11303         libm_hidden_proto and add function prototype.
11304         (__fe_mask_env): Add function prototype.
11305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11306         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11308         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11310         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11311
11312 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11313
11314         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11315         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11316
11317 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11318
11319         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11320         of htab_find_slot().
11321
11322 2013-11-11  David S. Miller  <davem@davemloft.net>
11323
11324         [BZ #16150]
11325         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11326         symbol in the non-vis3 case in static builds.
11327         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11328         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11329         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11330         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11331
11332 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11333
11334         [BZ #387]
11335         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11336         it is empty.
11337
11338 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11339
11340         * benchtests/Makefile: Add bench-strtod.
11341         * benchtests/bench-strtod.c: New file: strtod benchtest
11342
11343 2013-11-11  Andreas Schwab  <schwab@suse.de>
11344
11345         [BZ #16153]
11346         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11347         terminating NUL in key length.
11348
11349 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11350
11351         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11352         Add artificial ODP entry for vDSO symbol for PPC64.
11353         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11354         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11355
11356 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11357
11358         [BZ #15374]
11359         * nss/getent.c (services_keys): Recognize services starting with digit.
11360
11361 2013-11-06  David S. Miller  <davem@davemloft.net>
11362
11363         [BZ #15985]
11364         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11365         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11366
11367 2013-11-06  Will Newton  <will.newton@linaro.org>
11368
11369         * manual/memory.texi (Malloc Examples): Remove register
11370         keyword from examples.
11371
11372 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11373
11374         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11375
11376 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11377
11378         [BZ #6981]
11379         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11380         depending on [__GCC_IEC_559 > 0].
11381         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11382         depending on [__GCC_IEC_559_COMPLEX > 0].
11383
11384 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11385
11386         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11387         to iso-639.def.
11388
11389 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11390
11391         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11392
11393 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11394
11395         [BZ #16112]
11396         * malloc/malloc (malloc_info): Do not handle first bin as
11397         special case.
11398
11399 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11400
11401         * locale/iso-639.def: Add Central Nahuatl (nhn).
11402
11403 2013-11-01  Bruno Haible  <bruno@clisp.org>
11404
11405         [BZ #7003]
11406         * manual/math.texi (BSD Random): Specify range upper bound as
11407         in POSIX.
11408
11409 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11410
11411         * locale/iso-639.def: Add Meadow Mari (mhr).
11412
11413 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11414
11415         [BZ #14752], [BZ #15763]
11416         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11417         Validate name.
11418         * rt/tst_shm.c: Add test for escaping directory.
11419
11420 2013-10-31  Andreas Schwab  <schwab@suse.de>
11421
11422         [BZ #15917]
11423         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11424         followed by 'x' as part of digit sequence.
11425         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11426
11427 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11428
11429         [BZ #16037]
11430         * configure.ac: allow GNU Make 4.0 and greater.
11431         * configure: Regenerated.
11432
11433 2013-10-30  Will Newton  <will.newton@linaro.org>
11434
11435         [BZ #16038]
11436         * malloc/hooks.c (memalign_check): Limit alignment to the
11437         maximum representable power of two.
11438         * malloc/malloc.c (__libc_memalign): Likewise.
11439         * malloc/tst-memalign.c (do_test): Add test for very
11440         large alignment values.
11441         * malloc/tst-posix_memalign.c (do_test): Likewise.
11442
11443 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11444
11445         [BZ #11087]
11446         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11447         (munmap_chunk): Likewise.
11448         (mremap_chunk): Likewise.
11449
11450 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11451
11452         [BZ #15799]
11453         * stdlib/div.c (div): Remove obsolete code.
11454         * stdlib/ldiv.c (ldiv): Likewise.
11455         * stdlib/lldiv.c (lldiv): Likewise.
11456
11457 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11458
11459         [BZ #16071]
11460         * nss/nss_files/files-XXX.c (get_contents_ret): New
11461         enumerator.
11462         (get_contents): New function.
11463         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11464
11465 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11466
11467         * configure.in: Moved to ...
11468         * configure.ac: ... here. Change reference to configure.in
11469         to configure.ac.
11470         * sysdeps/arm/preconfigure.ac: ... here.
11471         configure.in to configure.ac.
11472         * sysdeps/gnu/configure.in: Moved to ...
11473         * sysdeps/gnu/configure.ac: ... here.
11474         * sysdeps/i386/configure.in: Moved to ...
11475         * sysdeps/i386/configure.ac: ... here.
11476         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11477         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11478         * sysdeps/mach/configure.in: Moved to ...
11479         * sysdeps/mach/configure.ac: ... here.
11480         * sysdeps/mach/hurd/configure.in: Moved to ...
11481         * sysdeps/mach/hurd/configure.ac: ... here.
11482         * sysdeps/powerpc/configure.in: Moved to ...
11483         * sysdeps/powerpc/configure.ac: ... here.
11484         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11485         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11486         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11487         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11488         * sysdeps/s390/s390-32/configure.in: Moved to ...
11489         * sysdeps/s390/s390-32/configure.ac: ... here.
11490         * sysdeps/s390/s390-64/configure.in: Moved to ...
11491         * sysdeps/s390/s390-64/configure.ac: ... here.
11492         * sysdeps/sh/configure.in: Moved to ...
11493         * sysdeps/sh/configure.ac: ... here.
11494         * sysdeps/sparc/configure.in: Moved to ...
11495         * sysdeps/sparc/configure.ac: ... here.
11496         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11497         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11498         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11499         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11500         * sysdeps/x86_64/configure.in: Moved to ...
11501         * sysdeps/x86_64/configure.ac: ... here.
11502         * sysdeps/x86_64/preconfigure.in: Moved to ...
11503         * sysdeps/x86_64/preconfigure.ac: ... here.
11504         * aclocal.m4: Change reference to configure.in to configure.ac.
11505         * config.h.in: Likewise.
11506         * manual/install.texi: Likewise.
11507         * manual/maint.texi: Likewise.
11508         * Makefile: Likewise.
11509         * malloc/Makefile: Likewise.
11510         * nscd/Makefile: Likewise.
11511         * Makeconfig: Change reference to configure.in and
11512         preconfigure.in to configure.ac and preconfigure.ac
11513         respectively.
11514         * INSTALL: Regenerated.
11515         * configure: Likewise.
11516         * sysdeps/gnu/configure: Likewise.
11517         * sysdeps/i386/configure: Likewise.
11518         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11519         * sysdeps/mach/configure: Likewise.
11520         * sysdeps/mach/hurd/configure: Likewise.
11521         * sysdeps/powerpc/configure: Likewise.
11522         * sysdeps/powerpc/powerpc32/configure: Likewise.
11523         * sysdeps/powerpc/powerpc64/configure: Likewise.
11524         * sysdeps/s390/s390-32/configure: Likewise.
11525         * sysdeps/s390/s390-64/configure: Likewise.
11526         * sysdeps/sh/configure: Likewise.
11527         * sysdeps/sparc/configure: Likewise.
11528         * sysdeps/unix/sysv/linux/configure: Likewise.
11529         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11530         * sysdeps/x86_64/configure: Likewise.
11531         * sysdeps/x86_64/preconfigure: Likewise.
11532
11533 2013-10-29  Andreas Schwab  <schwab@suse.de>
11534
11535         * stdio-common/Makefile (tst-swscanf-ENV): Define.
11536
11537 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11538
11539         * benchtests/pow-inputs: Add new inputs.
11540
11541         * benchtests/exp-inputs: Add new inputs.
11542
11543         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11544         conditional check for return value.
11545         (__cos32): Likewise.
11546
11547 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11548
11549         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11550         to provide a boost for large inputs with word alignment.
11551         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11552         implementation based on optimized PPC64 strcpy.
11553         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11554         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11555         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11556         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11557
11558 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11559
11560         [BZ #2801]
11561         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11562
11563 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11564
11565         [BZ #14876]
11566         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11567         * time/tst-strptime.c (day_tests): Add testcase.
11568
11569 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
11570
11571         [BZ #14029]
11572         * manual/pattern.texi: Acknowledge that fnmatch can fail.
11573
11574 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
11575
11576         [BZ #16074]
11577         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11578         MAP_FAILED on error.
11579
11580 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11581
11582         [BZ #16072]
11583         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11584         heap for large requests.
11585
11586 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
11587
11588         [BZ #9954]
11589         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11590         result if the result has no associated interface.
11591         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11592         interface for all 127.X.Y.Z addresses.
11593
11594 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
11595
11596         * locale/iso-639.def: Add Ligurian (lij)
11597
11598 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
11599
11600         [BZ #15825]
11601         * sunrpc/rpc_main.c: Document rpcgen -5.
11602
11603 2013-10-19  Michael Stahl  <mstahl@redhat.com>
11604
11605         * elf/rtld.c (do_preload): Print the reason why preloading failed.
11606
11607 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11608
11609         [BZ #10278]
11610         * posix/glob.c: Match only directories when trailing slash is present.
11611         * posix/tst-gnuglob.c (my_opendir): Do not open files.
11612         (main): Add testcase.
11613
11614 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
11615
11616         [BZ #15670]
11617         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11618
11619 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
11620
11621         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11622         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11623         AUTH_DES and cindex for FIPS 140-2.
11624         (DES Encryption): Add cindex FIPS 46-3.
11625
11626         * locale/locarchive.h (struct locarhandle): Add fname.
11627         * locale/programs/localedef.c (main): Pass ARGV[remaining]
11628         if an optional argument was specified to --list-archive,
11629         otherwise NULL.
11630         * locale/programs/locarchive.c (show_archive_content): Take new
11631         argument fname and pass it via ah.fname to open_archive.
11632         * locale/programs/localedef.h: Update decl.
11633         (open_archive): If AH->fname is non-null, open that file
11634         rather than the default file name, and don't ignore ENOENT.
11635         (create_archive): Set AH.fname to NULL.
11636         (delete_locales_from_archive): Likewise.
11637         (add_locales_to_archive): Likewise.
11638         * locale/programs/locfile.c (write_all_categories): Likewise.
11639
11640 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
11641             Aldy Hernandez  <aldyh@redhat.com>
11642
11643         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11644         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11645         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11646         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11647         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11648         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11649         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11650         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11651         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11652         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11653         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11654         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11655         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11656         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11657         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11658         Likewise.
11659         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11660         Likewise.
11661         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11662         Likewise.
11663         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11664         Likewise.
11665         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11666         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11667         Likewise.
11668         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11669         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11670         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11671         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11672         Likewise.
11673         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11674         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11675         * sysdeps/powerpc/preconfigure: Likewise.
11676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11677         Likewise.
11678         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11679         Replace contents of file by #include of <fenv_libc.h>.
11680         * sysdeps/powerpc/soft-fp/sfp-machine.h
11681         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11682         and <sys/prctl.h>.
11683         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11684         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11685         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11686         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11687         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11688         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11694         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11696         Allow copysignl PLT reference to be missing.
11697
11698 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
11699             Joseph Myers  <joseph@codesourcery.com
11700
11701         [BZ #15948]
11702         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11703         single character.
11704         (add_to_tablewc): Assert sequence of wide characters is nonempty.
11705
11706 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11707
11708         * elf/tst-tls-dlinfo.c: Don't include tls.h.
11709         * elf/tst-tls1.c: Likewise.
11710         * elf/tst-tls10.h: Likewise.
11711         * elf/tst-tls14.c: Likewise.
11712         * elf/tst-tls2.c: Likewise.
11713         * elf/tst-tls3.c: Likewise.
11714         * elf/tst-tls4.c: Likewise.
11715         * elf/tst-tls5.c: Likewise.
11716         * elf/tst-tls6.c: Likewise.
11717         * elf/tst-tls7.c: Likewise.
11718         * elf/tst-tls8.c: Likewise.
11719         * elf/tst-tls9.c: Likewise.
11720         * elf/tst-tlsmod1.c: Likewise.
11721         * elf/tst-tlsmod13.c: Likewise.
11722         * elf/tst-tlsmod13a.c: Likewise.
11723         * elf/tst-tlsmod14a.c: Likewise.
11724         * elf/tst-tlsmod16a.c: Likewise.
11725         * elf/tst-tlsmod16b.c: Likewise.
11726         * elf/tst-tlsmod2.c: Likewise.
11727         * elf/tst-tlsmod3.c: Likewise.
11728         * elf/tst-tlsmod4.c: Likewise.
11729         * elf/tst-tlsmod5.c: Likewise.
11730         * elf/tst-tlsmod6.c: Likewise.
11731
11732 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
11733
11734         [BZ #12486]
11735         * malloc/malloc.c: remove checks for statistics.
11736
11737 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11738
11739         [BZ #15277]
11740         * inet/inet_net.c (inet_network): Detect additional invalid strings.
11741         * inet/tst-network.c: Add testcase.
11742
11743 2013-10-17  Andreas Schwab  <schwab@suse.de>
11744
11745         [BZ #15218]
11746         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11747         to determine canonical name.
11748
11749 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
11750
11751         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11752         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11753         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11754         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11755         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11756         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11757         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11758         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11759         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11760         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11761         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11762         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11763         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11764         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11765         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11766         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11767         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11768         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11769         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11770         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11771         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11772         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11773         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11774         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11775         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11776         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11777         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11778         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11779         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11780         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11781         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11782         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11783         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11784         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11785         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11786         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11787         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11788         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11789         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11790         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11791         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11792         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11793         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11794         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11795         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11796         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11797         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11798         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11799         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11800         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11801         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11802         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11803         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11804         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11805         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11806         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11807         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11808         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11809
11810 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
11811
11812         [BZ #16041]
11813         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11814         make result into a quiet NaN.
11815
11816 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
11817
11818         * soft-fp/adddf3.c: Fix horizontal whitespace.
11819         * soft-fp/addsf3.c: Likewise.
11820         * soft-fp/addtf3.c: Likewise.
11821         * soft-fp/divdf3.c: Likewise.
11822         * soft-fp/divsf3.c: Likewise.
11823         * soft-fp/divtf3.c: Likewise.
11824         * soft-fp/double.h: Likewise.
11825         * soft-fp/eqdf2.c: Likewise.
11826         * soft-fp/eqsf2.c: Likewise.
11827         * soft-fp/eqtf2.c: Likewise.
11828         * soft-fp/extenddftf2.c: Likewise.
11829         * soft-fp/extended.h: Likewise.
11830         * soft-fp/extendsfdf2.c: Likewise.
11831         * soft-fp/extendsftf2.c: Likewise.
11832         * soft-fp/extendxftf2.c: Likewise.
11833         * soft-fp/fixdfdi.c: Likewise.
11834         * soft-fp/fixdfsi.c: Likewise.
11835         * soft-fp/fixdfti.c: Likewise.
11836         * soft-fp/fixsfdi.c: Likewise.
11837         * soft-fp/fixsfsi.c: Likewise.
11838         * soft-fp/fixsfti.c: Likewise.
11839         * soft-fp/fixtfdi.c: Likewise.
11840         * soft-fp/fixtfsi.c: Likewise.
11841         * soft-fp/fixtfti.c: Likewise.
11842         * soft-fp/fixunsdfdi.c: Likewise.
11843         * soft-fp/fixunsdfsi.c: Likewise.
11844         * soft-fp/fixunsdfti.c: Likewise.
11845         * soft-fp/fixunssfdi.c: Likewise.
11846         * soft-fp/fixunssfsi.c: Likewise.
11847         * soft-fp/fixunssfti.c: Likewise.
11848         * soft-fp/fixunstfdi.c: Likewise.
11849         * soft-fp/fixunstfsi.c: Likewise.
11850         * soft-fp/fixunstfti.c: Likewise.
11851         * soft-fp/floatdidf.c: Likewise.
11852         * soft-fp/floatdisf.c: Likewise.
11853         * soft-fp/floatditf.c: Likewise.
11854         * soft-fp/floatsidf.c: Likewise.
11855         * soft-fp/floatsisf.c: Likewise.
11856         * soft-fp/floatsitf.c: Likewise.
11857         * soft-fp/floattidf.c: Likewise.
11858         * soft-fp/floattisf.c: Likewise.
11859         * soft-fp/floattitf.c: Likewise.
11860         * soft-fp/floatundidf.c: Likewise.
11861         * soft-fp/floatundisf.c: Likewise.
11862         * soft-fp/floatunditf.c: Likewise.
11863         * soft-fp/floatunsidf.c: Likewise.
11864         * soft-fp/floatunsisf.c: Likewise.
11865         * soft-fp/floatunsitf.c: Likewise.
11866         * soft-fp/floatuntidf.c: Likewise.
11867         * soft-fp/floatuntisf.c: Likewise.
11868         * soft-fp/floatuntitf.c: Likewise.
11869         * soft-fp/fmadf4.c: Likewise.
11870         * soft-fp/fmasf4.c: Likewise.
11871         * soft-fp/fmatf4.c: Likewise.
11872         * soft-fp/gedf2.c: Likewise.
11873         * soft-fp/gesf2.c: Likewise.
11874         * soft-fp/getf2.c: Likewise.
11875         * soft-fp/ledf2.c: Likewise.
11876         * soft-fp/lesf2.c: Likewise.
11877         * soft-fp/letf2.c: Likewise.
11878         * soft-fp/muldf3.c: Likewise.
11879         * soft-fp/mulsf3.c: Likewise.
11880         * soft-fp/multf3.c: Likewise.
11881         * soft-fp/negdf2.c: Likewise.
11882         * soft-fp/negsf2.c: Likewise.
11883         * soft-fp/negtf2.c: Likewise.
11884         * soft-fp/op-1.h: Likewise.
11885         * soft-fp/op-2.h: Likewise.
11886         * soft-fp/op-4.h: Likewise.
11887         * soft-fp/op-8.h: Likewise.
11888         * soft-fp/op-common.h: Likewise.
11889         * soft-fp/quad.h: Likewise.
11890         * soft-fp/single.h: Likewise.
11891         * soft-fp/soft-fp.h: Likewise.
11892         * soft-fp/sqrtdf2.c: Likewise.
11893         * soft-fp/sqrtsf2.c: Likewise.
11894         * soft-fp/sqrttf2.c: Likewise.
11895         * soft-fp/subdf3.c: Likewise.
11896         * soft-fp/subsf3.c: Likewise.
11897         * soft-fp/subtf3.c: Likewise.
11898         * soft-fp/truncdfsf2.c: Likewise.
11899         * soft-fp/trunctfdf2.c: Likewise.
11900         * soft-fp/trunctfsf2.c: Likewise.
11901         * soft-fp/trunctfxf2.c: Likewise.
11902         * soft-fp/unorddf2.c: Likewise.
11903         * soft-fp/unordsf2.c: Likewise.
11904         * soft-fp/unordtf2.c: Likewise.
11905
11906 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
11907
11908         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11909         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11910
11911 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
11912
11913         * elf/dl-libc.c: Clear initfini list after freeing.
11914
11915 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
11916
11917         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11918         * soft-fp/addsf3.c: Likewise.
11919         * soft-fp/addtf3.c: Likewise.
11920         * soft-fp/divdf3.c: Likewise.
11921         * soft-fp/divsf3.c: Likewise.
11922         * soft-fp/divtf3.c: Likewise.
11923         * soft-fp/double.h: Likewise.
11924         * soft-fp/eqdf2.c: Likewise.
11925         * soft-fp/eqsf2.c: Likewise.
11926         * soft-fp/eqtf2.c: Likewise.
11927         * soft-fp/extenddftf2.c: Likewise.
11928         * soft-fp/extended.h: Likewise.
11929         * soft-fp/extendsfdf2.c: Likewise.
11930         * soft-fp/extendsftf2.c: Likewise.
11931         * soft-fp/extendxftf2.c: Likewise.
11932         * soft-fp/fixdfdi.c: Likewise.
11933         * soft-fp/fixdfsi.c: Likewise.
11934         * soft-fp/fixdfti.c: Likewise.
11935         * soft-fp/fixsfdi.c: Likewise.
11936         * soft-fp/fixsfsi.c: Likewise.
11937         * soft-fp/fixsfti.c: Likewise.
11938         * soft-fp/fixtfdi.c: Likewise.
11939         * soft-fp/fixtfsi.c: Likewise.
11940         * soft-fp/fixtfti.c: Likewise.
11941         * soft-fp/fixunsdfdi.c: Likewise.
11942         * soft-fp/fixunsdfsi.c: Likewise.
11943         * soft-fp/fixunsdfti.c: Likewise.
11944         * soft-fp/fixunssfdi.c: Likewise.
11945         * soft-fp/fixunssfsi.c: Likewise.
11946         * soft-fp/fixunssfti.c: Likewise.
11947         * soft-fp/fixunstfdi.c: Likewise.
11948         * soft-fp/fixunstfsi.c: Likewise.
11949         * soft-fp/fixunstfti.c: Likewise.
11950         * soft-fp/floatdidf.c: Likewise.
11951         * soft-fp/floatdisf.c: Likewise.
11952         * soft-fp/floatditf.c: Likewise.
11953         * soft-fp/floatsidf.c: Likewise.
11954         * soft-fp/floatsisf.c: Likewise.
11955         * soft-fp/floatsitf.c: Likewise.
11956         * soft-fp/floattidf.c: Likewise.
11957         * soft-fp/floattisf.c: Likewise.
11958         * soft-fp/floattitf.c: Likewise.
11959         * soft-fp/floatundidf.c: Likewise.
11960         * soft-fp/floatundisf.c: Likewise.
11961         * soft-fp/floatunsidf.c: Likewise.
11962         * soft-fp/floatunsisf.c: Likewise.
11963         * soft-fp/floatuntidf.c: Likewise.
11964         * soft-fp/floatuntisf.c: Likewise.
11965         * soft-fp/floatuntitf.c: Likewise.
11966         * soft-fp/fmadf4.c: Likewise.
11967         * soft-fp/fmasf4.c: Likewise.
11968         * soft-fp/fmatf4.c: Likewise.
11969         * soft-fp/gedf2.c: Likewise.
11970         * soft-fp/gesf2.c: Likewise.
11971         * soft-fp/getf2.c: Likewise.
11972         * soft-fp/ledf2.c: Likewise.
11973         * soft-fp/lesf2.c: Likewise.
11974         * soft-fp/letf2.c: Likewise.
11975         * soft-fp/muldf3.c: Likewise.
11976         * soft-fp/mulsf3.c: Likewise.
11977         * soft-fp/multf3.c: Likewise.
11978         * soft-fp/negdf2.c: Likewise.
11979         * soft-fp/negsf2.c: Likewise.
11980         * soft-fp/negtf2.c: Likewise.
11981         * soft-fp/op-1.h: Likewise.
11982         * soft-fp/op-2.h: Likewise.
11983         * soft-fp/op-4.h: Likewise.
11984         * soft-fp/op-8.h: Likewise.
11985         * soft-fp/op-common.h: Likewise.
11986         * soft-fp/quad.h: Likewise.
11987         * soft-fp/single.h: Likewise.
11988         * soft-fp/soft-fp.h: Likewise.
11989         * soft-fp/sqrtdf2.c: Likewise.
11990         * soft-fp/sqrtsf2.c: Likewise.
11991         * soft-fp/sqrttf2.c: Likewise.
11992         * soft-fp/subdf3.c: Likewise.
11993         * soft-fp/subsf3.c: Likewise.
11994         * soft-fp/subtf3.c: Likewise.
11995         * soft-fp/truncdfsf2.c: Likewise.
11996         * soft-fp/trunctfdf2.c: Likewise.
11997         * soft-fp/trunctfsf2.c: Likewise.
11998         * soft-fp/trunctfxf2.c: Likewise.
11999         * soft-fp/unorddf2.c: Likewise.
12000         * soft-fp/unordsf2.c: Likewise.
12001         * soft-fp/unordtf2.c: Likewise.
12002
12003 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12004
12005         [BZ #15672]
12006         * misc/error.c (error_tail): Fix possible buffer overflow.
12007
12008 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12009
12010         [BZ #13028]
12011         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12012         address.
12013
12014 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12015
12016         [BZ #832]
12017         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12018         testing pipefail option.
12019
12020 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12021
12022         * soft-fp/double.h: Indent preprocessor directives inside #if.
12023         * soft-fp/extended.h: Likewise.
12024         * soft-fp/op-2.h: Likewise.
12025         * soft-fp/op-4.h: Likewise.
12026         * soft-fp/op-common.h: Likewise.
12027         * soft-fp/quad.h: Likewise.
12028         * soft-fp/single.h: Likewise.
12029         * soft-fp/soft-fp.h: Likewise.
12030
12031 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12032
12033         * iconv/iconv_prog.c: Fix typos.
12034         * stdio-common/psiginfo-data.h: Likewise.
12035
12036 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12037
12038         [BZ #15764]
12039         * locale/setlocale.c: Fix typo.
12040
12041 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12042
12043         [BZ #16036]
12044         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12045         signaling NaN arguments.
12046         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12047         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12048
12049         [BZ #14910]
12050         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12051         unordered operands.
12052         * soft-fp/gesf2.c (__gesf2): Likewise.
12053         * soft-fp/getf2.c (__getf2): Likewise.
12054         * soft-fp/ledf2.c (__ledf2): Likewise.
12055         * soft-fp/lesf2.c (__lesf2): Likewise.
12056         * soft-fp/letf2.c (__letf2): Likewise.
12057
12058         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12059         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12060         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12061         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12062         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12063         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12064         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12065         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12066         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12067         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12068         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12069         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12070         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12071         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12072         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12073         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12074         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12075         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12076         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12077         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12078         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12079         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12080         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12081         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12082         * soft-fp/floattidf.c (__floattidf): Likewise.
12083         * soft-fp/floattisf.c (__floattisf): Likewise.
12084         * soft-fp/floattitf.c (__floattitf): Likewise.
12085         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12086         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12087         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12088         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12089         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12090         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12091         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12092         * soft-fp/gesf2.c (__gesf2): Likewise.
12093         * soft-fp/getf2.c (__getf2): Likewise.
12094         * soft-fp/ledf2.c (__ledf2): Likewise.
12095         * soft-fp/lesf2.c (__lesf2): Likewise.
12096         * soft-fp/letf2.c (__letf2): Likewise.
12097
12098         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12099         Undefine and redefine.
12100         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12101         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12102         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12103         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12104         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12105         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12106         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12107         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12108         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12109         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12110         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12111         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12112         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12113         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12114         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12115
12116         [BZ #16032]
12117         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12118         without decrementing exponent if mantissa >= that for the
12119         denominator, not >.
12120         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12121         denominator, not >.  Decrement exponent in < case instead of
12122         incrementing in >= case.
12123         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12124         without decrementing exponent if mantissa >= that for the
12125         denominator, not >.
12126
12127         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12128         computing saturated result for unsigned overflow.
12129
12130 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12131             Jeff Law  <law@redhat.com>
12132
12133         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12134         (atan2Mp): Add systemtap probe marker.
12135         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12136         (__ieee754_log): Add systemtap probe marker.
12137         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12138         (atanMp): Add systemtap probe marker.
12139         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12140         (tanMp): Add systemtap probe marker.
12141         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12142         (__slowexp): Add systemtap probe marker.
12143         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12144         (__slowpow): Add systemtap probe marker.
12145         * manual/probes.texi: Document probes.
12146
12147 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12148
12149         [BZ #15362]
12150         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12151         written.
12152         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12153         written.
12154         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12155         written to buffer but not flushed.
12156         * libio/iofwrite_u.c:  Likewise.
12157         * libio/iopadn.c:  Return bytes returned even if EOF was
12158         encountered.
12159         * libio/iowpadn.c:  Likewise.
12160         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12161         if _IO_padn does not write the whole buffer.
12162         [!COMPILE_WPRINTF] (PAD): Likewise.
12163
12164 2013-10-10  David S. Miller  <davem@davemloft.net>
12165
12166         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12167         directory block.
12168
12169 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12170
12171         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12172         instead of FSF address.
12173         * soft-fp/fixdfti.c: Likewise.
12174         * soft-fp/fixsfti.c: Likewise.
12175         * soft-fp/fixtfti.c: Likewise.
12176         * soft-fp/fixunsdfti.c: Likewise.
12177         * soft-fp/fixunssfti.c: Likewise.
12178         * soft-fp/fixunstfti.c: Likewise.
12179         * soft-fp/floattidf.c: Likewise.
12180         * soft-fp/floattisf.c: Likewise.
12181         * soft-fp/floattitf.c: Likewise.
12182         * soft-fp/floatuntidf.c: Likewise.
12183         * soft-fp/floatuntisf.c: Likewise.
12184         * soft-fp/floatuntitf.c: Likewise.
12185         * soft-fp/trunctfxf2.c: Likewise.
12186
12187         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12188         * soft-fp/fixdfti.c: Likewise.
12189         * soft-fp/fixsfti.c: Likewise.
12190         * soft-fp/fixtfti.c: Likewise.
12191         * soft-fp/fixunsdfti.c: Likewise.
12192         * soft-fp/fixunssfti.c: Likewise.
12193         * soft-fp/fixunstfti.c: Likewise.
12194         * soft-fp/floattidf.c: Likewise.
12195         * soft-fp/floattisf.c: Likewise.
12196         * soft-fp/floattitf.c: Likewise.
12197         * soft-fp/floatuntidf.c: Likewise.
12198         * soft-fp/floatuntisf.c: Likewise.
12199         * soft-fp/floatuntitf.c: Likewise.
12200         * soft-fp/trunctfxf2.c: Likewise.
12201
12202 2013-10-10  David S. Miller  <davem@davemloft.net>
12203
12204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12205
12206 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12207
12208         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12209         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12210         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12211         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12212         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12213         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12214         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12215
12216         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12217         for NaNs before doing comparisons on argument.
12218         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12219         Likewise.
12220
12221 2013-10-10  Will Newton  <will.newton@linaro.org>
12222
12223         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12224         passed to _int_memalign does not overflow.
12225
12226 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12227
12228         * scripts/bench.pl: Add include-sources directive.
12229         * benchtests/README: Update documentation.
12230
12231 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12232
12233         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12234         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12235         instead of FP_INIT_ROUNDMODE.
12236         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12237         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12238
12239         [BZ #16034]
12240         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12241         copy class of input value.
12242         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12243         not handle exceptions.
12244         * soft-fp/negsf2.c (__negsf2): Likewise.
12245         * soft-fp/negtf2.c (__negtf2): Likewise.
12246         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12247
12248 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12249
12250         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12251         semicolon.  From Linux kernel.
12252
12253 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12254
12255         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12256
12257 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12258
12259         [BZ #156]
12260         * manual/socket.texi: Added statement about buffer
12261         for gethostbyname2_r.
12262
12263 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12264
12265         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12266         Use .p2align directive instead, throughout.
12267         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12268         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12269         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12270         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12271         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12272         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12273         * sysdeps/x86_64/strchr.S: Likewise.
12274         * sysdeps/x86_64/strrchr.S: Likewise.
12275
12276 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12277
12278         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12279
12280         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12281
12282         * sysdeps/generic/math_private.h (__mpsin1): Remove
12283         declaration.
12284         (__mpcos1): Likewise.
12285         (__mpsin): New argument __range_reduce.
12286         (__mpcos): Likewise.
12287         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12288         (slow): Use __mpsin and __mpcos.
12289         (slow1): Likewise.
12290         (slow2): Likewise.
12291         (sloww): Likewise.
12292         (sloww1): Likewise.
12293         (sloww2): Likewise.
12294         (bsloww): Likewise.
12295         (bsloww1): Likewise.
12296         (bsloww2): Likewise.
12297         (cslow2): Likewise.
12298         (csloww): Likewise.
12299         (csloww1): Likewise.
12300         (csloww2): Likewise.
12301         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12302         range_reduce.  Merge in __mpsin1.
12303         (__mpcos): Likewise.
12304         (__mpsin1): Remove.
12305         (__mpcos1): Likewise.
12306
12307 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12308
12309         * locale/loadlocale.c (_nl_intern_locale_data): Use
12310         LOCFILE_ALIGNED_P.
12311         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12312         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12313         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12314         obstack data is appropriately aligned.
12315         (obstack_int32_grow_fast): Likewise.
12316         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12317         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12318         (add_locale_uint32_array): Likewise.
12319
12320 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12321
12322         * benchtests/Makefile: Remove ARGLIST and RET variables.
12323         ($(objpfx)bench-%.c): Pass only function name to the script.
12324         * benchtests/README: Update documentation.
12325         * benchtests/acos-inputs: Add new directives.
12326         * benchtests/acosh-inputs: Likewise.
12327         * benchtests/asin-inputs: Likewise.
12328         * benchtests/asinh-inputs: Likewise.
12329         * benchtests/atan-inputs: Likewise.
12330         * benchtests/atanh-inputs: Likewise.
12331         * benchtests/cos-inputs: Likewise.
12332         * benchtests/cosh-inputs: Likewise.
12333         * benchtests/exp-inputs: Likewise.
12334         * benchtests/log-inputs: Likewise.
12335         * benchtests/pow-inputs: Likewise.
12336         * benchtests/rint-inputs: Likewise.
12337         * benchtests/sin-inputs: Likewise.
12338         * benchtests/sinh-inputs: Likewise.
12339         * benchtests/tan-inputs: Likewise.
12340         * benchtests/tanh-inputs: Likewise.
12341         * scripts/bench.pl: Add support for new directives.
12342
12343 2013-10-07  Alan Modra  <amodra@gmail.com>
12344
12345         * README: Fix careless merge.
12346
12347 2013-10-05  Alan Modra  <amodra@gmail.com>
12348
12349         * NEWS: Mention powerpc64le support and bugs fixed.
12350         * README: Both big-endian and little-endian powerpc64 supported.
12351
12352 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12353
12354         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12355         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12356         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12357         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12358
12359 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12360
12361         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12362         match prototype.
12363
12364 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12365
12366         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12367         Move -mhard-float appending from
12368         ports/sysdeps/powerpc/powerpc32/Makefile.
12369         [$(with-fp) = yes] (ASFLAGS): Likewise.
12370         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12371         * sysdeps/powerpc/nofpu: Move directory from
12372         ports/sysdeps/powerpc/nofpu.
12373         * sysdeps/powerpc/soft-fp: Move directory from
12374         ports/sysdeps/powerpc/soft-fp.
12375         * sysdeps/powerpc/powerpc32/405: Move directory from
12376         ports/sysdeps/powerpc/powerpc32/405.
12377         * sysdeps/powerpc/powerpc32/440: Move directory from
12378         ports/sysdeps/powerpc/powerpc32/440.
12379         * sysdeps/powerpc/powerpc32/464: Move directory from
12380         ports/sysdeps/powerpc/powerpc32/464.
12381         * sysdeps/powerpc/powerpc32/476: Move directory from
12382         ports/sysdeps/powerpc/powerpc32/476.
12383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12384         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12386         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12388         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12390         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12392         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12393         * README: Update for powerpc-*-linux-gnu software floating point
12394         support in libc.
12395
12396         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12397         case to powerpc/powerpc32*.
12398         * sysdeps/unix/sysv/linux/configure: Regenerated.
12399
12400         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12401         (_FPU_MASK_OM): Define as 0x04.
12402         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12403         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12404         0x00c10080.
12405         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12406         0x0000003c.
12407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12408
12409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12410         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12411         getcontext_e500.
12412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12413         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12414         setcontext_e500.
12415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12416         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12417         and setcontext_e500.
12418
12419 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12420
12421         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12422
12423 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12424
12425         * manual/threads.texi (Default Thread Attributes): Fix typo.
12426
12427 2013-10-04  Will Newton  <will.newton@linaro.org>
12428
12429         * malloc/Makefile: Add tst-memalign.
12430         * malloc/tst-memalign.c: New file.
12431
12432         * malloc/tst-posix_memalign.c: Add comments.
12433         (do_test): Add comments and call free on all potentially
12434         allocated pointers. Add space after cast.
12435
12436         * malloc/tst-pvalloc.c: Add comments.
12437         (do_test): Add comments and call free on all potentially
12438         allocated pointers. Remove duplicate check for NULL pointer.
12439         Add space after cast.
12440
12441         * malloc/tst-valloc.c: Add comments.
12442         (do_test): Add comments and call free on all potentially
12443         allocated pointers. Remove duplicate check for NULL pointer.
12444         Add space after cast.
12445
12446 2013-10-04  Alan Modra  <amodra@gmail.com>
12447
12448         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12449         Use stdint types in rather than __attribute__((mode())).
12450         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12451
12452 2013-10-04  Alan Modra  <amodra@gmail.com>
12453
12454         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12455         Correct handling of unaligned relocs for little-endian.
12456         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12457
12458 2013-10-04  Alan Modra  <amodra@gmail.com>
12459
12460         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12461         * configure: Regenerate.
12462         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12463         * shlib-versions: Likewise.
12464
12465 2013-10-04  Alan Modra  <amodra@gmail.com>
12466
12467         * string/tester.c (test_memrchr): Increment reported test cycle.
12468
12469 2013-10-04  Alan Modra  <amodra@gmail.com>
12470
12471         * string/test-memcpy.c (do_one_test): When reporting errors, print
12472         string address and don't overrun end of string.
12473
12474 2013-10-04  Alan Modra  <amodra@gmail.com>
12475
12476         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12477         insrdi.  Make better use of reg selection to speed exit slightly.
12478         Schedule entry path a little better.  Remove useless "are we done"
12479         checks on entry to main loop.  Handle wrapping around zero address.
12480         Correct main loop count.  Handle single left-over word from main
12481         loop inline rather than by using loop_small.  Remove extra word
12482         case in loop_small caused by wrong loop count.  Add little-endian
12483         support.
12484         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12485         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12486         cache hint.
12487         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12488         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12489         support.  Avoid rlwimi.
12490         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12491
12492 2013-10-04  Alan Modra  <amodra@gmail.com>
12493
12494         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12495         insrdi.  Formatting.
12496         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12497         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12498         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12499         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12500         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12501         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12502
12503 2013-10-04  Alan Modra  <amodra@gmail.com>
12504
12505         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12506         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12507         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12508         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12509         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12510         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12511         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12512         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12513         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
12514         use of regs.  Use power7 mtocrf.  Tidy function tails.
12515
12516 2013-10-04  Alan Modra  <amodra@gmail.com>
12517
12518         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12519         Formatting.  Consistently use rXXX register defines or rN defines.
12520         Use early exit labels that avoid restoring unused non-volatile regs.
12521         Make cr field use more consistent with rWORDn compares.  Rename
12522         regs used as shift registers for unaligned loop, using rN defines
12523         for short lifetime/multiple use regs.
12524         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12525         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
12526         addi 1,1,64 to pop stack frame.  Simplify return value code.
12527         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12528
12529 2013-10-04  Alan Modra  <amodra@gmail.com>
12530
12531         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12532         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
12533         rather than rlwimi.
12534         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12535         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12536         little-endian support.  Correct typos.
12537         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
12538         rather than rlwimi.
12539         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
12540         in loop and entry code to keep "and." results.
12541         (strchr): Add little-endian support.  Comment.  Move cntlzd
12542         earlier in tail.
12543         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12544
12545 2013-10-04  Alan Modra  <amodra@gmail.com>
12546
12547         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12548         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12549         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12550         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12551
12552 2013-10-04  Alan Modra  <amodra@gmail.com>
12553
12554         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12555         (rTMP): Define as r11.
12556         (strcmp): Add little-endian support.  Optimise tail.
12557         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12558         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12559         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12560         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12561         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12562         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12563         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12564
12565 2013-10-04  Alan Modra  <amodra@gmail.com>
12566
12567         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12568         little-endian support.  Remove unnecessary "are we done" tests.
12569         Handle "s" wrapping around zero and extremely large "size".
12570         Correct main loop count.  Handle single left-over word from main
12571         loop inline rather than by using small_loop.  Correct comments.
12572         Delete "zero" tail, use "end_max" instead.
12573         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12574
12575 2013-10-04  Alan Modra  <amodra@gmail.com>
12576
12577         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12578         support.  Don't branch over align.
12579         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12580         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12581         support.  Rearrange tmp reg use to suit.  Comment.
12582         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12583
12584 2013-10-04  Alan Modra  <amodra@gmail.com>
12585
12586         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12587
12588 2013-10-04  Alan Modra  <amodra@gmail.com>
12589
12590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12591         conditional form of branch and link when obtaining pc.
12592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12593
12594 2013-10-04  Alan Modra  <amodra@gmail.com>
12595
12596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12597         HIWORD/LOWORD.
12598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12600
12601 2013-10-04  Alan Modra  <amodra@gmail.com>
12602
12603         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12604         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12605         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12606         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12607         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12608         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12609         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12610         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12611         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12612         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12613
12614 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12615             Alistair Popple <alistair@ozlabs.au.ibm.com>
12616             Alan Modra <amodra@gmail.com>
12617
12618         [BZ #15723]
12619         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12620         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12621         _dl_hwcap access for little-endian.
12622         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
12623         destroy vmx regs when saving unaligned.
12624         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12625         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
12626         destroy vmx regs when saving unaligned.
12627
12628 2013-10-04  Alan Modra  <amodra@gmail.com>
12629
12630         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12631         Don't use a union to pack hi/low value.
12632
12633 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12634
12635         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12636         for little-endian.
12637         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12638         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12639         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12640         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12641         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12642
12643 2013-10-04  Alan Modra  <amodra@gmail.com>
12644
12645         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12646         constants to usual value for .cst8 section, and remove redundant
12647         high address load.
12648         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12649         constant for 0x1p52.  Load little-endian words of double from
12650         correct stack offsets.
12651
12652 2013-10-04  Alan Modra  <amodra@gmail.com>
12653
12654         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12655         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12656         words of double from correct stack offsets.
12657         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12658         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12659         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12660         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12661         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12662         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12663         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12664         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12665         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12666         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12667         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12668         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12669         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12670         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12671         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12672         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12673         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12674
12675 2013-10-04  Alan Modra  <amodra@gmail.com>
12676
12677         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12678         64-bit int/double union.
12679         (_FPU_SETCW): Likewise.
12680         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12681         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12682
12683 2013-10-04  Alan Modra  <amodra@gmail.com>
12684
12685         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12686         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12687
12688 2013-10-04  Alan Modra  <amodra@gmail.com>
12689
12690         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12691         use vector int constants.
12692         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12693
12694 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12695
12696         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12697         array with long long.
12698         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12699         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12700         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12701         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12702         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12703         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12704         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12705         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12706         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12707         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12708         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12709         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12710         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12711
12712 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
12713
12714         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12715         (__signbit): Likewise.  Correct for little-endian.
12716         (__signbitl): Call __signbit.
12717         (lrint): Correct for little-endian.
12718         (lrintf): Call lrint.
12719
12720 2013-10-04  Alan Modra  <amodra@gmail.com>
12721
12722         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12723         union 32-bit int array member with 64-bit int array.
12724         (t515, tm256): Double rather than long double.
12725         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12726
12727 2013-10-04  Alan Modra  <amodra@gmail.com>
12728
12729         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12730         Delete.
12731         (IEEE854_LONG_DOUBLE_BIAS): Delete.
12732         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12733         version of math_ldbl.h.
12734
12735 2013-10-04  Alan Modra  <amodra@gmail.com>
12736
12737         [BZ #15734], [BZ #15735]
12738         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12739         all uses of ieee875 long double macros and unions.  Simplify test
12740         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
12741         ldbl_extract_mantissa value for ix,iy exponents.  Properly
12742         normalize after ldbl_extract_mantissa, and don't add hidden bit
12743         already handled.  Don't treat low word of ieee854 mantissa like
12744         low word of IBM long double and mask off bit when testing for
12745         zero.
12746         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12747         all uses of ieee875 long double macros and unions.  Simplify tests
12748         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
12749         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
12750         two1022, instead use their values.  Recognise that tests for large
12751         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
12752         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12753         Rewrite all uses of ieee875 long double macros and unions.  Simplify
12754         test for 0.0L and nan.  Correct negation.
12755         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12756         ieee875 long double macros and unions.  Correct output for large
12757         magnitude x.  Correct absolute value calculation.
12758         (__erfcl): Likewise.
12759         * math/libm-test.inc: Add tests for errors discovered in IBM long
12760         double versions of fmodl, remainderl, erfl and erfcl.
12761
12762 2013-10-04  Alan Modra  <amodra@gmail.com>
12763
12764         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12765         all uses of ieee854 long double macros and unions.  Simplify tests
12766         for long doubles that are fully specified by the high double.
12767         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12768         Likewise.
12769         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12770         Remove dead code too.
12771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12772         (__ieee754_ynl): Likewise.
12773         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12774         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12775         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12776         Remove dead code too.
12777         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12778         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12780         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12781         Simplify.
12782         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12783         Simplify.
12784         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12785         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12786         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12787         Comment on variable precision.
12788         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12789         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12790         Likewise.
12791         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12792         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12793         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12794         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12795         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12796
12797 2013-10-04  Alan Modra  <amodra@gmail.com>
12798
12799         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12800         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12801         all uses of ieee854 long double macros and unions.
12802         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12803         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12804         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12805         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12806         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12807         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12808         Likewise.
12809         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12810         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12811         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12812         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12813         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12814         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12815         Simplify sign and nan test too.
12816         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12817         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12818         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12819         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12820         Likewise.
12821         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12822         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12823         Likewise.
12824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12825         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12826         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12827         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12828         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12830
12831 2013-10-04  Alan Modra  <amodra@gmail.com>
12832
12833         * stdio-common/printf_size.c (__printf_size): Don't use
12834         union ieee854_long_double in fpnum union.
12835         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
12836         signbit macro to retrieve sign from long double.
12837         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12838         retrieve sign from long double.
12839         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12840         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12841         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12842         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12843         * math/test-misc.c (main): Don't use union ieee854_long_double.
12844
12845 2013-10-04  Alan Modra  <amodra@gmail.com>
12846
12847         [BZ #15680]
12848         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12849         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12850         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12851         calculation.  Remove unnecessary test for denormal exponent.
12852         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12853         Correct handling of denormals.  Avoid undefined shift behaviour.
12854         Correct normalisation of low mantissa when low double is denormal.
12855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12856         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
12857         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12858         Correct normalisation of low mantissa.  Test for overflow of high
12859         mantissa and normalise.
12860         (ldbl_nearbyint): Use more readable constant for two52.
12861         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12862         (__mpn_construct_long_double): Fix test for overflow of high
12863         mantissa and correct normalisation.  Avoid undefined shift.
12864
12865 2013-10-04  Alan Modra  <amodra@gmail.com>
12866
12867         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12868         (union ibm_extended_long_double): Define as an array of ieee754_double.
12869         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12870         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12871         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12872         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12873         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12874         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12875         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12876         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12877         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12878         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12879         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12880
12881 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
12882
12883         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12884         page size instead of calling getpagesize.
12885
12886         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12887         (LOCFILE_ALIGN_MASK): Likewise.
12888         (LOCFILE_ALIGN_UP): Likewise.
12889         (LOCFILE_ALIGNED_P): Likewise.
12890         * locale/programs/ld-collate.c (collate_output): Use the new
12891         macros instead of __alignof__ (int32_t).
12892         * locale/weight.h (findidx): Likewise.
12893
12894 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
12895
12896         [BZ #431]
12897         * manual/string.texi: Fix strncat and wcsncat.
12898
12899 2013-10-03  Brooks Moses  <bmoses@google.com>
12900
12901         [BZ #15915]
12902         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12903         * Makerules: ...here, and adjust associated comments.
12904
12905 2013-10-02  Will Newton  <will.newton@linaro.org>
12906
12907         * malloc/Makefile: Add tst-pvalloc.
12908         * malloc/tst-pvalloc.c: New file.
12909
12910 2013-10-02  Will Newton  <will.newton@linaro.org>
12911
12912         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12913         improve test coverage.
12914
12915 2013-10-02  Will Newton  <will.newton@linaro.org>
12916
12917         * malloc/Makefile: Add tst-posix_memalign.
12918         * malloc/tst-posix_memalign.c: New file.
12919
12920 2013-10-01  Eric Blake  <eblake@redhat.com>
12921
12922         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12923         Use __THROWNL rather than __THROW on static functions.
12924
12925 2013-09-30  Petr Machata  <pmachata@redhat.com>
12926
12927         * elf/elf.h (R_AARCH64_ABS16): New macro.
12928         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12929         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12930         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12931         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12932         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12933         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12934         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12935         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12936         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12937         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12938         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12939         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12940         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12941         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12942         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12943         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12944         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12945         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12946         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12947         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12948         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12949         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12950         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12951         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12952         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12953         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12954         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12955         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12956         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12957         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12958         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12959         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12960         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12961         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12962         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12963         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12964         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12965         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12966         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12967         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12968         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12969         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12970         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12971         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12972         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12973         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12974         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12975         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12976         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12977         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12978         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12979         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12980         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12981         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12982         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12983         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12984         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12985         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12986         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12987         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12988         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12989         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12990         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12991         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12992         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12993         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12994         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12995         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12996         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12997         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12998         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12999         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13000         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13001         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13002         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13003         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13004         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13005         (R_AARCH64_TLSDESC_LDR): Likewise.
13006         (R_AARCH64_TLSDESC_ADD): Likewise.
13007         (R_AARCH64_TLSDESC_CALL): Likewise.
13008
13009 2013-09-30  Andreas Schwab  <schwab@suse.de>
13010
13011         [BZ #15048]
13012         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13013         the nss database lookup.
13014         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13015         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13016
13017 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13018
13019         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13020
13021 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13022
13023         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13024         ${Bash-specific parameter/pattern/string} parameter expansion.
13025         * sysdeps/unix/make-syscalls.sh: Likewise.
13026
13027 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13028
13029         * sysdeps/sh/stackguard-macros.h: New file.
13030
13031 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13032
13033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13035         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13036         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13037         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13038         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13039
13040 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13041
13042         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13043         Fix thread ID register.
13044
13045 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13046
13047         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13048         [POSIX || UNIX98]: Require rather than permitting all symbols from
13049         <time.h>.
13050         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13051         element of struct sched_param.
13052         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13053         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13054         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13055         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13056         constant.
13057
13058 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13059
13060         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13061         argument calculation.
13062
13063 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13064
13065         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13066         Expect macro.
13067         [POSIX] (pthread_attr_t): Do not require type.
13068         [POSIX] (pthread_cond_t): Likewise.
13069         [POSIX] (pthread_condattr_t): Likewise.
13070         [POSIX] (pthread_key_t): Likewise.
13071         [POSIX] (pthread_mutex_t): Likewise.
13072         [POSIX] (pthread_mutexattr_t): Likewise.
13073         [POSIX] (pthread_once_t): Likewise.
13074         [POSIX] (pthread_t): Likewise.
13075         [POSIX-based standards] (pthread_atfork): Expect function.
13076
13077 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13078             Richard Sandiford  <richard@codesourcery.com>
13079
13080         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13081         (swap_endianness_p): New extern variable.
13082         (set_big_endian): New inline function.
13083         (maybe_swap_uint32): Likewise.
13084         (maybe_swap_uint32_array): Likewise.
13085         (maybe_swap_uint32_obstack): Likewise.
13086         * locale/programs/locfile.c: Include <stdbool.h>.
13087         (swap_endianness_p): New variable.
13088         (add_locale_uint32): Call maybe_swap_uint32.
13089         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13090         (write_locale_data): Call maybe_swap_uint32_array.
13091         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13092         maybe_swap_uint32.
13093         (obstack_int32_grow_fast): Likewise.
13094         (output_weightwc): Call maybe_swap_uint32_obstack.
13095         (collate_output): Likewise.
13096         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13097         (OPT_LITTLE_ENDIAN): Likewise.
13098         (options): Add --little-endian and --big-endian options.
13099         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13100         * locale/programs/locarchive.c: Include "locfile.h".
13101         (GET): New macro.
13102         (SET): Likewise.
13103         (INC): Likewise.
13104         (create_archive): Use the new macros to access fields of
13105         structures directly mapped from or written to locale archives.
13106         (oldlocrecentcmp): Likewise.
13107         (enlarge_archive): Likewise.
13108         (insert_name): Likewise.
13109         (add_alias): Likewise.
13110         (add_locale): Likewise.
13111         (delete_locales_from_archive): Likewise.
13112         (show_archive_content): Likewise.
13113         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13114         locale data.
13115
13116 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13117
13118         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13119         http://www.gnu.org/doc/freemanuals.texi.
13120         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13121
13122 2013-09-24  Will Newton  <will.newton@linaro.org>
13123
13124         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13125         macro.
13126
13127 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13128
13129         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13130         unsigned char.
13131
13132 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13133
13134         * manual/threads.texi (POSIX Threads): Fix a typo.
13135
13136 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13137
13138         [BZ #14547]
13139         * string/tst-strcoll-overflow.c: New test case.
13140         * string/Makefile (xtests): Add tst-strcoll-overflow.
13141         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13142         cache if string sizes may cause integer overflow.
13143
13144         [BZ #14547]
13145         * string/strcoll_l.c (coll_seq): New members rule, idx,
13146         save_idx and back_us.
13147         (get_next_seq_nocache): New function.
13148         (do_compare_nocache): New function.
13149         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13150         when malloc fails.
13151
13152 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13153
13154         [BZ #15754]
13155         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13156         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13157         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13158
13159         [BZ #15754]
13160         * elf/Makefile (tests): Add tst-ptrguard1.
13161         (tests-static): Add tst-ptrguard1-static.
13162         (tst-ptrguard1-ARGS): Define.
13163         (tst-ptrguard1-static-ARGS): Define.
13164         * elf/tst-ptrguard1.c: New file.
13165         * elf/tst-ptrguard1-static.c: New file.
13166         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13167         * sysdeps/i386/stackguard-macros.h: Likewise.
13168         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13169         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13170         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13171         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13172         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13173         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13174
13175 2013-09-23  Hector Marco  <hecmargi@upv.es>
13176             Ismael Ripoll  <iripoll@disca.upv.es>
13177             Carlos O'Donell  <carlos@redhat.com>
13178
13179         [BZ #15754]
13180         * sysdeps/generic/stackguard-macros.h: Define
13181         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13182         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13183         Define __pointer_chk_guard_local.
13184         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13185         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13186
13187 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13188
13189         [BZ #15859]
13190         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13191
13192 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13193
13194         * include/string.h (__ffs): Declare as hidden.
13195         * string/ffs.c (__ffs): Define as hidden.
13196         * sysdeps/i386/ffs.c (__ffs): Likewise.
13197         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13198         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13199         * sysdeps/s390/ffs.c (__ffs): Likewise.
13200         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13201
13202 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13203
13204         * NEWS: Mention malloc probes.
13205
13206         * malloc/arena.c (new_heap): New memory_heap_new probe.
13207         (grow_heap): New memory_heap_more probe.
13208         (shrink_heap): New memory_heap_less probe.
13209         (heap_trim): New memory_heap_free probe.
13210         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13211         (systrim): New memory_sbrk_less probe.
13212         * manual/probes.texi: Document them.
13213
13214         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13215         * manual/probes.texi: Document it.
13216
13217         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13218         (__libc_realloc): Add memory_realloc_retry probe.
13219         (__libc_memalign): Add memory_memalign_retry probe.
13220         (__libc_valloc): Add memory_valloc_retry probe.
13221         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13222         (__libc_calloc): Add memory_calloc_retry probe.
13223         * manual/probes.texi: Document them.
13224
13225         * malloc/arena.c (get_free_list): Add probe
13226         memory_arena_reuse_free_list.
13227         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13228         and memory_arena_reuse.
13229         (arena_get2) [!PER_THREAD]: Likewise.
13230         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13231         memory_arena_reuse_realloc.
13232         * manual/probes.texi: Document them.
13233
13234         * malloc/malloc.c (__libc_free): Add
13235         memory_mallopt_free_dyn_thresholds probe.
13236         (__libc_mallopt): Add multiple memory_mallopt probes.
13237         * manual/probes.texi: Document them.
13238
13239         * malloc/malloc.c: Include stap-probe.h.
13240         (__libc_mallopt): Add memory_mallopt probe.
13241         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13242         * manual/probes.texi: New.
13243         * manual/Makefile (chapters): Add probes.
13244         * manual/threads.texi: Set next node.
13245
13246 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13247
13248         [BZ #15963, #13985]
13249         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13250         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13251         Add `Chinese' to `nan' entry name.
13252
13253 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13254
13255         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13256         (POLYNOMIAL): Likewise.
13257         (TAYLOR_SINCOS): Likewise.
13258         (TAYLOR_SLOW): Likewise.
13259         (__sin): Use TAYLOR_SINCOS.
13260         (__cos): Likewise.
13261         (slow): Use TAYLOR_SLOW.
13262         (sloww): Likewise.
13263         (bsloww): Likewise.
13264         (csloww): Likewise.
13265
13266 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13267
13268         * stdlib/strtod_l.c: Fix buffer overrun.
13269
13270 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13271
13272         * benchtests/Makefile (bench): Add sincos.
13273         * benchtests/bench-sincos.c: New file.
13274
13275         * math/libm-test.inc (cos_test_data): New test inputs.
13276         (sin_test_data): Likewise.
13277
13278         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13279         macro.
13280         (__sin): Use it.
13281         (__cos): Likewise.
13282         (slow1): Likewise.
13283         (slow2): Likewise.
13284         (sloww1): Likewise.
13285         (sloww2): Likewise.
13286         (bsloww1): Likewise.
13287         (bsloww2): Likewise.
13288         (cslow2): Likewise.
13289         (csloww1): Likewise.
13290         (csloww2): Likewise.
13291
13292         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13293         function.
13294         (__sin): Use it.
13295         (__cos): Likewise.
13296
13297         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13298         gotos.
13299         (__cos): Likewise.
13300
13301 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13302
13303         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13304         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13305         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13306         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13307         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13308         * elf/cache.c (print_entry): Handle the new cache flags.
13309
13310 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13311             Aldy Hernandez  <aldyh@redhat.com>
13312
13313         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13314         Change condition to [_SOFT_FLOAT].
13315         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13316         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13317         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13318         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13319         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13327         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13330         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13331         declaration.
13332
13333 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13334
13335         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13336         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13337         (__longjmp): Use LOAD_GP to load saved GPRs.
13338         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13339         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13340         (__sigsetjmp): Use SAVE_GP to save GPRs.
13341
13342         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13343         Do not append -msoft-float.
13344         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13345
13346 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13347
13348         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13349
13350 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13351
13352         [BZ #15966]
13353         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13354         (_FPU_GETCW): Use initial "__" on variable and field names but not
13355         on macro parameter name.
13356         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13357         parentheses around reference to macro parameter.
13358
13359 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13360
13361         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13362         prototype.
13363         (ctype_startup): Use uint32_t in cast and sizeof for
13364         ctype->charnames.
13365
13366 2013-09-11  Jia Liu  <proljc@gmail.com>
13367
13368         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13369         __daddr_t_defined.
13370         [__FreeBSD__]: Likewise.
13371
13372 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13373
13374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13375         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13376         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13377         (strchr): Remove __strchr_sse42 ifunc selection.
13378         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13379         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13380
13381 2013-09-11  Will Newton  <will.newton@linaro.org>
13382
13383         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13384         parameter to RES. Remove hardcoded 1000 value.
13385         * benchtests/bench-skeleton.c (main): Pass RES parameter
13386         to TIMING_INIT and multiply result by 1000.
13387
13388 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13389
13390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13391
13392 2013-09-11  Andreas Schwab  <schwab@suse.de>
13393
13394         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13395         if not defined.
13396         (O_TMPFILE) [__USE_GNU]: Define.
13397         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13398         Define.
13399
13400 2013-09-11  Will Newton  <will.newton@linaro.org>
13401
13402         [BZ #15857]
13403         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13404         does not overflow.
13405
13406 2013-09-11  Will Newton  <will.newton@linaro.org>
13407
13408         [BZ #15856]
13409         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13410         does not overflow.
13411
13412 2013-09-11  Will Newton  <will.newton@linaro.org>
13413
13414         [BZ #15855]
13415         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13416         does not overflow.
13417
13418 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13419
13420         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13421         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13422         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13423         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13424         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13425
13426 2013-09-10  Allan McRae  <allan@archlinux.org>
13427
13428         [BZ #15748]
13429         * manual/arith.texi (Parsing of Floats): Clarify
13430         cross-reference.
13431
13432         [BZ #15849]
13433         * manual/install.texi (Running make install): Mention
13434         --enable-pt-chown.
13435         * INSTALL: Regenerated.
13436
13437 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13438
13439         * csu/init-first.c (_init): Remove the !SHARED condition around
13440         FPU control word initialization.
13441         * elf/dl-support.c (_dl_fpu_control): New variable.
13442         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13443         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13444         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13445         * math/test-fpucw-static.c: New file.
13446         * math/test-fpucw-ieee.c: New file.
13447         * math/test-fpucw-ieee-static.c: New file.
13448         * math/Makefile (tests): Add `test-fpucw-ieee' and
13449         `$(tests-static)'.
13450         (tests-static): New variable.
13451         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13452         dependency to...
13453         [($(build-shared),yes)]
13454         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13455         ... this.
13456         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13457         New dependency.
13458
13459 2013-09-09  Allan McRae  <allan@archlinux.org>
13460
13461         [BZ #15939]
13462         * manual/string.texi (Collation Functions): Fix typo in
13463         strcoll example.
13464         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13465
13466         [BZ #15893]
13467         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13468
13469         [BZ #15892]
13470         * libio/memstream.c (open_memstream): Fix memory leak.
13471         * libio/wmemstream.c (open_wmemstream): Likewise.
13472
13473         [BZ #15895]
13474         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13475
13476 2013-09-09  Will Newton  <will.newton@linaro.org>
13477
13478         * malloc/Makefile: Add tst-realloc to tests.
13479         * malloc/tst-realloc.c: New file.
13480
13481 2013-09-09  Allan McRae  <allan@archlinux.org>
13482
13483         [BZ #15844]
13484         * COPYING: Update from GNU website to fix FSF address.
13485         * COPYING.LIB: Likewise.
13486
13487 2013-09-06  David S. Miller  <davem@davemloft.net>
13488
13489         * po/zh_TW.po: Update Chinese (traditional) translation from
13490         translation project.
13491
13492 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13493             Joseph Myers  <joseph@codesourcery.com>
13494
13495         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13496         "localeinfo.h".
13497         (obstack_chunk_alloc): New macro.
13498         (obstack_chunk_free): Likewise.
13499         (record_offset): New function.
13500         (init_locale_data): Likewise.
13501         (align_locale_data): Likewise.
13502         (add_locale_empty): Likewise.
13503         (add_locale_raw_data): Likewise.
13504         (add_locale_raw_obstack): Likewise.
13505         (add_locale_string): Likewise.
13506         (add_locale_wstring): Likewise.
13507         (add_locale_uint32): Likewise.
13508         (add_locale_uint32_array): Likewise.
13509         (add_locale_char): Likewise.
13510         (start_locale_structure): Likewise.
13511         (end_locale_structure): Likewise.
13512         (start_locale_prelude): Likewise.
13513         (end_locale_prelude): Likewise.
13514         (write_locale_data): Take locale_file structure rather than an
13515         iovec.
13516         * locale/programs/locfile.h: Include "obstack.h".
13517         (struct locale_file): Change to store locale file contents instead
13518         of header.
13519         (init_locale_data): New prototype.
13520         (align_locale_data): Likewise.
13521         (add_locale_empty): Likewise.
13522         (add_locale_raw_data): Likewise.
13523         (add_locale_raw_obstack): Likewise.
13524         (add_locale_string): Likewise.
13525         (add_locale_wstring): Likewise.
13526         (add_locale_uint32): Likewise.
13527         (add_locale_uint32_array): Likewise.
13528         (add_locale_char): Likewise.
13529         (start_locale_structure): Likewise.
13530         (end_locale_structure): Likewise.
13531         (start_locale_prelude): Likewise.
13532         (end_locale_prelude): Likewise.
13533         (write_locale_data): Update prototype.
13534         * locale/programs/3level.h (struct TABLE): Remove result field.
13535         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13536         Use new locale_file interface.
13537         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13538         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13539         * locale/programs/ld-address.c (address_output): Use new
13540         locale_file interface.
13541         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13542         NO_ADD_LOCALE.
13543         (collate_finish): Don't call collseq_table_finalize.
13544         (collate_output): Use new locale_file interface.
13545         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13546         in file.
13547         (NO_FINALIZE): Change to NO_ADD_LOCALE.
13548         (TABLE): Move defines earlier in file.
13549         (ELEMENT): Likewise.
13550         (DEFAULT): Likewise.
13551         (wctrans_table_add): Move macro and inline function earlier in
13552         file.
13553         (struct wctype_table): Move type earlier in file.
13554         (add_locale_wctype_table): New static prototype.
13555         (struct locale_ctype_t): Use logical types instead of struct iovec
13556         pointers for members.
13557         (ctype_output): Use new locale_file interface.
13558         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
13559         new locale_file interface.
13560         (allocate_arrays): Update for use of new locale_file interface.
13561         * locale/programs/ld-identification.c (identification_output): Use
13562         new locale_file interface.
13563         * locale/programs/ld-measurement.c (measurement_output): Likewise.
13564         * locale/programs/ld-messages.c (messages_output): Likewise.
13565         * locale/programs/ld-monetary.c (monetary_output): Likewise.
13566         * locale/programs/ld-name.c (name_output): Likewise.
13567         * locale/programs/ld-numeric.c (numeric_output): Likewise.
13568         * locale/programs/ld-paper.c (paper_output): Likewise.
13569         * locale/programs/ld-telephone.c (telephone_output): Likewise.
13570         * locale/programs/ld-time.c (time_output): Likewise.
13571
13572 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13573
13574         * benchtests/Makefile: Add memrchr benchmark.
13575         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13576         benchmark as memrchr.
13577         * benchtests/bench-memrchr-ifunc.c: New file.
13578         * benchtests/bench-memrchr.c: New file.
13579
13580 2013-09-06   Will Newton  <will.newton@linaro.org>
13581
13582         * benchtests/Makefile (string-bench): Add memcpy.
13583
13584 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
13585             Cong Wang  <amwang@redhat.com>
13586
13587         [BZ #15850]
13588         * sysdeps/unix/sysv/linux/bits/in.h
13589         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13590         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13591         before __USE_KERNEL_IPV6_DEFS uses.
13592         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13593         IPPROTO_BEETPH.
13594         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13595         sockaddr_in6, or ipv6_mreq.
13596
13597 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13598
13599         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13600         memory access for final bytes in some large inputs.
13601         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13602
13603 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13604
13605         * string/test-memrchr.c: New file.
13606         * string/test-memrchr-ifunc.c: New file.
13607         * string/Makefile: Add new memrchr testcase.
13608
13609 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
13610
13611         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13612         fanotify_init returns EPERM.
13613
13614 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13615
13616         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13617         errors.
13618         (top level): Treat second token from macro or constant entries for
13619         allowed headers as allowed.
13620         * include/complex.h: Condition internal declarations on
13621         [!_ISOMAC].
13622         * include/fenv.h: Condition include of <stdbool.h> and internal
13623         declarations on [!_ISOMAC].
13624
13625 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
13626
13627         [BZ #15923]
13628         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13629
13630 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
13631
13632         * configure.in (--enable-versioning): Remove configure option.
13633         (libc_cv_asm_symver_directive): Remove configure test.
13634         (libc_cv_ld_version_script_option): Likewise.
13635         (VERSIONING): Remove variable and AC_SUBST.
13636         (DO_VERSIONING): Remove AC_DEFINE.
13637         * configure: Regenerated.
13638         * config.h.in (DO_VERSIONING): Remove macro.
13639         * Makerules [$(versioning) = yes]: Change conditionals to
13640         [$(build-shared) = yes].
13641         * config.make.in (versioning): Remove variable.
13642         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13643         [$(build-shared) = yes].
13644         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13645         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13646         * elf/Makefile [$(versioning) = yes]: Change conditionals to
13647         [$(build-shared) = yes].
13648         * extra-lib.mk [$(versioning) = yes]: Likewise.
13649         * hurd/Makefile [$(versioning) = yes]: Likewise.
13650         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13651         [SHARED].
13652         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13653         [SHARED].
13654         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13655         [SHARED && !NO_HIDDEN].
13656         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13657         [SHARED].
13658         [SHARED && DO_VERSIONING]: Likewise..
13659         * libio/Makefile [$(versioning) = yes]: Change conditionals to
13660         [$(build-shared) = yes].
13661         * manual/install.texi (--disable-versioning): Remove
13662         documentation.
13663         * INSTALL: Regenerated.
13664         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13665         to [SHARED].
13666         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13667         [$(build-shared) = yes].
13668         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13669         * sysdeps/i386/i686/multiarch/strstr-c.c
13670         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13671         [SHARED && !NO_HIDDEN].
13672         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13673         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13674         * sysdeps/powerpc/powerpc32/dl-machine.c
13675         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13676         * sysdeps/powerpc/powerpc32/sysdep.h
13677         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13678         to [SHARED && PIC && !NO_HIDDEN].
13679         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13680         conditional to [SHARED].
13681
13682 2013-09-04   Will Newton  <will.newton@linaro.org>
13683
13684         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13685         * benchtests/bench-string.h: Include bench-timing.h instead
13686         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13687         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13688         call to HP_TIMING_DIFF_INIT.
13689         * benchtests/bench-memccpy.c: Use bench-timing.h macros
13690         instead of hp-timing.h macros.
13691         * benchtests/bench-memchr.c: Likewise.
13692         * benchtests/bench-memcmp.c: Likewise.
13693         * benchtests/bench-memcpy.c: Likewise.
13694         * benchtests/bench-memmem.c: Likewise.
13695         * benchtests/bench-memmove.c: Likewise.
13696         * benchtests/bench-memset.c: Likewise.
13697         * benchtests/bench-rawmemchr.c: Likewise.
13698         * benchtests/bench-strcasecmp.c: Likewise.
13699         * benchtests/bench-strcasestr.c: Likewise.
13700         * benchtests/bench-strcat.c: Likewise.
13701         * benchtests/bench-strchr.c: Likewise.
13702         * benchtests/bench-strcmp.c: Likewise.
13703         * benchtests/bench-strcpy.c: Likewise.
13704         * benchtests/bench-strcpy_chk.c: Likewise.
13705         * benchtests/bench-strlen.c: Likewise.
13706         * benchtests/bench-strncasecmp.c: Likewise.
13707         * benchtests/bench-strncat.c: Likewise.
13708         * benchtests/bench-strncmp.c: Likewise.
13709         * benchtests/bench-strncpy.c: Likewise.
13710         * benchtests/bench-strnlen.c: Likewise.
13711         * benchtests/bench-strpbrk.c: Likewise.
13712         * benchtests/bench-strrchr.c: Likewise.
13713         * benchtests/bench-strspn.c: Likewise.
13714         * benchtests/bench-strstr.c: Likewise.
13715
13716 2013-09-04  Will Newton  <will.newton@linaro.org>
13717
13718         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13719
13720 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
13721
13722         [BZ #15427]
13723         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13724         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13725         * math/libm-test.inc (lgamma_test_data): Add more tests.
13726         * sysdeps/i386/fpu/libm-test-ulps: Update.
13727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13728
13729 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
13730
13731         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13732         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13733         Add ifunc.
13734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13735         Add strcmp-sse2-unaligned
13736         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13737
13738 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13739
13740         * Versions.def (libc): Add GLIBC_2.19.
13741
13742 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
13743
13744         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13745         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13746
13747 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
13748
13749         [BZ #14155]
13750         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13751         intermediate calculations in recurrence.
13752         (__ieee754_ynf): Likewise.
13753         * math/libm-test.inc (jn_test_data): Do not allow spurious
13754         underflow exception.  Add more tests.
13755         (yn_test_data): Add more tests.
13756         * sysdeps/i386/fpu/libm-test-ulps: Update.
13757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13758
13759 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
13760
13761         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13762
13763 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13764
13765         * csu/init-first.c: Fix then/than typos.
13766         * locale/programs/ld-collate.c: Likewise.
13767         * locale/programs/linereader.h: Likewise.
13768         * manual/charset.texi: Likewise.
13769         * manual/filesys.texi: Likewise.
13770         * manual/stdio.texi: Likewise.
13771         * manual/string.texi: Likewise.
13772         * stdlib/fmtmsg.c: Likewise.
13773         * sysdeps/i386/stpncpy.S: Likewise.
13774         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13775         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13776         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13777         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13778
13779 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
13780
13781         * elf/dl-open.c: Fix typos.
13782         * iconvdata/gbbig5.c: Likewise.
13783         * iconvdata/iso-2022-jp.c: Likewise.
13784         * iconv/gconv_int.h: Likewise.
13785         * iconv/loop.c: Likewise.
13786         * nis/rpcsvc/nis.h: Likewise.
13787         * resolv/ns_name.c: Likewise.
13788         * stdio-common/vfscanf.c: Likewise.
13789         * streams/stropts.h: Likewise.
13790         * sunrpc/rpc_thread.c: Likewise.
13791         * sysdeps/i386/strpbrk.S: Likewise.
13792         * sysdeps/ieee754/k_standard.c: Likewise.
13793         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13795         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13796         * sysdeps/mach/hurd/profil.c: Likewise.
13797         * sysdeps/s390/dl-procinfo.h: Likewise.
13798         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13799         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13800         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13801         * sysdeps/x86_64/dl-trampoline.S: Likewise.
13802         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13803
13804 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
13805
13806         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13808
13809 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
13810
13811         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13812         aix specific files.
13813         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13814         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13815         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13816         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13817         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13818         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13820         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13821
13822 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13823             Roland McGrath  <roland@hack.frob.com>
13824
13825         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13826         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13827
13828 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13829
13830         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13831         __executable_start symbol instead of _start.
13832
13833 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
13834
13835         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13836         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13837         Move macros to...
13838         * sysdeps/gnu/ldsodefs.h: ... this new file.
13839
13840         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13841         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13842         instead of ELFOSABI_LINUX.
13843
13844         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13845         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13846         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13847         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13848         Likewise.
13849         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13850         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13851         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13852         Likewise.
13853         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13854         (ibm_extended_long_double): Add ieee_nan member.
13855         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13856         (do_test): New function.
13857
13858         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13859         TEST_TRUNC.
13860         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13861         functions, renamed from truncdfsf_test, trunctfsf_test,
13862         trunctfdf_test.
13863         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13864         functions.
13865         (do_test): Run all these.
13866
13867 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
13868
13869         * argp/argp-help.c: Fix typos.
13870         * argp/argp-parse.c: Likewise.
13871         * debug/backtracesyms.c: Likewise.
13872         * elf/elf.h: Likewise.
13873         * malloc/malloc.c: Likewise.
13874         * nis/nis_print.c: Likewise.
13875         * resolv/res_comp.c: Likewise.
13876         * stdlib/stdlib.h: Likewise.
13877         * sunrpc/clnt_tcp.c: Likewise.
13878         * sunrpc/clnt_udp.c: Likewise.
13879         * sunrpc/clnt_unix.c: Likewise.
13880         * sysdeps/unix/bsd/ptsname.c: Likewise.
13881         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13882         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13884         Likewise.
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13886         Likewise.
13887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13888         Likewise.
13889         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13890
13891 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13892
13893         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13895
13896 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
13897
13898         [BZ #15897]
13899         * dlfcn/Makefile (tests): Add bug-dl-leaf.
13900         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13901         ($(objpfx)bug-dl-leaf): New rule.
13902         ($(objpfx)bug-dl-leaf.so): Likewise.
13903         ($(objpfx)bug-dl-leaf.out): Likewise.
13904         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13905         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13906         * dlfcn/bug-dl-leaf.c: New test.
13907         * dlfcn/bug-dl-leaf-lib.c: Likewise.
13908         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13909         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13910         (dlclose): Likewise.
13911         (dlmopen): Likewise.
13912
13913 2013-08-27  Roland McGrath  <roland@hack.frob.com>
13914
13915         * include/netdb.h [!_ISOMAC]:
13916         Don't include <tls.h>.
13917         (h_errno, __libc_h_errno): Move declaration and macros out of
13918         [_LIBC_REENTRANT].
13919
13920         * include/resolv.h [_RESOLV_H_]:
13921         Don't include <tls.h>.
13922         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13923         * resolv/res_libc.c: Don't include <tls.h>.
13924         (_res): Use __attribute__ ((nocommon)) in place of
13925         __attribute__ ((section (".bss"))).
13926
13927         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13928         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13929
13930         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13931
13932         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13933         only under [SIOCGIFCONF && SIOCGIFNETMASK].
13934
13935         * resolv/res_mkquery.c: Include <sys/time.h>.
13936
13937         * inet/ifreq.c: Moved to ...
13938         * sysdeps/unix/ifreq.c: ... here.
13939         * inet/ifreq.c: New file, true stub version.
13940
13941         * socket/sa_len.c: New file.
13942         * socket/Makefile (aux): Add it.
13943         * sysdeps/unix/sysv/linux/Makefile
13944         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13945         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13946         and #include <socket/sa_len.c>.
13947         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13948         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13949
13950         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13951         * bits/socket.h: ... here.
13952
13953         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13954         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13955         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13956
13957 2013-08-27  Andreas Schwab  <schwab@suse.de>
13958
13959         [BZ #15736]
13960         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13961         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13962         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13963         * string/test-strcasecmp.c (test_main): Run tests in several
13964         locales.
13965         * string/test-strncasecmp.c (test_main): Likewise.
13966
13967         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13968         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13969         to __strcasecmp_nonascii and __strncasecmp_nonascii.
13970         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13971         (__strncasecmp_ssse3) [PIC]: Likewise.
13972
13973 2013-08-26  Roland McGrath  <roland@hack.frob.com>
13974
13975         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13976
13977         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13978         instead of explicitly declaring xdecrypt.
13979         * nis/nss_nis/nis-publickey.c: Likewise.
13980
13981 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13982
13983         [BZ #15890]
13984         * nscd/aicache.c: Include res_hconf.h.
13985         (addhstaiX): Initialize res_hconf.
13986
13987 2013-08-26  Andreas Schwab  <schwab@suse.de>
13988
13989         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13990         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13991
13992 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13993
13994         * nscd/aicache.c (addhstaiX): Fix indentation.
13995
13996 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
13997
13998         * configure.ac: Quote $build_pt_chown test.
13999         * configure: Regenerated.
14000
14001 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14002
14003         [BZ #15532]
14004         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14005         * math/s_cexpf.c (__cexpf): Likewise.
14006         * math/s_cexpl.c (__cexpl): Likewise.
14007         * math/libm-test.inc (cexp_test_data): Correct expected return
14008         value for NaN + i0.  Add another test.
14009
14010 2013-08-22  David S. Miller  <davem@davemloft.net>
14011
14012         * po/ca.po: Update Catalan translation from translation project.
14013         * po/uk.po: Add Ukrainian translations from translation project.
14014
14015 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14016
14017         [BZ #15797]
14018         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14019         is infinite, not alongside NaN test.
14020         * math/s_fdimf.c (__fdimf): Likewise.
14021         * math/s_fdiml.c (__fdiml): Likewise.
14022         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14023         errno is unchanged.
14024
14025 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14026
14027         * argp/argp-help.c: Fix typos.
14028         * crypt/speeds.c: Likewise.
14029         * csu/check_fds.c: Likewise.
14030         * elf/dl-load.c: Likewise.
14031         * elf/dl-open.c: Likewise.
14032         * elf/reldep3.c: Likewise.
14033         * elf/reldep.c: Likewise.
14034         * elf/sprof.c: Likewise.
14035         * iconv/iconv_charmap.c: Likewise.
14036         * iconv/skeleton.c: Likewise.
14037         * iconv/strtab.c: Likewise.
14038         * io/lockf64.c: Likewise.
14039         * libio/libioP.h: Likewise.
14040         * resolv/gai_notify.c: Likewise.
14041         * resolv/ns_name.c: Likewise.
14042         * resolv/ns_samedomain.c: Likewise.
14043         * resolv/res_send.c: Likewise.
14044         * stdlib/random.c: Likewise.
14045         * sunrpc/rpc/xdr.h: Likewise.
14046         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14047         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14048         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14049         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14050         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14051         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14052         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14053         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14054         * sysdeps/mach/hurd/check_fds.c: Likewise.
14055         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14056         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14057         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14058         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14059         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14060         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14061         * sysdeps/pthread/aio_notify.c: Likewise.
14062         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14063         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14064         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14065         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14066         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14067
14068 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14069
14070         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14071         version if bit_Slow_SSE4_2 is set.
14072         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14073         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14074
14075 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14076
14077         [BZ #15867]
14078         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14079         trampoline stack frame information.
14080         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14081         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14082         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14083         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14084         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14085         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14086         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14087         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14088         sa_flags value.
14089         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14090         interrupting a syscall and set with option SA_SIGINFO.
14091
14092 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14093
14094         [BZ #15531]
14095         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14096         argument is infinite.
14097         * math/s_cprojf.c (__cprojf): Likewise.
14098         * math/s_cprojl.c (__cprojl): Likewise.
14099         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14100         * math/libm-test.inc (cproj_test_data): Add more tests.
14101
14102         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14103
14104         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14105         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14106         size.  Use __ffs to determine corresponding shift.
14107
14108 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14109             Roland McGrath  <roland@hack.frob.com>
14110
14111         * Makefile (INSTALL): Remove trailing blank lines from output of
14112         makeinfo.
14113
14114 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14115
14116         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14117         Align 32 bit compat elf_greg to 8 bytes.
14118
14119 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14120
14121         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14122
14123 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14124
14125         * string/strcoll_l.c (coll_seq): New structure.
14126         (get_next_seq_cached): New function.
14127         (get_next_seq): New function.
14128         (do_compare): New function.
14129         (STRCOLL): Use GNU style definition.  Simplify implementation
14130         by using get_next_seq, get_next_seq_cached and do_compare.
14131
14132 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14133
14134         [BZ #14699]
14135         CVE-2013-4237
14136         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14137         member.
14138         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14139         member.
14140         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14141         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14142         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14143         conditional.
14144         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14145         GETDENTS_64BIT_ALIGNED.
14146         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14147         * manual/filesys.texi (Reading/Closing Directory): Document
14148         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14149         strongly.
14150         * manual/conf.texi (Limits for Files): Add portability note to
14151         NAME_MAX, PATH_MAX.
14152         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14153
14154 2013-08-13  Andreas Schwab  <schwab@suse.de>
14155
14156         [BZ #15749]
14157         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14158         of fabs.
14159         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14160         LDBL_MAX_EXP >= 16384]: Add tests for it.
14161
14162 2013-08-12  David S. Miller  <davem@davemloft.net>
14163
14164         * version.h (RELEASE): Set to "development".
14165         (VERSION): Set to "2.18.90".
14166         * NEWS: Add 2.19 section.
14167
14168 2013-08-03  David S. Miller  <davem@davemloft.net>
14169
14170         * po/ko.po: Update Korean translation from translation project.
14171
14172 2013-08-01  David S. Miller  <davem@davemloft.net>
14173
14174         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14175         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14176         Bilka.
14177
14178 2013-07-30  David S. Miller  <davem@davemloft.net>
14179
14180         * po/fr.po: Update French translation from translation project.
14181
14182 2013-07-28  David S. Miller  <davem@davemloft.net>
14183
14184         * po/cs.po: Update Czech translation from translation project.
14185
14186         * po/sv.po: Update Swedish translation from translation project.
14187
14188 2013-07-27  David S. Miller  <davem@davemloft.net>
14189
14190         * po/eo.po: Update Esperanto translation from translation project.
14191
14192         * po/vi.po: Update Vietnamese translation from translation project.
14193
14194         * po/de.po: Update German translation from translation project.
14195
14196 2013-07-26  David S. Miller  <davem@davemloft.net>
14197
14198         * po/bg.po: Update Bulgarian translation from translation project.
14199
14200         * po/nl.po: Update Dutch translation from translation project.
14201         * po/pl.po: Update Polish translation from translation project.
14202         * po/ru.po: Update Russian translation from translation project.
14203
14204 2013-07-24  David S. Miller  <davem@davemloft.net>
14205
14206         * po/libc.pot: Update.
14207
14208 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14209
14210         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14211         variable page size.
14212         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14213         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14214         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14215
14216 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14217
14218         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14219
14220 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14221             Andreas Schwab  <schwab@suse.de>
14222             Roland McGrath  <roland@hack.frob.com>
14223             Joseph Myers  <joseph@codesourcery.com>
14224             Carlos O'Donell  <carlos@redhat.com>
14225
14226         [BZ #15755]
14227         * config.h.in: Define HAVE_PT_CHOWN.
14228         * config.make.in (build-pt-chown): New variable.
14229         * configure.in (--enable-pt_chown): New configure option.
14230         * configure: Regenerate.
14231         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14232         build-pt-chown is enabled.
14233         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14234         pt_chown to fix pty ownership.
14235         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14236         CLOSE_ALL_FDS.
14237         * manual/install.texi (Configuring and compiling): Mention
14238         --enable-pt_chown. Add @findex for grantpt.
14239         * INSTALL: Regenerate.
14240
14241 2013-07-20  David S. Miller  <davem@davemloft.net>
14242
14243         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14244         difference between 32-bit and 64-bit.
14245
14246 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14247
14248         [BZ #15711]
14249         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14250         Avoid system header dependency with -ffreestanding.
14251         ($(objpfx)bits/syscall%d): Likewise.
14252
14253 2013-07-13  David S. Miller  <davem@davemloft.net>
14254
14255         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14256         underflows from atanl/atan2l due to bug 15319.
14257         (casinh_test_data): Likewise.
14258
14259 2013-07-07  David S. Miller  <davem@davemloft.net>
14260
14261         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14262
14263 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14264
14265         * sysdeps/i386/fpu/libm-test-ulps: Update.
14266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14267
14268 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14269
14270         * configure.in (--enable-lock-elision): Fix message text.
14271         * INSTALL: Regenerate.
14272         * configure: Regenerate.
14273
14274 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14275
14276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14277
14278 2013-07-03  Andreas Jaeger  <aj@suse.de>
14279
14280         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14281         define.
14282         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14283         (ptrace_peeksiginfo_args): Add.
14284         (__ptrace_peeksiginfo_flags): Add.
14285         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14286         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14287         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14288
14289 2013-07-03  Allan McRae  <allan@archlinux.org>
14290
14291         * sysdeps/i386/fpu/libm-test-ulps: Update.
14292
14293 2013-07-02  David S. Miller  <davem@davemloft.net>
14294
14295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14296
14297 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14298
14299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14300
14301 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14302
14303         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14305
14306 2013-07-02  Andi Kleen <ak@linux.intel.com>
14307
14308         * config.h.in (ENABLE_LOCK_ELISION): Add.
14309         * configure.in (--enable-lock-elision): Add option.
14310         * manual/install.texi: Document --enable lock elision.
14311         * configure: Regenerate
14312         * INSTALL: Regenerate.
14313
14314 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14315
14316         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14317         SSE4.2 strcasecmp for libc.a.
14318         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14319
14320 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14321
14322         [BZ #13304]
14323         * soft-fp/op-common.h (_FP_FMA): New macro.
14324         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14325         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14326         (_FP_MUL_MEAT_1_imm): ... here.
14327         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14328         (_FP_MUL_MEAT_1_wide): ... here.
14329         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14330         (_FP_MUL_MEAT_1_hard): ... here.
14331         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14332         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14333         (_FP_MUL_MEAT_2_wide): ... here.
14334         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14335         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14336         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14337         (_FP_MUL_MEAT_2_gmp): ... here.
14338         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14339         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14340         (_FP_MUL_MEAT_4_wide): ... here.
14341         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14342         (_FP_MUL_MEAT_4_gmp): ... here.
14343         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14344         (_FP_WFRACBITS_DW_S): Likewise.
14345         (_FP_WFRACXBITS_DW_S): Likewise.
14346         (_FP_HIGHBIT_DW_S): Likewise.
14347         (FP_FMA_S): Likewise.
14348         (_FP_FRAC_HIGH_DW_S): Likewise.
14349         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14350         (_FP_WFRACBITS_DW_D): Likewise.
14351         (_FP_WFRACXBITS_DW_D): Likewise.
14352         (_FP_HIGHBIT_DW_D): Likewise.
14353         (FP_FMA_D): Likewise.
14354         (_FP_FRAC_HIGH_DW_D): Likewise.
14355         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14356         (_FP_WFRACBITS_DW_E): Likewise.
14357         (_FP_WFRACXBITS_DW_E): Likewise.
14358         (_FP_HIGHBIT_DW_E): Likewise.
14359         (FP_FMA_E): Likewise.
14360         (_FP_FRAC_HIGH_DW_E): Likewise.
14361         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14362         (_FP_WFRACBITS_DW_Q): Likewise.
14363         (_FP_WFRACXBITS_DW_Q): Likewise.
14364         (_FP_HIGHBIT_DW_Q): Likewise.
14365         (FP_FMA_Q): Likewise.
14366         (_FP_FRAC_HIGH_DW_Q): Likewise.
14367         * soft-fp/fmasf4.c: New file.
14368         * soft-fp/fmadf4.c: Likewise.
14369         * soft-fp/fmatf4.c: Likewise.
14370
14371 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14372
14373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14374         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14375         Silvermont.
14376         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14377         macro.
14378         (index_Slow_SSE4_2): Likewise.
14379         (index_Prefer_PMINUB_for_stringop): Likewise.
14380         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14381         bit_Slow_SSE4_2 is set.
14382         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14383         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14384
14385 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14386
14387         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14388         rtld_global._dl_hwcap2.
14389         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14390         POWER8.
14391         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14392         POWER8 feature descriptions defined in _dl_hwcap2.
14393         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14394         string handling for POWER8 feature bits.
14395         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14396         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14397         _dl_powerpc_cap_flags.
14398         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14399         * sysdeps/powerpc/rtld-global-offsets.sym
14400         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14401         _dl_hwcap2 in the rtld_global_ro structure.
14402
14403 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14404
14405         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14406         hardware capabilities in support of AT_HWCAP2.
14407         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14408         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14409         GLRO(dl_hwcap2).
14410         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14411         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14412         explicitly the unknown a_type display mechanism is used.
14413         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14414         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14415         struct member.
14416         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14417         to macro prototype for AT_HWCAP2 support.
14418         * sysdeps/i386/dl-procinfo.h: Likewise.
14419         * sysdeps/s390/dl-procinfo.h: Likewise.
14420         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14421         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14422         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14423         return -1 for unknown a_type display fallback.
14424         * sysdeps/sparc/dl-procinfo.h: Likewise.
14425         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14426         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14427
14428 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14429
14430         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14431         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14432
14433 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14434
14435         [BZ #12492]
14436         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14437         mprotect making __stack_prot writable.
14438
14439 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14440             Joseph Myers  <joseph@codesourcery.com>
14441
14442         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14443         as being properly aligned.
14444
14445 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14446
14447         * dlfcn/modstatic5.c: New file.
14448         * dlfcn/tststatic5.c: New file.
14449         * dlfcn/Makefile (tests): Add tststatic5.
14450         (tests-static): Likewise.
14451         (modules-names): Add modstatic5.
14452         (tststatic5-ENV): New variable.
14453         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14454
14455         [BZ #15022]
14456         * elf/dl-support.c (_dl_main_map): New variable.
14457         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14458         (_dl_nns, _dl_load_adds): Set to 1.
14459         (_dl_initial_searchlist): Refer to _dl_main_map.
14460         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14461         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14462         call to _dl_get_origin.
14463         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14464         around call_map.
14465         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14466         * dlfcn/modstatic3.c: New file.
14467         * dlfcn/tststatic3.c: New file.
14468         * dlfcn/tststatic4.c: New file.
14469         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14470         (tests-static): Likewise.
14471         (modules-names): Add modstatic3.
14472         (tststatic3-ENV, tststatic4-ENV): New variables.
14473         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14474         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14475
14476 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14477
14478         * configure.in (CC): Require GCC version 4.4 or later.
14479         * configure: Regenerated.
14480         * manual/install.texi (Tools for Compilation): Update GCC version
14481         requirement.
14482         * INSTALL: Regenerated.
14483
14484 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14485
14486         [BZ #15674]
14487         * string/test-memcmp.c (check2): New.
14488         (main): Call check2.
14489
14490         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14491
14492 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14493
14494         [BZ #15022]
14495         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14496         over to...
14497         (dl_open_worker) [!SHARED]: ... here.
14498
14499 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14500
14501         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14502
14503 2013-06-25  Richard Henderson  <rth@redhat.com>
14504
14505         * locale/programs/locarchive.c: Include <libc-internal.h>
14506
14507 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
14508
14509         * manual/texinfo.tex: Update to version 2013-06-21.17, with
14510         trailing whitespace removed.
14511
14512 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14513
14514         [BZ #10283]
14515         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14516         * locale/programs/locarchive.c: Include libc-mmap.h.
14517         (prepare_address_space): Take two new outputs (the mmap base and len).
14518         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
14519         values.
14520         (create_archive): Declare new mmap base and len values for
14521         prepare_address_space, and store the result in ah.
14522         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14523         (enlarge_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         Declare new mmap base and len values for
14526         prepare_address_space, and store the result in new_ah.
14527         (open_archive): Declare new mmap base and len values for
14528         prepare_address_space, and store the result in ah.
14529         (close_archive): If ah->mmap_base is not NULL, use that and
14530         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14531         * sysdeps/generic/libc-mmap.h: New file.
14532
14533 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
14534
14535         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14536         (ALIGN_UP): Likewise.
14537         (PTR_ALIGN_DOWN): Likewise.
14538         (PTR_ALIGN_UP): Likewise.
14539
14540 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14541
14542         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14543         entry mapped to PPC_PLATFORM_POWER8.
14544         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14545         POWER8.
14546         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14547         (_dl_string_platform): Add case for exporting platform position for
14548         POWER8.
14549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14550         search path to sysdeps/powerpc/powerpc32/power8 directory.
14551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14552         search path to sysdeps/powerpc/powerpc64/power8 directory.
14553         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14554         power7 directories.
14555         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14556         power7 directories.
14557
14558 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14559
14560         * INSTALL: Regenerate.
14561
14562         * nscd/connections.c (nscd_init): Fix comment.
14563
14564 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
14565
14566         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14567
14568         [BZ #15667]
14569         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14570         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14571
14572 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14573
14574         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14575         DL_DST_REQ_STATIC.
14576         (DL_DST_REQ_STATIC): Remove macro.
14577
14578 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
14579
14580         [BZ #7006]
14581         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14582         with a shift of 0 bits.
14583
14584 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
14585
14586         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14587         $(tststatic-ENV).
14588
14589 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14590
14591         [BZ #15655]
14592         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14593
14594 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14595
14596         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14597         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14598         accepts -fno-tree-loop-distribute-patterns.
14599         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14600         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14601         recursive call.
14602         * string/memset.c (memset): Likewise.
14603         * string/test-memmove.c (simple_memmove): Disable loop transformation
14604         to library calls.
14605         * string/test-memset.c (simple_memset): Likewise.
14606         * benchtests/bench-memmove.c (simple_memmove): Likewise.
14607         * benchtests/bench-memset.c (simple_memset): Likewise.
14608         * configure: Regenerated.
14609
14610 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
14611
14612         * math/test-misc.c (main): Ignore fesetround failure when failures
14613         of subsequent rounding tests would be ignored.
14614
14615         [BZ #15654]
14616         * math/fedisblxcpt.c (fedisableexcept): Return 0.
14617         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14618         * math/fegetenv.c (__fegetenv): Return 0.
14619         * math/fegetexcept.c (fegetexcept): Return 0.
14620         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14621         FE_TONEAREST.
14622         * math/feholdexcpt.c (feholdexcept): Return 0.
14623         * math/fesetenv.c (__fesetenv): Return 0.
14624         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14625         argument FE_TONEAREST.
14626         * math/feupdateenv.c (__feupdateenv): Return 0.
14627         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14628
14629 2013-06-18  Roland McGrath  <roland@hack.frob.com>
14630
14631         * elf/rtld-Rules (rtld-compile-command.S): New variable.
14632         (rtld-compile-command.s, rtld-compile-command.c): New variables.
14633         ($(objpfx)rtld-%.os rules): Use them.
14634
14635 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14636
14637         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14638         fields.
14639
14640 2013-06-17  Roland McGrath  <roland@hack.frob.com>
14641
14642         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14643         length of target pattern, then descending length of dependency pattern.
14644         * configure.in (AWK): Require gawk 3.1.2 or newer.
14645         * manual/install.texi (Tools for Compilation): Say that we do.
14646         * configure: Regenerated.
14647
14648         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14649         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14650         * scripts/sysd-rules.awk: ... this new script.
14651         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14652         than a glob-style pattern.
14653
14654 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
14655
14656         * math/test-misc.c (main): Do not treat incorrectly rounded
14657         conversions as failure unless ROUNDING_TESTS passes.
14658
14659 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
14660
14661         [BZ #15631]
14662         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14663         restore exception state around main square root computation, then
14664         check for inexactness explicitly.
14665
14666         * math/libm-test.inc (fma_test_data): Add another test.
14667
14668 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14669
14670         * manual/threads.texi (Non-POSIX Extensions): New document
14671         node.  Document pthread_getattr_default_np and
14672         pthread_setattr_default_np.
14673
14674         * Versions.def (libpthread): Add GLIBC_2.18.
14675         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14677         Likewise.
14678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14679         Likewise.
14680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14681         Likewise.
14682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14683         Likewise.
14684         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14685         Likewise.
14686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14687         Likewise.
14688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14689         Likewise.
14690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14691         Likewise.
14692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14693         Likewise.
14694
14695 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14696
14697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14698         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14699
14700 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14701             H.J. Lu  <hjl.tools@gmail.com>
14702
14703         [BZ #15627]
14704         * sysdeps/x86_64/rtld-memset.c: Remove file.
14705         * sysdeps/x86_64/rtld-memset.S: New file.
14706
14707 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
14708
14709         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14710         (test_in_one_mode): Take arguments for whether the rounding mode
14711         is supported for each floating-point type.
14712         (do_test): Pass new arguments to test_in_one_mode using
14713         ROUNDING_TESTS.
14714
14715 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14716
14717         * posix/tst-waitid.c (do_test): Distinguish different instances of
14718         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
14719         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14720         before entering the kernel for waitpid.
14721
14722 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14723
14724         * NEWS: Fix note on clock function precision.  Text by Roland
14725         McGrath.
14726
14727 2013-06-13  Roland McGrath  <roland@hack.frob.com>
14728
14729         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14730         it into place only when and if the sanity check passes.
14731
14732 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
14733
14734         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14735         output for whether conversion result is exact.  Take argument
14736         indicating whether type is IBM long double.
14737         (round_for_all): Change need_exact field to ibm_ld.
14738         * stdlib/tst-strtod-round.c (struct exactness): New type.
14739         (struct test): Change bool ld_ok field to struct exactness exact.
14740         (TEST): Update all definitions for change to field.
14741         (tests): Regenerate array contents.
14742         (test_in_one_mode): Take pointer to new field instead of old ld_ok
14743         field value.  Check for IBM long double here.
14744         (do_test): Update calls to test_in_one_mode.
14745
14746 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14747
14748         [BZ #12515]
14749         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14750         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14751
14752 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14753
14754         [BZ #15605]
14755         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14756         generated by the compiler on loop optimizations.
14757         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14758         general definitions.
14759
14760 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
14761
14762         * math/bug-nextafter.c: Include <math-tests.h>.
14763         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14764         the relevant type.
14765         * math/bug-nexttoward.c: Include <math-tests.h>.
14766         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14767         the relevant type.
14768         * math/test-misc.c: Include <math-tests.h>.
14769         (main): Only test for exceptions if EXCEPTION_TESTS is true for
14770         the relevant type.
14771
14772 2013-06-12  Andreas Jaeger  <aj@suse.de>
14773
14774         * po/ia.po: Update Interlingua translation from translation
14775         project.
14776
14777 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14778
14779         * include/fenv.h: Include stdbool.h.
14780         (struct rm_ctx): New structure.
14781         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14782         Define macro.
14783         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14784         (SET_RESTORE_ROUNDF): Likewise.
14785         (SET_RESTORE_ROUNDL): Likewise.
14786         (SET_RESTORE_ROUND_NOEX): Likewise.
14787         (SET_RESTORE_ROUND_NOEXF): Likewise.
14788         (SET_RESTORE_ROUND_NOEXL): Likewise.
14789         (SET_RESTORE_ROUND_53BIT): Likewise.
14790         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14791         (libc_feresetround_noexf_ctx): Likewise.
14792         (libc_feresetround_noexl_ctx): Likewise.
14793         (libc_feholdsetround_53bit_ctx): Likewise.
14794         (libc_feresetround_53bit_ctx): Likewise.
14795         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14796         (libc_feholdexcept_setround_sse_ctx): New function.
14797         (libc_fesetenv_sse_ctx): Likewise.
14798         (libc_feupdateenv_sse_ctx): Likewise.
14799         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14800         (libc_feholdexcept_setround_387_ctx): Likewise.
14801         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14802         (libc_feholdsetround_387_prec_ctx): Likewise.
14803         (libc_feholdsetround_387_ctx): Likewise.
14804         (libc_feholdsetround_387_53bit_ctx): Likewise.
14805         (libc_feholdsetround_sse_ctx): Likewise.
14806         (libc_feresetround_sse_ctx): Likewise.
14807         (libc_feresetround_387_ctx): Likewise.
14808         (libc_feupdateenv_387_ctx): Likewise.
14809         (libc_feholdexcept_setroundf_ctx): Define macro.
14810         (libc_fesetenvf_ctx): Likewise.
14811         (libc_feupdateenvf_ctx): Likewise.
14812         (libc_feholdsetroundf_ctx): Likewise.
14813         (libc_feresetroundf_ctx): Likewise.
14814         (libc_feholdexcept_setround_ctx): Likewise.
14815         (libc_fesetenv_ctx): Likewise.
14816         (libc_feupdateenv_ctx): Likewise.
14817         (libc_feholdsetround_ctx): Likewise.
14818         (libc_feresetround_ctx): Likewise.
14819         (libc_feholdexcept_setroundl_ctx): Likewise.
14820         (libc_feupdateenvl_ctx): Likewise.
14821         (libc_feholdsetroundl_ctx): Likewise.
14822         (libc_feresetroundl_ctx): Likewise.
14823         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14824         (libc_feresetround_53bit_ctx): Likewise.
14825
14826 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14827
14828         * locale/iso-639.def: Convert to UTF-8.
14829
14830 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
14831
14832         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14833         (EXCEPTION_TESTS_double): Likewise.
14834         (EXCEPTION_TESTS_long_double): Likewise.
14835         (EXCEPTION_TESTS): Likewise.
14836         * math/libm-test.inc (test_exceptions): Only test exceptions if
14837         EXCEPTION_TESTS (FLOAT).
14838
14839 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14840
14841         * benchtests/Makefile (string-bench): Add strcpy_chk and
14842         stpcpy_chk.
14843         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14844         * benchtests/bench-stpcpy_chk.c: New file.
14845         * benchtests/bench-strcpy_chk-ifunc.c: New file.
14846         * benchtests/bench-strcpy_chk.c: New file.
14847         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14848         code.
14849         (do_test): Likewise.
14850
14851 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14852
14853         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14854         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14855         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14856         with tabs where appropriate.
14857         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14858         dl-procinfo.h.
14859         [PPC_PLATFORM_PPC440]: Likewise.
14860         [PPC_PLATFORM_PPC464]: Likewise.
14861         [PPC_PLATFORM_PPC476]: Likewise.
14862         (_dl_string_platform): Add support for detecting ppc405, ppc440,
14863         ppc464, and ppc476 platform strings merging from ports/
14864         dl-procinfo.h.
14865
14866 2013-06-11  Andreas Schwab  <schwab@suse.de>
14867
14868         [BZ #14991]
14869         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14870         (from_ucs4_idx): Regenerate.
14871         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14872         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14873         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14874         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14875         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14876         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14877         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14878         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14879         from FROM_LOOP and TO_LOOP specific macros.
14880         (BODY): Handle combining characters.
14881         * iconvdata/BIG5HKSCS.irreversible: Update.
14882         * iconvdata/BIG5HKSCS.precomposed: New file.
14883         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14884         characters.
14885         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14886
14887 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14888
14889         * include/sys/time.h: Fix indentation and add copyright header.
14890
14891         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14892         (do_test): Likewise.
14893         * string/test-memchr.c (do_one_test): Likewise.
14894         (do_test): Likewise.
14895         * string/test-memcmp.c (do_one_test): Likewise.
14896         (do_test): Likewise.
14897         * string/test-memcpy.c (do_one_test): Likewise.
14898         (do_test): Likewise.
14899         * string/test-memmem.c (do_one_test): Likewise.
14900         (do_test): Likewise.
14901         (do_random_tests): Likewise.
14902         * string/test-memmove.c (do_one_test): Likewise.
14903         (do_test): Likewise.
14904         * string/test-memset.c (do_one_test): Likewise.
14905         (do_test): Likewise.
14906         * string/test-rawmemchr.c (do_one_test): Likewise.
14907         (do_test): Likewise.
14908         * string/test-strcasecmp.c (do_one_test): Likewise.
14909         (do_test): Likewise.
14910         * string/test-strcasestr.c (do_one_test): Likewise.
14911         (do_test): Likewise.
14912         * string/test-strcat.c (do_one_test): Likewise.
14913         (do_test): Likewise.
14914         * string/test-strchr.c (do_one_test): Likewise.
14915         (do_test): Likewise.
14916         * string/test-strcmp.c (do_one_test): Likewise.
14917         (do_test): Likewise.
14918         * string/test-strcpy.c (do_one_test): Likewise.
14919         (do_test): Likewise.
14920         * string/test-string.h: Likewise.
14921         (test_init): Likewise.
14922         * string/test-strlen.c (do_one_test): Likewise.
14923         (do_test): Likewise.
14924         * string/test-strncasecmp.c (do_one_test): Likewise.
14925         (do_test): Likewise.
14926         * string/test-strncat.c (do_one_test): Likewise.
14927         (do_test): Likewise.
14928         * string/test-strncmp.c (do_one_test): Likewise.
14929         (do_test_limit): Likewise.
14930         (do_test): Likewise.
14931         * string/test-strncpy.c (do_one_test): Likewise.
14932         (do_test): Likewise.
14933         * string/test-strnlen.c (do_one_test): Likewise.
14934         (do_test): Likewise.
14935         * string/test-strpbrk.c (do_one_test): Likewise.
14936         (do_test): Likewise.
14937         * string/test-strrchr.c (do_one_test): Likewise.
14938         (do_test): Likewise.
14939         * string/test-strspn.c (do_one_test): Likewise.
14940         (do_test): Likewise.
14941         * string/test-strstr.c (do_one_test): Likewise.
14942         (do_test): Likewise.
14943
14944         * benchtests/Makefile (string-bench): Add string benchmarks.
14945         * benchtests/bench-bcopy-ifunc.c: New file.
14946         * benchtests/bench-bcopy.c: New file.
14947         * benchtests/bench-bzero-ifunc.c: New file.
14948         * benchtests/bench-bzero.c: New file.
14949         * benchtests/bench-memccpy-ifunc.c: New file.
14950         * benchtests/bench-memccpy.c: New file.
14951         * benchtests/bench-memchr-ifunc.c: New file.
14952         * benchtests/bench-memchr.c: New file.
14953         * benchtests/bench-memcmp-ifunc.c: New file.
14954         * benchtests/bench-memcmp.c: New file.
14955         * benchtests/bench-memmem-ifunc.c: New file.
14956         * benchtests/bench-memmem.c: New file.
14957         * benchtests/bench-memmove-ifunc.c: New file.
14958         * benchtests/bench-memmove.c: New file.
14959         * benchtests/bench-mempcpy-ifunc.c: New file.
14960         * benchtests/bench-mempcpy.c: New file.
14961         * benchtests/bench-memset-ifunc.c: New file.
14962         * benchtests/bench-memset.c: New file.
14963         * benchtests/bench-rawmemchr-ifunc.c: New file.
14964         * benchtests/bench-rawmemchr.c: New file.
14965         * benchtests/bench-stpcpy-ifunc.c: New file.
14966         * benchtests/bench-stpcpy.c: New file.
14967         * benchtests/bench-stpncpy-ifunc.c: New file.
14968         * benchtests/bench-stpncpy.c: New file.
14969         * benchtests/bench-strcasecmp-ifunc.c: New file.
14970         * benchtests/bench-strcasecmp.c: New file.
14971         * benchtests/bench-strcasestr-ifunc.c: New file.
14972         * benchtests/bench-strcasestr.c: New file.
14973         * benchtests/bench-strcat-ifunc.c: New file.
14974         * benchtests/bench-strcat.c: New file.
14975         * benchtests/bench-strchr-ifunc.c: New file.
14976         * benchtests/bench-strchr.c: New file.
14977         * benchtests/bench-strchrnul-ifunc.c: New file.
14978         * benchtests/bench-strchrnul.c: New file.
14979         * benchtests/bench-strcmp-ifunc.c: New file.
14980         * benchtests/bench-strcmp.c: New file.
14981         * benchtests/bench-strcpy-ifunc.c: New file.
14982         * benchtests/bench-strcpy.c: New file.
14983         * benchtests/bench-strcspn-ifunc.c: New file.
14984         * benchtests/bench-strcspn.c: New file.
14985         * benchtests/bench-strlen-ifunc.c: New file.
14986         * benchtests/bench-strlen.c: New file.
14987         * benchtests/bench-strncasecmp-ifunc.c: New file.
14988         * benchtests/bench-strncasecmp.c: New file.
14989         * benchtests/bench-strncat-ifunc.c: New file.
14990         * benchtests/bench-strncat.c: New file.
14991         * benchtests/bench-strncmp-ifunc.c: New file.
14992         * benchtests/bench-strncmp.c: New file.
14993         * benchtests/bench-strncpy-ifunc.c: New file.
14994         * benchtests/bench-strncpy.c: New file.
14995         * benchtests/bench-strnlen-ifunc.c: New file.
14996         * benchtests/bench-strnlen.c: New file.
14997         * benchtests/bench-strpbrk-ifunc.c: New file.
14998         * benchtests/bench-strpbrk.c: New file.
14999         * benchtests/bench-strrchr-ifunc.c: New file.
15000         * benchtests/bench-strrchr.c: New file.
15001         * benchtests/bench-strspn-ifunc.c: New file.
15002         * benchtests/bench-strspn.c: New file.
15003         * benchtests/bench-strstr-ifunc.c: New file.
15004         * benchtests/bench-strstr.c: New file.
15005
15006         * benchtests/Makefile: Disable parallel execution of targets.
15007         (string-bench): Add memcpy.
15008         (benchset): New variable to store a list of benchmark sets.
15009         (bench-func): Renamed from bench.
15010         (bench-set): New target.
15011         (bench): Depend on bench-func and bench-set.
15012         * benchtests/README: Add section on benchmark sets.
15013         * benchtests/bench-memcpy-ifunc.c: New file.
15014         * benchtests/bench-memcpy.c: New file.
15015         * benchtests/bench-string.h: New file.
15016
15017 2013-06-11  Andreas Schwab  <schwab@suse.de>
15018
15019         [BZ #15577]
15020         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15021         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15022         values in the triple.
15023         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15024         terminator in the group key.
15025
15026 2013-06-11  Andreas Jaeger  <aj@suse.de>
15027
15028         * po/zh_TW.po: Update Chinese (traditional) translation from
15029         translation project.
15030
15031 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15032
15033         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15034         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15035         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15036         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15037         (clock_getcpuclockid): Likewise.
15038         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15039         Add weak_alias and libc_hidden_def.
15040         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15041         * rt/clock_gettime.c (clock_gettime): Rename to
15042         __clock_gettime.  Add weak_alias and libc_hidden_def.
15043         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15044         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15045         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15046         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15047         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15048         Likewise.
15049         * rt/clock_settime.c (clock_settime): Rename to
15050         __clock_settime.  Add weak_alias and libc_hidden_def.
15051         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15052
15053 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15054
15055         * mach/err_boot.sub: Remove trailing whitespace.
15056         * mach/err_ipc.sub: Likewise.
15057         * mach/err_mach.sub: Likewise.
15058
15059         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15060         (ROUNDING_TESTS_double): Likewise.
15061         (ROUNDING_TESTS_long_double): Likewise.
15062         (ROUNDING_TESTS): Likewise.
15063         * math/libm-test.inc: Include <math-tests.h>.
15064         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15065         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15066         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15067         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15068
15069 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15070
15071         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15072         of assigning.
15073
15074 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15075
15076         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15077         otherwise empty TRANS lines.
15078         * sysdeps/gnu/errlist.c: Regenerated.
15079
15080         * catgets/gencat.c (error_print): Use (void) in function
15081         definition.
15082         * crypt/crypt_util.c (__init_des): Likewise.
15083         * crypt/speeds.c (Stop): Likewise.
15084         (main): Likewise.
15085         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15086         * inet/ruserpass.c (token): Likewise.
15087         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15088         * intl/localealias.c (extend_alias_table): Likewise.
15089         * intl/plural-exp.c (init_germanic_plural): Likewise.
15090         * libio/fcloseall.c (__fcloseall): Likewise.
15091         * libio/genops.c (_IO_flush_all): Likewise.
15092         (_IO_flush_all_linebuffered): Likewise.
15093         (_IO_cleanup): Likewise.
15094         (_IO_iter_begin): Likewise.
15095         (_IO_iter_end): Likewise.
15096         (_IO_list_lock): Likewise.
15097         (_IO_list_unlock): Likewise.
15098         (_IO_list_resetlock): Likewise.
15099         * libio/getchar.c (getchar): Likewise.
15100         * libio/getchar_u.c (getchar_unlocked): Likewise.
15101         * libio/getwchar.c (getwchar): Likewise.
15102         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15103         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15104         * login/getpt.c (__getpt): Likewise.
15105         * login/tst-utmp.c (main): Likewise.
15106         * malloc/hooks.c (__malloc_check_init): Likewise.
15107         * malloc/malloc.c (__malloc_stats): Likewise.
15108         * malloc/mtrace.c (tr_break): Likewise.
15109         (mtrace): Likewise.
15110         (muntrace): Likewise.
15111         * misc/fstab.c (endfsent): Likewise.
15112         * misc/getclktck.c (__getclktck): Likewise.
15113         * misc/getdtsz.c (__getdtablesize): Likewise.
15114         * misc/gethostid.c (gethostid): Likewise.
15115         * misc/getpagesize.c (__getpagesize): Likewise.
15116         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15117         (__get_nprocs): Likewise.
15118         (__get_phys_pages): Likewise.
15119         (__get_avphys_pages): Likewise.
15120         * misc/getttyent.c (getttyent): Likewise.
15121         (setttyent): Likewise.
15122         (endttyent): Likewise.
15123         * misc/getusershell.c (getusershell): Likewise.
15124         (endusershell): Likewise.
15125         (setusershell): Likewise.
15126         (initshells): Likewise.
15127         * misc/hsearch.c (__hdestroy): Likewise.
15128         * misc/sync.c (sync): Likewise.
15129         * misc/syslog.c (closelog_internal): Likewise.
15130         (closelog): Likewise.
15131         * misc/ttyslot.c (ttyslot): Likewise.
15132         * misc/vhangup.c (vhangup): Likewise.
15133         * posix/fork.c (__fork): Likewise.
15134         * posix/getegid.c (__getegid): Likewise.
15135         * posix/geteuid.c (__geteuid): Likewise.
15136         * posix/getgid.c (__getgid): Likewise.
15137         * posix/getpid.c (__getpid): Likewise.
15138         * posix/getppid.c (__getppid): Likewise.
15139         * posix/getuid.c (__getuid): Likewise.
15140         * posix/pause.c (pause): Likewise.
15141         * posix/setpgrp.c (setpgrp): Likewise.
15142         * posix/setsid.c (__setsid): Likewise.
15143         * posix/test-vfork.c (noop): Likewise.
15144         * resolv/gethnamaddr.c (_endhtent): Likewise.
15145         (_gethtent): Likewise.
15146         (ht_endhostent): Likewise.
15147         (gethostent): Likewise.
15148         (dns_service): Likewise.
15149         * stdlib/drand48.c (drand48): Likewise.
15150         * stdlib/lrand48.c (lrand48): Likewise.
15151         * stdlib/mrand48.c (mrand48): Likewise.
15152         * stdlib/rand.c (rand): Likewise.
15153         * stdlib/random.c (__random): Likewise.
15154         * stdlib/setenv.c (clearenv): Likewise.
15155         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15156         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15157         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15158         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15159         (__get_nprocs): Likewise.
15160         (__get_phys_pages): Likewise.
15161         (__get_avphys_pages): Likewise.
15162         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15163         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15164         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15165         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15166         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15167         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15168         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15169         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15170         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15171         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15172         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15173         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15174         * sysdeps/posix/clock.c (clock): Likewise.
15175         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15176         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15177         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15178         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15179         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15180         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15181         (__get_nprocs_conf): Likewise.
15182         (__get_phys_pages): Likewise.
15183         (__get_avphys_pages): Likewise.
15184         * time/clock.c (clock): Likewise.
15185         * time/tzset.c (__tzname_max): Likewise.
15186
15187 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15188
15189         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15190         (__bswap_32): Do not use "register".
15191         * crypt/crypt.c (_ufc_doit_r): Likewise.
15192         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15193         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15194         * gmon/gmon.c (__monstartup): Likewise.
15195         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15196         * hurd/hurdmalloc.c (more_memory): Likewise.
15197         (malloc): Likewise.
15198         (free): Likewise.
15199         (realloc): Likewise.
15200         (malloc_fork_prepare): Likewise.
15201         (malloc_fork_parent): Likewise.
15202         (malloc_fork_child): Likewise.
15203         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15204         (_svcauth_des): Likewise.
15205         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15206         * inet/inet_net.c (inet_network): Likewise.
15207         * inet/inet_netof.c (inet_netof): Likewise.
15208         * inet/rcmd.c (__validuser2_sa): Likewise.
15209         * io/fts.c (fts_open): Likewise.
15210         (fts_load): Likewise.
15211         (fts_close): Likewise.
15212         (fts_read): Likewise.
15213         (fts_children): Likewise.
15214         (fts_build): Likewise.
15215         (fts_stat): Likewise.
15216         (fts_sort): Likewise.
15217         (fts_alloc): Likewise.
15218         (fts_lfree): Likewise.
15219         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15220         (_IO_file_xsgetn): Likewise.
15221         (_IO_file_xsgetn_mmap): Likewise.
15222         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15223         (_IO_cookie_write): Likewise.
15224         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15225         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15226         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15227         * malloc/obstack.c (_obstack_begin): Likewise.
15228         (_obstack_begin_1): Likewise.
15229         (_obstack_newchunk): Likewise.
15230         (_obstack_allocated_p): Likewise.
15231         (obstack_free): Likewise.
15232         (_obstack_memory_used): Likewise.
15233         * misc/getttyent.c (getttynam): Likewise.
15234         (getttyent): Likewise.
15235         (skip): Likewise.
15236         (value): Likewise.
15237         * misc/getusershell.c (initshells): Likewise.
15238         * misc/syslog.c (__vsyslog_chk): Likewise.
15239         * misc/ttyslot.c (ttyslot): Likewise.
15240         * nis/nis_hash.c (__nis_hash): Likewise.
15241         * posix/fnmatch_loop.c (FCT): Likewise.
15242         * posix/getconf.c (print_all): Likewise.
15243         (main): Likewise.
15244         * posix/getopt.c (exchange): Likewise.
15245         * posix/glob.c (globfree): Likewise.
15246         (prefix_array): Likewise.
15247         (__glob_pattern_type): Likewise.
15248         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15249         (NS_GET32): Likewise.
15250         (NS_PUT16): Likewise.
15251         (NS_PUT32): Likewise.
15252         * resolv/gethnamaddr.c (getanswer): Likewise.
15253         (gethostbyname2): Likewise.
15254         (gethostbyaddr): Likewise.
15255         (_gethtent): Likewise.
15256         (_gethtbyname2): Likewise.
15257         (_gethtbyaddr): Likewise.
15258         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15259         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15260         * resolv/res_init.c (__res_vinit): Likewise.
15261         (net_mask): Likewise.
15262         * resolv/res_mkquery.c (outchar): Likewise.
15263         (PRINT): Likewise.
15264         * stdio-common/printf_fp.c (outchar): Likewise.
15265         (PRINT): Likewise.
15266         * stdio-common/printf_fphex.c (outchar): Likewise.
15267         (PRINT): Likewise.
15268         * stdio-common/printf_size.c (outchar): Likewise.
15269         (PRINT): Likewise.
15270         * stdio-common/test_rdwr.c (main): Likewise.
15271         * stdio-common/tfformat.c (matches): Likewise.
15272         * stdio-common/vfprintf.c (outchar): Likewise.
15273         (printf_unknown): Likewise.
15274         (buffered_vfprintf): Likewise.
15275         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15276         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15277         (ReadFile): Likewise.
15278         * stdlib/qsort.c (SWAP): Likewise.
15279         (_quicksort): Likewise.
15280         * stdlib/setenv.c (__add_to_environ): Likewise.
15281         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15282         * stdlib/strtol_l.c (__strtol_l): Likewise.
15283         * stdlib/tst-strtod.c (main): Likewise.
15284         * stdlib/tst-strtol.c (main): Likewise.
15285         * stdlib/tst-strtoll.c (main): Likewise.
15286         * string/bits/string2.h (__strcmp_cc): Likewise.
15287         (__strcmp_cg): Likewise.
15288         (__strcspn_c1): Likewise.
15289         (__strcspn_c2): Likewise.
15290         (__strcspn_c3): Likewise.
15291         (__strspn_c1): Likewise.
15292         (__strspn_c2): Likewise.
15293         (__strspn_c3): Likewise.
15294         (__strsep_1c): Likewise.
15295         (__strsep_2c): Likewise.
15296         (__strsep_3c): Likewise.
15297         * string/memccpy.c (__memccpy): Likewise.
15298         * string/stpcpy.c (__stpcpy): Likewise.
15299         * string/strcmp.c (strcmp): Likewise.
15300         * string/strrchr.c (strrchr): Likewise.
15301         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15302         Likewise.
15303         * sysdeps/mach/hurd/getcwd.c
15304         (_hurd_canonicalize_directory_name_internal): Likewise.
15305         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15306         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15307         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15308         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15309         Likewise, in both definitions.
15310         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15311         definitions.
15312         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15313         64] (__bswap_64): Likewise.
15314         * time/test_time.c (main): Likewise.
15315         * time/tzfile.c (__tzfile_read): Likewise.
15316         (__tzfile_compute): Likewise.
15317         * time/tzset.c (__tzset_parse_tz): Likewise.
15318         (tzset_internal): Likewise.
15319         (compute_change): Likewise.
15320         * wcsmbs/wcscat.c (__wcscat): Likewise.
15321         * wcsmbs/wcschr.c (wcschr): Likewise.
15322         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15323         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15324         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15325         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15326         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15327         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15328         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15329         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15330         * wcsmbs/wmemset.c (wmemset): Likewise.
15331
15332 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15333
15334         * scripts/config.guess: Update to version 2013-05-16.
15335         * scripts/config.sub: Update to version 2013-04-24.
15336         * scripts/install-sh: Update to version 2011-11-20.07.
15337         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15338         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15339
15340 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15341
15342         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15343         * elf/sln.c: Likewise.
15344         * hurd/hurd/ioctl.h: Likewise.
15345         * hurd/hurdmalloc.c: Likewise.
15346         * hurd/xattr.c: Likewise.
15347         * include/shlib-compat.h: Likewise.
15348         * inet/ruserpass.c: Likewise.
15349         * libio/iofgets_u.c: Likewise.
15350         * libio/iofgetws_u.c: Likewise.
15351         * locale/programs/ld-identification.c: Likewise.
15352         * locale/programs/ld-time.c: Likewise.
15353         * mach/msg-destroy.c: Likewise.
15354         * nss/nss_files/files-netgrp.c: Likewise.
15355         * resolv/res_data.c: Likewise.
15356         * soft-fp/op-1.h: Likewise.
15357         * soft-fp/op-2.h: Likewise.
15358         * soft-fp/op-4.h: Likewise.
15359         * soft-fp/op-common.h: Likewise.
15360         * stdio-common/printf_fphex.c: Likewise.
15361         * stdlib/strtod_l.c: Likewise.
15362         * sunrpc/rpc/clnt.h: Likewise.
15363         * sysdeps/generic/framestate.c: Likewise.
15364         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15365         * sysdeps/i386/bsd-setjmp.S: Likewise.
15366         * sysdeps/i386/__longjmp.S: Likewise.
15367         * sysdeps/i386/setjmp.S: Likewise.
15368         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15369         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15370         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15371         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15372         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15373         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15374         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15375         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15376         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15377         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15378         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15379         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15380         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15381         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15382         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15383         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15384         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15385         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15386         * sysdeps/ieee754/support.c: Likewise.
15387         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15388         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15389         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15390         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15391         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15392         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15393         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15394         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15395         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15396         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15397         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15398         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15399         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15400         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15401         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15402         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15403         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15405
15406 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15407
15408         * posix/transbug.c: Remove executable mode.
15409
15410 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15411
15412         * crypt/speeds.c: Remove trailing whitespace.
15413         * dlfcn/default.c: Likewise.
15414         * elf/ifuncdep2.c: Likewise.
15415         * elf/ifuncmain1.c: Likewise.
15416         * elf/ifuncmain1vis.c: Likewise.
15417         * elf/testobj.h: Likewise.
15418         * elf/tst-stackguard1.c: Likewise.
15419         * gmon/sys/gmon.h: Likewise.
15420         * hurd/hurdmsg.c: Likewise.
15421         * hurd/new-fd.c: Likewise.
15422         * hurd/ports-get.c: Likewise.
15423         * iconvdata/ibm1008_420.c: Likewise.
15424         * inet/tst-getni1.c: Likewise.
15425         * inet/tst-getni2.c: Likewise.
15426         * libio/ioungetc.c: Likewise.
15427         * libio/wfiledoalloc.c: Likewise.
15428         * manual/libm-err-tab.pl: Likewise.
15429         * math/w_dremf.c: Likewise.
15430         * misc/ftruncate.c: Likewise.
15431         * posix/bug-glob2.c: Likewise.
15432         * posix/tst-pcre.c: Likewise.
15433         * posix/wait4.c: Likewise.
15434         * resolv/README: Likewise.
15435         * resolv/res_debug.h: Likewise.
15436         * resolv/tst-inet_ntop.c: Likewise.
15437         * setjmp/bug269-setjmp.c: Likewise.
15438         * soft-fp/extended.h: Likewise.
15439         * soft-fp/op-1.h: Likewise.
15440         * soft-fp/op-2.h: Likewise.
15441         * soft-fp/op-4.h: Likewise.
15442         * soft-fp/op-8.h: Likewise.
15443         * soft-fp/testit.c: Likewise.
15444         * stdio-common/bug16.c: Likewise.
15445         * stdlib/random.c: Likewise.
15446         * sunrpc/rpcsvc/rquota.x: Likewise.
15447         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15448         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15450         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15451         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15452         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15453         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15454         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15455         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15456         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15457         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15458         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15459         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15460         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15461         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15462         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15463         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15464         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15465         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15466         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15467         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15468         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15469         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15470         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15471         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15472         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15473         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15474         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15475         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15476         * sysdeps/ieee754/s_lib_version.c: Likewise.
15477         * sysdeps/mach/hurd/check_fds.c: Likewise.
15478         * sysdeps/mach/hurd/getsockname.c: Likewise.
15479         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15480         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15481         * sysdeps/powerpc/bits/link.h: Likewise.
15482         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15483         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15484         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15485         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15486         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15487         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15488         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15489         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15490         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15491         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15492         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15493         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15494         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15495         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15496         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15497         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15498         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15499         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15500         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15501         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15502         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15503         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15504         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15505         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15506         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15507         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15508         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15509         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15510         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15511         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15512         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15513         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15514         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15515         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15516         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15517         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15518         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15519         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15520         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15521         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15522         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15523         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15524         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15525         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15526         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15527         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15528         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15529         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15530         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15531         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15532         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15533         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15534         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15535         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15536         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15537         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15538         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15539         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15540         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15541         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15542         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15543         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15544         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15545         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15546         * sysdeps/powerpc/sysdep.h: Likewise.
15547         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15548         * sysdeps/s390/s390-64/sub_n.S: Likewise.
15549         * sysdeps/sh/dl-trampoline.S: Likewise.
15550         * sysdeps/sh/memset.S: Likewise.
15551         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15552         * sysdeps/sh/strlen.S: Likewise.
15553         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15554         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15555         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15556         * sysdeps/sparc/sparc32/rem.S: Likewise.
15557         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15558         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15559         * sysdeps/sparc/sparc32/strchr.S: Likewise.
15560         * sysdeps/sparc/sparc32/udiv.S: Likewise.
15561         * sysdeps/sparc/sparc32/urem.S: Likewise.
15562         * sysdeps/sparc/sparc64/add_n.S: Likewise.
15563         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15564         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15565         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15566         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15567         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15568         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15569         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15570         * sysdeps/unix/bsd/times.c: Likewise.
15571         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15572         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15576         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15577         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15578         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15579         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15580         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15581         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15582         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15583         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15584         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15585         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15586         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15587         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15588         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15589         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15590         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15591         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15592         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15593         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15594         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15595         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15596         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15597         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15598         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15599         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15600         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15601         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15602         * sysdeps/x86_64/strcspn.S: Likewise.
15603
15604 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15605
15606         * locale/C-translit.h: Revert #include <stdint.h> because this is a
15607         generated file.  Regenerate properly from gen-translit.pl.
15608         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
15609         locale/C-translit.h.
15610
15611 2013-06-05  Andreas Schwab  <schwab@suse.de>
15612
15613         [BZ #15100]
15614         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15615         week as 6 instead of -1.
15616         * time/tst-strptime.c (day_tests): Add test case.
15617
15618 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15619
15620         * sysdeps/generic/math_private.h
15621         (libc_feholdexcept_setround_53bit): Replace with
15622         libc_feholdsetround_53bit.
15623         (libc_feupdateenv_53bit): Replace with
15624         libc_feresetround_53bit.
15625         (SET_RESTORE_ROUND_53BIT): Adjust.
15626
15627 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15628
15629         * string/test-strchrnul.c: Add copyright header.
15630
15631         * posix/tst-getaddrinfo4.c: Increase test timeout.
15632
15633 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
15634
15635         [BZ #15536]
15636         * math/libm-test.inc (MAX_EXP): Remove
15637         (MIN_EXP): Define.
15638         (ulp): Use MIN_EXP - MANT_DIG.
15639         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15640
15641 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
15642
15643         * po/be.po: Revert last change.
15644         * po/zh_CN.po: Likewise.
15645         * po/header.pot: Likewise.
15646
15647 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
15648
15649         * Makefile ($(common-objpfx)linkobj/libc.so): Define
15650         link-libc-deps to empty as target-specific variable.
15651         * Makerules (link-libc-args): New variable.
15652         (libc-for-link): Likewise.
15653         (link-libc-deps): Likewise.
15654         (lib%.so): Depend on $(link-libc-deps).  Link with
15655         $(link-libc-args).
15656         (build-module): Link with $(link-libc-args).
15657         (build-module-asneeded): Likewise.
15658         (build-module-helper-objlist): Filter out $(link-libc-deps) from
15659         list of objects.
15660         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15661         target-specific variable.
15662         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15663         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15664         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15665         libc.
15666         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15667         libc and ld.so.
15668         ($(objpfx)libpcprofile.so): Likewise.
15669         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15670         libc_nonshared.a.
15671         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15672         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15673         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15674         $(link-libc-deps).
15675         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15676         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15677         * login/Makefile ($(objpfx)libutil.so): Likewise.
15678         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15679         * math/Makefile ($(objpfx)libm.so): Likewise.
15680         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15681         $(objpfx)libnsl.so): Define libc-for-link as target-specific
15682         variable instead of depending directly on libc.
15683         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15684         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15685         $(link-libc-deps).
15686         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15687         libc.
15688         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15689         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15690         ($(objpfx)libanl.so): Likewise.
15691         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15692         ld.so.
15693         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15694         $(link-libc-deps).
15695         * sysdeps/i386/fpu/Makefile: Remove file.
15696         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15697         ($(objpfx)libm.so): Remove dependency on ld.so.
15698
15699 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
15700
15701         [BZ # 15553]
15702         * nis/yp_xdr.c (XDRMAXNAME): Define.
15703         (XDRMAXRECORD): Define.
15704         (xdr_domainname): Use XDRMAXNAME.
15705         (xdr_mapname): Likewise.
15706         (xdr_peername): Likewise.
15707         (xdr_keydat): Use XDRMAXRECORD.
15708         (xdr_valdat): Likewise.
15709
15710 2013-05-30  Jeff Law  <law@redhat.com>
15711
15712         [BZ #14256]
15713         * manual/errno.texi (ESTALE): Update to account for more than
15714         just NFS file systems.
15715         * sysdeps/gnu/errlist.c: Regenerated.
15716
15717 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15718
15719         [BZ #15465]
15720         * elf/Makefile (tests): Add tst-null-argv.
15721         (modules-names):  Add tst-null-argv-lib.
15722         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15723         (tst-null-argv-ENV): Set environment for tst-null-argv.
15724         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15725         (RTLD_PROGNAME): New macro.
15726         * elf/tst-null-argv.c: New test case.
15727         * elf/tst-null-argv-lib.c: Library for test case.
15728         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15729         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15730         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15731         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15732         * elf/dl-init.c (call_init): Likewise.
15733         (_dl_init): Likewise.
15734         * elf/dl-load.c (print_search_path): Likewise.
15735         (_dl_map_object): Likewise.
15736         * elf/dl-lookup.c (do_lookup_x): Likewise.
15737         (add_dependency): Likewise.
15738         (_dl_lookup_symbol_x): Likewise.
15739         (_dl_debug_bindings): Likewise.
15740         * elf/dl-open.c (_dl_show_scope): Likewise.
15741         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15742         * elf/dl-version.c (match_symbol): Likewise.
15743         (_dl_check_map_versions): Likewise.
15744         * elf/rtld.c (dl_main): Likewise.
15745         (print_unresolved): Use RTLD_PROGNAME.
15746         (print_missing_version): Likewise.
15747         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15748         (elf_machine_rela): Likewise.
15749         * sysdeps/powerpc/powerpc32/dl-machine.c
15750         (__process_machine_rela): Likewise.
15751         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15752         Likewise.
15753         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15754         Likewise.
15755         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15756         Likewise.
15757         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15759         Likewise.
15760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15761         Likewise.
15762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15763
15764 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
15765
15766         * po/be.po: Add descriptive title.
15767         * po/zh_CN.po: Likewise.
15768         * po/header.pot: Likewise.
15769
15770 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
15771
15772         * locale/programs/locarchive.c (create_archive): Inlucde fname in
15773         error message.
15774         (enlarge_archive): Likewise.
15775
15776 2013-05-28  Ben North  <ben@redfrontdoor.org>
15777
15778         * manual/arith.texi (frexp): It is the magnitude of the return
15779         value which lies in [0.5, 1), not the return value itself.
15780
15781 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15782
15783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15784
15785 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
15786
15787         * stdio-common/bug26.c (main): Correct fscanf template.
15788
15789         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15790         declare _dl_skip_args.
15791
15792         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15793         Don't declare.
15794
15795         * manual/platform.texi: Add missing @end deftypefun.
15796
15797 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15798
15799         [BZ #15529]
15800         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15801         bit of mantissa of 2^16382.
15802         * math/libm-test.inc (hypot_test_data): Add more tests.
15803
15804         * math/libm-test.inc: Add drem and pow10 to list of tested
15805         functions.
15806         (pow10_test): New function.
15807         (drem_test): Likewise.
15808         (drem_test_tonearest): Likewise.
15809         (drem_test_towardzero): Likewise.
15810         (drem_test_downward): Likewise.
15811         (drem_test_upward): Likewise.
15812         (main): Call the new functions.
15813
15814         * math/libm-test.inc (finite_test_data): Remove.
15815         (finite_test): Run tests from isfinite_test_data.
15816         (gamma_test_data): Remove.
15817         (gamma_test): Run tests from lgamma_test_data.
15818         * sysdeps/i386/fpu/libm-test-ulps: Update.
15819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15820
15821 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15822
15823         * manual/platform.texi: Add PowerPC PPR function set documentation.
15824         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15825         implementation.
15826
15827 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
15828
15829         * math/libm-test.inc (MAX_EXP): Define.
15830         (ULPDIFF): Define.
15831         (ulp): New function.
15832         (check_float_internal): Use ULPDIFF.
15833         (cpow_test): Disable failing test.
15834         (check_ulp): Test ulp() implemetnation.
15835         (main): Call check_ulp before starting tests.
15836
15837 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
15838
15839         * math/gen-libm-test.pl (generate_testfile): Do not handle
15840         START_DATA and END_DATA.
15841         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15842         END_DATA.
15843         (acos_tonearest_test_data): Likewise.
15844         (acos_towardzero_test_data): Likewise.
15845         (acos_downward_test_data): Likewise.
15846         (acos_upward_test_data): Likewise.
15847         (acosh_test_data): Likewise.
15848         (asin_test_data): Likewise.
15849         (asin_tonearest_test_data): Likewise.
15850         (asin_towardzero_test_data): Likewise.
15851         (asin_downward_test_data): Likewise.
15852         (asin_upward_test_data): Likewise.
15853         (asinh_test_data): Likewise.
15854         (atan_test_data): Likewise.
15855         (atanh_test_data): Likewise.
15856         (atan2_test_data): Likewise.
15857         (cabs_test_data): Likewise.
15858         (cacos_test_data): Likewise.
15859         (cacosh_test_data): Likewise.
15860         (carg_test_data): Likewise.
15861         (casin_test_data): Likewise.
15862         (casinh_test_data): Likewise.
15863         (catan_test_data): Likewise.
15864         (catanh_test_data): Likewise.
15865         (cbrt_test_data): Likewise.
15866         (ccos_test_data): Likewise.
15867         (ccosh_test_data): Likewise.
15868         (ceil_test_data): Likewise.
15869         (cexp_test_data): Likewise.
15870         (cimag_test_data): Likewise.
15871         (clog_test_data): Likewise.
15872         (clog10_test_data): Likewise.
15873         (conj_test_data): Likewise.
15874         (copysign_test_data): Likewise.
15875         (cos_test_data): Likewise.
15876         (cos_tonearest_test_data): Likewise.
15877         (cos_towardzero_test_data): Likewise.
15878         (cos_downward_test_data): Likewise.
15879         (cos_upward_test_data): Likewise.
15880         (cosh_test_data): Likewise.
15881         (cosh_tonearest_test_data): Likewise.
15882         (cosh_towardzero_test_data): Likewise.
15883         (cosh_downward_test_data): Likewise.
15884         (cosh_upward_test_data): Likewise.
15885         (cpow_test_data): Likewise.
15886         (cproj_test_data): Likewise.
15887         (creal_test_data): Likewise.
15888         (csin_test_data): Likewise.
15889         (csinh_test_data): Likewise.
15890         (csqrt_test_data): Likewise.
15891         (ctan_test_data): Likewise.
15892         (ctan_tonearest_test_data): Likewise.
15893         (ctan_towardzero_test_data): Likewise.
15894         (ctan_downward_test_data): Likewise.
15895         (ctan_upward_test_data): Likewise.
15896         (ctanh_test_data): Likewise.
15897         (ctanh_tonearest_test_data): Likewise.
15898         (ctanh_towardzero_test_data): Likewise.
15899         (ctanh_downward_test_data): Likewise.
15900         (ctanh_upward_test_data): Likewise.
15901         (erf_test_data): Likewise.
15902         (erfc_test_data): Likewise.
15903         (exp_test_data): Likewise.
15904         (exp_tonearest_test_data): Likewise.
15905         (exp_towardzero_test_data): Likewise.
15906         (exp_downward_test_data): Likewise.
15907         (exp_upward_test_data): Likewise.
15908         (exp10_test_data): Likewise.
15909         (exp2_test_data): Likewise.
15910         (expm1_test_data): Likewise.
15911         (fabs_test_data): Likewise.
15912         (fdim_test_data): Likewise.
15913         (finite_test_data): Likewise.
15914         (floor_test_data): Likewise.
15915         (fma_test_data): Likewise.
15916         (fma_towardzero_test_data): Likewise.
15917         (fma_downward_test_data): Likewise.
15918         (fma_upward_test_data): Likewise.
15919         (fmax_test_data): Likewise.
15920         (fmin_test_data): Likewise.
15921         (fmod_test_data): Likewise.
15922         (fpclassify_test_data): Likewise.
15923         (frexp_test_data): Likewise.
15924         (gamma_test_data): Likewise.
15925         (hypot_test_data): Likewise.
15926         (ilogb_test_data): Likewise.
15927         (isfinite_test_data): Likewise.
15928         (isgreater_test_data): Likewise.
15929         (isgreaterequal_test_data): Likewise.
15930         (isinf_test_data): Likewise.
15931         (isless_test_data): Likewise.
15932         (islessequal_test_data): Likewise.
15933         (islessgreater_test_data): Likewise.
15934         (isnan_test_data): Likewise.
15935         (isnormal_test_data): Likewise.
15936         (issignaling_test_data): Likewise.
15937         (isunordered_test_data): Likewise.
15938         (j0_test_data): Likewise.
15939         (j1_test_data): Likewise.
15940         (jn_test_data): Likewise.
15941         (ldexp_test_data): Likewise.
15942         (lgamma_test_data): Likewise.
15943         (lrint_test_data): Likewise.
15944         (lrint_tonearest_test_data): Likewise.
15945         (lrint_towardzero_test_data): Likewise.
15946         (lrint_downward_test_data): Likewise.
15947         (lrint_upward_test_data): Likewise.
15948         (llrint_test_data): Likewise.
15949         (llrint_tonearest_test_data): Likewise.
15950         (llrint_towardzero_test_data): Likewise.
15951         (llrint_downward_test_data): Likewise.
15952         (llrint_upward_test_data): Likewise.
15953         (log_test_data): Likewise.
15954         (log10_test_data): Likewise.
15955         (log1p_test_data): Likewise.
15956         (log2_test_data): Likewise.
15957         (logb_test_data): Likewise.
15958         (logb_downward_test_data): Likewise.
15959         (lround_test_data): Likewise.
15960         (llround_test_data): Likewise.
15961         (modf_test_data): Likewise.
15962         (nearbyint_test_data): Likewise.
15963         (nextafter_test_data): Likewise.
15964         (nexttoward_test_data): Likewise.
15965         (pow_test_data): Likewise.
15966         (pow_tonearest_test_data): Likewise.
15967         (pow_towardzero_test_data): Likewise.
15968         (pow_downward_test_data): Likewise.
15969         (pow_upward_test_data): Likewise.
15970         (remainder_test_data): Likewise.
15971         (remainder_tonearest_test_data): Likewise.
15972         (remainder_towardzero_test_data): Likewise.
15973         (remainder_downward_test_data): Likewise.
15974         (remainder_upward_test_data): Likewise.
15975         (remquo_test_data): Likewise.
15976         (rint_test_data): Likewise.
15977         (rint_tonearest_test_data): Likewise.
15978         (rint_towardzero_test_data): Likewise.
15979         (rint_downward_test_data): Likewise.
15980         (rint_upward_test_data): Likewise.
15981         (round_test_data): Likewise.
15982         (scalb_test_data): Likewise.
15983         (scalbn_test_data): Likewise.
15984         (scalbln_test_data): Likewise.
15985         (signbit_test_data): Likewise.
15986         (sin_test_data): Likewise.
15987         (sin_tonearest_test_data): Likewise.
15988         (sin_towardzero_test_data): Likewise.
15989         (sin_downward_test_data): Likewise.
15990         (sin_upward_test_data): Likewise.
15991         (sincos_test_data): Likewise.
15992         (sinh_test_data): Likewise.
15993         (sinh_tonearest_test_data): Likewise.
15994         (sinh_towardzero_test_data): Likewise.
15995         (sinh_downward_test_data): Likewise.
15996         (sinh_upward_test_data): Likewise.
15997         (sqrt_test_data): Likewise.
15998         (tan_test_data): Likewise.
15999         (tan_tonearest_test_data): Likewise.
16000         (tan_towardzero_test_data): Likewise.
16001         (tan_downward_test_data): Likewise.
16002         (tan_upward_test_data): Likewise.
16003         (tanh_test_data): Likewise.
16004         (tgamma_test_data): Likewise.
16005         (trunc_test_data): Likewise.
16006         (y0_test_data): Likewise.
16007         (y1_test_data): Likewise.
16008         (yn_test_data): Likewise.
16009         (significand_test_data): Likewise.
16010
16011         * math/gen-libm-test.pl (@functions): Remove variable.
16012         (generate_testfile): Don't handle START and END lines.
16013         * math/libm-test.inc (START): New macro.
16014         (END): Likewise.
16015         (END_COMPLEX): Likewise.
16016         (acos_test): Use END macro without arguments.
16017         (acos_test_tonearest): Likewise.
16018         (acos_test_towardzero): Likewise.
16019         (acos_test_downward): Likewise.
16020         (acos_test_upward): Likewise.
16021         (acosh_test): Likewise.
16022         (asin_test): Likewise.
16023         (asin_test_tonearest): Likewise.
16024         (asin_test_towardzero): Likewise.
16025         (asin_test_downward): Likewise.
16026         (asin_test_upward): Likewise.
16027         (asinh_test): Likewise.
16028         (atan_test): Likewise.
16029         (atanh_test): Likewise.
16030         (atan2_test): Likewise.
16031         (cabs_test): Likewise.
16032         (cacos_test): Use END_COMPLEX macro without arguments.
16033         (cacosh_test): Likewise.
16034         (carg_test): Use END macro without arguments.
16035         (casin_test): Use END_COMPLEX macro without arguments.
16036         (casinh_test): Likewise.
16037         (catan_test): Likewise.
16038         (catanh_test): Likewise.
16039         (cbrt_test): Use END macro without arguments.
16040         (ccos_test): Use END_COMPLEX macro without arguments.
16041         (ccosh_test): Likewise.
16042         (ceil_test): Use END macro without arguments.
16043         (cexp_test): Use END_COMPLEX macro without arguments.
16044         (cimag_test): Use END macro without arguments.
16045         (clog_test): Use END_COMPLEX macro without arguments.
16046         (clog10_test): Likewise.
16047         (conj_test): Likewise.
16048         (copysign_test): Use END macro without arguments.
16049         (cos_test): Likewise.
16050         (cos_test_tonearest): Likewise.
16051         (cos_test_towardzero): Likewise.
16052         (cos_test_downward): Likewise.
16053         (cos_test_upward): Likewise.
16054         (cosh_test): Likewise.
16055         (cosh_test_tonearest): Likewise.
16056         (cosh_test_towardzero): Likewise.
16057         (cosh_test_downward): Likewise.
16058         (cosh_test_upward): Likewise.
16059         (cpow_test): Use END_COMPLEX macro without arguments.
16060         (cproj_test): Likewise.
16061         (creal_test): Use END macro without arguments.
16062         (csin_test): Use END_COMPLEX macro without arguments.
16063         (csinh_test): Likewise.
16064         (csqrt_test): Likewise.
16065         (ctan_test): Likewise.
16066         (ctan_test_tonearest): Likewise.
16067         (ctan_test_towardzero): Likewise.
16068         (ctan_test_downward): Likewise.
16069         (ctan_test_upward): Likewise.
16070         (ctanh_test): Likewise.
16071         (ctanh_test_tonearest): Likewise.
16072         (ctanh_test_towardzero): Likewise.
16073         (ctanh_test_downward): Likewise.
16074         (ctanh_test_upward): Likewise.
16075         (erf_test): Use END macro without arguments.
16076         (erfc_test): Likewise.
16077         (exp_test): Likewise.
16078         (exp_test_tonearest): Likewise.
16079         (exp_test_towardzero): Likewise.
16080         (exp_test_downward): Likewise.
16081         (exp_test_upward): Likewise.
16082         (exp10_test): Likewise.
16083         (exp2_test): Likewise.
16084         (expm1_test): Likewise.
16085         (fabs_test): Likewise.
16086         (fdim_test): Likewise.
16087         (finite_test): Likewise.
16088         (floor_test): Likewise.
16089         (fma_test): Likewise.
16090         (fma_test_towardzero): Likewise.
16091         (fma_test_downward): Likewise.
16092         (fma_test_upward): Likewise.
16093         (fmax_test): Likewise.
16094         (fmin_test): Likewise.
16095         (fmod_test): Likewise.
16096         (fpclassify_test): Likewise.
16097         (frexp_test): Likewise.
16098         (gamma_test): Likewise.
16099         (hypot_test): Likewise.
16100         (ilogb_test): Likewise.
16101         (isfinite_test): Likewise.
16102         (isgreater_test): Likewise.
16103         (isgreaterequal_test): Likewise.
16104         (isinf_test): Likewise.
16105         (isless_test): Likewise.
16106         (islessequal_test): Likewise.
16107         (islessgreater_test): Likewise.
16108         (isnan_test): Likewise.
16109         (isnormal_test): Likewise.
16110         (issignaling_test): Likewise.
16111         (isunordered_test): Likewise.
16112         (j0_test): Likewise.
16113         (j1_test): Likewise.
16114         (jn_test): Likewise.
16115         (ldexp_test): Likewise.
16116         (lgamma_test): Likewise.
16117         (lrint_test): Likewise.
16118         (lrint_test_tonearest): Likewise.
16119         (lrint_test_towardzero): Likewise.
16120         (lrint_test_downward): Likewise.
16121         (lrint_test_upward): Likewise.
16122         (llrint_test): Likewise.
16123         (llrint_test_tonearest): Likewise.
16124         (llrint_test_towardzero): Likewise.
16125         (llrint_test_downward): Likewise.
16126         (llrint_test_upward): Likewise.
16127         (log_test): Likewise.
16128         (log10_test): Likewise.
16129         (log1p_test): Likewise.
16130         (log2_test): Likewise.
16131         (logb_test): Likewise.
16132         (logb_test_downward): Likewise.
16133         (lround_test): Likewise.
16134         (llround_test): Likewise.
16135         (modf_test): Likewise.
16136         (nearbyint_test): Likewise.
16137         (nextafter_test): Likewise.
16138         (nexttoward_test): Likewise.
16139         (pow_test): Likewise.
16140         (pow_test_tonearest): Likewise.
16141         (pow_test_towardzero): Likewise.
16142         (pow_test_downward): Likewise.
16143         (pow_test_upward): Likewise.
16144         (remainder_test): Likewise.
16145         (remainder_test_tonearest): Likewise.
16146         (remainder_test_towardzero): Likewise.
16147         (remainder_test_downward): Likewise.
16148         (remainder_test_upward): Likewise.
16149         (remquo_test): Likewise.
16150         (rint_test): Likewise.
16151         (rint_test_tonearest): Likewise.
16152         (rint_test_towardzero): Likewise.
16153         (rint_test_downward): Likewise.
16154         (rint_test_upward): Likewise.
16155         (round_test): Likewise.
16156         (scalb_test): Likewise.
16157         (scalbn_test): Likewise.
16158         (scalbln_test): Likewise.
16159         (signbit_test): Likewise.
16160         (sin_test): Likewise.
16161         (sin_test_tonearest): Likewise.
16162         (sin_test_towardzero): Likewise.
16163         (sin_test_downward): Likewise.
16164         (sin_test_upward): Likewise.
16165         (sincos_test): Likewise.
16166         (sinh_test): Likewise.
16167         (sinh_test_tonearest): Likewise.
16168         (sinh_test_towardzero): Likewise.
16169         (sinh_test_downward): Likewise.
16170         (sinh_test_upward): Likewise.
16171         (sqrt_test): Likewise.
16172         (tan_test): Likewise.
16173         (tan_test_tonearest): Likewise.
16174         (tan_test_towardzero): Likewise.
16175         (tan_test_downward): Likewise.
16176         (tan_test_upward): Likewise.
16177         (tanh_test): Likewise.
16178         (tgamma_test): Likewise.
16179         (trunc_test): Likewise.
16180         (y0_test): Likewise.
16181         (y1_test): Likewise.
16182         (yn_test): Likewise.
16183         (significand_test): Likewise.
16184
16185 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16186
16187         [BZ #15381]
16188         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16189
16190 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16191
16192         [BZ #14894]
16193         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16194         __ppc_mdoio and __ppc_mdoom.
16195         * manual/platform.texi: Document new functions __ppc_yield,
16196         __ppc_mdoio and __ppc_mdoom.
16197
16198 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16199
16200         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16201         (main): Mention "tls" pseudo-hwcap is legacy.
16202         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16203
16204 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16205
16206         * math/gen-libm-test.pl (parse_args): Output only string of
16207         arguments as text for test name, not full call or descriptions of
16208         tests for extra outputs.
16209         (generate_testfile): Do not pass function name to parse_args.
16210         Generate this_func variable from START.
16211         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16212         field to arg_str.
16213         (struct test_ff_f_data): Likewise.
16214         (test_ff_f_data_nexttoward): Likewise.
16215         (struct test_fi_f_data): Likewise.
16216         (struct test_fl_f_data): Likewise.
16217         (struct test_if_f_data): Likewise.
16218         (struct test_fff_f_data): Likewise.
16219         (struct test_c_f_data): Likewise.
16220         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16221         (struct test_fF_f1_data): Likewise.
16222         (struct test_ffI_f1_data): Likewise.
16223         (struct test_c_c_data): Rename test_name field to arg_str.
16224         (struct test_cc_c_data): Likewise.
16225         (struct test_f_i_data): Likewise.
16226         (struct test_ff_i_data): Likewise.
16227         (struct test_f_l_data): Likewise.
16228         (struct test_f_L_data): Likewise.
16229         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16230         and extra2_name.
16231         (COMMON_TEST_SETUP): New macro.
16232         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16233         (COMMON_TEST_CLEANUP): Likewise.
16234         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16235         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16236         macros.
16237         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16238         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16239         macros.
16240         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16241         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16242         cleanup macros.
16243         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16244         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16245         macros.
16246         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16247         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16248         macros.
16249         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16250         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16251         cleanup macros.
16252         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16253         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16254         cleanup macros.
16255         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16256         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16257         cleanup macros.
16258         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16259         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16260         macros.
16261         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16262         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16263         macros.
16264         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16265         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16266         macros.
16267         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16268         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16269         cleanup macros.
16270         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16271         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16272         cleanup macros.
16273         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16274         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16275         macros.
16276         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16277         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16278         cleanup macros.
16279         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16280         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16281         macros.
16282         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16283         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16284         macros.
16285         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16286         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16287         cleanup macros.
16288         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16289
16290 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16291
16292         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16293         to _sifields.sigfault.
16294         (si_addr_lsb): Define new macro.
16295         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16296         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16297         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16298
16299 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16300
16301         [BZ #15441]
16302         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16303         returns -1.
16304         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16305         null return -1.
16306         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16307         loading the domain.
16308
16309 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16310
16311         * math/gen-libm-test.pl (parse_args): Do not include expected
16312         result in test name.
16313         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16314         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16315         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16316         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16317         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16319
16320 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16321
16322         * benchtests/Makefile: Sort function entries.
16323
16324         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16325         tanh, asinh, acosh, atanh.
16326         * benchtests/acos-inputs: New file.
16327         * benchtests/acosh-inputs: New file.
16328         * benchtests/asin-inputs: New file.
16329         * benchtests/asinh-inputs: New file.
16330         * benchtests/atanh-inputs: New file.
16331         * benchtests/cosh-inputs: New file.
16332         * benchtests/log-inputs: New file.
16333         * benchtests/sinh-inputs: New file.
16334         * benchtests/tanh-inputs: New file.
16335
16336 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16337
16338         [BZ #15339]
16339         * posix/tst-getaddrinfo4.c: New test.
16340         * posix/Makefile (tests): Add it.
16341
16342 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16343
16344         [BZ #15339]
16345         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16346         when no services were used.
16347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16348         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16349
16350 2013-05-21  Andreas Schwab  <schwab@suse.de>
16351
16352         [BZ #15014]
16353         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16354         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16355         successful.
16356         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16357         redundant variable declarations and reallocation of buffer when
16358         parsing as IPv6 address.  Always set NSS status when called from
16359         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16360         buffer too small.  Correct computation of needed size.
16361         * nss/Makefile (tests): Add test-digits-dots.
16362         * nss/test-digits-dots.c: New test.
16363
16364 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16365
16366         * benchtests/Makefile: Remove instructions for adding
16367         benchmark tests.
16368         * benchtests/README: New file to explain how to execute and
16369         enhance the benchmark tests.
16370
16371 2013-05-21  Andreas Schwab  <schwab@suse.de>
16372
16373         [BZ #15493]
16374         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16375         * setjmp/tst-sigsetjmp.c: New test.
16376
16377 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16378
16379         * sysdeps/x86_64/memset.S (memset): New implementation.
16380         (__bzero): Likewise.
16381         (__memset_tail): New function.
16382
16383 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16384
16385         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16386         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16387         __memcpy_sse2_unaligned ifunc selection.
16388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16389         Add memcpy-sse2-unaligned.S.
16390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16391         Add: __memcpy_sse2_unaligned.
16392
16393 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16394
16395         [BZ #15490]
16396         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16397         math_force_eval before restoring floating-point envrionment.
16398         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16399         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16400         Likewise.
16401         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16402         <math_private.h>.
16403         (__nearbyintl): Use math_force_eval before restoring
16404         floating-point environment.
16405         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16406
16407         * math/gen-libm-test.pl (special_functions): Remove.
16408         (parse_args): Don't handle TEST_extra.  Handle functions with no
16409         return value.
16410         * math/libm-test.inc (struct test_sincos_data): Replace with
16411         struct test_fFF_11_data.
16412         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16413         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16414         (sincos_test_data): Change element type to struct
16415         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16416         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16417         RUN_TEST_LOOP_sincos.
16418         * math/README.libm-test: Don't mention special handling of
16419         individual functions.
16420         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16421         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16422         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16423         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16424         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16426
16427         * math/gen-libm-test.pl (get_variable): Remove function.
16428         (parse_args): Don't show pointer parameters to call in test
16429         names.  Use "extra output N" in test names for extra outputs
16430         rather than naming variables.
16431
16432 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16433
16434         [BZ #15488]
16435         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16436         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16437         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16438         double tests.
16439         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16440         disable.
16441         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16442         check_long_double.
16443
16444         * math/gen-libm-test.pl (@tests): Remove variable.
16445         ($count): Likewise.
16446         (new_test): Remove function.
16447         (show_exceptions): New function.
16448         (special_functions): Use show_exceptions instead of new_test.
16449         (parse_args): Likewise.
16450         (generate_testfile): Pass only function name in generated call to
16451         print_max_error or print_complex_max_error.
16452         (get_ulps): Do not handle complex tests specially.
16453         (output_test): Rename to ...
16454         (get_all_ulps_for_test): ... this.  Return a string rather than
16455         printing to a file.  Require ulps to be present.
16456         (output_ulps): Generate arrays rather than #defines.
16457         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16458         (struct ulp_data): New type.
16459         (BUILD_COMPLEX_ULP): Remove macro.
16460         (compare_ulp_data): New function.
16461         (find_ulps): Likewise.
16462         (find_test_ulps): Likewise.
16463         (find_function_ulps): Likewise.
16464         (find_complex_function_ulps): Likewise.
16465         (print_max_error): Determine allowed ulps using
16466         find_function_ulps.
16467         (print_complex_max_error): Determine allowed ulps using
16468         find_complex_function_ulps.
16469         (check_float_internal): Determine max ulps using find_test_ulps.
16470         (check_float): Do not take max_ulp parameter.  Update call to
16471         check_float_internal.
16472         (check_complex): Likewise.
16473         (check_int): Do not take max_ulp parameter.
16474         (check_long): Likewise.
16475         (check_bool): Likewise.
16476         (check_longlong): Likewise.
16477         (struct test_f_f_data): Remove max_ulp field.
16478         (struct test_ff_f_data): Likewise.
16479         (struct test_ff_f_data_nexttoward): Likewise.
16480         (struct test_fi_f_data): Likewise.
16481         (struct test_fl_f_data): Likewise.
16482         (struct test_if_f_data): Likewise.
16483         (struct test_fff_f_data): Likewise.
16484         (struct test_c_f_data): Likewise.
16485         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16486         (struct test_fF_f1_data): Likewise.
16487         (struct test_ffI_f1_data): Likewise.
16488         (struct test_c_c_data): Remove max_ulp field.
16489         (struct test_cc_c_data): Likewise.
16490         (struct test_f_i_data): Likewise.
16491         (struct test_ff_i_data): Likewise.
16492         (struct test_f_l_data): Likewise.
16493         (struct test_f_L_data): Likewise.
16494         (struct test_sincos_data): Likewise.
16495         (RUN_TEST_f_f): Do not handle ulps.
16496         (RUN_TEST_LOOP_f_f): Likewise.
16497         (RUN_TEST_2_f): Likewise.
16498         (RUN_TEST_LOOP_2_f): Likewise.
16499         (RUN_TEST_fff_f): Likewise.
16500         (RUN_TEST_LOOP_fff_f): Likewise.
16501         (RUN_TEST_c_f): Likewise.
16502         (RUN_TEST_LOOP_c_f): Likewise.
16503         (RUN_TEST_f_f1): Likewise.
16504         (RUN_TEST_LOOP_f_f1): Likewise.
16505         (RUN_TEST_fF_f1): Likewise.
16506         (RUN_TEST_LOOP_fF_f1): Likewise.
16507         (RUN_TEST_fI_f1): Likewise.
16508         (RUN_TEST_LOOP_fI_f1): Likewise.
16509         (RUN_TEST_ffI_f1): Likewise.
16510         (RUN_TEST_LOOP_ffI_f1): Likewise.
16511         (RUN_TEST_c_c): Likewise.
16512         (RUN_TEST_LOOP_c_c): Likewise.
16513         (RUN_TEST_cc_c): Likewise.
16514         (RUN_TEST_LOOP_cc_c): Likewise.
16515         (RUN_TEST_f_i): Likewise.
16516         (RUN_TEST_LOOP_f_i): Likewise.
16517         (RUN_TEST_f_i_tg): Likewise.
16518         (RUN_TEST_LOOP_f_i_tg): Likewise.
16519         (RUN_TEST_ff_i_tg): Likewise.
16520         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16521         (RUN_TEST_f_b): Likewise.
16522         (RUN_TEST_LOOP_f_b): Likewise.
16523         (RUN_TEST_f_b_tg): Likewise.
16524         (RUN_TEST_LOOP_f_b_tg): Likewise.
16525         (RUN_TEST_f_l): Likewise.
16526         (RUN_TEST_LOOP_f_l): Likewise.
16527         (RUN_TEST_f_L): Likewise.
16528         (RUN_TEST_LOOP_f_L): Likewise.
16529         (RUN_TEST_sincos): Likewise.
16530         (RUN_TEST_LOOP_sincos): Likewise.
16531
16532 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
16533
16534         [BZ #15480]
16535         [BZ #15485]
16536         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16537         main case of finite arguments, set rounding mode to FE_TONEAREST
16538         and discard exceptions.
16539         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16540         exceptions.
16541         (remainder_tonearest_test_data): New variable.
16542         (remainder_test_tonearest): New function.
16543         (remainder_towardzero_test_data): New variable.
16544         (remainder_test_towardzero): New function.
16545         (remainder_downward_test_data): New variable.
16546         (remainder_test_downward): New function.
16547         (remainder_upward_test_data): New variable.
16548         (remainder_test_upward): New function.
16549         (main): Call the new test functions.
16550
16551         * math/libm-test.inc (struct test_f_f1_data): Remove field
16552         extra_init.
16553         (struct test_fF_f1_data): Likewise.
16554         (struct test_ffI_f1_data): Likewise.
16555         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
16556         based on value of EXTRA_EXPECTED.
16557         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16558         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
16559         EXTRA_VAR based on value of EXTRA_EXPECTED.
16560         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16561         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
16562         EXTRA_VAR based on value of EXTRA_EXPECTED.
16563         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16564         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
16565         EXTRA_VAR based on value of EXTRA_EXPECTED.
16566         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16567         * math/gen-libm-test.pl (parse_args): Don't output initializers
16568         for extra output values.
16569
16570         * math/libm-test.inc (check_int): Expect result to be exactly
16571         equal to expected value and do not handle ulps.
16572         (check_long): Likewise.
16573         (check_longlong): Likewise.
16574
16575         * math/libm-test.inc (ceil_test_data): Test for "inexact"
16576         exceptions.
16577         (cimag_test_data): Likewise.
16578         (conj_test_data): Likewise.
16579         (copysign_test_data): Likewise.
16580         (cproj_test_data): Likewise.
16581         (creal_test_data): Likewise.
16582         (fabs_test_data): Likewise.
16583         (fdim_test_data): Likewise.
16584         (finite_test_data): Likewise.
16585         (floor_test_data): Likewise.
16586         (fmax_test_data): Likewise.
16587         (fmin_test_data): Likewise.
16588         (fmod_test_data): Likewise.
16589         (fpclassify_test_data): Likewise.
16590         (frexp_test_data): Likewise.
16591         (ilogb_test_data): Likewise.
16592         (isfinite_test_data): Likewise.
16593         (isgreater_test_data): Likewise.
16594         (isgreaterequal_test_data): Likewise.
16595         (isinf_test_data): Likewise.
16596         (isless_test_data): Likewise.
16597         (islessequal_test_data): Likewise.
16598         (islessgreater_test_data): Likewise.
16599         (isnan_test_data): Likewise.
16600         (isnormal_test_data): Likewise.
16601         (issignaling_test_data): Likewise.
16602         (isunordered_test_data): Likewise.
16603         (ldexp_test_data): Likewise.
16604         (lrint_test_data): Likewise.
16605         (lrint_test_data) [TEST_FLOAT]: Disable one test.
16606         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16607         (lrint_tonearest_test_data): Test for "inexact" exceptions.
16608         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16609         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16610         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16611         test input.
16612         (lrint_towardzero_test_data): Test for "inexact" exceptions.
16613         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16614         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16615         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16616         that test input.
16617         (lrint_downward_test_data): Test for "inexact" exceptions.
16618         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16619         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16620         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16621         test input.
16622         (lrint_upward_test_data): Test for "inexact" exceptions.
16623         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16624         test input.
16625         (llrint_test_data): Test for "inexact" exceptions.
16626         (llrint_test_data) [TEST_FLOAT]: Disable one test.
16627         (llrint_tonearest_test_data): Test for "inexact" exceptions.
16628         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16629         (llrint_towardzero_test_data): Test for "inexact" exceptions.
16630         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16631         (llrint_downward_test_data): Test for "inexact" exceptions.
16632         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16633         (llrint_upward_test_data): Test for "inexact" exceptions.
16634         (logb_test_data): Likewise.
16635         (logb_downward_test_data): Likewise.
16636         (nextafter_test_data): Likewise.
16637         (nexttoward_test_data): Likewise.
16638         (remainder_test_data): Likewise.
16639         (remquo_test_data): Likewise.
16640         (scalbn_test_data): Likewise.
16641         (scalbln_test_data): Likewise.
16642         (signbit_test_data): Likewise.
16643         (sqrt_test_data): Likewise.
16644         (significand_test_data): Likewise.
16645
16646 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16647
16648         [BZ #15424]
16649         * benchtests/bench-modf.c (struct args): Mark arg0 as
16650         volatile.
16651         * scripts/bench.pl: Mark members of struct args as volatile.
16652
16653 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16654
16655         [BZ # 15497]
16656         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16657         negative infinity on POWER6 or lower.
16658         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16659
16660 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16661
16662         [BZ #15442]
16663         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16664         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16665         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16666         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16667         (_FP_SETQNAN): New macro.
16668         (_FP_SETQNAN_SEMIRAW): Likewise.
16669         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16670         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16671         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16672         (FP_EXTEND): Use _FP_FRAC_SNANP.
16673         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16674         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16675         into account.
16676         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16677         New macro.
16678         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16679         Likewise.
16680
16681 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
16682
16683         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16684         with DIVIDE_BY_ZERO_EXCEPTION.
16685         (gamma_test_data): Likewise.
16686         (lgamma_test_data): Likewise.
16687         (log_test_data): Likewise.
16688         (log10_test_data): Likewise.
16689         (log2_test_data): Likewise.
16690         (tgamma_test_data): Likewise.
16691
16692         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16693         (acos_test_tonearest): Likewise.
16694         (acos_test_towardzero): Likewise.
16695         (acos_test_downward): Likewise.
16696         (acos_test_upward): Likewise.
16697         (acosh_test): Likewise.
16698         (asin_test): Likewise.
16699         (asin_test_tonearest): Likewise.
16700         (asin_test_towardzero): Likewise.
16701         (asin_test_downward): Likewise.
16702         (asin_test_upward): Likewise.
16703         (asinh_test): Likewise.
16704         (atan_test): Likewise.
16705         (atanh_test): Likewise.
16706         (atan2_test): Likewise.
16707         (cabs_test): Likewise.
16708         (cacos_test): Likewise.
16709         (cacosh_test): Likewise.
16710         (casin_test): Likewise.
16711         (casinh_test): Likewise.
16712         (catan_test): Likewise.
16713         (catanh_test): Likewise.
16714         (cbrt_test): Likewise.
16715         (ccos_test): Likewise.
16716         (ccosh_test): Likewise.
16717         (cexp_test): Likewise.
16718         (clog_test): Likewise.
16719         (clog10_test): Likewise.
16720         (cos_test): Likewise.
16721         (cos_test_tonearest): Likewise.
16722         (cos_test_towardzero): Likewise.
16723         (cos_test_downward): Likewise.
16724         (cos_test_upward): Likewise.
16725         (cosh_test): Likewise.
16726         (cosh_test_tonearest): Likewise.
16727         (cosh_test_towardzero): Likewise.
16728         (cosh_test_downward): Likewise.
16729         (cosh_test_upward): Likewise.
16730         (cpow_test): Likewise.
16731         (csin_test): Likewise.
16732         (csinh_test): Likewise.
16733         (csqrt_test): Likewise.
16734         (ctan_test): Likewise.
16735         (ctan_test_tonearest): Likewise.
16736         (ctan_test_towardzero): Likewise.
16737         (ctan_test_downward): Likewise.
16738         (ctan_test_upward): Likewise.
16739         (ctanh_test): Likewise.
16740         (ctanh_test_tonearest): Likewise.
16741         (ctanh_test_towardzero): Likewise.
16742         (ctanh_test_downward): Likewise.
16743         (ctanh_test_upward): Likewise.
16744         (erf_test): Likewise.
16745         (erfc_test): Likewise.
16746         (exp_test): Likewise.
16747         (exp_test_tonearest): Likewise.
16748         (exp_test_towardzero): Likewise.
16749         (exp_test_downward): Likewise.
16750         (exp_test_upward): Likewise.
16751         (exp10_test): Likewise.
16752         (exp2_test): Likewise.
16753         (expm1_test): Likewise.
16754         (fmod_test): Likewise.
16755         (gamma_test): Likewise.
16756         (hypot_test): Likewise.
16757         (j0_test): Likewise.
16758         (j1_test): Likewise.
16759         (jn_test): Likewise.
16760         (lgamma_test): Likewise.
16761         (log_test): Likewise.
16762         (log10_test): Likewise.
16763         (log1p_test): Likewise.
16764         (log2_test): Likewise.
16765         (logb_test_downward): Likewise.
16766         (pow_test): Likewise.
16767         (pow_test_tonearest): Likewise.
16768         (pow_test_towardzero): Likewise.
16769         (pow_test_downward): Likewise.
16770         (pow_test_upward): Likewise.
16771         (remainder_test): Likewise.
16772         (remquo_test): Likewise.
16773         (sin_test): Likewise.
16774         (sin_test_tonearest): Likewise.
16775         (sin_test_towardzero): Likewise.
16776         (sin_test_downward): Likewise.
16777         (sin_test_upward): Likewise.
16778         (sincos_test): Likewise.
16779         (sinh_test): Likewise.
16780         (sinh_test_tonearest): Likewise.
16781         (sinh_test_towardzero): Likewise.
16782         (sinh_test_downward): Likewise.
16783         (sinh_test_upward): Likewise.
16784         (sqrt_test): Likewise.
16785         (tan_test): Likewise.
16786         (tan_test_tonearest): Likewise.
16787         (tan_test_towardzero): Likewise.
16788         (tan_test_downward): Likewise.
16789         (tan_test_upward): Likewise.
16790         (tanh_test): Likewise.
16791         (tgamma_test): Likewise.
16792         (y0_test): Likewise.
16793         (y1_test): Likewise.
16794         (yn_test): Likewise.
16795
16796         * math/gen-libm-test.pl (adjust_arg): Remove function.
16797         (special_function): Remove argument $in_func.  Only handle
16798         generating output for tables of tests, not inside functions.
16799         (parse_args): Likewise.
16800         (generate_testfile): Remove variable $in_func.  Update call to
16801         parse_args.
16802         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16803         (MINUS_ZERO_INIT): Rename macro to minus_zero.
16804         (PLUS_INFTY_INIT): Rename macro to plus_infty.
16805         (MINUS_INFTY_INIT): Rename macro to minus_infty.
16806         (QNAN_VALUE_INIT): Rename macro to qnan_value.
16807         (MAX_VALUE_INIT): Rename macro to max_value.
16808         (MIN_VALUE_INIT): Rename macro to min_value.
16809         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16810         (plus_zero): Remove variable.
16811         (minus_zero): Likewise.
16812         (plus_infty): Likewise.
16813         (minus_infty): Likewise.
16814         (qnan_value): Likewise.
16815         (max_value): Likewise.
16816         (min_value): Likewise.
16817         (min_subnorm_value): Likewise.
16818
16819 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16820
16821         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16822         uint64_t or uint32_t usage.
16823         * crypt/sha256-block.c: Likewise.
16824         * crypt/sha256-crypt.c: Likewise.
16825         * crypt/sha256.c: Likewise.
16826         * crypt/sha512-block.c: Likewise.
16827         * crypt/sha512-crypt.c: Likewise.
16828         * crypt/sha512.c: Likewise.
16829         * debug/backtrace-tst.c: Likewise.
16830         * debug/pcprofiledump.c: Likewise.
16831         * elf/cache.c: Likewise.
16832         * elf/dl-cache.c: Likewise.
16833         * elf/dl-misc.c: Likewise.
16834         * elf/dl-profile.c: Likewise.
16835         * elf/dl-support.c: Likewise.
16836         * elf/ldconfig.c: Likewise.
16837         * elf/sprof.c: Likewise.
16838         * iconv/dummy-repertoire.c: Likewise.
16839         * iconv/iconv_charmap.c: Likewise.
16840         * iconv/skeleton.c: Likewise.
16841         * iconvdata/8bit-generic.c: Likewise.
16842         * iconvdata/cp737.h: Likewise.
16843         * iconvdata/cp775.h: Likewise.
16844         * iconvdata/ibm1008.h: Likewise.
16845         * iconvdata/ibm1025.h: Likewise.
16846         * iconvdata/ibm1046.h: Likewise.
16847         * iconvdata/ibm1097.h: Likewise.
16848         * iconvdata/ibm1112.h: Likewise.
16849         * iconvdata/ibm1122.h: Likewise.
16850         * iconvdata/ibm1123.h: Likewise.
16851         * iconvdata/ibm1124.h: Likewise.
16852         * iconvdata/ibm1129.h: Likewise.
16853         * iconvdata/ibm1130.h: Likewise.
16854         * iconvdata/ibm1132.h: Likewise.
16855         * iconvdata/ibm1133.h: Likewise.
16856         * iconvdata/ibm1137.h: Likewise.
16857         * iconvdata/ibm1140.h: Likewise.
16858         * iconvdata/ibm1141.h: Likewise.
16859         * iconvdata/ibm1142.h: Likewise.
16860         * iconvdata/ibm1143.h: Likewise.
16861         * iconvdata/ibm1144.h: Likewise.
16862         * iconvdata/ibm1145.h: Likewise.
16863         * iconvdata/ibm1146.h: Likewise.
16864         * iconvdata/ibm1147.h: Likewise.
16865         * iconvdata/ibm1148.h: Likewise.
16866         * iconvdata/ibm1149.h: Likewise.
16867         * iconvdata/ibm1153.h: Likewise.
16868         * iconvdata/ibm1154.h: Likewise.
16869         * iconvdata/ibm1155.h: Likewise.
16870         * iconvdata/ibm1156.h: Likewise.
16871         * iconvdata/ibm1157.h: Likewise.
16872         * iconvdata/ibm1158.h: Likewise.
16873         * iconvdata/ibm1160.h: Likewise.
16874         * iconvdata/ibm1161.h: Likewise.
16875         * iconvdata/ibm1162.h: Likewise.
16876         * iconvdata/ibm1163.h: Likewise.
16877         * iconvdata/ibm1164.h: Likewise.
16878         * iconvdata/ibm1166.h: Likewise.
16879         * iconvdata/ibm1167.h: Likewise.
16880         * iconvdata/ibm12712.h: Likewise.
16881         * iconvdata/ibm1390.h: Likewise.
16882         * iconvdata/ibm1399.h: Likewise.
16883         * iconvdata/ibm16804.h: Likewise.
16884         * iconvdata/ibm4517.h: Likewise.
16885         * iconvdata/ibm4899.h: Likewise.
16886         * iconvdata/ibm4909.h: Likewise.
16887         * iconvdata/ibm4971.h: Likewise.
16888         * iconvdata/ibm5347.h: Likewise.
16889         * iconvdata/ibm803.h: Likewise.
16890         * iconvdata/ibm856.h: Likewise.
16891         * iconvdata/ibm901.h: Likewise.
16892         * iconvdata/ibm902.h: Likewise.
16893         * iconvdata/ibm9030.h: Likewise.
16894         * iconvdata/ibm9066.h: Likewise.
16895         * iconvdata/ibm921.h: Likewise.
16896         * iconvdata/ibm922.h: Likewise.
16897         * iconvdata/ibm9448.h: Likewise.
16898         * iconvdata/isiri-3342.h: Likewise.
16899         * iconvdata/jis0201.h: Likewise.
16900         * include/link.h: Likewise.
16901         * include/netdb.h: Likewise.
16902         * inet/check_native.c: Likewise.
16903         * inet/check_pf.c: Likewise.
16904         * inet/getipv4sourcefilter.c: Likewise.
16905         * inet/getnameinfo.c: Likewise.
16906         * inet/getsourcefilter.c: Likewise.
16907         * inet/htonl.c: Likewise.
16908         * inet/setipv4sourcefilter.c: Likewise.
16909         * inet/setsourcefilter.c: Likewise.
16910         * inet/test-inet6_opt.c: Likewise.
16911         * inet/tst-network.c: Likewise.
16912         * locale/C-collate.c: Likewise.
16913         * locale/C-ctype.c: Likewise.
16914         * locale/C-time.c: Likewise.
16915         * locale/C-translit.h: Likewise.
16916         * locale/loadarchive.c: Likewise.
16917         * locale/programs/3level.h: Likewise.
16918         * locale/programs/charmap.c: Likewise.
16919         * locale/programs/charmap.h: Likewise.
16920         * locale/programs/ld-address.c: Likewise.
16921         * locale/programs/ld-collate.c: Likewise.
16922         * locale/programs/ld-ctype.c: Likewise.
16923         * locale/programs/ld-identification.c: Likewise.
16924         * locale/programs/ld-measurement.c: Likewise.
16925         * locale/programs/ld-messages.c: Likewise.
16926         * locale/programs/ld-monetary.c: Likewise.
16927         * locale/programs/ld-name.c: Likewise.
16928         * locale/programs/ld-numeric.c: Likewise.
16929         * locale/programs/ld-paper.c: Likewise.
16930         * locale/programs/ld-telephone.c: Likewise.
16931         * locale/programs/ld-time.c: Likewise.
16932         * locale/programs/linereader.c: Likewise.
16933         * locale/programs/locale.c: Likewise.
16934         * locale/programs/locarchive.c: Likewise.
16935         * locale/programs/locfile.h: Likewise.
16936         * locale/programs/repertoire.c: Likewise.
16937         * locale/programs/simple-hash.c: Likewise.
16938         * locale/programs/simple-hash.h: Likewise.
16939         * malloc/memusage.c: Likewise.
16940         * malloc/memusagestat.c: Likewise.
16941         * nis/nis_defaults.c: Likewise.
16942         * nis/nis_hash.c: Likewise.
16943         * nis/nis_print.c: Likewise.
16944         * nis/nis_xdr.c: Likewise.
16945         * nscd/connections.c: Likewise.
16946         * nscd/hstcache.c: Likewise.
16947         * nscd/nscd_gethst_r.c: Likewise.
16948         * nscd/nscd_getserv_r.c: Likewise.
16949         * nscd/nscd_helper.c: Likewise.
16950         * nscd/servicescache.c: Likewise.
16951         * nss/makedb.c: Likewise.
16952         * nss/nss_db/db-XXX.c: Likewise.
16953         * nss/nss_db/db-initgroups.c: Likewise.
16954         * nss/nss_db/db-netgrp.c: Likewise.
16955         * nss/nss_files/files-network.c: Likewise.
16956         * nss/nss_files/files-parse.c: Likewise.
16957         * posix/bug-regex5.c: Likewise.
16958         * posix/fnmatch_loop.c: Likewise.
16959         * posix/regcomp.c: Likewise.
16960         * posix/regexec.c: Likewise.
16961         * posix/tst-rfc3484-2.c: Likewise.
16962         * posix/tst-rfc3484-3.c: Likewise.
16963         * posix/tst-rfc3484.c: Likewise.
16964         * resolv/nss_dns/dns-canon.c: Likewise.
16965         * resolv/nss_dns/dns-network.c: Likewise.
16966         * resolv/res_init.c: Likewise.
16967         * resolv/res_mkquery.c: Likewise.
16968         * resolv/tst-aton.c: Likewise.
16969         * stdlib/cxa_atexit.c: Likewise.
16970         * stdlib/cxa_finalize.c: Likewise.
16971         * stdlib/gen-fpioconst.c: Likewise.
16972         * stdlib/strtol_l.c: Likewise.
16973         * string/tst-endian.c: Likewise.
16974         * sunrpc/auth_des.c: Likewise.
16975         * sunrpc/clnt_udp.c: Likewise.
16976         * sunrpc/rtime.c: Likewise.
16977         * sunrpc/svcauth_des.c: Likewise.
16978         * sunrpc/xdr.c: Likewise.
16979         * sunrpc/xdr_intXX_t.c: Likewise.
16980         * sunrpc/xdr_rec.c: Likewise.
16981         * sysdeps/generic/ldconfig.h: Likewise.
16982         * sysdeps/generic/ldsodefs.h: Likewise.
16983         * sysdeps/generic/memusage.h: Likewise.
16984         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16985         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16986         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16987         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16988         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16989         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16990         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16991         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16992         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16993         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16994         * sysdeps/posix/getaddrinfo.c: Likewise.
16995         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16996         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16997         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16998         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16999         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17000         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17001         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17002         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17003         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17004         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17005         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17006         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17007         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17008         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17009         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17010         * sysdeps/x86_64/dl-tls.h: Likewise.
17011         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17012         * time/alt_digit.c: Likewise.
17013         * time/era.c: Likewise.
17014         * wcsmbs/tst-c16c32-1.c: Likewise.
17015
17016 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17017
17018         * math/libm-test.inc (struct test_sincos_data): New type.
17019         (RUN_TEST_LOOP_sincos): New macro.
17020         (sincos_test_data): New variable.
17021         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17022
17023 2013-05-16  Richard Henderson  <rth@redhat.com>
17024
17025         * math/atest-exp2.c (LIMB64): New macro.
17026         (CONSTSZ): New macro.
17027         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17028         (hexdig): Move ...
17029         (print_mpn_fp): ... to function scope.
17030         (read_mpn_hex): Remove.
17031         (get_log2): Remove.
17032         (exp2_mpn): Use mp_log2.
17033         (main): Use mp_exp1.
17034
17035 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17036
17037         * math/libm-test.inc: Remove comment about not testing "inexact"
17038         exceptions.
17039         (INEXACT_EXCEPTION): New macro.
17040         (NO_INEXACT_EXCEPTION): Likewise.
17041         (INVALID_EXCEPTION_OK): Update value.
17042         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17043         (OVERFLOW_EXCEPTION_OK): Likewise.
17044         (UNDERFLOW_EXCEPTION_OK): Likewise.
17045         (IGNORE_ZERO_INF_SIGN): Likewise.
17046         (ERRNO_UNCHANGED): Likewise.
17047         (ERRNO_EDOM): Likewise.
17048         (ERRNO_ERANGE): Likewise.
17049         (test_exceptions): Handle testing "inexact" exceptions.
17050         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17051         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17052         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17053         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17054         INEXACT_EXCEPTION.
17055         (rint_towardzero_test_data): Likewise.
17056         (rint_downward_test_data): Likewise.
17057         (rint_upward_test_data): Likewise.
17058
17059         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17060         with OVERFLOW_EXCEPTION.
17061         (exp10_test_data): Likewise.
17062         (exp2_test_data): Likewise.
17063         (expm1_test_data): Likewise.
17064         (lgamma_test_data): Likewise.
17065         (pow_test_data): Likewise.
17066         (tgamma_test_data): Likewise.
17067         (yn_test_data): Remove duplicate test of overflow.
17068
17069         * math/libm-test.inc (struct test_cc_c_data): New type.
17070         (RUN_TEST_LOOP_cc_c): New macro.
17071         (cpow_test_data): New variable.
17072         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17073
17074         * math/libm-test.inc (struct test_f_L_data): New type.
17075         (RUN_TEST_LOOP_f_L): New macro.
17076         (llrint_test_data): New variable.
17077         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17078         (llrint_tonearest_test_data): New variable.
17079         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17080         (llrint_towardzero_test_data): New variable.
17081         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17082         (llrint_downward_test_data): New variable.
17083         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17084         (llrint_upward_test_data): New variable.
17085         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17086         (llround_test_data): New variable.
17087         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17088
17089 2013-05-13  Peter Collingbourne  <pcc@google.com>
17090
17091         * math/atest-exp2.c (get_log2): Remove const attribute.
17092
17093 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17094
17095         * math/libm-test.inc (struct test_f_l_data): New type.
17096         (RUN_TEST_LOOP_f_l): New macro.
17097         (lrint_test_data): New variable.
17098         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17099         (lrint_tonearest_test_data): New variable.
17100         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17101         (lrint_towardzero_test_data): New variable.
17102         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17103         (lrint_downward_test_data): New variable.
17104         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17105         (lrint_upward_test_data): New variable.
17106         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17107         (lround_test_data): New variable.
17108         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17109
17110 2013-05-15  Peter Collingbourne  <pcc@google.com>
17111
17112         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17113         (EXTRACT_WORDS64) Use where appropriate.
17114         (INSERT_WORDS64) Likewise.
17115
17116         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17117         constraints with x constraints.
17118         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17119
17120         * malloc/obstack.c (_obstack_compat): Add initializer.
17121
17122 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17123
17124         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17125         si_trapno and add si_addr_lsb to _sifields.sigfault.
17126         (si_trapno): Remove macro.
17127         (si_addr_lsb): Define new macro.
17128         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17129
17130 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17131
17132         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17133         instead of TEST_f_l.
17134         (llrint_test_tonearest): Likewise.
17135         (llrint_test_towardzero): Likewise.
17136         (llrint_test_downward): Likewise.
17137         (llrint_test_upward): Likewise.
17138         (llround_test): Likewise.
17139
17140         * math/libm-test.inc (struct test_f_i_data): Add comment.
17141         (RUN_TEST_LOOP_f_b): New macro.
17142         (RUN_TEST_LOOP_f_b_tg): Likewise.
17143         (finite_test_data): New variable.
17144         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17145         (isfinite_test_data): New variable.
17146         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17147         (isinf_test_data): New variable.
17148         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17149         (isnan_test_data): New variable.
17150         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17151         (isnormal_test_data): New variable.
17152         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17153         (issignaling_test_data): New variable.
17154         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17155         (signbit_test_data): New variable.
17156         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17157
17158         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17159         with INVALID_EXCEPTION.
17160         (acosh_test_data): Likewise.
17161         (asin_test_data): Likewise.
17162         (atanh_test_data): Likewise.
17163         (fmod_test_data): Likewise.
17164         (log_test_data): Likewise.
17165         (log10_test_data): Likewise.
17166         (log2_test_data): Likewise.
17167         (pow_test_data): Likewise.
17168         (sqrt_test_data): Likewise.
17169         (y0_test_data): Likewise.
17170         (y1_test_data): Likewise.
17171         (yn_test_data): Likewise.
17172
17173         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17174         function contents.
17175
17176         * math/libm-test.inc (struct test_ff_i_data): New type.
17177         (RUN_TEST_LOOP_ff_i_tg): New macro.
17178         (isgreater_test_data): New variable.
17179         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17180         (isgreaterequal_test_data): New variable.
17181         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17182         (isless_test_data): New variable.
17183         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17184         (islessequal_test_data): New variable.
17185         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17186         (islessgreater_test_data): New variable.
17187         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17188         (isunordered_test_data): New variable.
17189         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17190
17191 2013-05-14  David S. Miller  <davem@davemloft.net>
17192
17193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17194
17195 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17196
17197         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17198
17199         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17200         extra_test to int.
17201         (struct test_f_i_data): Change type of max_ulp to int.
17202
17203         * math/libm-test.inc (test_ffI_f1_data): New type.
17204         (RUN_TEST_LOOP_ffI_f1): New macro.
17205         (remquo_test_data): New variable.
17206         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17207
17208         * setjmp/tst-setjmp-fp.c: New file.
17209         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17210         (link-libm): New variable.
17211         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17212
17213         * math/libm-test.inc (struct test_f_i_data): New type.
17214         (RUN_TEST_LOOP_f_i): New macro.
17215         (RUN_TEST_LOOP_f_i_tg): Likewise.
17216         (fpclassify_test_data): New variable.
17217         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17218         (ilogb_test_data): New variable.
17219         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17220
17221         * math/libm-test.inc (scalbln_test): Correct function name in END
17222         call.
17223
17224         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17225         (RUN_TEST_LOOP_fI_f1): New macro.
17226         (frexp_test_data): New variable.
17227         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17228
17229         * math/libm-test.inc (struct test_fF_f1_data): New type.
17230         (RUN_TEST_LOOP_fF_f1): New macro.
17231         (modf_test_data): New variable.
17232         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17233
17234         * math/libm-test.inc (struct test_f_f1_data): New type.
17235         (RUN_TEST_LOOP_f_f1): New macro.
17236         (gamma_test_data): New variable.
17237         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17238         (lgamma_test_data): New variable.
17239         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17240
17241 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17242
17243         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17244         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17245         (main): Comment "tls" pseudo-hwcap.
17246
17247 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17248
17249         * math/libm-test.inc (struct test_fl_f_data): New type.
17250         (RUN_TEST_LOOP_fl_f): New variable.
17251         (scalbln_test_data): New variable.
17252         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17253
17254         * math/libm-test.inc (struct test_fi_f_data): New type.
17255         (RUN_TEST_LOOP_fi_f): New macro.
17256         (ldexp_test_data): New variable.
17257         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17258         (scalbn_test_data): New variable.
17259         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17260
17261         * math/libm-test.inc (struct test_c_f_data): New type.
17262         (RUN_TEST_LOOP_c_f): New macro.
17263         (cabs_test_data): New variable.
17264         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17265         (carg_test_data): New variable.
17266         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17267         (cimag_test_data): New variable.
17268         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17269         (creal_test_data): New variable.
17270         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17271
17272         * math/libm-test.inc (struct test_if_f_data): New type.
17273         (RUN_TEST_LOOP_if_f): New macro.
17274         (jn_test_data): New variable.
17275         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17276         (yn_test_data): New variable.
17277         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17278
17279         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17280
17281 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17282
17283         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17284         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17285
17286 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17287
17288         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17289         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17290         (bench-deps): Add bench-timing.h.
17291         * benchtests-bench-skeleton.c: Include bench-timing.h.
17292         (main): Use TIMING_* macros instead of clock_gettime.
17293         * benchtests/bench-timing.h: New file.
17294
17295         [BZ #14582]
17296         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17297         Renamed from _LIB_VERSION.
17298         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17299
17300 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17301
17302         * math/libm-test.inc (struct test_fff_f_data): New type.
17303         (RUN_TEST_LOOP_fff_f): New macro.
17304         (fma_test_data): New variable.
17305         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17306         (fma_towardzero_test_data): New variable.
17307         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17308         (fma_downward_test_data): New variable.
17309         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17310         (fma_upward_test_data): New variable.
17311         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17312
17313         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17314         (struct test_c_c_data): New type.
17315         (RUN_TEST_LOOP_c_c): New macro.
17316         (cacos_test_data): New variable.
17317         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17318         (cacosh_test_data): New variable.
17319         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17320         (casin_test_data): New variable.
17321         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17322         (casinh_test_data): New variable.
17323         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17324         (catan_test_data): New variable.
17325         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17326         (catanh_test_data): New variable.
17327         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17328         (ccos_test_data): New variable.
17329         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17330         (ccosh_test_data): New variable.
17331         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17332         (cexp_test_data): New variable.
17333         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17334         (clog_test_data): New variable.
17335         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17336         (clog10_test_data): New variable.
17337         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17338         (conj_test_data): New variable.
17339         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17340         (cproj_test_data): New variable.
17341         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17342         (csin_test_data): New variable.
17343         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17344         (csinh_test_data): New variable.
17345         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17346         (csqrt_test_data): New variable.
17347         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17348         (ctan_test_data): New variable.
17349         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17350         (ctan_tonearest_test_data): New variable.
17351         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17352         (ctan_towardzero_test_data): New variable.
17353         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17354         (ctan_downward_test_data): New variable.
17355         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17356         (ctan_upward_test_data): New variable.
17357         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17358         (ctanh_test_data): New variable.
17359         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17360         (ctanh_tonearest_test_data): New variable.
17361         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17362         (ctanh_towardzero_test_data): New variable.
17363         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17364         (ctanh_downward_test_data): New variable.
17365         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17366         (ctanh_upward_test_data): New variable.
17367         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17368         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17369         of BUILD_COMPLEX.
17370
17371         * math/libm-test.inc (struct test_ff_f_data): New type.
17372         (struct test_ff_f_data_nexttoward): Likewise.
17373         (RUN_TEST_LOOP_2_f): New macro.
17374         (RUN_TEST_LOOP_ff_f): Likewise.
17375         (atan2_test_data): New variable.
17376         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17377         (copysign_test_data): New variable.
17378         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17379         (fdim_test_data): New variable.
17380         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17381         (fmax_test_data): New variable.
17382         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17383         (fmin_test_data): New variable.
17384         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17385         (fmod_test_data): New variable.
17386         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17387         (hypot_test_data): New variable.
17388         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17389         (nextafter_test_data): New variable.
17390         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17391         (nexttoward_test_data): New variable.
17392         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17393         (pow_test_data): New variable.
17394         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17395         (pow_tonearest_test_data): New variable.
17396         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17397         (pow_towardzero_test_data): New variable.
17398         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17399         (pow_downward_test_data): New variable.
17400         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17401         (pow_upward_test_data): New variable.
17402         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17403         (remainder_test_data): New variable.
17404         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17405         (scalb_test_data): New variable.
17406         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17407         * sysdeps/i386/fpu/libm-test-ulps: Update.
17408
17409 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17410
17411         * math/libm-test.inc (fma_test): Use max_value instead of local
17412         variable fltmax.
17413         (nextafter_test): Likewise.
17414
17415         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17416         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17417         (acos_downward_test_data): New variable.
17418         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17419         (acos_upward_test_data): New variable.
17420         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17421         (acosh_test_data): New variable.
17422         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17423         (asin_test_data): New variable.
17424         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17425         (asin_tonearest_test_data): New variable.
17426         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17427         (asin_towardzero_test_data): New variable.
17428         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17429         (asin_downward_test_data): New variable.
17430         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17431         (asin_upward_test_data): New variable.
17432         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17433         (asinh_test_data): New variable.
17434         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17435         (atan_test_data): New variable.
17436         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17437         (atanh_test_data): New variable.
17438         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17439         (cbrt_test_data): New variable.
17440         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17441         (ceil_test_data): New variable.
17442         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17443         (cos_test_data): New variable.
17444         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17445         (cos_tonearest_test_data): New variable.
17446         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17447         (cos_towardzero_test_data): New variable.
17448         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17449         (cos_downward_test_data): New variable.
17450         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17451         (cos_upward_test_data): New variable.
17452         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17453         (cosh_test_data): New variable.
17454         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17455         (cosh_tonearest_test_data): New variable.
17456         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17457         (cosh_towardzero_test_data): New variable.
17458         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17459         (cosh_downward_test_data): New variable.
17460         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17461         (cosh_upward_test_data): New variable.
17462         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17463         (erf_test_data): New variable.
17464         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17465         (erfc_test_data): New variable.
17466         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17467         (exp_test_data): New variable.
17468         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17469         (exp_tonearest_test_data): New variable.
17470         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17471         (exp_towardzero_test_data): New variable.
17472         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17473         (exp_downward_test_data): New variable.
17474         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17475         (exp_upward_test_data): New variable.
17476         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17477         (exp10_test_data): New variable.
17478         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17479         (exp2_test_data): New variable.
17480         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17481         (expm1_test_data): New variable.
17482         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17483         (fabs_test_data): New variable.
17484         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17485         (floor_test_data): New variable.
17486         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17487         (j0_test_data): New variable.
17488         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17489         (j1_test_data): New variable.
17490         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17491         (log_test_data): New variable.
17492         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17493         (log10_test_data): New variable.
17494         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17495         (log1p_test_data): New variable.
17496         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17497         (log2_test_data): New variable.
17498         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17499         (logb_test_data): New variable.
17500         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17501         (logb_downward_test_data): New variable.
17502         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17503         (nearbyint_test_data): New variable.
17504         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17505         (rint_test_data): New variable.
17506         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17507         (rint_tonearest_test_data): New variable.
17508         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17509         (rint_towardzero_test_data): New variable.
17510         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17511         (rint_downward_test_data): New variable.
17512         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17513         (rint_upward_test_data): New variable.
17514         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17515         (round_test_data): New variable.
17516         (round_test): Run tests with RUN_TEST_LOOP_f_f.
17517         (sin_test_data): New variable.
17518         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17519         (sin_tonearest_test_data): New variable.
17520         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17521         (sin_towardzero_test_data): New variable.
17522         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17523         (sin_downward_test_data): New variable.
17524         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17525         (sin_upward_test_data): New variable.
17526         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17527         (sinh_test_data): New variable.
17528         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17529         (sinh_tonearest_test_data): New variable.
17530         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17531         (sinh_towardzero_test_data): New variable.
17532         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17533         (sinh_downward_test_data): New variable.
17534         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17535         (sinh_upward_test_data): New variable.
17536         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17537         (sqrt_test_data): New variable.
17538         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17539         (tan_test_data): New variable.
17540         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17541         (tan_tonearest_test_data): New variable.
17542         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17543         (tan_towardzero_test_data): New variable.
17544         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17545         (tan_downward_test_data): New variable.
17546         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17547         (tan_upward_test_data): New variable.
17548         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17549         (tanh_test_data): New variable.
17550         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17551         (tgamma_test_data): New variable.
17552         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17553         (trunc_test_data): New variable.
17554         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17555         (y0_test_data): New variable.
17556         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17557         (y1_test_data): New variable.
17558         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17559         (significand_test_data): New variable.
17560         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17561
17562 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
17563
17564         [BZ #12387]
17565         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17566
17567 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
17568
17569         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17570
17571 2013-05-10  Andreas Jaeger  <aj@suse.de>
17572
17573         [BZ #15448]
17574         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17575         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17576
17577 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17578
17579         * math/gen-libm-test.pl (adjust_arg): New function.
17580         (special_functions): Handle generating output in both functions
17581         and arrays.
17582         (parse_args): Likewise.
17583         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
17584         $in_func argument to parse_args.
17585         * math/libm-test.inc (struct test_f_f_data): New type.
17586         (IF_ROUND_INIT_): New macro.
17587         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17588         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17589         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17590         (IF_ROUND_INIT_FE_UPWARD): Likewise.
17591         (ROUND_RESTORE_): Likewise.
17592         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17593         (ROUND_RESTORE_FE_TONEAREST): Likewise.
17594         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17595         (ROUND_RESTORE_FE_UPWARD): Likewise.
17596         (RUN_TEST_LOOP_f_f): New macro.
17597         (acos_test_data): New variable.
17598         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17599         (acos_tonearest_test_data): New variable.
17600         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17601
17602 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17603
17604         * benchtests/bench-skeleton.c (startup): Fix coding style.
17605
17606 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
17607
17608         [BZ #6809]
17609         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17610         negative infinity argument.
17611         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17612         negative infinity argument.
17613         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17614         negative infinity argument.
17615         * math/libm-test.inc (tgamma_test): Expect errno to be set for
17616         domain errors.
17617
17618 2013-05-10  Florian Weimer  <fweimer@redhat.com>
17619
17620         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17621         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17622         * iconv/iconv_prog.c (main): Likewise.
17623         * locale/programs/charmap-dir.c (charmap_readdir)
17624         (fopen_uncompressed): Likewise.
17625         * locale/programs/locfile.c (siblings_uncached)
17626         (write_locale_data): Use lstat64 instead of lstat.
17627         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17628         stat.
17629
17630 2013-05-10  Andreas Jaeger  <aj@suse.de>
17631
17632         [BZ #15395]
17633         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17634         localization.
17635         Include <locale.h>.
17636
17637 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
17638
17639         * elf/dl-close.c (_dl_close_worker): Add comments.
17640
17641 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
17642
17643         [BZ #15359]
17644         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17645         high part of pi/2.
17646         (__ieee754_rem_pio2l): Update comments.
17647
17648         [BZ #15429]
17649         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17650         high part of pi/2.
17651         (__ieee754_rem_pio2l): Update comments.
17652
17653         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17654         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17655
17656         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17657         M_PI_4l.
17658
17659         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17660         (M_PI_34_LOG10El): Likewise.
17661         (M_PI2_LOG10El): Likewise.
17662         (M_PI4_LOG10El): Likewise.
17663         (M_PI_LOG10El): Likewise.
17664
17665 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17666
17667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17668
17669 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
17670
17671         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17672         (MINUS_ZERO_INIT): Likewise.
17673         (PLUS_INFTY_INIT): Likewise.
17674         (MINUS_INFTY_INIT): Likewise.
17675         (QNAN_VALUE_INIT): Likewise.
17676         (MAX_VALUE_INIT): Likewise.
17677         (MIN_VALUE_INIT): Likewise.
17678         (MIN_SUBNORM_VALUE_INIT): Likewise.
17679         (plus_zero): Initialize with PLUS_ZERO_INIT.
17680         (minus_zero): Initialize with MINUS_ZERO_INIT.
17681         (plus_infty): Initialize with PLUS_INFTY_INIT.
17682         (minus_infty): Initialize with MINUS_INFTY_INIT.
17683         (qnan_value): Initialize with QNAN_VALUE_INIT.
17684         (max_value): Initialize with MAX_VALUE_INIT.
17685         (min_value): Initialize with MIN_VALUE_INIT.
17686         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17687
17688         * math/libm-test.inc (RUN_TEST_if_f): New macro.
17689         (jn_test): Use TEST_if_f instead of TEST_ff_f.
17690         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17691         (yn_test): Use TEST_if_f instead of TEST_ff_f.
17692
17693         * math/libm-test.inc (RUN_TEST_f_f): New macro.
17694         (RUN_TEST_2_f): Likewise.
17695         (RUN_TEST_ff_f): Likewise.
17696         (RUN_TEST_fi_f): Likewise.
17697         (RUN_TEST_fl_f): Likewise.
17698         (RUN_TEST_fff_f): Likewise.
17699         (RUN_TEST_c_f): Likewise.
17700         (RUN_TEST_f_f1): Likewise.
17701         (RUN_TEST_fF_f1): Likewise.
17702         (RUN_TEST_fI_f1): Likewise.
17703         (RUN_TEST_ffI_f1): Likewise.
17704         (RUN_TEST_c_c): Likewise.
17705         (RUN_TEST_cc_c): Likewise.
17706         (RUN_TEST_f_i): Likewise.
17707         (RUN_TEST_f_i_tg): Likewise.
17708         (RUN_TEST_ff_i_tg): Likewise.
17709         (RUN_TEST_f_b): Likewise.
17710         (RUN_TEST_f_b_tg): Likewise.
17711         (RUN_TEST_f_l): Likewise.
17712         (RUN_TEST_f_L): Likewise.
17713         (RUN_TEST_sincos): Likewise.
17714         * math/gen-libm-test.pl (new_test): Take new argument to indicate
17715         whether to show exceptions.  Do not include ");\n" in return
17716         value.
17717         (special_functions): Output call to RUN_TEST_sincos instead of
17718         check_float calls.  Update calls to new_test.
17719         (parse_args): Output call to single RUN_TEST_* macro instead of
17720         check_* calls and other assignments.  Update calls to new_test.
17721
17722         [BZ #2546]
17723         [BZ #2560]
17724         [BZ #5159]
17725         [BZ #15426]
17726         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17727         input to result for tgamma overflow.
17728         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17729         (gamma_coeff): New variable.
17730         (NCOEFF): New macro.
17731         (gamma_positive): New function.
17732         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17733         underflow here.  Use gamma_positive instead of exp (lgamma) for
17734         other arguments.
17735         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17736         (gamma_coeff): New variable.
17737         (NCOEFF): New macro.
17738         (gammaf_positive): New function.
17739         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17740         underflow here.  Use gamma_positive instead of exp (lgamma) for
17741         other arguments.
17742         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17743         (gamma_coeff): New variable.
17744         (NCOEFF): New macro.
17745         (gammal_positive): New function.
17746         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17747         underflow here.  Use gamma_positive instead of exp (lgamma) for
17748         other arguments.
17749         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17750         (gamma_coeff): New variable.
17751         (NCOEFF): New macro.
17752         (gammal_positive): New function.
17753         (__ieee754_gammal_r): Handle positive infinity, overflow and
17754         underflow here.  Handle NaN the same as positive infinity.  Remove
17755         check x < 0xffffffff for negative integers.  Use gamma_positive
17756         instead of exp (lgamma) for other arguments.
17757         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17758         (gamma_coeff): New variable.
17759         (NCOEFF): New macro.
17760         (gammal_positive): New function.
17761         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17762         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17763         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17764         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17765         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17766         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17767         * sysdeps/generic/math_private.h (__gamma_productf): New
17768         prototype.
17769         (__gamma_product): Likewise.
17770         (__gamma_productl): Likewise.
17771         * math/Makefile (libm-calls): Add gamma_product.
17772         * math/libm-test.inc (tgamma_test): Add more tests.
17773         * sysdeps/i386/fpu/libm-test-ulps: Update.
17774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17775
17776 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
17777
17778         * benchtests/bench-skeleton.c (main): Preheat CPU.
17779
17780 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
17781
17782         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17783
17784 2013-05-07  Roland McGrath  <roland@hack.frob.com>
17785
17786         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17787         and _dl_skip_args_internal.
17788
17789 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
17790
17791         * manual/message.texi (Message Translation): Talk about users.
17792         Message to key mapping impacts design.
17793
17794 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17795
17796         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17797
17798         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17799
17800         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17801         * sysdeps/wordsize-64/glob64.c: ... here.
17802
17803         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17804         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17805         New macros.
17806
17807         * debug/getlogin_r_chk.c: Moved to ...
17808         * login/getlogin_r_chk.c: ... here.
17809         * debug/Makefile (routines): Move getlogin_r_chk to ...
17810         * login/Makefile (routines): ... here.
17811         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17812         * login/Versions (libc: GLIBC_2.4): ... here.
17813
17814         * io/poll.c (__poll): Renamed from poll.
17815         Add libc_hidden_def.
17816         (poll): Define as weak alias.
17817
17818         * debug/ptsname_r_chk.c: Moved to ...
17819         * login/ptsname_r_chk.c: ... here.
17820         * debug/Makefile (routines): Move ptsname_r_chk to ...
17821         * login/Makefile (routines): ... here.
17822         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17823         * login/Versions (libc: GLIBC_2.4): ... here.
17824
17825         * posix/getlogin.c: Moved to ...
17826         * login/getlogin.c: ... here.
17827         * posix/getlogin_r.c: Moved to ...
17828         * login/getlogin_r.c: ... here.
17829         * posix/getlogin_r.c: Moved to ...
17830         * login/getlogin_r.c: ... here.
17831         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17832         * login/Makefile (routines): ... here.
17833         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17834         * login/Versions (libc: GLIBC_2.0): ... here.
17835
17836         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17837         (setrlimit): Define as weak alias.
17838
17839         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17840         Call __ names for open, ftruncate, and close.
17841         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17842         (truncate): Define as weak alias.
17843
17844 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
17845
17846         * math/gen-libm-test.pl (parse_args): Initialize x before each
17847         test of frexp, modf and remquo.
17848
17849         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17850         test signgam value.
17851
17852 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17853
17854         [BZ #15418]
17855         [BZ #15419]
17856         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17857         internal tests.
17858         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17859
17860 2013-05-06  Roland McGrath  <roland@hack.frob.com>
17861
17862         * elf/dl-writev.h: New file.
17863         * elf/dl-misc.c: Include it.
17864         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17865         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17866
17867 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
17868
17869         * math/libm-test.inc (noXFails): Remove variable.
17870         (noXPasses): Likewise.
17871         (BUILD_COMPLEX_INT): Remove macro.
17872         (print_screen): Remove xfail argument.
17873         (print_screen_max_error): Likewise.
17874         (update_stats): Likewise.
17875         (print_max_error): Likewise.  Update calls to other affected
17876         functions.
17877         (print_complex_max_error): Likewise.
17878         (test_single_exception): Update calls to print_screen.
17879         (test_single_errno): Likewise.
17880         (check_float_internal): Remove xfail argument.  Update calls to
17881         other affected functions.
17882         (check_float): Likewise.
17883         (check_complex): Likewise.
17884         (check_int): Likewise.
17885         (check_long): Likewise.
17886         (check_bool): Likewise.
17887         (check_longlong): Likewise.
17888         (main): Don't print noXFails and noXPasses.
17889         * math/gen-libm-test.pl (top level): Don't mention expected
17890         failure handling in comment.
17891         (new_test): Don't handle expected failures.
17892         (parse_args): Don't mention expected failure handling in comment.
17893         (generate_testfile): Don't handle expected failures.
17894         (parse_ulps): Likewise.
17895         (print_ulps_file): Likewise.
17896         (get_failure): Remove function.
17897         (output_test): Don't handle expected failures.
17898         * make/README.libm-test: Don't mention expected failure handling.
17899
17900         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
17901         (minus_zero): Likewise.
17902         (plus_infty): Likewise.
17903         (minus_infty): Likewise.
17904         (qnan_value): Likewise.
17905         (max_value): Likewise.
17906         (min_value): Likewise.
17907         (min_subnorm_value): Likewise.
17908         (initialize): Do not initialize those variables dynamically.
17909
17910 2013-05-03  Roland McGrath  <roland@hack.frob.com>
17911
17912         * io/open.c (__open_2): Moved to ...
17913         * io/open_2.c: ... this new file.
17914         * io/open64.c (__open64_2): Moved to ...
17915         * io/open64_2.c: ... this new file.
17916         * io/openat.c (__openat_2): Moved to ...
17917         * io/openat_2.c: ... this new file.
17918         * io/openat64.c (__openat64_2): Moved to ...
17919         * io/openat64_2.c: ... this new file.
17920         * io/Makefile (routines): Add them.
17921         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17922         * sysdeps/unix/sysv/linux/open_2.c: File removed.
17923         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17924         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17925         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17926         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17927         (__openat64): Add hidden_ver.
17928         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17929         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17930
17931         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17932         Separately conditionalize setting of GLRO(dl_sysinfo) so
17933         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17934         as well, but the actual setting is only under [NEED_DL_SYSINFO].
17935
17936 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17937
17938         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17939         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17940         definition.
17941         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17942         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17943         (_libc_vdso_platform_setup): Add __vdso_time initialization.
17944         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17945         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17946
17947 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
17948
17949         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17950         test signgam value.
17951
17952         * math/libm-test.inc (hypot_test): Do not use
17953         IGNORE_ZERO_INF_SIGN.
17954
17955 2013-05-03  Andreas Jaeger  <aj@suse.de>
17956
17957         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17958         Linux 3.9.
17959         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17960         (PF_MAX): Adjust for VSOCK change.
17961
17962 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17963
17964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17965
17966 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
17967
17968         [BZ #15264]
17969         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17970         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17971         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17972
17973 2013-05-02  David S. Miller  <davem@davemloft.net>
17974
17975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17976
17977 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
17978
17979         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17980
17981 2013-05-01  Roland McGrath  <roland@hack.frob.com>
17982
17983         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17984
17985 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
17986
17987         [BZ #14952]
17988         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17989         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17990         Use __attribute__ ((__gnu_inline__)).
17991         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17992         Don't use __attribute__ ((__gnu_inline__)).
17993
17994 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
17995
17996         [BZ #15423]
17997         * math/s_catan.c (__catan): Handle small real or imaginary part of
17998         input specially to avoid spurious underflow.
17999         * math/s_catanf.c (__catanf): Likewise.
18000         * math/s_catanh.c (__catanh): Likewise.
18001         * math/s_catanhf.c (__catanhf): Likewise.
18002         * math/s_catanhl.c (__catanhl): Likewise.
18003         * math/s_catanl.c (__catanl): Likewise.
18004         * math/libm-test.inc (catan_test): Add more tests.
18005         (catanh_test): Likewise.
18006         * sysdeps/i386/fpu/libm-test-ulps: Update.
18007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18008
18009 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18010
18011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18012
18013 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18014
18015         [BZ #15416]
18016         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18017         accurately for denominator in atan2.
18018         * math/s_catanf.c (__catanf): Likewise.
18019         * math/s_catanh.c (__catanh): Likewise.
18020         * math/s_catanhf.c (__catanhf): Likewise.
18021         * math/s_catanhl.c (__catanhl): Likewise.
18022         * math/s_catanl.c (__catanl): Likewise.
18023         * math/libm-test.inc (catan_test): Add more tests.
18024         (catanh_test): Likewise.
18025         * sysdeps/i386/fpu/libm-test-ulps: Update.
18026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18027
18028 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18029
18030         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18031
18032         * benchtests/Makefile (bench): Remove slow benchmarks.
18033         * benchtests/atan-inputs: Add slow benchmark inputs.
18034         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18035         (BENCH_FUNC): Accept variant offset.
18036         (VARIANT): Define.
18037         * benchtests/bench-skeleton.c (main): Run benchmark for each
18038         variant.
18039         * benchtests/cos-inputs: Add slow benchmark inputs.
18040         * benchtests/exp-inputs: Likewise.
18041         * benchtests/pow-inputs: Likewise.
18042         * benchtests/sin-inputs: Likewise.
18043         * benchtests/slowatan-inputs: Remove.
18044         * benchtests/slowatan.c: Remove.
18045         * benchtests/slowcos-inputs: Remove.
18046         * benchtests/slowcos.c: Remove.
18047         * benchtests/slowexp-inputs: Remove.
18048         * benchtests/slowexp.c: Remove.
18049         * benchtests/slowpow-inputs: Remove.
18050         * benchtests/slowpow.c: Remove.
18051         * benchtests/slowsin-inputs: Remove.
18052         * benchtests/slowsin.c: Remove.
18053         * benchtests/slowtan-inputs: Remove.
18054         * benchtests/slowtan.c: Remove.
18055         * benchtests/tan-inputs: Add slow benchmark inputs.
18056         * scripts/bench.pl: Parse comments and directives.
18057
18058         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18059         in CPPFLAGS.
18060         ($(objpfx)bench-%.c): Remove *-ITER.
18061         * benchtests/bench-modf.c: Remove definition of ITER.
18062         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18063         (main): Loop for DURATION seconds instead of fixed number of
18064         iterations.
18065         * scripts/bench.pl: Don't expect iterations in parameters.
18066
18067 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18068
18069         * io/fchdir.c (__fchdir): Renamed from fchdir.
18070         (fchdir): Define as weak alias.
18071
18072 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18073
18074         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18075         (ERRNO_EDOM): Likewise.
18076         (ERRNO_ERANGE): Likewise.
18077         (noErrnoTests): New variable.
18078         (init_max_error): Set errno to 0.
18079         (test_single_errno): New function.
18080         (test_errno): Likewise.
18081         (check_float_internal): Call test_errno.  Set errno to 0.
18082         (check_complex): Refer to errno tests in comment.
18083         (check_int): Call test_errno.  Set errno to 0.
18084         (check_long): Likewise.
18085         (check_bool): Likewise.
18086         (check_longlong): Likewise.
18087         (cos_test): Use ERRNO_* flags for errno tests instead of
18088         check_int.
18089         (expm1_test): Likewise.
18090         (fmod_test): Likewise.
18091         (ilogb_test): Likewise.
18092         (lgamma_test): Likewise.
18093         (pow_test): Likewise.
18094         (remainder_test): Likewise.
18095         (sin_test): Likewise.
18096         (tan_test): Likewise.
18097         (yn_test): Likewise.
18098         (initialize): Set errno to 0.
18099         (main): Print number of errno tests.
18100         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18101
18102 2013-04-29  Andreas Jaeger  <aj@suse.de>
18103
18104         [BZ #15084]
18105         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18106         and RES_USEVC.
18107
18108         [BZ #15085]
18109         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18110         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18111         unimplemented.
18112
18113         [BZ #15380]
18114         * stdlib/random.c (__initstate): Return NULL if
18115         __initstate fails.
18116
18117         [BZ #15086]
18118         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18119         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18120         RES_SNGLKUPREOP.
18121
18122 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18123
18124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18125
18126 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18127
18128         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18129         of individual tests.
18130         (casin_test): Likewise.
18131         (casinh_test): Likewise.
18132
18133 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18134
18135         [BZ #15409]
18136         * math/s_catan.c (__catan): Handle arguments with large real or
18137         imaginary part separately without squaring.
18138         * math/s_catanf.c (__catanf): Likewise.
18139         * math/s_catanh.c (__catanh): Likewise.
18140         * math/s_catanhf.c (__catanhf): Likewise.
18141         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18142         and redefine.
18143         (__catanhl): Handle arguments with large real or imaginary part
18144         separately without squaring.
18145         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18146         and redefine.
18147         (__catanl): Handle arguments with large real or imaginary part
18148         separately without squaring.
18149         * math/libm-test.inc (catan_test): Add more tests.
18150         (catanh_test): Likewise.
18151         * sysdeps/i386/fpu/libm-test-ulps: Update.
18152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18153
18154 2013-04-27  Andreas Jaeger  <aj@suse.de>
18155
18156         [BZ #15007]
18157         * stdlib/stdlib.h: Update guards for qecvt.
18158         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18159         <stdlib.h>.
18160
18161 2013-04-27  Allan McRae  <allan@archlinux.org>
18162
18163         * sysdeps/i386/fpu/libm-test-ulps: Update.
18164
18165 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18166
18167         [BZ #15406]
18168         * math/s_catan.c: Include <float.h>.
18169         (__catan): Ensure underflow exception occurs for underflowed
18170         result.
18171         * math/s_catanf.c: Include <float.h>.
18172         (__catanf): Ensure underflow exception occurs for underflowed
18173         result.
18174         * math/s_catanh.c: Include <float.h>.
18175         (__catanh): Ensure underflow exception occurs for underflowed
18176         result.
18177         * math/s_catanhf.c: Include <float.h>.
18178         (__catanhf): Ensure underflow exception occurs for underflowed
18179         result.
18180         * math/s_catanhl.c: Include <float.h>.
18181         (__catanhl): Ensure underflow exception occurs for underflowed
18182         result.
18183         * math/s_catanl.c: Include <float.h>.
18184         (__catanl): Ensure underflow exception occurs for underflowed
18185         result.
18186         * math/libm-test.inc (catan_test): Add more tests.
18187         (catanh_test): Likewise.
18188
18189         [BZ #15405]
18190         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18191         underflowed result.
18192         * math/s_ccoshf.c (__ccoshf): Likewise.
18193         * math/s_ccoshl.c (__ccoshl): Likewise.
18194         * math/s_csin.c (__csin): Likewise.
18195         * math/s_csinf.c (__csinf): Likewise.
18196         * math/s_csinh.c (__csinh): Likewise.
18197         * math/s_csinhf.c (__csinhf): Likewise.
18198         * math/s_csinhl.c (__csinhl): Likewise.
18199         * math/s_csinl.c (__csinl): Likewise.
18200         * math/libm-test.inc (ccos_test): Add more tests.
18201         (ccosh_test): Likewise.
18202         (csin_test): Likewise.
18203         (csinh_test): Likewise.
18204
18205 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18206
18207         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18208         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18209         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18210         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18211         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18212         powerpc/power5+/fpu folders.
18213         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18214
18215
18216 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18217
18218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18219
18220 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18221
18222         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18223         additions to variable.
18224         [$(config-machine) = x86_64] (modules-names): Likewise.
18225         ($(objpfx)tst-audit3): Remove dependency.
18226         ($(objpfx)tst-audit3.out): Likewise.
18227         ($(objpfx)tst-audit4): Likewise.
18228         ($(objpfx)tst-audit4.out): Likewise.
18229         ($(objpfx)tst-audit5): Likewise.
18230         ($(objpfx)tst-audit5.out): Likewise.
18231         ($(objpfx)tst-audit6): Likewise.
18232         ($(objpfx)tst-audit6.out): Likewise.
18233         ($(objpfx)tst-audit7): Likewise.
18234         ($(objpfx)tst-audit7.out): Likewise.
18235         (tst-audit3-ENV): Remove variable.
18236         (tst-audit4-ENV): Likewise.
18237         (tst-audit5-ENV): Likewise.
18238         (tst-audit6-ENV): Likewise.
18239         (tst-audit7-ENV): Likewise.
18240         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18241         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18242         addition to variable.
18243         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18244         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18245         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18246         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18247         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18248         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18249         tst-audit3, tst-audit4 and tst-audit5.
18250         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18251         tst-audit6 and tst-audit7.
18252         [$(subdir) = elf] (modules-names): Add audit modules for those
18253         tests.
18254         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18255         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18256         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18257         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18258         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18259         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18260         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18261         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18262         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18263         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18264         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18265         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18266         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18267         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18268         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18269         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18270         Likewise.
18271         [$(subdir) = elf && $(config-cflags-avx) = yes]
18272         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18273         [$(subdir) = elf && $(config-cflags-avx) = yes]
18274         (CFLAGS-tst-auditmod4a.c): Likewise.
18275         [$(subdir) = elf && $(config-cflags-avx) = yes]
18276         (CFLAGS-tst-auditmod4b.c): Likewise.
18277         [$(subdir) = elf && $(config-cflags-avx) = yes]
18278         (CFLAGS-tst-auditmod6b.c): Likewise.
18279         [$(subdir) = elf && $(config-cflags-avx) = yes]
18280         (CFLAGS-tst-auditmod6c.c): Likewise.
18281         [$(subdir) = elf && $(config-cflags-avx) = yes]
18282         (CFLAGS-tst-auditmod7b.c): Likewise.
18283         * elf/tst-audit3.c: Move to ...
18284         * sysdeps/x86_64/tst-audit3.c: ... here.
18285         * elf/tst-audit4.c: Move to ...
18286         * sysdeps/x86_64/tst-audit4.c: ... here.
18287         * elf/tst-audit5.c: Move to ...
18288         * sysdeps/x86_64/tst-audit5.c: ... here.
18289         * elf/tst-audit6.c: Move to ...
18290         * sysdeps/x86_64/tst-audit6.c: ... here.
18291         * elf/tst-audit7.c: Move to ...
18292         * sysdeps/x86_64/tst-audit7.c: ... here.
18293         * elf/tst-auditmod3a.c: Move to ...
18294         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18295         * elf/tst-auditmod3b.c: Move to ...
18296         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18297         * elf/tst-auditmod4a.c: Move to ...
18298         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18299         * elf/tst-auditmod4b.c: Move to ...
18300         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18301         * elf/tst-auditmod5a.c: Move to ...
18302         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18303         * elf/tst-auditmod5b.c: Move to ...
18304         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18305         * elf/tst-auditmod6a.c: Move to ...
18306         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18307         * elf/tst-auditmod6b.c: Move to ...
18308         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18309         * elf/tst-auditmod6c.c: Move to ...
18310         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18311         * elf/tst-auditmod7a.c: Move to ...
18312         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18313         * elf/tst-auditmod7b.c: Move to ...
18314         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18315
18316 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18317
18318         [BZ #15366]
18319         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18320         define unconditionally.
18321         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18322         define unconditionally.
18323         (INT8_C, INT16_C, etc.): Likewise.
18324
18325 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18326
18327         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18328         __ehdr_start with hidden visibility.
18329
18330         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18331
18332 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18333
18334         * math/libm-test.inc (cos_test): Use accurate hex constants.
18335         (sincost_test): Likewise.
18336
18337 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18338
18339         * math/libm-test.inc (catan_test): Add more tests.
18340         (catanh_test): Likewise.
18341
18342         * math/s_catanf.c (__catanf): Use suffixed floating-point
18343         constants.
18344         * math/s_catanhf.c (__catanhf): Likewise.
18345         * math/s_catanhl.c (__catanhl): Likewise.
18346         * math/s_catanl.c (__catanl): Likewise.
18347
18348         [BZ #15394]
18349         * math/s_catan.c (__catan): Calculate imaginary part of result
18350         with log1p not log unless computing log of number close to 0.
18351         * math/s_catanf.c (__catanf): Likewise.
18352         * math/s_catanl.c (__catanl): Likewise.
18353         * math/s_catanh.c (__catanh): Calculate real part of result with
18354         log1p not log unless computing log of number close to 0.
18355         * math/s_catanhf.c (__catanhf): Likewise.
18356         * math/s_catanhl.c (__catanhl): Likewise.
18357         * math/libm-test.inc (catan_test): Add more tests.
18358         (catanh_test): Likewise.
18359         * sysdeps/i386/fpu/libm-test-ulps: Update.
18360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18361
18362 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18363
18364         * benchtests/Makefile: Mention files in which fast and slow
18365         paths of math functions are implemented.
18366
18367 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18368
18369         * sysdeps/posix/timespec_get.c: New file.
18370
18371 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18372
18373         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18374         POWER.
18375         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18376         for POWER.
18377         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18378         powerpc/power5/fpu folders.
18379         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18380         * benchtests/Makefile: Add modf testcase.
18381         * benchtests/bench-modf.c: New file: Benchmark test for mo
18382
18383 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18384
18385         [BZ #14888]
18386         * time/Makefile (tests): Add tst-strptime-whitespace.
18387         * time/strptime_l.c (get_number): Use ISSPACE.
18388         (__strptime_internal): Likewise.
18389         * time/tst-strptime-whitespace.c: New test case.
18390
18391 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18392
18393         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18394         member.
18395         (_nss_files_init): Set it here.
18396
18397 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18398
18399         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18400         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18401         unsigned.
18402
18403 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18404
18405         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18406
18407 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18408
18409         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18410         size just once.
18411
18412 2013-04-21  David S. Miller  <davem@davemloft.net>
18413
18414         * po/ru.po: Update Russion translation from translation project.
18415
18416 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18417
18418         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18419         and setfsgid.
18420
18421 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18422
18423         * configure.in: Remove i386 configure warning. Remove i386 case.
18424         * configure: Regenerate.
18425         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18426         Add example to error message.
18427         * sysdeps/i386/configure: Regenerate.
18428
18429 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18430
18431         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18432         slowtan.
18433         * benchtests/cos-inputs: New file.
18434         * benchtests/slowcos-inputs: New file.
18435         * benchtests/slowcos.c: New file.
18436         * benchtests/slowtan-inputs: New file.
18437         * benchtests/slowtan.c: New file.
18438         * benchtests/tan-inputs: New file.
18439
18440 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18441
18442         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18443         considered kosher.
18444
18445 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18446
18447         * benchtests/Makefile: Include cppflags-iterator.mk to add
18448         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18449
18450         * Makefile.in (bench-clean): New target.
18451         * benchtests/Makefile (bench-clean): Likewise.
18452
18453 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18454
18455         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18456
18457 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18458
18459         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18460
18461 2013-04-15  Andreas Schwab  <schwab@suse.de>
18462
18463         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18464         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18465         * nscd/pwdcache.c (cache_addpw): Likewise.
18466         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18467         more than recsize.
18468
18469 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18470
18471         * benchtests/Makefile (bench): Write all output to
18472         bench-out.tmp together.
18473
18474 2013-04-15  Andreas Schwab  <schwab@suse.de>
18475
18476         * nscd/nscd.c (main): Don't fork again after closing files.
18477
18478 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18479
18480         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18481
18482         * benchtests/Rules (bench-deps): Collect dependencies into a
18483         single variable.  Add Makefile to dependencies.
18484         ($(objpfx)bench-%.c): Depend on bench-deps.
18485
18486 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18487             Xavier Roche  <roche+kml2@exalead.com>
18488
18489         [BZ #15361]
18490         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18491         just that it's a file descriptor.
18492         * manual/llio.texi (Synchronizing AIO Operations): Update description
18493         for EBADF error from aio_fsync.
18494
18495 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18496
18497         * Rules (bench): Move target definition...
18498         * benchtests/Makefile: ... here.
18499
18500 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18501
18502         * math/libm-test.inc (cos_test): Fix PI/2 test.
18503         (sincos_test): Likewise.
18504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18505         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18506
18507 2013-04-11  Andreas Schwab  <schwab@suse.de>
18508
18509         [BZ #13988]
18510         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18511         accept exponent character only when digits were seen.
18512         * stdio-common/Makefile (tests): Add bug26.
18513         * stdio-common/bug26.c: New file.
18514
18515         [BZ #14293]
18516         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18517         non-freeable.
18518
18519 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18520
18521         * Makeconfig (rtld-prefix): Define built linker prefix.
18522         * Rules (run-bench): Use it.
18523         * math/Makefile (run-regen-ulps): Likewise.
18524
18525         * Rules (bench): Remove eval.
18526
18527 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18528             Roland McGrath  <roland@hack.frob.com>
18529             Ondrej Bilka  <neleai@seznam.cz>
18530
18531         [BZ #15346]
18532         * time/getdate.c: Include ctype.h and alloca.h.
18533         (__getdate_r): Trim leading and trailing spaces of input.
18534         * time/tst-getdate.c (tests): Add tests with leading and
18535         trailing spaces.
18536
18537 2013-04-08  Roland McGrath  <roland@hack.frob.com>
18538
18539         [BZ #14280]
18540         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18541         when computing value.
18542
18543 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18544
18545         * math/README.libm-test (How can I generate "libm-test-ulps"?):
18546         Use testrun.sh to run libm tests.
18547
18548         [BZ #15309]
18549         * elf/dl-open.c (dl_open_worker): memset all of seen array.
18550
18551 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
18552
18553         [BZ #15264]
18554         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18555
18556 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18557
18558         * Makefile.in (regen-ulps): New target.
18559         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18560         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18561         [ifneq (no,$(PERL)] (regen-ulps): New target.
18562         [ifeq (no,$(PERL)] (regen-ulps): New target.
18563         * math/libm-test.inc (ulps_file_name): Define.
18564         (output_dir): New variable.
18565         (options): Add "output-dir" option.
18566         (parse_opt): Handle 'o' case.
18567         (main): If output_dir is non-NULL use it as a prefix
18568         otherwise use "".
18569         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18570
18571 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18572
18573         [BZ #10060, #10062]
18574         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18575         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18576         fail configure if __sync_val_compare_and_swap is not inlined.
18577         * sysdeps/i386/configure: Regenerate.
18578         * configure.in: Build for i686 when configured for i386.
18579         * configure: Regenerate.
18580         * README: Remove i386 reference.
18581
18582 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
18583
18584         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18585         * sysdeps/s390/s390-64/sysdep.h: Likewise.
18586
18587 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
18588
18589         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18590         (lmsnanval): New variables.
18591         (F): Add conversion tests.
18592         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18593         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18594
18595         * stdio-common/tstdiomisc.c (F): Properly collect individual
18596         tests' results.
18597
18598         [BZ #14686, #15336]
18599         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18600         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18601         Instead, use input NaN values or generate a qNaN by arithmetic
18602         operation.  Also fix bugs to comply with the standard.
18603         * math/libm-test.inc (remainder_test): Add more tests.
18604
18605         [BZ #15335, #15342]
18606         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18607         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18608         input NaN values or generate a qNaN by arithmetic operation.
18609
18610         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18611         unreachable code.
18612
18613         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18614         definitions.
18615
18616 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
18617
18618         [BZ #14478]
18619         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18620         underflowed result.
18621         * math/s_cexpf.c (__cexpf): Likewise.
18622         * math/s_cexpl.c (__cexpl): Likewise.
18623         * math/libm-test.inc (cexp_test): Add more tests.
18624
18625 2013-04-03  Andreas Schwab  <schwab@suse.de>
18626
18627         [BZ #15330]
18628         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18629         order arrays from heap if bigger than alloca cutoff.
18630
18631 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
18632
18633         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18634         (SNAN_TESTS_double): Refer to GCC PR56831.
18635         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18636         GCC PR56828.
18637
18638 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18639
18640         * Rules (bench): Move bench.out after the run is complete.
18641
18642         * Rules (bench): Echo currently running benchmark.
18643
18644         * benchtests/Makefile (bench): Add atan and slowatan.
18645         * benchtests/atan-inputs: New file.
18646         * benchtests/slowatan-inputs: New file.
18647         * benchtests/slowatan.c: New file.
18648
18649         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18650         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18651         its value.
18652
18653         [BZ #15305]
18654         * sysdeps/unix/sysv/linux/kernel-features.h
18655         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18656         __ASSUME_XFS_RESTRICTED_CHOWN.
18657         * sysdeps/unix/sysv/linux/pathconf.c
18658         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18659         Save and restore errno.
18660
18661 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
18662
18663         [BZ #15327]
18664         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18665         arguments using __kernel_casinh.
18666         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18667         arguments using __kernel_casinhf.
18668         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18669         arguments using __kernel_casinhl.
18670         * math/libm-test.inc (cacosh_test): Add more tests.
18671         * sysdeps/i386/fpu/libm-test-ulps: Update.
18672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18673
18674 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18675
18676         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18677         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18678
18679         * bench/Makefile (bench): Add sin and slowsin.
18680         * benchtests/sin-inputs: New file.
18681         * benchtests/slowsin-inputs: New file.
18682         * benchtests/slowsin.c: New file.
18683
18684         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18685         (bench): Add slowexp and slowpow.
18686         (exp-ITER): Increase iterations.
18687         (pow-ITER): Likewise.
18688         * benchtests/exp-inputs: Change input.
18689         * benchtests/pow-inputs: Likewise.
18690         * benchtests/slowexp-inputs: New file.
18691         * benchtests/slowexp.c: New file.
18692         * benchtests/slowpow-inputs: New file.
18693         * benchtests/slowpow.c: New file.
18694
18695 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18696
18697         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18698         instructions.
18699         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18700         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18701         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18702         * benchtests/Makefile: Add rint benchtest.
18703         * benchtests/rint-inputs: Input for rint benchtest.
18704
18705 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
18706
18707         * Versions.def (libm): Add GLIBC_2.18.
18708         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18709         hidden libm prototypes.
18710         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18711         * math/Makefile (libm-calls): Add s_issignaling.
18712         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18713         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
18714         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18715         declaration.
18716         * math/math.h [__USE_GNU] (issignaling): New macro.
18717         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18718         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18719         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18720         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18721         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18722         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18723         * manual/arith.texi (issignaling): New section.
18724         * manual/libm-err-tab.pl (@all_functions): Update comment.
18725         * math/gen-libm-test.pl (parse_args): Apply special handling for
18726         issignaling.
18727         * math/libm-test.inc (print_float, issignaling_test): New
18728         functions.
18729         (check_float_internal): Add issignaling checks.
18730         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18731         default definition.
18732         * sysdeps/powerpc/math-tests.h: New file.
18733         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18734         tests.
18735         * math/test-snan.c (TEST_FUNC): Likewise.
18736
18737 2013-03-30  David S. Miller  <davem@davemloft.net>
18738
18739         * po/de.po: Update from translation team.
18740
18741 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
18742
18743         [BZ #10357]
18744         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18745         imaginary part less than 1.0 and real part less than 0.5
18746         specially.
18747         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18748         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18749         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18750         (cacos_test): Add more tests.
18751         (casin_test): Likewise.
18752         (casinh_test): Likewise.
18753         * sysdeps/i386/fpu/libm-test-ulps: Update.
18754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18755
18756 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18757
18758         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18759         ONE with its value.
18760
18761         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18762         (__pow_mp): Replace ONE and MONE with their values.
18763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18764         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18765         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18766         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18767         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18768         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18769
18770         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18771
18772         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18773         (__pow_mp): Replace ZERO and MZERO with their values.
18774         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18775         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18776         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18777         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18778         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18779         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18780         (__sqr): Likewise.
18781
18782         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18783
18784         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18785
18786 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18787
18788         * include/stdlib.h [!SHARED] (__call_tls_dtors):
18789         Declare with __attribute__ ((weak)).
18790         * stdlib/exit.c (__libc_atexit) [!SHARED]:
18791         Call __call_tls_dtors only if it's not NULL.
18792
18793 2013-03-28  Roland McGrath  <roland@hack.frob.com>
18794
18795         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18796         didn't do it already, then set _dl_phdr and _dl_phnum based on the
18797         magic __ehdr_start linker symbol if it's defined.
18798         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18799         them up here if it was already done.
18800
18801         * elf/dl-support.c (_dl_phdr): Make pointer to const.
18802         (_dl_aux_init): Use const in cast when setting it.
18803         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18804         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18805         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18806
18807         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18808         Declare them here.
18809         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18810         * csu/libc-tls.c: Nor here.
18811         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18812
18813         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18814         (__libc_message): Never call vsyslog.
18815
18816 2013-03-28  Alan Modra  <amodra@gmail.com>
18817
18818         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18819         Define as empty.
18820         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18821         Likewise.
18822
18823 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18824
18825         [BZ #15214]
18826         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18827         underflow.
18828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18829
18830 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18831
18832         [BZ #15304]
18833         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18834         Don't add gid passed as argument.
18835
18836         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18837
18838 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
18839
18840         [BZ #15307]
18841         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18842         imaginary part between 1.0 and 1.5 and real part less than 0.5
18843         specially.
18844         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18845         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18846         * math/libm-test.inc (cacos_test): Add more tests.
18847         (casin_test): Likewise.
18848         (casinh_test): Likewise.
18849         * sysdeps/i386/fpu/libm-test-ulps: Update.
18850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18851
18852 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18853
18854         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18855         constants.
18856         (norm): Likewise.
18857         (denorm): Likewise.
18858         (__dbl_mp): Likewise.
18859         (add_magnitudes): Likewise.
18860         (sub_magnitudes): Likewise.
18861         (__add): Likewise.
18862         (__sub): Likewise.
18863         (__mul): Likewise.
18864         (__sqr): Likewise.
18865         (__inv): Likewise.
18866         (__dvd): Likewise.
18867
18868         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18869         commented code.
18870         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18871         (__dubcos): Likewise.
18872         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18873         (__ieee754_acos): Likewise.
18874         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18875         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18876         (__exp1): Likewise.
18877         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18879         (log1): Likewise.
18880         (my_log2): Likewise.
18881         (checkint): Likewise.
18882         * sysdeps/ieee754/dbl-64/e_remainder.c
18883         (__ieee754_remainder): Likewise.
18884         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18886         (bsloww): Likewise.
18887         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18888
18889         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18890         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18891         MANTISSA_STORE_T to store computations on mantissa.  Use
18892         macros for rounding and division.
18893         (denorm): Likewise.
18894         (__dbl_mp): Likewise.
18895         (add_magnitudes): Likewise.
18896         (sub_magnitudes): Likewise.
18897         (__mul): Likewise.
18898         (__sqr): Likewise.
18899         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
18900         powers of two in terms of TWOPOW macro.
18901         (mp_no): Make type of mantissa as MANTISSA_T.
18902         [!RADIXI]: Define RADIXI.
18903         [!TWO52]: Define TWO52.
18904         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18905
18906 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18907
18908         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18909         llroundl symbol when building for PPC32.
18910
18911 2013-03-24  Mark H Weaver  <mhw@netris.org>
18912
18913         * manual/arith.texi (Normalization Functions): Fix prototypes for
18914         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18915
18916 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18917
18918         [BZ #13889]
18919         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18920         high value to check if expl overflow.
18921         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18922         to check for underflow and overflow.
18923         * math/libm-test.inc: Add exp test.
18924
18925 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
18926
18927         [BZ #11120]
18928         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18929         with NOT_IN_libc.
18930
18931 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18932
18933         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18934         symbol.
18935
18936 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
18937
18938         * math/gen-libm-test.pl (parse_args, special_functions): Properly
18939         wrap blocks consisting of several statements.
18940
18941         * sysdeps/generic/math-tests.h: New file.
18942         * sysdeps/i386/fpu/math-tests.h: Likewise.
18943         * math/test-snan.c: Include it.
18944         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18945
18946 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18947
18948         [BZ #15285]
18949         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18950         (__ieee754_j0l): Do not improve calculations using cos of twice
18951         input for inputs above LDBL_MAX / 2.0L.
18952         (__ieee754_y0l): Likewise.
18953         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18954         (__ieee754_j1l): Do not improve calculations using cos of twice
18955         input for inputs above LDBL_MAX / 2.0L.
18956         (__ieee754_y1l): Likewise.
18957         * math/libm-test.inc (j0_test): Add another test.
18958         (j1_test): Likewise.
18959         (y0_test): Likewise.
18960         (y1_test): Likewise.
18961         * sysdeps/i386/fpu/libm-test-ulps: Update.
18962
18963 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18964
18965         * Rules ($(objpfx)bench-%.c): Include code from a C source
18966         file.
18967
18968 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
18969
18970         [BZ #15287]
18971         * math/k_casinh.c (__kernel_casinh): Handle arguments with
18972         imaginary part 1.0 and real part less than 0.5 specially.
18973         * math/k_casinhf.c (__kernel_casinhf): Likewise.
18974         * math/k_casinhl.c (__kernel_casinhl): Likewise.
18975         * math/libm-test.inc (cacos_test): Add more tests.
18976         (casin_test): Likewise.
18977         (casinh_test): Likewise.
18978         * sysdeps/i386/fpu/libm-test-ulps: Update.
18979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18980
18981 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18982
18983         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18984         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18985
18986 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
18987
18988         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18989         * config.make.in (config-cflags-sse4): Remove variable.
18990         (config-cflags-avx): Likewise.
18991         (config-cflags-sse2avx): Likewise.
18992         (config-cflags-novzeroupper): Likewise.
18993         (config-asflags-i686): Likewise.
18994         (have-mfma4): Likewise.
18995         (have-as-vis3): Likewise.
18996         (MIG): Likewise.
18997         * configure.in (MIG): Do not AC_SUBST.
18998         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18999         (libc_cv_cc_sse4): Do not AC_SUBST.
19000         (libc_cv_cc_avx): Likewise.
19001         (libc_cv_cc_sse2avx): Likewise.
19002         (libc_cv_cc_novzeroupper): Likewise.
19003         (libc_cv_cc_fma4): Likewise.
19004         (libc_cv_as_i686): Likewise.
19005         (libc_cv_sparc_as_vis3): Likewise.
19006         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19007         LIBC_CONFIG_VAR.
19008         (config-asflags-i686): Likewise.
19009         (config-cflags-avx): Likewise.
19010         (config-cflags-sse2avx): Likewise.
19011         (have-mfma4): Likewise.
19012         (config-cflags-novzeroupper): Likewise.
19013         * sysdeps/mach/configure.in (MIG): Likewise.
19014         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19015         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19016         LIBC_CONFIG_VAR.
19017         (config-cflags-avx): Likewise.
19018         (config-cflags-sse2avx): Likewise.
19019         (have-mfma4): Likewise.
19020         (config-cflags-novzeroupper): Likewise.
19021         * configure: Regenerated.
19022         * sysdeps/i386/configure: Likewise.
19023         * sysdeps/mach/configure: Likewise.
19024         * sysdeps/sparc/configure: Likewise.
19025         * sysdeps/x86_64/configure: Likewise.
19026
19027 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19028
19029         [BZ #14812]
19030         * locale/programs/localedef.c (options): Put N_ translation marker
19031         on argument names, not just descriptions.
19032
19033 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19034
19035         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19036
19037 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19038
19039         [BZ #14176]
19040         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19041
19042 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19043
19044         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19045         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19046         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19047         [!BEFORE_ABORT] (before_abort): New function.
19048         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19049         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19050         (writev_for_fatal): New function.
19051         (WRITEV_FOR_FATAL): New macro; call that.
19052         (backtrace_and_maps): New function.
19053         (BEFORE_ABORT): New macro; call that.
19054         (struct str_list): Type removed.
19055         (__libc_message, __libc_fatal): Functions removed.
19056         Include <sysdeps/posix/libc_fatal.c> instead.
19057
19058 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19059
19060         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19061         constants.
19062         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19063         double constants.
19064
19065 2013-03-19  Andreas Schwab  <schwab@suse.de>
19066
19067         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19068         * sysdeps/gnu/configure: Regenerate.
19069
19070         * configure.in: Substitute libc_cv_rtlddir.
19071         * configure: Regenerate.
19072         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19073         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19074         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19075         * elf/Makefile (install-others, CFLAGS-interp.c)
19076         (ldso_install, common-ldd-rewrite): Likewise.
19077         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19078         $(inst_slibdir)/$(rtld-installed-name).
19079         * scripts/rellns-sh: Add -p option.
19080         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19081         for source.
19082
19083 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19084
19085         * manual/nptl.texi: Renamed to ...
19086         * manual/threads.texi: ... this.
19087         * manual/Makefile (chapters): Update.
19088
19089 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19090
19091         [BZ #14812]
19092         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19093         on argument names, not just descriptions.
19094         * malloc/memusagestat.c (options): Likewise.
19095         * nss/getent.c (options): Likewise.
19096
19097 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19098
19099         [BZ #14812]
19100         * iconv/iconv_prog.c (options): Put N_ translation marker
19101         on argument names, not just descriptions.
19102         * iconv/iconvconfig.c (options): Likewise.
19103
19104 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19105
19106         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19107         implementation which is faster on all x86_64 architectures.
19108         Tested on AMD, Intel Nehalem, SNB, IVB.
19109         * sysdeps/x86_64/strnlen.S: Likewise.
19110
19111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19112         Remove all multiarch strlen and strnlen versions.
19113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19114         Remove strlen and strnlen related parts.
19115
19116         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19117         Inline strlen part.
19118         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19119
19120         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19121         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19122         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19123         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19124         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19125         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19126
19127 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19128
19129         * manual/memory.texi (Malloc Tunable Parameters):
19130         Sort parameters alphabetically. Add comments for missing entries.
19131
19132 2013-03-17  David S. Miller  <davem@davemloft.net>
19133
19134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19135
19136 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19137
19138         [BZ #15283]
19139         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19140         for arguments at most half maximum finite value.
19141         * math/libm-test.inc (j0_test): Add more tests.
19142         (j1_test): Likewise.
19143         (y0_test): Likewise.
19144         (y1_test): Likewise.
19145         * sysdeps/i386/fpu/libm-test-ulps: Update.
19146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19147
19148         [BZ #14155]
19149         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19150         1 / x and functions P and Q for arguments above 0x1p256L.
19151         (__ieee754_y0l): Likewise.
19152         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19153         (__ieee754_y1l): Likewise.
19154         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19155         (j1_test): Likewise.
19156         (y0_test): Likewise.
19157         (y1_test): Likewise.
19158
19159 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19160
19161         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19162         variable.
19163
19164 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19165
19166         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19167         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19168         zero since it's initialized to EXEC_PAGESIZE.
19169
19170         * sysdeps/unix/sysv/linux/ldsodefs.h
19171         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19172         * sysdeps/generic/ldsodefs.h: ... here.
19173
19174 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19175
19176         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19177
19178         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19179         math/test-snan.c.
19180         * math/test-snan.c: Renamed from
19181         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19182         * math/Makefile (tests): Add test-snan.
19183         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19184         test-powerpc-snan.
19185
19186         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19187         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19188         functions.
19189         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19190         __builtin_nan family of functions.
19191         * math/libm-test.inc (initialize): Initialize qnan_value with
19192         __builtin_nan family of functions.
19193         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19194         Remove variables.
19195         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19196         Remove functions.
19197         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19198         storage class.  Initialize qNaN_var and sNaN_var with
19199         __builtin_nan and __builtin_nans families of functions,
19200         respectively.
19201
19202         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19203         (sqrt_test): Remove duplicate test with qNaN input.
19204         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19205         (round_test, signbit_test, significand_test): Note missing +/-Inf
19206         as well as qNaN tests.
19207
19208         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19209         qNaN_var.  Fix a few strings, too.
19210         * math/libm-test.inc (nan_value): Rename to qnan_value.
19211         * math/gen-libm-test.pl (%beautify): Adjust to that.
19212         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19213         * math/test-misc.c (main): Likewise.
19214         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19215         to __qnan_bytes, and __qnan_union, respectively.
19216         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19217         Likewise.
19218         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19219         and lqnanval, respectively.
19220         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19221         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19222         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19223         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19224
19225         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19226         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19227         doubles.
19228
19229         * math/test-misc.c (main): Fix copy'n'pastos.
19230         * misc/tst-efgcvt.c (special): Likewise.
19231
19232         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19233         Remove declarations.
19234
19235 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19236
19237         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19238         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19239         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19240         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19241
19242 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19243
19244         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19245         macro to return vdso values correctly in IFUNC implementations.
19246         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19247         Optimization by using IFUNC.
19248
19249 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19250             Richard Henderson  <rth@redhat.com>
19251             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19252
19253         * Makefile.in (bench): New target.
19254         * NEWS: Mention the benchmark framework.
19255         * Rules (bench): Likewise.
19256         (binaries-bench): Generate binaries for functions to
19257         benchmark.
19258         * benchtests/Makefile: New makefile for benchmark tests.
19259         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19260         programs.
19261         * benchtests/exp-inputs: New input file for EXP function.
19262         * benchtests/pow-inputs: New input file for POW function.
19263         * scripts/bench.pl: New script to generate source files for
19264         benchmark programs.
19265
19266 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19267
19268         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19269         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19270         computations on mantissa.  Use macros for rounding and
19271         division.
19272         (denorm): Likewise.
19273         (__dbl_mp): Likewise.
19274         (add_magnitudes): Likewise.
19275         (sub_magnitudes): Likewise.
19276         (__mul): Likewise.
19277         (__sqr): Likewise.
19278         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19279         powers of two in terms of TWOPOW macro.
19280         (mp_no): Make type of mantissa as MANTISSA_T.
19281         [!RADIXI]: Define RADIXI.
19282         [!TWO52]: Define TWO52.
19283         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19284
19285         * manual/nptl.texi (cindex): Modify threads to pthreads.
19286
19287 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19288
19289         * sysdeps/x86_64/preconfigure: Regenerated.
19290
19291 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19292
19293         [BZ #14155]
19294         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19295         0x1p28 and above.
19296         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19297         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19298         0x1p28 and above.
19299         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19300         * math/libm-test.inc (j0_test): Do not allow one spurious
19301         underflow exception.
19302         (y1_test): Likewise.
19303
19304 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19305
19306         * manual/Makefile (chapters): Add nptl.
19307         * manual/debug.texi (Debugging Support): Add link to Threads
19308         chapter.
19309         * manual/nptl.texi: New file.
19310
19311         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19312
19313 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19314
19315         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19316         for non-NULL pointer before the memory validity test. Pointed
19317         out by Holger Brunck <holger.brunck@keymile.com>.
19318
19319 2013-03-13  Andreas Schwab  <schwab@suse.de>
19320
19321         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19322         instead of .os.
19323
19324 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19325
19326         * timezone/zic.c: Update from tzcode 2013b.
19327
19328 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19329
19330         * manual/install.texi (Configuring and compiling):
19331         Mention i686 and i586.
19332         * INSTALL: Regenerate.
19333
19334 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19335
19336         * sysdeps/init_array/elf-init.c: New file.
19337         * csu/elf-init.c
19338         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19339         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19340
19341         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19342         __gmon_start__ as global, but as static with a .preinit_array pointer.
19343         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19344         * sysdeps/init_array/crti.S: New file, empty except for comments.
19345         * sysdeps/init_array/crtn.S: Likewise.
19346
19347 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19348
19349         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19350         definining bcopy.
19351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19352         Remove Prefer_SSE_for_memop.
19353         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19354         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19355         HAS_PREFER_SSE_FOR_MEMOP.
19356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19357         memset-x86-64.
19358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19359         Remove bzero, memset ifunc support.
19360         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19361         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19362         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19363         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19364
19365 2013-03-11  Andreas Schwab  <schwab@suse.de>
19366
19367         [BZ #15234]
19368         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19369         by SHLIB_COMPAT.
19370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19371         (GLIBC_2.16): Remove pthread_atfork.
19372
19373 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19374
19375         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19376         (ptestcases.h): Likewise.
19377
19378 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19379
19380         * Makeconfig ($(common-objpfx)config.status): Depend on
19381         sysdeps/*/preconfigure{,.in} too.
19382
19383 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19384
19385         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19386         (__free_hook): Use void * instead of __malloc_ptr_t.
19387         (__malloc_hook): Likewise.
19388         (__realloc_hook): Likewise.
19389         (__memalign_hook): Likewise.
19390         (__after_morecore_hook): Likewise.
19391         * malloc/arena.c (save_malloc_hook): Likewise.
19392         (save_free_hook): Likewise.
19393         * malloc/hooks.c (malloc_hook_ini): Likewise.
19394         (realloc_hook_ini): Likewise.
19395         (memalign_hook_ini): Likewise.
19396         * malloc/malloc.c (malloc_hook_ini): Likewise.
19397         (realloc_hook_ini): Likewise.
19398         (memalign_hook_ini): Likewise.
19399         (__free_hook): Likewise.
19400         (__malloc_hook): Likewise.
19401         (__realloc_hook): Likewise.
19402         (__memalign_hook): Likewise.
19403         (__libc_malloc): Likewise.
19404         (__libc_free): Likewise.
19405         (__libc_realloc): Likewise.
19406         (__libc_memalign): Likewise.
19407         (__libc_valloc): Likewise.
19408         (__libc_pvalloc): Likewise.
19409         (__libc_calloc): Likewise.
19410         (__posix_memalign): Likewise.
19411         * malloc/morecore.c (__sbrk): Likewise.
19412         (__default_morecore): Likewise.
19413
19414         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19415
19416         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19417         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19418         __malloc_ptrdiff_t.
19419
19420         * malloc/malloc.h (__malloc_size_t): Remove macro.
19421         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19422         __malloc_size_t.
19423         (old_memalign_hook): Likewise.
19424         (old_realloc_hook): Likewise.
19425         (struct hdr): Likewise.
19426         (flood): Likewise.
19427         (mallochook): Likewise.
19428         (memalignhook): Likewise.
19429         (reallochook): Likewise.
19430         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19431         (tr_old_realloc_hook): Likewise.
19432         (tr_old_memalign_hook): Likewise.
19433         (tr_mallochook): Likewise.
19434         (tr_reallochook): Likewise.
19435         (tr_memalignhook): Likewise.
19436
19437 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19438
19439         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19440         default_ldbl_pack and using as default implementation.
19441         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19442         implementation.
19443         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19444         redundant definition.
19445         (ldbl_insert_mantissa): Likewise.
19446         (ldbl_canonicalize): Likewise.
19447         (ldbl_nearbyint): Likewise.
19448         (ldbl_pack): Rename to ldbl_pack_ppc.
19449         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19450         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19451         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19452
19453 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19454
19455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19456         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19457         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19458         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19460         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19461         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19462         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19463
19464 2013-03-07  Andreas Jaeger  <aj@suse.de>
19465
19466         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19467         bits/mman-linux.h.
19468
19469 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19470
19471         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19472         Include mpa.h and declare __MPEXP.
19473         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19474         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19475         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19476         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19477         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19478         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19479         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19480
19481         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19482         (__slowpow): Use long double EXPL and LOGL functions to
19483         compute POW.
19484         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19485         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19486         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19487         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19488         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19489         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19490
19491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19492         intermediate variable to calculate exponent.
19493         (__sqr): Likewise.
19494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19495         Likewise.
19496         (__sqr): Likewise.
19497
19498         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19499         [!NO__SQR]: Define __sqr.
19500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19501         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19502         sysdeps/ieee754/dbl-64/mpa.c.
19503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19504
19505         [BZ #12723]
19506         * posix/Makefile (tests): Add tst-pathconf.
19507         * posix/tst-pathconf.c: New test case.
19508         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19509         _PC_PIPE_BUF.
19510         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19511
19512 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
19513
19514         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19515
19516 2013-03-06  Andreas Jaeger  <aj@suse.de>
19517
19518         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19519         definition via __MAP_ANONYMOUS.
19520
19521         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19522         it's not part of Linux headers.
19523
19524         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19525         (MAP_HUGE_MASK): Define.
19526
19527         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19528         Define.
19529         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19530         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19531         Define.
19532         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19533         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19534         Define.
19535         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19536         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19537         Define.
19538         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19539
19540         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19541         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19542         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19543         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19544         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19545         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19546
19547         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19548         Handle f2fs.
19549
19550         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19551         Handle f2fs and efivarfs.
19552
19553         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19554         f2fs.
19555
19556         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19557         (EFIVARFS_MAGIC): Add.
19558         (F2FS_LINK_MAX): Add.
19559
19560 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19561
19562         * stdio-common/vfprintf.c: Replace __builtin_expect with
19563         __glibc_unlikely.
19564
19565 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
19566
19567         [BZ #13550]
19568         * sysdeps/generic/bp-sym.h: Remove file.
19569         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19570         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19571         <bp-sym.h> and <bp-asm.h>.
19572         (__longjmp): Don't use BP_SYM.
19573         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19574         and <bp-asm.h>.
19575         (memcpy): Don't use BP_SYM.
19576         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19577         <bp-sym.h> and <bp-asm.h>.
19578         (memcpy): Don't use BP_SYM.
19579         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19580         <bp-asm.h>.
19581         (memcpy): Don't use BP_SYM.
19582         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19583         <bp-asm.h>.
19584         (memset): Don't use BP_SYM.
19585         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19586         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19587         (__bzero): Don't use BP_SYM.
19588         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19589         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19590         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19591         <bp-sym.h> and <bp-asm.h>.
19592         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19593         pointers.
19594         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19595         <bp-sym.h> and <bp-asm.h>.
19596         (memcpy): Don't use BP_SYM.
19597         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19598         <bp-sym.h> and <bp-asm.h>.
19599         (memset): Don't use BP_SYM.
19600         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19601         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19602         (__bzero): Don't use BP_SYM.
19603         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19604         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19605         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19606         <bp-sym.h> and <bp-asm.h>.
19607         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19608         pointers.
19609         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19610         <bp-sym.h> and <bp-asm.h>.
19611         (memcpy): Don't use BP_SYM.
19612         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19613         <bp-sym.h> and <bp-asm.h>.
19614         (memset): Don't use BP_SYM.
19615         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19616         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19617         (__bzero): Don't use BP_SYM.
19618         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19619         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19620         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19621         <bp-sym.h> and <bp-asm.h>.
19622         (__memchr): Don't use BP_SYM.
19623         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19624         <bp-sym.h> and <bp-asm.h>.
19625         (memcmp): Don't use BP_SYM.  Remove comment about bounded
19626         pointers.
19627         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19628         <bp-sym.h> and <bp-asm.h>.
19629         (memcpy): Don't use BP_SYM.
19630         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19631         <bp-sym.h> and <bp-asm.h>.
19632         (__mempcpy): Don't use BP_SYM.
19633         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19634         <bp-sym.h> and <bp-asm.h>.
19635         (__memrchr): Don't use BP_SYM.
19636         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19637         <bp-sym.h> and <bp-asm.h>.
19638         (memset): Don't use BP_SYM.
19639         (__bzero): Likewise.
19640         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19641         <bp-sym.h> and <bp-asm.h>.
19642         (__rawmemchr): Don't use BP_SYM.
19643         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19644         <bp-sym.h> and <bp-asm.h>.
19645         (__STRCMP): Don't use BP_SYM.
19646         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19647         <bp-sym.h> and <bp-asm.h>.
19648         (strchr): Don't use BP_SYM.
19649         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19650         <bp-sym.h> and <bp-asm.h>.
19651         (__strchrnul): Don't use BP_SYM.
19652         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19653         <bp-sym.h> and <bp-asm.h>.
19654         (strlen): Don't use BP_SYM.
19655         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19656         <bp-sym.h> and <bp-asm.h>.
19657         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19658         pointers.
19659         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19660         <bp-sym.h> and <bp-asm.h>.
19661         (__strnlen): Don't use BP_SYM.
19662         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19663         <bp-sym.h> and <bp-asm.h>.
19664         (__GI__setjmp): Don't use BP_SYM.
19665         (_setjmp): Likewise.
19666         (__sigsetjmp): Likewise.
19667         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19668         (L(start_addresses)): Don't use BP_SYM.
19669         (_start): Likewise.
19670         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19671         <bp-asm.h>.
19672         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19673         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19674         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19675         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19676         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19677         <bp-asm.h>.
19678         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19679         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
19680         about bounded pointers.
19681         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19682         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19683         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19684         <bp-asm.h>.
19685         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19686         about bounded pointers.  Remove GKM FIXME comments.
19687         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19688         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19689         <bp-asm.h>.
19690         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19691         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
19692         Remove GKM FIXME comments.
19693         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19694         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19695         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19696         <bp-asm.h>.
19697         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
19698         about bounded pointers.  Remove GKM FIXME comment.
19699         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19700         and <bp-asm.h>.
19701         (strncmp): Don't use BP_SYM.  Remove comment about bounded
19702         pointers.
19703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19704         <bp-sym.h> and <bp-asm.h>.
19705         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19707         <bp-sym.h> and <bp-asm.h>.
19708         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19709         comment.
19710
19711 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19712
19713         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19714         call free(NULL).
19715
19716 2013-03-05  David S. Miller  <davem@davemloft.net>
19717
19718         * po/es.po: Update from translation team.
19719
19720 2013-03-05  Andreas Jaeger  <aj@suse.de>
19721
19722         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19723         <bits/mman-linux.h>.
19724         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19725         is fine.
19726         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19727         <bits/mman-linux.h> to end of file.
19728         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19729         is fine.
19730         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19731         <bits/mman-linux.h> to end of file.
19732         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19733         is fine.
19734         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19735         <bits/mman-linux.h> to end of file.
19736
19737         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19738         (MCL_CURRENT, MCL_FUTURE): Define here.
19739
19740 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19741
19742         [BZ #15232]
19743         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19744         attribute_hidden.
19745         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19746
19747 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19748
19749         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19750         fourth parameter needed for rt_sigprocmask syscall.
19751         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19752         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19753         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19754         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19755         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19756         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19757
19758 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
19759
19760         [BZ #13550]
19761         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19762         comment about bounded pointers.
19763         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19764         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19765
19766 2013-03-04  Andreas Jaeger  <aj@suse.de>
19767
19768         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19769         common definitions.
19770
19771         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19772         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19773         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19774         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19775         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19776         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19777
19778 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19779
19780         [BZ #15055]
19781         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19782         __ieee754_sqrl instead of __sqrl.
19783
19784 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
19785
19786         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19787         * sysdeps/powerpc/fpu_control.h: ... here.
19788         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19789         * sysdeps/powerpc/bits/fenvinline.h: ... here.
19790         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19791         * sysdeps/powerpc/bits/mathinline.h: ... here.
19792
19793 2013-03-01  Roland McGrath  <roland@hack.frob.com>
19794
19795         * elf/dl-hwcaps.c (_dl_important_hwcaps):
19796         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19797         to just [NEED_DL_SYSINFO_DSO].
19798         * elf/dl-support.c: Likewise.
19799         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19800         * elf/rtld.c (dl_main): Likewise.
19801         * elf/setup-vdso.h (setup_vdso): Likewise.
19802         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19803         * sysdeps/unix/sysv/linux/dl-sysdep.c
19804         (_dl_discover_osversion): Likewise.
19805
19806 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
19807
19808         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19809         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19810
19811 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19812
19813         * NEWS: Mention libm performance improvements and non-x86 PI
19814         futex support.
19815
19816         * csu/libc-start.c (__pthread_initialize_minimal): Change
19817         function arguments.
19818         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19819
19820 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
19821
19822         [BZ #13550]
19823         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19824         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19825         <bp-sym.h> and <bp-asm.h>.
19826         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19827         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19828         and <bp-asm.h>.
19829         (memcpy): Don't use BP_SYM.
19830         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19831         <bp-asm.h>.
19832         (__mpn_add_n): Don't use BP_SYM.
19833         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19834         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19835         and <bp-asm.h>.
19836         (__mpn_addmul_1): Don't use BP_SYM.
19837         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19838         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19839         <bp-sym.h>.
19840         (_setjmp): Don't use BP_SYM.
19841         (__novmx_setjmp): Likewise.
19842         (__GI__setjmp): Likewise.
19843         (__vmx_setjmp): Likewise.
19844         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19845         <bp-sym.h>.
19846         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19847         (__bzero): Don't use BP_SYM.
19848         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19849         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19850         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19851         <bp-sym.h> and <bp-asm.h>.
19852         (memcpy): Don't use BP_SYM.
19853         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19854         <bp-sym.h> and <bp-asm.h>.
19855         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19856         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19857         <bp-sym.h> and <bp-asm.h>.
19858         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19859         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19860         <bp-asm.h>.
19861         (__mpn_lshift): Don't use BP_SYM.
19862         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19863         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19864         <bp-asm.h>.
19865         (memset): Don't use BP_SYM.
19866         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19867         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19868         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19869         <bp-asm.h>.
19870         (__mpn_mul_1): Don't use BP_SYM.
19871         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19872         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19873         <bp-sym.h> and <bp-asm.h>.
19874         (memcmp): Don't use BP_SYM.
19875         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19876         <bp-sym.h> and <bp-asm.h>.
19877         (memcpy): Don't use BP_SYM.
19878         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19879         <bp-sym.h> and <bp-asm.h>.
19880         (memset): Don't use BP_SYM.
19881         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19882         <bp-sym.h> and <bp-asm.h>.
19883         (strncmp): Don't use BP_SYM.
19884         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19885         <bp-sym.h> and <bp-asm.h>.
19886         (memcpy): Don't use BP_SYM.
19887         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19888         <bp-sym.h> and <bp-asm.h>.
19889         (memset): Don't use BP_SYM.
19890         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19891         <bp-sym.h> and <bp-asm.h>.
19892         (__memchr): Don't use BP_SYM.
19893         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19894         <bp-sym.h> and <bp-asm.h>.
19895         (memcmp): Don't use BP_SYM.
19896         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19897         <bp-sym.h> and <bp-asm.h>.
19898         (memcpy): Don't use BP_SYM.
19899         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19900         <bp-sym.h> and <bp-asm.h>.
19901         (__mempcpy): Don't use BP_SYM.
19902         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19903         <bp-sym.h> and <bp-asm.h>.
19904         (__memrchr): Don't use BP_SYM.
19905         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19906         <bp-sym.h> and <bp-asm.h>.
19907         (memset): Don't use BP_SYM.
19908         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19909         <bp-sym.h> and <bp-asm.h>.
19910         (__rawmemchr): Don't use BP_SYM.
19911         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19912         <bp-sym.h> and <bp-asm.h>.
19913         (__STRCMP): Don't use BP_SYM.
19914         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19915         <bp-sym.h> and <bp-asm.h>.
19916         (strchr): Don't use BP_SYM.
19917         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19918         <bp-sym.h> and <bp-asm.h>.
19919         (__strchrnul): Don't use BP_SYM.
19920         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19921         <bp-sym.h> and <bp-asm.h>.
19922         (strlen): Don't use BP_SYM.
19923         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19924         <bp-sym.h> and <bp-asm.h>.
19925         (strncmp): Don't use BP_SYM.
19926         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19927         <bp-sym.h> and <bp-asm.h>.
19928         (__strnlen): Don't use BP_SYM.
19929         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19930         <bp-asm.h>.
19931         (__mpn_rshift): Don't use BP_SYM.
19932         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19933         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19934         <bp-sym.h> and <bp-asm.h>.
19935         (__sigsetjmp): Don't use BP_SYM.
19936         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19937         (L(start_addresses)): Don't use BP_SYM.
19938         (_start): Likewise.
19939         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19940         <bp-asm.h>.
19941         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19942         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19943         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19944         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19945         <bp-asm.h>.
19946         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19947         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19948         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19949         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19950         <bp-asm.h>.
19951         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19952         comments.
19953         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19954         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19955         <bp-asm.h>.
19956         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
19957         FIXME comments.
19958         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19959         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19960         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19961         <bp-asm.h>.
19962         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
19963         comment.
19964         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19965         and <bp-asm.h>.
19966         (strncmp): Don't use BP_SYM,
19967         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19968         <bp-asm.h>.
19969         (__mpn_sub_n): Don't use BP_SYM.
19970         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19971         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19972         and <bp-asm.h>.
19973         (__mpn_submul_1): Don't use BP_SYM.
19974         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19976         <bp-sym.h> and <bp-asm.h>.
19977         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19979         <bp-sym.h> and <bp-asm.h>.
19980         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
19981         comment.
19982
19983 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19984
19985         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19986         Use ZK to minimize writes to Z.
19987         (sub_magnitudes): Simplify code a bit.
19988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19989         Use ZK to minimize writes to Z.
19990         (sub_magnitudes): Simplify code a bit.
19991
19992 2013-02-27  Roland McGrath  <roland@hack.frob.com>
19993
19994         * csu/gmon-start.c: Add special exception to license text.
19995
19996 2013-02-27  Richard Henderson  <rth@redhat.com>
19997
19998         * scripts/config.guess: Update from config.git.
19999         * scripts/config.sub: Likewise.
20000
20001 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20002
20003         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20004
20005         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20006
20007         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20008
20009         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20010
20011         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20012
20013 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20014
20015         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20016         [$(build-shared = yes].
20017
20018 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20019
20020         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20021         (__mul): Reduce iterations for calculating mantissa.
20022
20023         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20024         MPTWO.
20025         (__mpranred): Likewise.
20026
20027         [BZ #15160]
20028         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20029         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20030
20031 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20032
20033         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20034         Define __attribute__.
20035
20036 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20037
20038         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20039         unused.
20040         * posix/regex_internal.h (__attribute): Remove.
20041         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20042         (re_string_context_at): Likewise.
20043         (bitset_not): Use __attribute__ and mark function as possibly
20044         unused.
20045         (bitset_merge): Likewise.
20046         (bitset_mask): Likewise.
20047         (re_string_char_size_at): Likewise.
20048         (re_string_wchar_at): Likewise.
20049         (re_string_elem_size_at): Likewise.
20050
20051 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20052
20053         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20054         code.
20055         (cc32): Likewise.
20056
20057         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20058         (__acr): Likewise.
20059         (__cpy): Likewise.
20060         (norm): Likewise.
20061         (denorm): Likewise.
20062         (__dbl_mp): Likewise.
20063         (add_magnitudes): Likewise.
20064         (sub_magnitudes): Likewise.
20065         (__mul): Likewise.
20066         (__inv): Likewise.
20067
20068         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20069         style.
20070
20071         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20072         style.
20073
20074         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20075         code.
20076
20077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20078         up changes with default code.
20079         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20080         Likewise.
20081
20082 2013-02-24  Allan McRae  <allan@archlinux.org>
20083
20084         * manual/socket.texi (The Internet Namespace): Order menu items
20085         to match that in the file.
20086
20087         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20088         node listing of the info page menu.
20089
20090 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20091
20092         [BZ #13550]
20093         * sysdeps/i386/bp-asm.h: Remove file.
20094         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20095         (PARMS): Do not use macros from bp-asm.h.
20096         (S1): Likewise.
20097         (S2): Likewise.
20098         (SIZE): Likewise.
20099         (__mpn_add_n): Do not use BP_SYM
20100         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20101         "bp-asm.h".
20102         (PARMS): Do not use macros from bp-asm.h.
20103         (S1): Likewise.
20104         (SIZE): Likewise.
20105         (__mpn_addmul_1): Do not use BP_SYM
20106         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20107         "bp-asm.h".
20108         (PARMS): Do not use macros from bp-asm.h.
20109         (SIGMSK): Likewise.
20110         (_setjmp): Likewise.  Do not use BP_SYM.
20111         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20112         "bp-asm.h".
20113         (PARMS): Do not use macros from bp-asm.h.
20114         (SIGMSK): Likewise.
20115         (setjmp): Likewise.  Do not use BP_SYM.
20116         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20117         "bp-asm.h".
20118         (PARMS): Do not use macros from bp-asm.h.
20119         (__frexp): Do not use BP_SYM.
20120         (frexp): Likewise.
20121         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20122         "bp-asm.h".
20123         (PARMS): Do not use macros from bp-asm.h.
20124         (__frexpf): Do not use BP_SYM.
20125         (frexpf): Likewise.
20126         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20127         "bp-asm.h".
20128         (PARMS): Do not use macros from bp-asm.h.
20129         (__frexpl): Do not use BP_SYM.
20130         (frexpl): Likewise.
20131         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20132         "bp-asm.h".
20133         (PARMS): Do not use macros from bp-asm.h.
20134         (__remquo): Do not use BP_SYM.
20135         (remquo): Likewise.
20136         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20137         "bp-asm.h".
20138         (PARMS): Do not use macros from bp-asm.h.
20139         (__remquof): Do not use BP_SYM.
20140         (remquof): Likewise.
20141         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20142         "bp-asm.h".
20143         (PARMS): Do not use macros from bp-asm.h.
20144         (__remquol): Do not use BP_SYM.
20145         (remquol): Likewise.
20146         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20147         "bp-asm.h".
20148         (PARMS): Do not use macros from bp-asm.h.
20149         (DEST): Likewise.
20150         (SRC): Likewise.
20151         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20152         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20153         "bp-asm.h".
20154         (PARMS): Do not use macros from bp-asm.h.
20155         (strlen): Do not use BP_SYM.
20156         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20157         "bp-asm.h".
20158         (PARMS): Do not use macros from bp-asm.h.
20159         (S1): Likewise.
20160         (S2): Likewise.
20161         (SIZE): Likewise.
20162         (__mpn_add_n): Do not use BP_SYM.
20163         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20164         "bp-asm.h".
20165         (PARMS): Do not use macros from bp-asm.h.
20166         (S1): Likewise.
20167         (SIZE): Likewise.
20168         (__mpn_addmul_1): Do not use BP_SYM.
20169         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20170         weak_alias.
20171         (bzero): Likewise.
20172         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20173         "bp-asm.h".
20174         (PARMS): Do not use macros from bp-asm.h.
20175         (S): Likewise.
20176         (SIZE): Likewise.
20177         (__mpn_lshift): Do not use BP_SYM.
20178         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20179         "bp-asm.h".
20180         (PARMS): Do not use macros from bp-asm.h.
20181         (DEST): Likewise.
20182         (SRC): Likewise.
20183         (LEN): Likewise.
20184         (memcpy): Likewise.  Do not use BP_SYM.
20185         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20186         libc_hidden_def and weak_alias.
20187         (mempcpy): Do not use BP_SYM in weak_alias.
20188         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20189         "bp-asm.h".
20190         (PARMS): Do not use macros from bp-asm.h.
20191         (DEST): Likewise.
20192         (LEN): Likewise.
20193         [!BZERO_P] (CHR): Likewise.
20194         (memset): Likewise.  Do not use BP_SYM.
20195         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20196         "bp-asm.h".
20197         (PARMS): Do not use macros from bp-asm.h.
20198         (S1): Likewise.
20199         (SIZE): Likewise.
20200         (__mpn_mul_1): Do not use BP_SYM.
20201         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20202         "bp-asm.h".
20203         (PARMS): Do not use macros from bp-asm.h.
20204         (S): Likewise.
20205         (SIZE): Likewise.
20206         (__mpn_rshift): Do not use BP_SYM.
20207         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20208         "bp-asm.h".
20209         (PARMS): Do not use macros from bp-asm.h.
20210         (STR): Likewise.
20211         (CHR): Likewise.
20212         (strchr): Likewise.  Do not use BP_SYM.
20213         (index): Do not use BP_SYM in weak_alias.
20214         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20215         "bp-asm.h".
20216         (PARMS): Do not use macros from bp-asm.h.
20217         (DEST): Likewise.
20218         (SRC): Likewise.
20219         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20220         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20221         "bp-asm.h".
20222         (PARMS): Do not use macros from bp-asm.h.
20223         (strlen): Do not use BP_SYM.
20224         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20225         "bp-asm.h".
20226         (PARMS): Do not use macros from bp-asm.h.
20227         (S1): Likewise.
20228         (S2): Likewise.
20229         (SIZE): Likewise.
20230         (__mpn_sub_n): Do not use BP_SYM.
20231         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
20236         (__mpn_submul_1): Do not use BP_SYM.
20237         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20238         "bp-asm.h".
20239         (PARMS): Do not use macros from bp-asm.h.
20240         (S1): Likewise.
20241         (S2): Likewise.
20242         (SIZE): Likewise.
20243         (__mpn_add_n): Do not use BP_SYM.
20244         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20245         weak_alias.
20246         (bzero): Likewise.
20247         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20248         "bp-asm.h".
20249         (PARMS): Do not use macros from bp-asm.h.
20250         (BLK2): Likewise.
20251         (LEN): Likewise.
20252         (memcmp): Do not use BP_SYM.
20253         (bcmp): Do not use BP_SYM in weak_alias.
20254         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20255         "bp-asm.h".
20256         (PARMS): Do not use macros from bp-asm.h.
20257         (DEST): Likewise.
20258         (SRC): Likewise.
20259         (LEN): Likewise.
20260         (memcpy): Likewise.  Do not use BP_SYM.
20261         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20262         "bp-asm.h".
20263         (PARMS): Do not use macros from bp-asm.h.
20264         (DEST): Likewise.
20265         (SRC): Likewise.
20266         (LEN): Likewise.
20267         (memmove): Likewise.  Do not use BP_SYM.
20268         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20269         "bp-asm.h".
20270         (PARMS): Do not use macros from bp-asm.h.
20271         (DEST): Likewise.
20272         (SRC): Likewise.
20273         (LEN): Likewise.
20274         (__mempcpy): Likewise.  Do not use BP_SYM.
20275         (mempcpy): Do not use BP_SYM in weak_alias.
20276         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20277         "bp-asm.h".
20278         (PARMS): Do not use macros from bp-asm.h.
20279         (DEST): Likewise.
20280         (LEN): Likewise.
20281         [!BZERO_P] (CHR): Likewise.
20282         (memset): Likewise.  Do not use BP_SYM.
20283         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20284         "bp-asm.h".
20285         (PARMS): Do not use macros from bp-asm.h.
20286         (STR2): Likewise.
20287         (strcmp): Do not use BP_SYM.
20288         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20289         "bp-asm.h".
20290         (PARMS): Do not use macros from bp-asm.h.
20291         (STR): Likewise.
20292         (DELIM): Likewise.
20293         [USE_AS_STRTOK_R] (SAVE): Likewise.
20294         (FUNCTION): Likewise.  Do not use BP_SYM.
20295         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20296         aliases.
20297         (strtok_r): Likewise.
20298         (__GI___strtok_r): Likewise.
20299         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20300         (PARMS): Do not use macros from bp-asm.h.
20301         (S): Likewise.
20302         (SIZE): Likewise.
20303         (__mpn_lshift): Do not use BP_SYM.
20304         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20305         (PARMS): Do not use macros from bp-asm.h.
20306         (STR): Likewise.
20307         (CHR): Likewise.
20308         (__memchr): Do not use BP_SYM.
20309         (memchr): Do not use BP_SYM in weak_alias.
20310         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20311         (PARMS): Do not use macros from bp-asm.h.
20312         (BLK2): Likewise.
20313         (LEN): Likewise.
20314         (memcmp): Do not use BP_SYM.
20315         (bcmp): Do not use BP_SYM in weak_alias.
20316         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20317         (PARMS): Do not use macros from bp-asm.h.
20318         (S1): Likewise.
20319         (SIZE): Likewise.
20320         (__mpn_mul_1): Do not use BP_SYM.
20321         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20322         "bp-asm.h".
20323         (PARMS): Do not use macros from bp-asm.h.
20324         (STR): Likewise.
20325         (CHR): Likewise.
20326         (__rawmemchr): Do not use BP_SYM.
20327         (rawmemchr): Do not use BP_SYM in weak_alias.
20328         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20329         (PARMS): Do not use macros from bp-asm.h.
20330         (S): Likewise.
20331         (SIZE): Likewise.
20332         (__mpn_rshift): Do not use BP_SYM.
20333         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20334         (PARMS): Do not use macros from bp-asm.h.
20335         (SIGMSK): Likewise.
20336         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20337         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20338         (_start): Do not use BP_SYM.
20339         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20340         (PARMS): Do not use macros from bp-asm.h.
20341         (DEST): Likewise.
20342         (SRC): Likewise.
20343         (__stpcpy): Likewise.  Do not use BP_SYM.
20344         (stpcpy): Do not use BP_SYM in weak_alias.
20345         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20346         "bp-asm.h".
20347         (PARMS): Do not use macros from bp-asm.h.
20348         (DEST): Likewise.
20349         (SRC): Likewise.
20350         (LEN): Likewise.
20351         (__stpncpy): Likewise.  Do not use BP_SYM.
20352         (stpncpy): Do not use BP_SYM in weak_alias.
20353         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20354         (PARMS): Do not use macros from bp-asm.h.
20355         (STR): Likewise.
20356         (CHR): Likewise.
20357         (strchr): Likewise.  Do not use BP_SYM.
20358         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20359         "bp-asm.h".
20360         (PARMS): Do not use macros from bp-asm.h.
20361         (STR): Likewise.
20362         (CHR): Likewise.
20363         (__strchrnul): Likewise.  Do not use BP_SYM.
20364         (strchrnul): Do not use BP_SYM in weak_alias.
20365         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20366         "bp-asm.h".
20367         (PARMS): Do not use macros from bp-asm.h.
20368         (STOP): Likewise.
20369         (strcspn): Do not use BP_SYM.
20370         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
20375         (strpbrk): Likewise.  Do not use BP_SYM.
20376         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20377         "bp-asm.h".
20378         (PARMS): Do not use macros from bp-asm.h.
20379         (STR): Likewise.
20380         (CHR): Likewise.
20381         (strrchr): Likewise.  Do not use BP_SYM.
20382         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20383         (PARMS): Do not use macros from bp-asm.h.
20384         (SKIP): Likewise.
20385         (strspn): Do not use BP_SYM.
20386         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20387         (PARMS): Do not use macros from bp-asm.h.
20388         (STR): Likewise.
20389         (DELIM): Likewise.
20390         (SAVE): Likewise.
20391         (FUNCTION): Likewise.  Do not use BP_SYM.
20392         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20393         aliases.
20394         (strtok_r): Likewise.
20395         (__GI___strtok_r): Likewise.
20396         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20397         (PARMS): Do not use macros from bp-asm.h.
20398         (S1): Likewise.
20399         (S2): Likewise.
20400         (SIZE): Likewise.
20401         (__mpn_sub_n): Do not use BP_SYM.
20402         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20403         "bp-asm.h".
20404         (PARMS): Do not use macros from bp-asm.h.
20405         (S1): Likewise.
20406         (SIZE): Likewise.
20407         (__mpn_submul_1): Do not use BP_SYM.
20408         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20409         <bp-sym.h>.
20410         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20411         and <bp-asm.h>.
20412         (PARMS): Do not use macros from bp-asm.h.
20413         (FLAGS): Likewise.
20414         (PTID): Likewise.
20415         (TLS): Likewise.
20416         (CTID): Likewise.
20417         (__clone): Do not use BP_SYM.
20418         (clone): Do not use BP_SYM in weak_alias.
20419         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20420         and <bp-asm.h>.
20421         (PARMS): Do not use macros from bp-asm.h.
20422         (LEN): Likewise.
20423         (__mmap64): Do not use BP_SYM.
20424         (mmap64): Do not use BP_SYM in weak_alias.
20425         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20426         <bp-sym.h> and <bp-asm.h>.
20427         (PARMS): Do not use macros from bp-asm.h.
20428         (__posix_fadvise64_l64): Do not use BP_SYM.
20429         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20430         (PARMS): Do not use macros from bp-asm.h.
20431         (NSOPS): Likewise.
20432         (semtimedop): Do not use BP_SYM.
20433         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20434         and <bp-asm.h>.
20435
20436 2013-02-21  Allan McRae  <allan@archlinux.org>
20437
20438         * manual/message.texi (Charset conversion in gettext):
20439         Move @end statement to beginning of line.
20440
20441 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20442
20443         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20444         static.
20445         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20446         Likewise.
20447
20448         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20449         (denorm): Likewise.
20450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20452
20453 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20454
20455         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20456         tail-call to the resolved function if pltexit isn't needed.
20457
20458 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20459
20460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20461         or Y being zero as being unlikely.
20462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20463         Likewise.
20464
20465 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20466
20467         * manual/nss.texi (System Databases and Name Service Switch):
20468         Remove frobnicate @pxref.
20469
20470 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20471
20472         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20473         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20474
20475 2013-02-20  Petr Machata  <pmachata@redhat.com>
20476
20477         * elf/elf.h (R_ARM_TARGET1): New macro.
20478         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20479         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20480         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20481         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20482         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20483         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20484         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20485         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20486         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20487         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20488         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20489         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20490         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20491         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20492         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20493         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20494         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20495         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20496         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20497         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20498         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20499         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20500         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20501         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20502         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20503         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20504         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20505         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20506         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20507         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20508         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20509         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20510         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20511         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20512         (R_ARM_THM_GOT_BREL12): Likewise.
20513         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20514         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20515         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20516         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20517         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20518         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20519         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20520         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20521         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20522
20523 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20524
20525         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20526         __attribute_used__ to __attribute__ ((unused)).
20527
20528 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20529
20530         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20531         powerpc mpa.c.
20532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20533         comment formatting.
20534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20535
20536 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
20537
20538         [BZ #13550]
20539         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20540         Remove macro.
20541         (ENTER): Remove both macro definitions.
20542         (LEAVE): Likewise.
20543         (CHECK_BOUNDS_LOW): Likewise.
20544         (CHECK_BOUNDS_HIGH): Likewise.
20545         (CHECK_BOUNDS_BOTH): Likewise.
20546         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20547         (RETURN_BOUNDED_POINTER): Likewise.
20548         (RETURN_NULL_BOUNDED_POINTER): Likewise.
20549         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20550         (POP_ERRNO_LOCATION_RETURN): Likewise.
20551         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20552         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20553         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20554         macros.
20555         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20556         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20557         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20558         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20559         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20560         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20561         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20562         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20563         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20564         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20565         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20566         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20567         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20568         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20569         removed macros.
20570         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20571         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20572         macros.
20573         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20574         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20575         * sysdeps/i386/i586/memset.S (memset): Likewise.
20576         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20577         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20578         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20579         macros.
20580         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20581         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20582         Change uses of L(2) to L(out).
20583         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20584         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20585         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20586         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20587         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20588         removed macros.
20589         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20590         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20591         macros.
20592         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20593         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20594         (RETURN): Do not use macro LEAVE.
20595         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20596         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20597         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20598         * sysdeps/i386/i686/memset.S (memset): Likewise.
20599         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20600         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20601         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20602         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20603         Likewise.
20604         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20605         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
20606         L(1_2) and L(1_3) into L(1).
20607         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20608         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20609         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20610         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20611         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20612         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20613         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20614         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20615         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20616         macros.
20617         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20618         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20619         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20620         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20621         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20622         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20623         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20624         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20625         * sysdeps/i386/strcspn.S (strcspn): Likewise.
20626         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20627         * sysdeps/i386/strrchr.S (strrchr): Likewise.
20628         * sysdeps/i386/strspn.S (strspn): Likewise.
20629         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20630         conditional code.
20631         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20632         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20633         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20634         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
20635         L(1_3) into L(1_1).
20636         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20637         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20638         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20639         macros.
20640         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20641
20642 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
20643
20644         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20645         macro.
20646
20647 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20648
20649         * math/atest-exp.c (exp_mpn): Remove ROUND.
20650         * math/atest-exp2.c (exp_mpn): Likewise.
20651         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20652
20653         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20654         * stdlib/tst-tls-atexit-lib.c: Likewise.
20655         * stdlib/tst-tls-atexit.c: Likewise.
20656
20657 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20658
20659         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20660         and __attribute_alloc_size__.
20661
20662 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20663
20664         * include/programs/xmalloc.h: Change __attribute_alloc_size to
20665         __attribute_alloc_size__.
20666         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20667         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20668
20669 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
20670
20671         * include/programs/xmalloc.h: New file.
20672         * catgets/gencat.c: Include it.
20673         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20674         * elf/pldd.c: Likewise.
20675         * iconv/iconv_charmap.c: Likewise.
20676         * iconv/iconvconfig.c: Likewise.
20677         * iconv/strtab.c: Likewise.
20678         * locale/programs/locale.c: Likewise.
20679         * locale/programs/localedef.h: Likewise.
20680         * locale/programs/simple-hash.c: Likewise.
20681         * nscd/nscd.h: Likewise.
20682         * nss/makedb.c: Likewise.
20683         * sysdeps/generic/ldconfig.h: Likewise.
20684
20685 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20686
20687         * Versions.def: Add GLIBC_2.18.
20688         * include/link.h (struct link_map): New member l_tls_dtor_count.
20689         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20690         (__call_tls_dtors): Likewise.
20691         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20692         __cxa_thread_atexit_impl.
20693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20694         Likewise.
20695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20696         Likewise.
20697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20698         Likewise.
20699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20700         Likewise.
20701         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20703         Likewise.
20704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20705         Likewise.
20706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20708         Likewise.
20709         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20710         (tests): Add test case tst-tls-atexit.
20711         (modules-names): Add shared library for tst-tls-atexit.
20712         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20713         (GLIBC_PRIVATE): Add __call_tls_dtors.
20714         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20715         for libstdc++.
20716         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20717         * stdlib/tst-tls-atexit.c: New test case.
20718         * stdlib/tst-tls-atexit-lib.c: New test case.
20719
20720         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20721
20722         * elf/Versions (ld): Add _dl_find_dso_for_object.
20723         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20724         * elf/dl-open.c (_dl_find_dso_for_object): New function.
20725         (dl_open_worker): Use _dl_find_dso_for_object.
20726         * elf/dl-sym.c (do_sym): Likewise.
20727         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20728
20729 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20730
20731         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20732         Syntactic changes only.
20733         (_dl_runtime_profile): Do a tail-call to the resolved function.
20734
20735 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
20736
20737         [BZ #13550]
20738         * sysdeps/x86_64/bp-asm.h: Remove file.
20739         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20740         <bp-sym.h> and <bp-asm.h>.
20741         (__clone): Do not use BP_SYM.
20742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20743         <bp-sym.h> and <bp-asm.h>.
20744         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20745         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20746         "bp-asm.h".
20747         (_setjmp): Do not use BP_SYM.
20748         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20749         "bp-asm.h".
20750         (setjmp): Do not use BP_SYM.
20751         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20752         libc_hidden_def.
20753         (mempcpy): Do not use BP_SYM in weak_alias.
20754         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20755         "bp-asm.h".
20756         (strchr): Do not use BP_SYM.
20757         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20758         "bp-asm.h".
20759         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20760         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20761         (_start): Do not use BP_SYM.
20762         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20763         "bp-asm.h".
20764         (strcat): Do not use BP_SYM.
20765         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20766         "bp-asm.h".
20767         (STRCMP): Do not use BP_SYM.
20768         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20769         "bp-asm.h".
20770         (STRCPY): Do not use BP_SYM.
20771         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20772         "bp-asm.h".
20773         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20774         "bp-asm.h".
20775         (FUNCTION): Do not use BP_SYM.
20776         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20777         weak_alias.
20778         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20779
20780 2013-02-17  Andreas Jaeger  <aj@suse.de>
20781
20782         * time/Versions: Sort entries.
20783         * string/Versions: Likewise.
20784         * resolv/Versions: Likewise.
20785         * posix/Versions: Likewise.
20786         * iconv/Versions: Likewise.
20787         * elf/Versions: Likewise.
20788         * wcsmbs/Versions: Likewise.
20789
20790 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20791
20792         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20793         loop termination condition.
20794
20795         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20796         variable to calculate EZ.
20797         (__sqr): Likewise.
20798
20799         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20800         the lower precision input.
20801
20802 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
20803
20804         [BZ #13550]
20805         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20806         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20807         (run-via-rtld-prefix): Do not handle %-bp tests.
20808         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20809         (all-object-suffixes): Remove .ob.
20810         (bppfx): Remove variable.
20811         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20812         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20813         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20814         [$(build-bounded) = yes] (libtype.ob): Likewise.
20815         * Makerules (elide-routines.ob): Remove variable.
20816         (do-tests-clean): Do not handle *-bp.out.
20817         (common-mostlyclean): Do not handle *-bp and *-bp.out.
20818         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20819         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20820         (tests): Do not include $(tests-bp.out).
20821         (xtests): Do not include $(xtests-bp.out).
20822         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20823         [$(build-bounded) = yes] ($(addprefix
20824         $(objpfx),$(binaries-bounded))): Remove rule.
20825         ($(objpfx)%-bp.out): Remove rule.
20826         * config.make.in (build-bounded): Remove variable.
20827         * crypt/Makefile [$(build-bounded) = yes]
20828         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20829         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20830         append to variable.
20831         [$(build-bounded) = yes] (install-lib): Likewise.
20832         [$(build-bounded) = yes] (generated): Likewise.
20833         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20834         Remove rule.
20835         * intl/Makefile [$(build-bounded) = yes]
20836         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20837         * math/Makefile [$(build-bounded) = yes]
20838         ($(tests:%=$(objpfx)%-bp): Likewise.
20839         * misc/Makefile [$(build-bounded) = yes]
20840         ($(objpfx)tst-tsearch-bp): Likewise.
20841         * nptl/Makeconfig (bounded-thread-library): Remove variable.
20842         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20843         Remove dependency.
20844         * string/Makefile (o-objects.ob): Remove variable.
20845         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20846         (CFLAGS-.ob): Remove variable.
20847         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20848         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20849         both definitions of variable.
20850         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20851         (ASFLAGS-.ob): Remove variable.
20852
20853 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
20854
20855         [BZ #13550]
20856         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20857         Remove __BOUNDED_POINTERS__ from condition.
20858         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20859         * string/bits/string2.h [!__NO_STRING_INLINES &&
20860         !__BOUNDED_POINTERS__]: Likewise.
20861         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20862         Likewise.
20863         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20864         Remove conditional code.
20865         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20866         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20867         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20868         condition.
20869
20870         [BZ #13550]
20871         * csu/libc-start.c: Do not include <bp-sym.h>.
20872         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20873         * elf/dl-open.c: Do not include <bp-sym.h>.
20874         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20875         * math/fegetenv.c: Do not include <bp-sym.h>.
20876         (fegetenv): Do not use BP_SYM in versioned symbols.
20877         * nptl/sysdeps/pthread/bits/libc-lockP.h
20878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20879         <bp-sym.h>.
20880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20881         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20882         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20883         (__pthread_mutex_destroy): Likewise.
20884         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20885         (__pthread_mutex_lock): Likewise.
20886         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20887         (__pthread_mutex_trylock): Likewise.
20888         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20889         (__pthread_mutex_unlock): Likewise.
20890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20891         (__pthread_mutexattr_init): Likewise.
20892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20893         (__pthread_mutexattr_destroy): Likewise.
20894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20895         (__pthread_mutexattr_settype): Likewise.
20896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20897         (__pthread_rwlock_init): Likewise.
20898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20899         (__pthread_rwlock_destroy): Likewise.
20900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20901         (__pthread_rwlock_rdlock): Likewise.
20902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20903         (__pthread_rwlock_tryrdlock): Likewise.
20904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20905         (__pthread_rwlock_wrlock): Likewise.
20906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20907         (__pthread_rwlock_trywrlock): Likewise.
20908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20909         (__pthread_rwlock_unlock): Likewise.
20910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20911         (__pthread_key_create): Likewise.
20912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20913         (__pthread_setspecific): Likewise.
20914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20915         (__pthread_getspecific): Likewise.
20916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20917         Likewise.
20918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20919         (_pthread_cleanup_push_defer): Likewise.
20920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20921         (_pthread_cleanup_pop_restore): Likewise.
20922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20923         (pthread_setcancelstate): Likewise.
20924         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20925         <bp-sym.h>.
20926         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20927         (memchr): Do not use BP_SYM in weak_alias.
20928         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20929         (fegetenv): Do not use BP_SYM in versioned symbols.
20930         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20931         (fesetenv): Do not use BP_SYM in versioned symbols.
20932         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20933         (feupdateenv): Do not use BP_SYM in versioned symbols.
20934         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20935         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20936         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20937         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20938         (open64): Do not use BP_SYM in weak_alias.
20939         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20940         (fegetenv): Do not use BP_SYM in versioned symbols.
20941         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20942         (fesetenv): Do not use BP_SYM in versioned symbols.
20943         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20944         (feupdateenv): Do not use BP_SYM in versioned symbols.
20945         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20946         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20947         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20948         (feraiseexcept): Do not use BP_SYM in versioned symbols.
20949         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20950         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20951         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20952         <bp-sym.h>.
20953         (__libc_start_main): Do not use BP_SYM.
20954
20955 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20956
20957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20958         redundant return line.
20959         (norm): Likewise.
20960         (denorm): Likewise.
20961         (dbl_mp): Likewise.
20962         (sub_magnitudes): Likewise.
20963         (__add): Likewise.
20964         (__sub): Likewise.
20965         (__mul): Likewise.
20966         (__inv): Likewise.
20967         (__dvd): Likewise.
20968         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20969         (norm): Likewise.
20970         (denorm): Likewise.
20971         (dbl_mp): Likewise.
20972         (sub_magnitudes): Likewise.
20973         (__add): Likewise.
20974         (__sub): Likewise.
20975         (__mul): Likewise.
20976         (__inv): Likewise.
20977         (__dvd): Likewise.
20978
20979         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20980         instead of __mul.
20981         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20982         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20983         (cc32): Likewise.
20984
20985         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20986         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20988         of __mul for squares.
20989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20990         function
20991         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20992         Likewise.
20993         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20994         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20995
20996 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
20997
20998         [BZ #13550]
20999         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21000         code.
21001         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21002         prototype or function definition.  Rename ubp_* variables and
21003         parameters.  Remove argv definitions conditional on
21004         [__BOUNDED_POINTERS__].
21005         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21006         * elf/dl-runtime.c (_dl_fixup): Likewise.
21007         * include/set-hooks.h (RUN_HOOK): Likewise.
21008         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21009         definition.
21010         * string/strcpy.c (strcpy): Do not use __unbounded.
21011         * sysdeps/generic/frame.h (struct layout): Likewise.
21012         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21013         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21014         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21015         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21016         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21017         (__backtrace): Likewise.
21018         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21019         use __ptrvalue.
21020         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21021         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21022         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21023         Likewise.
21024         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21025         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21026         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21027         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21028         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21029         Do not use __unbounded.
21030         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21031         Rename __unboundedrlimits parameter to rlimits in prototype.
21032         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21033         Do not use __unbounded.
21034         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21035         not use __ptrvalue.
21036         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21037         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21038         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21039         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21040         __ptrvalue or __unbounded.
21041         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21042         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21043         use __unbounded.
21044         (__new_msgctl): Do not use __ptrvalue.
21045         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21046         __unbounded.
21047         (__libc_msgrcv): Do not use __ptrvalue.
21048         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21049         startup_info): Do not use __unbounded.
21050         (__libc_start_main): Likewise.  Rename ubp_* variables and
21051         parameters.  Remove argv definitions conditional on
21052         [__BOUNDED_POINTERS__].
21053         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21054         __ptrvalue.
21055         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21056         use __unbounded.
21057         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21058         or __ptrvalue.
21059         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21060         use __unbounded.
21061         (__new_shmctl): Do not use __ptrvalue.
21062         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21063         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21064         Likewise.
21065         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21066         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21067         (__libc_sigaction): Likewise.
21068         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21069         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21070         Likewise.
21071         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21072
21073 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21074
21075         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21076
21077         * string/mempcpy.c: Implement by calling memcpy.
21078
21079 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21080
21081         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21082
21083         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21084         evaluation.
21085
21086         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21087         values in the mantissa.
21088
21089         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21090         minimize writes to Z.
21091         (sub_magnitudes): Simplify code a bit.
21092
21093 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21094
21095         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21096         from the message.  The linker prefixes all warnings with that already.
21097
21098 2013-02-12  Andreas Schwab  <schwab@suse.de>
21099
21100         [BZ #15078]
21101         * posix/regexec.c (extend_buffers): Add parameter min_len.
21102         (check_matching): Pass minimum needed length.
21103         (clean_state_log_if_needed): Likewise.
21104         (get_subexp): Likewise.
21105         * posix/Makefile (tests): Add bug-regex34.
21106         (bug-regex34-ENV): Define.
21107         * posix/bug-regex34.c: New file.
21108
21109         [BZ #11561]
21110         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21111         elements compare against the byte sequence of it, not its name.
21112         * posix/Makefile (tests): Add bug-regex35.
21113         (bug-regex35-ENV): Define.
21114         * posix/bug-regex35.c: New file.
21115
21116 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21117
21118         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21119         comment.
21120         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21121         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21122         (CHECK_EOL): Add undef.
21123
21124 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21125
21126         * bits/stdlib-bsearch.h: New file.
21127         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21128         * stdlib/stdlib.h: Likewise.
21129
21130 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21131
21132         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21133         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21134         declaration.
21135         * manual/search.texi (Array Search Function): Add missing const in
21136         lfind prototype.
21137         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21138         declaration to use rlim_t.
21139         (Basic Scheduling Functions): Remove erroneous const from
21140         sched_getparam prototype.  Remove erroneous * from
21141         sched_get_priority_max and sched_get_priority_min prototypes.
21142         (Resource Usage): Fix summary @comment on vtimes to refer to
21143         sys/vtimes.h rather than vtimes.h.
21144         Add missing *s in vtimes prototype.
21145         (Limits on Resources): Fix ulimit prototype to return long int.
21146         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21147         prototypes to use long int rather than double.
21148         (BSD Random): Fix initstate and setstate to use char *, not void *.
21149         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21150         prototype to make second argument 'struct aiocb64 *const[]'.
21151         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21152         (Status of AIO Operations): Remove erroneous const in aio_return and
21153         aio_return64 prototypes.
21154         (Synchronizing I/O): Fix sync prototype to return void.
21155         * manual/startup.texi (Suboptions): Remove an erroneous const in
21156         getsubopt prototype.
21157         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21158         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21159         use size_t rather than int.
21160         (Scanning All Users): Likewise for getpwent_r.
21161         (Setting Groups): Add missing const to setgroups prototype.
21162         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21163         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21164         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21165         'const void *' rather than 'const char *'.
21166         (Host Address Functions): Likewise for inet_ntop.
21167         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21168         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21169         ssize_t for return value.
21170         (Sending Data): Likewise for send, sendto, sendmsg.
21171         (Socket Option Functions): Add a missing const in setsockopt prototype.
21172         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21173         use wchar_t for the argument.
21174         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21175         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21176         take no arguments.
21177         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21178         double/float/long double for second argument.
21179         Fix return types of significand, significandf, significandl.
21180         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21181         argument in fchmod prototype.
21182         (File Owner): Use uid_t and gid_t in fchown prototype.
21183         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21184         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21185         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21186         use 'const struct dirent **' as argument types to CMP function pointer
21187         argument.
21188         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21189         (File Times): Fix summary magic @comment for struct utimbuf and utime
21190         to refer to utime.h, not time.h.
21191         * manual/string.texi (Argz Functions): Add missing const in
21192         argz_extract and argz_next prototypes.
21193         (Finding Tokens in a String): Likewise for basename.
21194         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21195         (Copying and Concatenation): Fix typo in wmemmove prototype.
21196         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21197         (Signal Stack): Remove erroneous const in sigstack prototype.
21198         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21199         prototype.
21200         (Simple Calendar Time): Likewise for stime.
21201         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21202         prototype.
21203         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21204         say sys/sysctl.h instead.
21205         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21206         and vsyslog prototypes.
21207
21208 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21209
21210         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21211         Remove.
21212
21213 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21214
21215         * misc/sys/mman.h: Fix typo in mremap comment.
21216
21217 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21218
21219         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21220         the '\0' terminator.
21221
21222 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21223
21224         [BZ #13550]
21225         * debug/segfault.c: Don't include <bp-checks.h>.
21226         * sysdeps/generic/bp-checks.h: Remove file.
21227         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21228         (__GETDENTS): Don't use CHECK_N.
21229         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21230         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21231         (__getgroups): Don't use CHECK_N.
21232         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21233         (setgroups): Don't use CHECK_N.
21234         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21235         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21236         (__libc_msgrcv): Don't use CHECK_N.
21237         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21238         (__libc_msgsnd): Don't use CHECK_N.
21239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21240         <bp-checks.h>.
21241         (__libc_pread): Don't use CHECK_N.
21242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21243         include <bp-checks.h>.
21244         (__libc_pread64): Don't use CHECK_N.
21245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21246         include <bp-checks.h>.
21247         (__libc_pwrite): Don't use CHECK_N.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21249         include <bp-checks.h>.
21250         (__libc_pwrite64): Don't use CHECK_N.
21251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21252         <bp-checks.h>.
21253         (__libc_pread): Don't use CHECK_N.
21254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21255         include <bp-checks.h>.
21256         (__libc_pread64): Don't use CHECK_N.
21257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21258         include <bp-checks.h>.
21259         (__libc_pwrite): Don't use CHECK_N.
21260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21261         include <bp-checks.h>.
21262         (__libc_pwrite64): Don't use CHECK_N.
21263         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21264         (do_pread): Don't use CHECK_N.
21265         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21266         (do_pread64): Don't use CHECK_N.
21267         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21268         (do_pwrite): Don't use CHECK_N.
21269         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21270         (do_pwrite64): Don't use CHECK_N.
21271         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21272         (__libc_readv): Don't use CHECK_N.
21273         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21274         (semop): Don't use CHECK_N.
21275         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21276         <bp-checks.h>.
21277         (semtimedop): Don't use CHECK_N.
21278         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21279         (__libc_pread): Don't use CHECK_N.
21280         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21281         <bp-checks.h>.
21282         (__libc_pread64): Don't use CHECK_N.
21283         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21284         <bp-checks.h>.
21285         (__libc_pwrite): Don't use CHECK_N.
21286         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21287         <bp-checks.h>.
21288         (__libc_pwrite64): Don't use CHECK_N.
21289         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21290         <bp-checks.h>.
21291         (__libc_msgrcv): Don't use CHECK_N.
21292         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21293         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21294         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21295         (__libc_writev): Don't use CHECK_N.
21296
21297 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21298
21299         * string/strcpy.c: Removed unused variable.
21300
21301         * Makeconfig (+sysdep-includes): Define with := rather than =.
21302         Use an existing include/ subdir of each sysdeps dir before it.
21303
21304 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21305
21306         * nscd/connection.c (register_traced_file): Comment function.
21307         [HAVE_INOTIFY] (union __inev): Define.
21308         [HAVE_INOTIFY] (inotify_check_files): New function.
21309         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21310         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21311         clear_db_cache.
21312         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21313
21314 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21315
21316         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21317         loaded if not already and that a failure is permanent.
21318
21319 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21320
21321         [BZ #15006]
21322         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21323         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21324
21325 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21326
21327         [BZ #13550]
21328         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21329         (CHECK_1_NULL_OK): Likewise.
21330         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21331         (__fxstat): Do not use CHECK_1.
21332         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21333         <bp-checks.h>.
21334         (___fxstat64): Do not use CHECK_1.
21335         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21336         <bp-checks.h>.
21337         (__fxstatat): Do not use CHECK_1.
21338         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21339         <bp-checks.h>.
21340         (__fxstatat64): Do not use CHECK_1.
21341         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21342         <bp-checks.h>.
21343         (__fxstat): Do not use CHECK_1.
21344         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21345         <bp-checks.h>.
21346         (__fxstatat): Do not use CHECK_1.
21347         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21348         <bp-checks.h>.
21349         (__getresgid): Do not use CHECK_1.
21350         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21351         <bp-checks.h>.
21352         (__getresuid): Do not use CHECK_1.
21353         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21354         <bp-checks.h>.
21355         (__lxstat): Do not use CHECK_1.
21356         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21357         <bp-checks.h>.
21358         (__old_msgctl): Do not use CHECK_1.
21359         (__new_msgctl): Likewise.
21360         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21361         <bp-checks.h>.
21362         (__new_setrlimit): Do not use CHECK_1.
21363         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21364         <bp-checks.h>.
21365         (__old_shmctl): Do not use CHECK_1.
21366         (__new_shmctl): Likewise.
21367         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21368         <bp-checks.h>.
21369         (__xstat): Do not use CHECK_1.
21370         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21371         (__lxstat): Do not use CHECK_1.
21372         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21373         <bp-checks.h>.
21374         (___lxstat64): Do not use CHECK_1.
21375         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21376         (__old_msgctl): Do not use CHECK_1.
21377         (__new_msgctl): Likewise.
21378         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21379         <bp-checks.h>.
21380         (__gettimeofday): Do not use CHECK_1.
21381         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21382         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21383         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21384         <bp-checks.h>.
21385         (__gettimeofday): Do not use CHECK_1.
21386         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21387         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21388         (__new_shmctl): Do not use CHECK_1.
21389         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21390         <bp-checks.h>.
21391         (do_sigtimedwait): Do not use CHECK_1.
21392         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21393         <bp-checks.h>.
21394         (do_sigwaitinfo): Do not use CHECK_1.
21395         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21396         <bp-checks.h>.
21397         (msgctl): Do not use CHECK_1.
21398         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21399         <bp-checks.h>.
21400         (shmctl): Do not use CHECK_1.
21401         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21402         (ustat): Do not use CHECK_1.
21403         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21404         <bp-checks.h>.
21405         (__fxstat): Do not use CHECK_1.
21406         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21407         <bp-checks.h>.
21408         (__fxstatat): Do not use CHECK_1.
21409         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21410         <bp-checks.h>.
21411         (__lxstat): Do not use CHECK_1.
21412         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21413         <bp-checks.h>.
21414         (__xstat): Do not use CHECK_1.
21415         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21416         (__xstat): Do not use CHECK_1.
21417         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21418         (___xstat64): Do not use CHECK_1.
21419
21420         [BZ #13550]
21421         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21422         definitions.
21423         (CHECK_BOUNDS_HIGH): Likewise.
21424         * string/strcpy.c: Do not include <bp-checks.h>.
21425         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21426
21427 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21428
21429         * nscd/nscd-client.h (__nscd_drop_map_ref):
21430         Add __attribute__ ((unused)).
21431         * nis/nss-nisplus.h (niserr2nss): Likewise.
21432
21433         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21434         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21435
21436         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21437         Remove inline keyword.
21438         * include/rounding-mode.h (round_away): Likewise.
21439         * libio/wfileops.c (adjust_wide_data): Likewise.
21440         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21441         (__m128i_strloadu_tolower): Likewise.
21442         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21443         (__m128i_strloadu_tolower): Likewise.
21444         * time/mktime.c (ydhms_diff): Likewise.
21445         * locale/elem-hash.h (elem_hash): Likewise.
21446         * locale/setlocale.c (setdata): Likewise.
21447         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21448         (re_string_wchar_at): Likewise.
21449         (bitset_not, bitset_merge, bitset_mask): Likewise.
21450         [!(__GNUC__ > 3)] (inline): Remove macro.
21451         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21452         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21453         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21454         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21455         * string/memcmp.c (memcmp_bytes): Likewise.
21456         * locale/programs/locarchive.c (compute_hashval): Likewise.
21457         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21458         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21459         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21460         * nss/getent.c (print_rpc, print_protocols): Likewise.
21461         (print_passwd, print_group, print_aliases): Likewise.
21462         * nis/nss-nisplus.h (niserr2nss): Likewise.
21463         * nscd/connections.c (restart_p): Likewise.
21464         Change return type to bool.
21465
21466 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21467
21468         * Makeconfig (all-Depend-files): Add existing
21469         $(sorted-subdirs:=/Depend) files.
21470         (all-subdirs): Remove nss.
21471         * sysdeps/unix/inet/Subdirs: Add it here instead.
21472         * hesiod/Depend: New file.
21473
21474         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21475         instead of calling alloca.
21476
21477         * io/lseek.c (__lseek): Rename to __libc_lseek.
21478         Define __lseek as an alias.
21479
21480         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21481
21482 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21483
21484         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21485         else clause and remove check for non-standard endianness.
21486
21487 2013-02-04  David S. Miller  <davem@davemloft.net>
21488
21489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21490
21491 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21492
21493         [BZ #13550]
21494         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21495         (__ubp_memchr): Remove prototype.
21496         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21497         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21498         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21499         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21500         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21501         Remove alias.
21502         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21503         (__ubp_memchr): Likewise.
21504         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21505         (__ubp_memchr): Likewise.
21506         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21507         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21508         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21509         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21510         CHECK_STRING.
21511         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21512         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21513         (__getcwd): Do not use CHECK_STRING.
21514         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21515         <bp-checks.h>.
21516         (__real_chown): Do not use CHECK_STRING.
21517         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21518         <bp-checks.h>.
21519         (fchownat): Do not use CHECK_STRING.
21520         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21521         CHECK_STRING.
21522         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21523         <bp-checks.h>.
21524         (__lchown): Do not use CHECK_STRING.
21525         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21526         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21527         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21528         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21530         include <bp-checks.h>.
21531         (truncate64): Do not use CHECK_STRING.
21532         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21533         <bp-checks.h>.
21534         (__real_chown): Do not use CHECK_STRING.
21535         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21536         <bp-checks.h>.
21537         (__lchown): Do not use CHECK_STRING.
21538         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21539         <bp-checks.h>.
21540         (__chown): Do not use CHECK_STRING.
21541         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21542         <bp-checks.h>.
21543         (truncate64): Do not use CHECK_STRING.
21544         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21545         Likewise.
21546         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21547         (__xmknod): Do not use CHECK_STRING.
21548         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21549         <bp-checks.h>.
21550         (__xmknodat): Do not use CHECK_STRING.
21551         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21552         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21553
21554 2013-02-04  Andreas Schwab  <schwab@suse.de>
21555
21556         [BZ #14142]
21557         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21558         * include/netdb.h: Likewise for h_errno.
21559         * elf/tst-stackguard1.c: Include <tls.h>.
21560
21561 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
21562
21563         * elf/link.h (struct link_map): Extend the l_addr comment.
21564         * include/link.h (struct link_map): Likewise.
21565
21566 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
21567
21568         [BZ #13550]
21569         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21570         (BOUNDED_1): Remove macro.
21571         * debug/backtrace.c: Don't include <bp-checks.h>.
21572         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21573         (__backtrace): Likewise.
21574         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21575         <bp-checks.h>.
21576         (__backtrace): Don't use BOUNDED_1.
21577         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21578         <bp-checks.h>.
21579         (__backtrace): Don't use BOUNDED_1.
21580         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21581         (__backtrace): Don't use BOUNDED_1.
21582         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21583         (shmat): Don't use BOUNDED_N.
21584
21585 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
21586
21587         [BZ #13550]
21588         * sysdeps/generic/bp-start.h: Remove file.
21589         * csu/libc-start.c: Don't include <bp-start.h>.
21590         (LIBC_START_MAIN): Set up __environ directly instead of using
21591         INIT_ARGV_and_ENVIRON.
21592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21593         <bp-start.h>.
21594
21595         [BZ #13550]
21596         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21597         definitions.
21598         (CHECK_FCNTL): Likewise.
21599         (CHECK_N_PAGES): Likewise.
21600
21601         [BZ #13550]
21602         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21603         definitions.
21604         (CHECK_SIGSET_NULL_OK): Likewise.
21605         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21606         <bp-checks.h>.
21607         (sigpending): Don't use CHECK_SIGSET.
21608         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21609         <bp-checks.h>.
21610         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21611         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21612         <bp-checks.h>.
21613         (do_sigsuspend): Don't use CHECK_SIGSET.
21614         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21615         use CHECK_SIGSET.
21616         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21617         (do_sigwait): Don't use CHECK_SIGSET.
21618         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21619         use CHECK_SIGSET.
21620         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21621         include <bp-checks.h>.
21622         (sigpending): Don't use CHECK_SIGSET.
21623         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21624         include <bp-checks.h>.
21625         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21626         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21627         <bp-checks.h>.
21628         (sigpending): Don't use CHECK_SIGSET.
21629         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21630         <bp-checks.h>.
21631         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21632
21633         [BZ #13550]
21634         * sysdeps/generic/bp-semctl.h: Remove file.
21635         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21636         <bp-checks.h> and <bp-semctl.h>.
21637         (__old_semctl): Don't use CHECK_SEMCTL.
21638         (__new_semctl): Likewise.
21639         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21640         and <bp-semctl.h>.
21641         (__old_semctl): Don't use CHECK_SEMCTL.
21642         (__new_semctl): Likewise.
21643         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21644         <bp-checks.h> and <bp-semctl.h>.
21645         (__old_semctl): Don't use CHECK_SEMCTL.
21646         (__new_semctl): Likewise.
21647         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21648         <bp-checks.h> and <bp-semctl.h>.
21649         (semctl): Don't use CHECK_SEMCTL.
21650
21651         [BZ #13550]
21652         * Makerules (elide-bp-thunks): Remove variable.
21653         (elide-routines.oS): Don't use $(elide-bp-thunks).
21654         (elide-routines.os): Likewise.
21655         (elide-routines.o): Likewise.
21656         (elide-routines.op): Likewise.
21657         (elide-routines.og): Likewise.
21658         (objects): Don't use $(bp-thunks).
21659         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21660         include.
21661         (common-generated): Do not add s-proto-bp.d.
21662         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21663         (int): Likewise.
21664         (typ): Likewise.
21665         Do not generate makefile rules for bounded-pointer thunks.
21666         * sysdeps/generic/bp-thunks.h: Remove file.
21667         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21668         * sysdeps/unix/s-proto-bp.S: Likewise.
21669
21670         [BZ #15062]
21671         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21672         parts of result separately when argument is not close to line from
21673         -i to i and one part of argument is small.
21674         * math/k_casinhf.c (__kernel_casinhf): Likewise.
21675         * math/k_casinhl.c (__kernel_casinhl): Likewise.
21676         * math/libm-test.inc (cacos_test): Add more tests.
21677         (casin_test): Likewise.
21678         (casinh_test): Likewise.
21679         * sysdeps/i386/fpu/libm-test-ulps: Update.
21680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21681
21682 2013-01-31  David S. Miller  <davem@davemloft.net>
21683
21684         * po/de.po: Update from translation team.
21685
21686 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
21687
21688         * time/tzfile.c: Include stdint.h for SIZE_MAX.
21689
21690 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
21691
21692         * configure.in (_AC_PROG_CC_C89): New definition.
21693         * configure: Regenerate.
21694
21695         * configure.in (AC_PROG_CPP): New definition.
21696         * configure: Regenerate.
21697
21698 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21699
21700         * debug/tst-backtrace.h: New file.
21701         * debug/tst-backtrace2.c: Include tst-backtrace.h.
21702         (ret): Remove variable.
21703         (x): Likewise.
21704         (FAIL): Remove macro.
21705         (NO_INLINE): Likewise.
21706         (fn1): Use match function instead of strstr.
21707         * debug/tst-backtrace3.c: Include tst-backtrace.h.
21708         (ret): Remove variable.
21709         (x): Likewise.
21710         (FAIL): Remove macro.
21711         (NO_INLINE): Likewise.
21712         (fn): Use match function instead of strstr.
21713         * debug/tst-backtrace4.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.
21719         * debug/tst-backtrace5.c: Include tst-backtrace.h.
21720         (ret): Remove variable.
21721         (x): Likewise.
21722         (FAIL): Remove macro.
21723         (NO_INLINE): Likewise.
21724         (handle_signal): Use match function instead of strstr.
21725
21726 2013-01-23  Roland McGrath  <roland@hack.frob.com>
21727
21728         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21729
21730 2013-01-23  David S. Miller  <davem@davemloft.net>
21731
21732         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21733         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21734         argument of CAS if possible.
21735         * sysdeps/sparc/sparc64/bits/atomic.h
21736         (__arch_compare_and_exchange_val_32_acq): Likewise.
21737         (__arch_compare_and_exchange_val_64_acq): Likewise.
21738
21739 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
21740
21741         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21742         * sysdeps/posix/ulimit.c: ... this.
21743         Include <limits.h>.
21744         * sysdeps/unix/bsd/ulimit.c: Remove file.
21745
21746 2013-01-23  Adam Conrad  <adconrad@0c3.net>
21747
21748         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21749         (LDFLAGS-tst-array5): Likewise.
21750
21751 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
21752
21753         [BZ #15036]
21754         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21755         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21756         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21757         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21758
21759 2013-01-21  David S. Miller  <davem@davemloft.net>
21760
21761         * sysdeps/sparc/backtrace.c: New file.
21762         * sysdeps/sparc/sparc32/backtrace.h: New file.
21763         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21764         * sysdeps/sparc/sparc64/backtrace.h: New file.
21765         * sysdeps/sparc/sparc64/backtrace.c: Delete.
21766         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21767         -funwind-tables.
21768
21769 2013-01-21  Andreas Schwab  <schwab@suse.de>
21770
21771         [BZ #15020]
21772         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21773         closed its stdout.
21774
21775 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
21776
21777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21778         "mpa2.h".
21779         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21780
21781 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
21782             Mark Mitchell  <mark@codesourcery.com>
21783             Tom de Vries  <tom@codesourcery.com>
21784             Paul Pluzhnikov  <ppluzhnikov@google.com>
21785
21786         * debug/tst-backtrace2.c: New file.
21787         * debug/tst-backtrace3.c: Likewise.
21788         * debug/tst-backtrace4.c: Likewise.
21789         * debug/tst-backtrace5.c: Likewise.
21790         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21791         (CFLAGS-tst-backtrace3.c): Likewise.
21792         (CFLAGS-tst-backtrace4.c): Likewise.
21793         (CFLAGS-tst-backtrace5.c): Likewise.
21794         (LDFLAGS-tst-backtrace2): Likewise.
21795         (LDFLAGS-tst-backtrace3): Likewise.
21796         (LDFLAGS-tst-backtrace4): Likewise.
21797         (LDFLAGS-tst-backtrace5): Likewise.
21798         (tests): Add new tests tst-backtrace2, tst-backtrace3,
21799         tst-backtrace4 and tst-backtrace5.
21800
21801 2013-01-18  Anton Blanchard  <anton@samba.org>
21802             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21803
21804         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21805         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21806         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21807         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21809         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21810         "+r" and remove output regs list as redundant.  Add explicit inline
21811         asm to specify register of return val to work around compiler codegen
21812         bug.  Remove (int) cast on return value.  Add return type parameter to
21813         use in macro so that this macro does not truncate return value for
21814         64-bit values.
21815         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21816         pass to INTERNAL_VSYSCALL_NCS.
21817         (INLINE_VSYSCALL): Add 'long int' as return type to
21818         INTERNAL_VSYSCALL_NCS macro invocation.
21819         (INTERNAL_VSYSCALL): Add 'long int' as return type to
21820         INTERNAL_VSYSCALL_NCS macro invocation.
21821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21822
21823 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21824
21825         [BZ #14496]
21826         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21827         Fix application of SIMD FP exception mask.
21828
21829         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21830         mp_no from a power of two.
21831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21832         __mpexp_twomm1.  Use __pow_mp.
21833
21834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21835         multiplication.
21836
21837 2013-01-17  David S. Miller  <davem@davemloft.net>
21838
21839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21840
21841 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21842
21843         [BZ #15023]
21844         * include/complex.h: Condition contents on [!_COMPLEX_H].
21845         (__kernel_casinhf): New prototype.
21846         (__kernel_casinh): Likewise.
21847         (__kernel_casinhl): Likewise.
21848         * math/Makefile (libm_calls): Add k_casinh.
21849         * math/k_casinh.c: New file.
21850         * math/k_casinhf.c: Likewise.
21851         * math/k_casinhl.c: Likewise.
21852         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21853         finite nonzero arguments.
21854         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21855         finite nonzero arguments.
21856         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21857         finite nonzero arguments.
21858         * math/s_casinh.c: Do not include <float.h>.
21859         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21860         * math/s_casinhf.c: Do not include <float.h>.
21861         (__casinhf): Move code for finite nonzero arguments to
21862         k_casinhf.c.
21863         * math/s_casinhl.c: Do not include <float.h>.
21864         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21865         redefine.
21866         (__casinhl): Move code for finite nonzero arguments to
21867         k_casinhl.c.
21868         * math/libm-test.inc (cacos_test): Add more tests.
21869         * sysdeps/i386/fpu/libm-test-ulps: Update.
21870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21871
21872 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
21873
21874         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21875         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21876         [!HAVE_MREMAP]: Remove [defined linux] case.
21877         * malloc/arena.c: Do not include <malloc-sysdep.h>.
21878
21879 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21880
21881         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21882
21883 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
21884
21885         * elf/elf.h (R_386_SIZE32): New relocation.
21886         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21887         R_386_SIZE32.
21888         (elf_machine_rela): Likewise.
21889         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21890         R_X86_64_SIZE64 and R_X86_64_SIZE32.
21891
21892 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
21893
21894         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21895         (FP_FAST_FMA): Do not define.
21896         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21897         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21898         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21899         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21900         !_SOFT_FLOAT]: Likewise.
21901         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21902         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21903         value.
21904         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21905         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21906         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21907         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21908         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21909         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21910         file.
21911
21912 2013-01-16  Andreas Schwab  <schwab@suse.de>
21913
21914         [BZ #14327]
21915         * include/stdlib.h (__mktemp): Add declaration.
21916         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21917         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21918
21919 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21920
21921         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21922         definitions.
21923         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21924         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21925         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21926         definitions here.
21927         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21928         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21929         definitions.
21930         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21931         and ONE.
21932         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21933         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21934         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21935         definitions.
21936         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21937         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21938         definitions.
21939         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21940
21941         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21942
21943 2013-01-15  David S. Miller  <davem@davemloft.net>
21944
21945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21946         trunc{,f} to libm-sysdep_routes.
21947         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21949         file.
21950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21952         file.
21953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21954         file.
21955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21957         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21958         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21959         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21960         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21961         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21962         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21963
21964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21965         nearbyint{,f} to libm-sysdep_routes.
21966         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21968         New file.
21969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21970         file.
21971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21972         New file.
21973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21974         file.
21975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21977         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21978         file.
21979         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21980         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21981         file.
21982         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21983         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21984         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21985
21986         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21987         libc_feholdexcept and libc_fesetenv.
21988
21989 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
21990
21991         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21992
21993 2013-01-14  David S. Miller  <davem@davemloft.net>
21994
21995         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21996         (SPARC_ASM_VIS2_IFUNC): Likewise.
21997         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21999         use of 'siam' instruction.
22000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22001         Likewise.
22002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22003         Likewise.
22004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22005         Likewise.
22006         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22007         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22011         file.
22012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22013         file.
22014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22015         file.
22016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22017         file.
22018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22023         new VIS2 routines.
22024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22027         Likewise.
22028         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22029         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22030         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22031         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22033         routines to libm-sysdep_routines.
22034         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22035
22036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22037         fdim/fdimf to libm-sysdep_routines.
22038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22039         file.
22040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22042         file.
22043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22046         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22047         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22048         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22049         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22050
22051 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22052
22053         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22054         to optimize copies.
22055
22056         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22059
22060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22061         local variable MPTWO.
22062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22063         Likewise.
22064
22065 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22066
22067         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22068         GLOB_NOESCAPE.
22069
22070 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22071
22072         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22073
22074 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22075
22076         * manual/pattern.texi (glob_t): Document gl_flags.
22077         (glob64_t): Likewise.
22078
22079 2013-01-11  David S. Miller  <davem@davemloft.net>
22080
22081         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22082         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22083         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22084         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22085         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22086         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22087         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22088         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22089         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22090         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22091         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22092         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22093         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22094
22095         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22096         sparc V9 rather than using V8 code.
22097         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22098         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22099
22100         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22101         Move to...
22102         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22103         Here.
22104
22105 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22106
22107         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22108         not in the main loop.
22109         * configure: Regenerated.
22110
22111 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22112
22113         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22114         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22115         to just #else.
22116         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22117         [!__GLIBC_HAVE_LONG_LONG] case.
22118         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22119         condition to just #else.
22120         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22121         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22122         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22123         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22124         unconditional.
22125         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22126         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22127         #elif condition to just #else.
22128         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22129         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22130         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22131         #elif condition to just #else.
22132
22133 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22134
22135         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22136         (EF_MIPS_ARCH_64): Fix value.
22137         (EF_MIPS_ARCH_32R2): New.
22138         (EF_MIPS_ARCH_64R2): New.
22139
22140 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22141
22142         * Makeconfig (+link-pie-before-libc): New.
22143         (+link-pie-after-libc): Likewise.
22144         (+link-pie-tests): Likewise.
22145         (+link-pie): Rewritten.
22146         (link-before-libc): Remove $(config-LDFLAGS).
22147         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22148         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22149         (config-LDFLAGS): Renamed to ...
22150         (rtld-LDFLAGS): This.
22151         (rtld-tests-LDFLAGS): New macro.
22152         (link-libc-rpath-link): Likewise.
22153         (link-libc-tests-rpath-link): Likewise.
22154         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22155         (link-libc): Prepand $(link-libc-rpath-link).
22156         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22157         (test-program-prefix): New macro.
22158         (test-via-rtld-prefix): Likewise.
22159         (test-program-cmd): Likewise.
22160         (host-test-program-cmd): Likewise.
22161         * Makefile ($(common-objpfx)testrun.sh): Replace
22162         $(run-program-prefix) with $(test-program-prefix).
22163         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22164         $(rtld-LDFLAGS).
22165         ($(common-objpfx)shlib.lds): Likewise.
22166         (build-module-helper): Likewise.
22167         ($(common-objpfx)format.lds): Likewise.
22168         * Rules (binaries-pie-tests): New.
22169         (binaries-pie-notests): Likewise.
22170         (binaries-pie): Rewritten.
22171         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22172         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22173         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22174         (make-test-out): Replace $(host-built-program-cmd) with
22175         $(host-test-program-cmd).
22176         * config.make.in (build-hardcoded-path-in-tests): New variable.
22177         * configure.in (--enable-hardcoded-path-in-tests): New configure
22178         option.
22179         (hardcoded_path_in_tests): New AC_SUBST.
22180         * configure: Regenerated.
22181         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22182         $(built-program-cmd) with $(test-program-cmd).
22183         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22184         (test_program_cmd): This.
22185         * elf/Makefile ($(objpfx)order.out): Run test with
22186         $(test-program-prefix).
22187         ($(objpfx)order2.out): Likewise.
22188         ($(objpfx)tst-initorder.out): Likewise.
22189         ($(objpfx)tst-initorder2.out): Likewise.
22190         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22191         $(test-program-cmd).
22192         ($(objpfx)tst-array1-static.out): Likewise.
22193         ($(objpfx)tst-array2.out): Likewise.
22194         ($(objpfx)tst-array3.out): Likewise.
22195         ($(objpfx)tst-array4.out): Likewise.
22196         ($(objpfx)tst-array5.out): Likewise.
22197         ($(objpfx)tst-array5-static.out): Likewise.
22198         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22199         $(test-program-cmd).
22200         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22201         $(run-program-prefix) with $(test-program-prefix).
22202         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22203         (test_program_prefix): This.
22204         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22205         $(run-program-prefix) with $(test-program-prefix).
22206         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22207         (test_program_prefix): This.
22208         * iconvdata/tst-tables.sh: Likewise.
22209         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22210         $(run-program-prefix) with $(test-program-prefix).
22211         ($(objpfx)tst-translit.out): Likewise.
22212         ($(objpfx)tst-gettext2.out): Likewise.
22213         ($(objpfx)tst-gettext4.out): Likewise.
22214         ($(objpfx)tst-gettext6.out): Likewise.
22215         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22216         (test_program_prefix): This.
22217         * intl/tst-gettext2.sh: Likewise.
22218         * intl/tst-gettext4.sh  Likewise.
22219         * intl/tst-gettext6.sh: Likewise.
22220         * intl/tst-translit.sh: Likewise.
22221         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22222         with $(test-program-cmd).
22223         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22224         $(run-program-prefix) with $(test-program-prefix).
22225         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22226         (test_program_prefix): This.
22227         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22228         $(run-program-prefix) with $(test-program-prefix).
22229         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22230         (test_program_prefix): This.
22231         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22232         * posix/Makefile ($(objpfx)globtest.out): Replace
22233         $(run-via-rtld-prefix) and $(test-wrapper) with
22234         $(test-program-prefix) and $(test-via-rtld-prefix).
22235         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22236         $(test-program-prefix).
22237         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22238         $(host-test-program-cmd).
22239         (tst-spawn-ARGS): Likewise.
22240         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22241         $(test-program-prefix).
22242         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22243         (test_via_rtld_prefix): This.
22244         (test_wrapper): Renamed to ...
22245         (test_program_prefix): This.
22246         (run_program_prefix): Replaced by test_program_prefix.
22247         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22248         (test_program_prefix): This.
22249         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22250         with $(host-test-program-cmd).
22251         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22252         $(run-program-prefix) with $(test-program-prefix).
22253         ($(objpfx)tst-printf.out): Likewise.
22254         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22255         $(test-program-cmd).
22256         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22257         (test_program_prefix): This.
22258         * stdio-common/tst-unbputc.sh: Likewise.
22259         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22260         $(run-program-prefix) with $(test-program-prefix).
22261         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22262         (test_program_prefix): This.
22263         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22264         $(built-program-cmd) with $(test-program-cmd).
22265
22266 2013-01-11  Andreas Jaeger  <aj@suse.de>
22267
22268         [BZ #15003]
22269         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22270         value. Sync with Linux 3.7.
22271
22272 2013-01-10  David S. Miller  <davem@davemloft.net>
22273
22274         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22275         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22276         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22277
22278 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22279
22280         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22281         never set.
22282         * configure: Regenerated.
22283
22284 2013-01-10  David S. Miller  <davem@davemloft.net>
22285
22286         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22287         sparc V9 rather than using V8 code.
22288         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22289         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22290
22291 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22292
22293         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22294         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22295         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22296         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22297         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22298         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22299         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22300         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22301         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22302         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22303         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22304         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22305         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22306         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22307         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22308         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22309         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22310         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22311         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22312         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22313         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22314         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22315         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22316         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22317         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22318         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22319         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22320
22321 2013-01-10  David S. Miller  <davem@davemloft.net>
22322
22323         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22324
22325 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22326
22327         * posix/Makefile (tests-static): New variable.
22328         (tests): Add $(tests-static).
22329         (tst-exec-static-ARGS): New variable.
22330         (tst-spawn-static-ARGS): Likewise.
22331         * posix/tst-exec-static.c: New file.
22332         * posix/tst-spawn-static.c: Likewise.
22333         * posix/tst-exec.c: Support run directly.
22334         * posix/tst-spawn.c: Likewise.
22335
22336 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22337
22338         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22339         long.
22340         * math/bits/mathcalls.h (llrint): Likewise.
22341         (llround): Likewise.
22342         * stdlib/stdlib.h (struct drand48_data): Likewise.
22343         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22344         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22345         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22346         Likewise.
22347         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22348         Likewise.
22349         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22350         (elf_greg_t): Likewise.
22351         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22352         (__jmp_buf): Likewise.
22353         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22354         definitions.
22355         (llrint): Likewise, for all definitions.
22356         (llrintl): Likewise.
22357
22358         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22359         Remove [__GNUC__] condition.
22360         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22361         condition to just [__USE_ISOC99].
22362         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22363
22364 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22365
22366         [BZ #14200]
22367         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22368         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22369         defined.
22370         (_POSIX_V6_ILP32_OFF32): Likewise.
22371         (_XBS5_ILP32_OFF32): Likewise.
22372         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22373         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22374
22375 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22376
22377         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22378
22379         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22380         doubles __mpexp_twomm1.  Adjust usage.
22381         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22382         Remove.
22383
22384 2013-01-10  Andreas Schwab  <schwab@suse.de>
22385
22386         [BZ #14964]
22387         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22388         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22389
22390 2013-01-09  David S. Miller  <davem@davemloft.net>
22391
22392         [BZ #15003]
22393         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22394         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22395         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22396         (TCP_FASTOPEN): Define.
22397         (tcp_repair_opt): New structure.
22398         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22399         enum values.
22400         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22401         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22402         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22403         (tcp_cookie_transactions): New structure.
22404
22405 2013-01-09  Anton Blanchard  <anton@samba.org>
22406
22407         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22408         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22409         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22410         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22411
22412 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22413
22414         * include/features.h (__USE_ANSI): Remove.
22415
22416 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22417
22418         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22419
22420         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22421
22422 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22423
22424         * sysdeps/s390/fpu/libm-test-ulps: Update.
22425
22426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22427
22428         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22429         (__acr): Likewise.
22430         (__cpy): Likewise.
22431         (norm): Likewise.
22432         (denorm): Likewise.
22433         (__mp_dbl): Likewise.
22434         (__dbl_mp): Likewise.
22435         (add_magnitudes): Likewise.
22436         (sub_magnitudes): Likewise.
22437         (__add): Likewise.
22438         (__sub): Likewise.
22439         (__mul): Likewise.
22440         (__inv): Likewise.
22441         (__dvd): Likewise.
22442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22443         (__acr): Likewise.
22444         (__cpy): Likewise.
22445         (norm): Likewise.
22446         (denorm): Likewise.
22447         (__mp_dbl): Likewise.
22448         (__dbl_mp): Likewise.
22449         (add_magnitudes): Likewise.
22450         (sub_magnitudes): Likewise.
22451         (__add): Likewise.
22452         (__sub): Likewise.
22453         (__mul): Likewise.
22454         (__inv): Likewise.
22455         (__dvd): Likewise.
22456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22457         (__acr): Likewise.
22458         (__cpy): Likewise.
22459         (norm): Likewise.
22460         (denorm): Likewise.
22461         (__mp_dbl): Likewise.
22462         (__dbl_mp): Likewise.
22463         (add_magnitudes): Likewise.
22464         (sub_magnitudes): Likewise.
22465         (__add): Likewise.
22466         (__sub): Likewise.
22467         (__mul): Likewise.
22468         (__inv): Likewise.
22469         (__dvd): Likewise.
22470
22471 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22472
22473         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22474         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22475         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22476         2 && __USE_EXTERN_INLINES]: Likewise.
22477
22478 2013-01-08  Andreas Jaeger  <aj@suse.de>
22479
22480         [BZ# 14985]
22481         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22482         Remove.
22483         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22484         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22485
22486 2013-01-07  Anton Blanchard  <anton@samba.org>
22487
22488         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22489         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22490         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22491         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22492         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22493         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22494         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22495         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22497         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22498         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22499         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22500         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22502         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22503         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22504         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22505         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22506         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22507         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22508         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22509         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22510         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22511         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22512         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22513         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22514         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22515         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22517         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22518         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22520         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22521         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22522         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22523         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22524         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22526         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22527         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22528         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22529         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22530         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22531
22532 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
22533
22534         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22535         (__MALLOC_PMT): Likewise.
22536         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22537         [__GNUC__], only on [_LIBC].
22538         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22539         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22540         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22541         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22542         forward declaration.
22543         (realloc_hook_ini): Likewise.
22544         (memalign_hook_ini): Likewise.
22545         (__libc_memalign): Do not use __MALLOC_PMT in variable
22546         declaration.
22547         (__libc_valloc): Likewise.
22548         (__libc_pvalloc): Likewise.
22549         (__libc_calloc): Likewise.
22550         (__posix_memalign): Likewise.
22551
22552         [BZ #14996]
22553         * math/s_casinh.c: Include <float.h>.
22554         (__casinh): Do not do computation with squaring and square root
22555         for large arguments.
22556         * math/s_casinhf.c: Include <float.h>.
22557         (__casinhf): Do not do computation with squaring and square root
22558         for large arguments.
22559         * math/s_casinhl.c: Include <float.h>.
22560         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22561         (__casinhl): Do not do computation with squaring and square root
22562         for large arguments.
22563         * math/libm-test.inc (casin_test): Add more tests.
22564         (casinh_test): Likewise.
22565         * sysdeps/i386/fpu/libm-test-ulps: Update.
22566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22567
22568 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
22569
22570         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22571         (__x86_64_raw_data_cache_size): Likewise.
22572         (__x86_64_data_cache_size_half): Likewise.
22573         (__x86_64_raw_data_cache_size_half): Likewise.
22574         (__x86_64_shared_cache_size): Likewise.
22575         (__x86_64_raw_shared_cache_size): Likewise.
22576         (__x86_64_shared_cache_size_half): Likewise.
22577         (__x86_64_raw_shared_cache_size_half): Likewise.
22578         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22579         to ...
22580         (__x86_data_cache_size): This.
22581         (__x86_64_raw_data_cache_size): Renamed to ...
22582         (__x86_raw_data_cache_size): This.
22583         (__x86_64_data_cache_size_half): Renamed to ...
22584         (__x86_data_cache_size_half): This.
22585         (__x86_64_raw_data_cache_size_half): Renamed to ...
22586         (__x86_raw_data_cache_size_half): This.
22587         (__x86_64_shared_cache_size): Renamed to ...
22588         (__x86_shared_cache_size): This.
22589         (__x86_64_raw_shared_cache_size): Renamed to ...
22590         (__x86_raw_shared_cache_size): This.
22591         (__x86_64_shared_cache_size_half): Renamed to ...
22592         (__x86_shared_cache_size_half): This.
22593         (__x86_64_raw_shared_cache_size_half): Renamed to ...
22594         (__x86_raw_shared_cache_size_half): This.
22595         * sysdeps/x86_64/memcpy.S: Updated.
22596         * sysdeps/x86_64/memset.S: Likewise.
22597         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22598         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22599         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22600
22601 2013-01-04  David S. Miller  <davem@davemloft.net>
22602
22603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22604
22605 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
22606
22607         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22608         1 to avoid redefinition warning.
22609         (__USE_GNU): Don't define.
22610         (init_signaling_nan): Protoize.
22611
22612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22613
22614 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22615
22616         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22617         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22618         (__cpymn): Likewise.
22619         (norm): Remove commented code.
22620         (denorm): Likewise.
22621         (__mp_dbl): Likewise.
22622         (__inv): Likewise.
22623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22624         (__cpymn): Likewise.
22625         (norm): Remove commented code.
22626         (denorm): Likewise.
22627         (__mp_dbl): Likewise.
22628         (__inv): Likewise.
22629
22630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22631         mp_no value for 1.0 and 2.0.
22632         (norm): Use RADIXI instead of radixi.d.
22633         (denorm): Likewise.
22634         (__mul): Use 0.0 instead of zero.d.
22635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22636         mp_no value for 1.0 and 2.0.
22637         (norm): Use RADIXI instead of radixi.d.
22638         (denorm): Likewise.
22639         (__mul): Use 0.0 instead of zero.d.
22640
22641 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
22642
22643         [BZ #14994]
22644         * math/s_casinh.c (__casinh): Reduce finite argument to first
22645         quadrant then set signs of results at the end.
22646         * math/s_casinhf.c (__casinhf): Likewise.
22647         * math/s_casinhl.c (__casinhl): Likewise.
22648         * math/libm-test.inc (casin_test): Add more tests.
22649         (casinh_test): Likewise.
22650         * sysdeps/i386/fpu/libm-test-ulps: Update.
22651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22652
22653 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22654
22655         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22656
22657         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22658
22659         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22660         declarations.
22661         (denorm): Likewise.
22662         (__mp_dbl): Likewise.
22663         (__inv): Likewise.
22664
22665         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22666         and adjust the header comment.
22667
22668         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22669         variable name from declaration.
22670
22671 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
22672
22673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22674         Initialize COMMON_CPUID_INDEX_7 element.
22675         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22676         (CPUID_RTM): Likewise.
22677         (HAS_RTM): Likewise.
22678         (COMMON_CPUID_INDEX_7): New enum.
22679
22680 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
22681
22682         [BZ #14981]
22683         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22684         size is zero, record memory as freed.
22685
22686 2013-01-03  Andreas Jaeger  <aj@suse.de>
22687
22688         * po/ia.po: Add new Interlingua translation.
22689
22690 2012-01-03  Allan McRae  <allan@archlinux.org>
22691
22692         * locale/programs/localedef.c: Fix description of '--posix' flag.
22693
22694 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
22695
22696         * NEWS: Update dates in second copyright notice.
22697         * README: Update copyright dates in example.
22698         * manual/libc.texinfo: Update copyright dates.
22699         * scripts/test-installation.pl: Update copyright date in --version
22700         output.
22701
22702         * hurd/ctty-input.c: Fix copyright notice formatting.
22703         * hurd/ctty-output.c: Likewise.
22704         * hurd/dtable.c: Likewise.
22705         * hurd/hurd-raise.c: Likewise.
22706         * hurd/hurdprio.c: Likewise.
22707         * hurd/msgportdemux.c: Likewise.
22708         * misc/sys/file.h: Likewise.
22709         * misc/sys/ioctl.h: Likewise.
22710         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22711         * sysdeps/mach/hurd/chdir.c: Likewise.
22712         * sysdeps/mach/hurd/fchdir.c: Likewise.
22713         * sysdeps/mach/hurd/rename.c: Likewise.
22714         * sysdeps/mach/hurd/rmdir.c: Likewise.
22715         * sysdeps/mach/hurd/seekdir.c: Likewise.
22716         * sysdeps/mach/hurd/setsid.c: Likewise.
22717         * sysdeps/posix/wait3.c: Likewise.
22718
22719         * All files with FSF copyright notices: Update copyright dates
22720         using scripts/update-copyrights.
22721         * intl/plural.c: Regenerated.
22722         * locale/programs/charmap-kw.h: Likewise.
22723         * locale/programs/locfile-kw.h: Likewise.
22724
22725 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22726
22727         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22728         four values.
22729
22730         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22731         calculation loop and add branch prediction.
22732
22733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22734         check access beyond bounds of m1np.
22735
22736         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22737         MPTWO.
22738         (__inv): Remove local variable MPTWO to use the global
22739         constant.
22740         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22741         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22742         variable MPTWO.
22743         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22744         MP3HALFS static const.
22745
22746 2013-01-01  David S. Miller  <davem@davemloft.net>
22747
22748         * po/ca.po: Update from translation team.
22749
22750 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
22751
22752         * scripts/update-copyrights: New file.
22753         * Makeconfig: Reformat copyright notice.
22754         * ctype/ctype.h: Likewise.
22755         * debug/swprintf_chk.c: Likewise.
22756         * elf/dl-cache.c: Likewise.
22757         * elf/dl-debug.c: Likewise.
22758         * elf/dl-object.c: Likewise.
22759         * grp/initgroups.c: Likewise.
22760         * hurd/Makefile: Likewise.
22761         * hurd/hurd/signal.h: Likewise.
22762         * hurd/hurdfault.c: Likewise.
22763         * hurd/hurdioctl.c: Likewise.
22764         * hurd/hurdlookup.c: Likewise.
22765         * hurd/intr-msg.c: Likewise.
22766         * iconv/gconv_open.c: Likewise.
22767         * libio/swprintf.c: Likewise.
22768         * locale/lc-ctype.c: Likewise.
22769         * locale/nl_langinfo.c: Likewise.
22770         * mach/Machrules: Likewise.
22771         * mach/Makefile: Likewise.
22772         * malloc/obstack.h: Likewise.
22773         * manual/Makefile: Likewise.
22774         * manual/tsort.awk: Likewise.
22775         * misc/bits/stab.def: Likewise.
22776         * nis/nis_print_group_entry.c: Likewise.
22777         * nis/nis_table.c: Likewise.
22778         * nis/nss_compat/compat-pwd.c: Likewise.
22779         * nis/nss_compat/compat-spwd.c: Likewise.
22780         * po/Makefile: Likewise.
22781         * posix/fnmatch.c: Likewise.
22782         * posix/regex.h: Likewise.
22783         * resolv/Makefile: Likewise.
22784         * resolv/nss_dns/dns-network.c: Likewise.
22785         * resolv/res_hconf.c: Likewise.
22786         * scripts/gen-sorted.awk: Likewise.
22787         * soft-fp/soft-fp.h: Likewise.
22788         * stdio-common/printf.h: Likewise.
22789         * stdlib/monetary.h: Likewise.
22790         * stdlib/random.c: Likewise.
22791         * stdlib/random_r.c: Likewise.
22792         * sysdeps/generic/Makefile: Likewise.
22793         * sysdeps/gnu/Makefile: Likewise.
22794         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22796         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22797         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22798         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22799         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22800         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22801         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22802         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22803         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22804         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22806         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22807         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22808         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22809         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22810         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22811         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22812         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22813         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22814         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22815         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22816         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22817         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22818         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22819         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22820         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22821         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22822         * sysdeps/mach/hurd/errnos.awk: Likewise.
22823         * sysdeps/mach/hurd/fork.c: Likewise.
22824         * sysdeps/mach/hurd/getcwd.c: Likewise.
22825         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22826         * sysdeps/mach/hurd/mmap.c: Likewise.
22827         * sysdeps/mach/hurd/utimes.c: Likewise.
22828         * sysdeps/mach/hurd/xmknod.c: Likewise.
22829         * sysdeps/posix/profil.c: Likewise.
22830         * sysdeps/posix/readdir_r.c: Likewise.
22831         * sysdeps/powerpc/bits/mathdef.h: Likewise.
22832         * sysdeps/powerpc/bits/setjmp.h: Likewise.
22833         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22834         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22835         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22836         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22837         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22838         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22840         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22841         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22842         * sysdeps/pthread/lio_listio.c: Likewise.
22843         * sysdeps/sparc/dl-procinfo.h: Likewise.
22844         * sysdeps/unix/i386/sysdep.S: Likewise.
22845         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22846         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22847         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22848         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22850         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22851         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22852         * sysdeps/unix/sysv/linux/speed.c: Likewise.
22853         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22854         * sysdeps/wordsize-32/divdi3.c: Likewise.
22855         * time/sys/time.h: Likewise.
22856         * wcsmbs/Makefile: Likewise.
22857
22858 2013-01-01  David S. Miller  <davem@davemloft.net>
22859
22860         * po/fr.po: Update from translation team.
22861
22862         * catgets/gencat.c: Update copyright year.
22863         * csu/version.c: Likewise.
22864         * debug/catchsegv.sh: Likewise.
22865         * debug/pcprofiledump.c: Likewise.
22866         * debug/xtrace.sh: Likewise.
22867         * elf/ldconfig.c: Likewise.
22868         * elf/ldd.bash.in: Likewise.
22869         * elf/pldd.c: Likewise.
22870         * elf/sotruss.ksh: Likewise.
22871         * elf/sprof.c: Likewise.
22872         * iconv/iconv_prog.c: Likewise.
22873         * iconv/iconvconfig.c: Likewise.
22874         * locale/programs/locale.c: Likewise.
22875         * locale/programs/localedef.c: Likewise.
22876         * login/programs/pt_chown.c: Likewise.
22877         * malloc/memusage.sh: Likewise.
22878         * malloc/memusagestat.c: Likewise.
22879         * malloc/mtrace.pl: Likewise.
22880         * nscd/nscd.c: Likewise.
22881         * nss/getent.c: Likewise.
22882         * nss/makedb.c: Likewise.
22883         * posix/getconf.c: Likewise.
22884
22885 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22886
22887         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22888         numbers.
22889
22890 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
22891
22892         * math/bits/mathcalls.h (modf): Use __nonnull.
22893
22894 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22895
22896         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22897         (split): Use macro CN instead of the bare value.
22898         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22899         could be used.
22900         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22901         instead of the bare value.
22902         (power1): Likewise.
22903
22904 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22905
22906         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22907         __ATAN_TWOM.
22908         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22909
22910         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22911         their values.
22912         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22913         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22914         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22915         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22916
22917 2012-12-28  Andreas Jaeger  <aj@suse.de>
22918
22919         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
22920         values are from Linux 3.7.
22921
22922         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22923         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
22924
22925 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22926
22927         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22928         TRUE case.
22929
22930         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22931         (norm): Likewise.
22932         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22933         variables with preprocessor constants.
22934         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22935         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22936         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22937
22938 2012-12-27  Bruno Haible  <bruno@clisp.org>
22939
22940         [BZ #14317]
22941         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22942         only if needed.
22943
22944 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22945
22946         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22947         and use variable directly.
22948         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22949
22950         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22951         MPONE.
22952         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22953         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22954         variable MPONE.
22955         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22956         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22957         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22958         include directive.  Remove local variable MPONE.
22959         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22960         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22961         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22962
22963 2012-12-25  David S. Miller  <davem@davemloft.net>
22964
22965         * version.h (RELEASE): Set to "development".
22966         (VERSION): Set to "2.17.90".
22967         * NEWS: Add 2.18 section.
22968
22969 2012-12-21  David S. Miller  <davem@davemloft.net>
22970
22971         * po/hr.po: Update from translation team.
22972
22973 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22974
22975         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22976
22977 2012-12-19  Steve Ellcey  <sellcey@mips.com>
22978
22979         * NEWS:  Mention new memcpy for MIPS.
22980
22981 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22982
22983         * manual/contrib.texi (Contributors): Spelling correction.
22984
22985 2012-12-15  David S. Miller  <davem@davemloft.net>
22986
22987         * po/ru.po: Update from translation team.
22988
22989 2012-12-13  David S. Miller  <davem@davemloft.net>
22990
22991         * NEWS: Mention IFUNC testsuite enhancements.
22992
22993         * po/pl.po: Update from translation team.
22994         * po/bg.po: Likewise.
22995
22996         * manual/contrib.texi (Contributors): Update entries for Hongjiu
22997         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
22998
22999 2012-12-11  David S. Miller  <davem@davemloft.net>
23000
23001         * po/sv.po: Update from translation team.
23002
23003         * po/vi.po: Update from translation team.
23004
23005         * po/cs.po: Update from translation team.
23006
23007         * po/de.po: Update from translation team.
23008         * po/eo.po: Likewise.
23009         * po/nl.po: Likewise.
23010
23011 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23012
23013         [BZ #14246]
23014         * manual/argp.texi (Argp Helper Functions): Move node to follow
23015         Argp Parsing State.
23016
23017         [BZ #14872]
23018         * manual/conf.texi (Limits on File System Capacity): Mention if
23019         terminating null is included in the max size.
23020
23021 2012-12-10  Andreas Jaeger  <aj@suse.de>
23022
23023         * po/cs.po: Update from translation team.
23024
23025 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23026
23027         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23028         void pointer and cast to uintptr_t.
23029         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23030         path.
23031         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23032         * sysdeps/s390/s390-64/memset.S: Likewise.
23033
23034 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23035
23036         [BZ #14833]
23037         * menual/message.texi (Message Translation): Fix typos.
23038         (Helper programs for gettext): Likewise.
23039
23040 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23041
23042         [BZ #14898]
23043         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23044         Change to -1.
23045
23046 2012-12-07  David S. Miller  <davem@davemloft.net>
23047
23048         * po/libc.pot: Update.
23049
23050 2012-12-07  Richard Henderson  <rth@redhat.com>
23051
23052         [BZ #10114]
23053         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23054         normal/normal case to before the switch.
23055         (_FP_DIV): Likewise.
23056
23057 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23058             Mike Frysinger  <vapier@gentoo.org>
23059
23060         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23061         check for __NR_fadvise64_64.
23062
23063 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23064
23065         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23066         0, not just to plain "0" as a statement.
23067         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23068         with cw.
23069
23070 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23071
23072         * NEWS: Use sourceware.org in Bugzilla URL.
23073
23074 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23075
23076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23077         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23078
23079         * stdio-common/tst-put-error.c (do_test): Add newline to the
23080         padded test to ensure flush.
23081
23082 2012-12-05  Jeff Law  <law@redhat.com>
23083
23084         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23085
23086 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23087
23088         * README: Don't refer to ports add-on as distributed separately.
23089         Mention AArch64 in list of systems supported in the ports add-on.
23090
23091         * LICENSES: Add more non-FSF copyright and license notices.
23092
23093         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23094         ((unused)).
23095
23096         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23097
23098         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23099         10000 as width of padded output.
23100
23101 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23102
23103         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23104
23105         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23106         variable LX with __attribute__ ((unused)).
23107         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23108         Likewise.
23109         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23111         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23112         with __attribute__ ((unused)).
23113
23114 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23115
23116         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23117
23118 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23119
23120         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23121         (CFLAGS-nldbl-acos.c): New variable.
23122         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23123         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23124         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23125         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23126         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23127         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23128         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23129         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23130         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23131         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23132         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23133         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23134         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23135         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23136         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23137         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23138         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23139         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23140         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23141         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23142         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23143         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23144         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23145         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23146         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23147         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23148         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23149         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23150         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23151         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23152         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23153         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23154         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23155         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23156         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23157         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23158         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23159         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23160         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23161         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23162         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23163         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23164         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23165         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23166         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23167         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23168         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23169         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23170         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23171         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23172         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23173         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23174         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23175         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23176         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23177         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23178         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23179         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23180         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23181         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23182         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23183         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23184         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23185         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23186         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23187         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23188         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23189         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23190         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23191         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23192         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23193         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23194         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23195         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23196         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23197         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23198         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23199         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23200         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23201         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23202         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23203         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23204         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23205         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23206         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23207         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23208         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23209         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23210         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23211         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23212         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23213         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23214         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23215         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23216         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23217         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23218         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23219
23220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23221         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23222
23223         [BZ #14914]
23224         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23225         whole low double instead of just low 47 bits when splitting values
23226         into two parts.
23227
23228 2012-12-03  Allan McRae  <allan@archlinux.org>
23229
23230         * manual/stdio.texi (Predefined Printf Handlers): Remove
23231         @hsep and @vsep usage.
23232
23233 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23234
23235         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23236         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23237
23238 2012-12-03  Jeff Law  <law@redhat.com>
23239
23240         * time/sys/time.h (settimeofday): Do not mark TV argument
23241         as __nonnull.
23242
23243 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23244
23245         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23246         when currently writing and seek to current position when not.
23247         * libio/Makefile (tests): Remove bug-fclose1.
23248         * libio/bug-fclose1.c: Delete.
23249
23250 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23251
23252         * manual/arith.texi (feenableexcept): Fix typo.
23253         (fedisableexcept): Likewise.
23254
23255 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23256
23257         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23258         second, differently-typed declaration, rather than a cast.
23259
23260 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23261
23262         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23263         * include/rpc/svc.h: ... here.
23264
23265 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23266
23267         [BZ #13013]
23268         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23269         depending n and resplen2 to catch cases where answer
23270         equals answerp2.
23271
23272 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23273
23274         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23275         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23276
23277 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23278
23279         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23280
23281 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23282
23283         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23284
23285 2012-11-28  Jeff Law  <law@redhat.com>
23286
23287         [BZ #13761]
23288         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23289         dataset_temporary.  Track alloca usage into alloca_used.
23290         If dataset is large allocate and release it via malloc/free.
23291
23292 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23293
23294         [BZ #14197]
23295         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23296
23297 2012-11-28  David S. Miller  <davem@davemloft.net>
23298
23299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23300
23301 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23302
23303         [BZ #14803]
23304         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23305         of pi/2 rounded to nearest to 64 bits.
23306         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23307         nearest to 64 bits.
23308         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23309         bits.
23310
23311 2012-11-28  Jeff Law <law@redhat.com>
23312             Martin Osvald <mosvald@redhat.com>
23313
23314         [BZ #14889]
23315         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23316         * sunrpc/svc.c: Include time.h.
23317         (__svc_accept_failed): New function.
23318         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23319         any reason other than EINTR, call __svc_accept_failed.
23320         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23321         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23322
23323 2012-11-28  Andreas Schwab  <schwab@suse.de>
23324
23325         * scripts/abilist.awk: Also handle indirect functions in .opd
23326         section.
23327
23328 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23329
23330         [BZ #13881]
23331         * sysdeps/x86/fpu/powl_helper.c: New file.
23332         * sysdeps/x86/fpu/Makefile: Likewise.
23333         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23334         (p3): New object.
23335         (__ieee754_powl): Use __powl_helper for finite arguments except
23336         integer exponents below 8.
23337         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23338         (p3): New object.
23339         (__ieee754_powl): Use __powl_helper for finite arguments except
23340         integer exponents below 8.
23341         * math/libm-test.inc (pow_test): Add more tests and enable some
23342         previously disabled tests.
23343         * sysdeps/i386/fpu/libm-test-ulps: Update.
23344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23345
23346 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23347             Carlos O'Donell  <carlos_odonell@mentor.com>
23348
23349         * nss/makedb.c (is_prime): Assert that input is odd and greater
23350         than 4.  Note that fact in a comment too.
23351         (next_prime): Add 4 to input.
23352
23353 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23354
23355         [BZ #11741]
23356         * libio/Makefile (tests): Add test case tst-fwrite-error.
23357         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23358         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23359         * libio/tst-fwrite-error.c: New test case.
23360
23361 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23362
23363         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23364         before casting to void *.
23365         * include/libc-internal.h (__pointer_type): New macro.
23366         (__integer_if_pointer_type_sub): Likewise.
23367         (__integer_if_pointer_type): Likewise.
23368         (cast_to_integer): Likewise.
23369         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23370         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23371         before casting to atomic64_t.
23372         (atomic_exchange_acq): Likewise.
23373         (__arch_exchange_and_add_body): Likewise.
23374         (__arch_add_body): Likewise.
23375         (atomic_add_negative): Likewise.
23376         (atomic_add_zero): Likewise.
23377
23378 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23379
23380         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23381         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23382         (add_fdes): Likewise.
23383         (linear_search_fdes): Likewise.
23384         (binary_search_unencoded_fdes): Likewise.
23385
23386 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23387
23388         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23389
23390 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23391
23392         * configure.in: Autodetect C++ header directories.
23393         * configure: Regenerated.
23394
23395 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23396
23397         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23398
23399 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23400
23401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23402
23403 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23404
23405         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23406         LDBL_MANT_DIG == 106]: Disable some tests.
23407         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23408         Likewise.
23409         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23410         Likewise.
23411
23412         [BZ #14871]
23413         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23414         input for small inputs.  Return +/- pi/2 for large inputs.
23415         * math/libm-test.inc (atan_test): Add more tests.
23416
23417         * sysdeps/generic/unwind-dw2-fde-glibc.c
23418         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23419         __attribute__ ((unused)).
23420
23421         [BZ #14645]
23422         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23423         x * y if x and y are nonzero and z is zero.
23424
23425         [BZ #14811]
23426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23427         nonzero exponents with absolute value below 0x1p-117 to +/-
23428         0x1p-117.
23429
23430         [BZ #14869]
23431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23432         up arguments below 2**-450, not just those below 2**-500.
23433         * math/libm-test.inc (hypot_test): Add another test.
23434
23435         [BZ #14868]
23436         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23437         Return a+b for ratio over 2**120, not 2**60.
23438         * math/libm-test.inc (hypot_test): Add another test.
23439
23440         * math/libm-test.inc (clog_test): Use
23441         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23442         (clog10_test): Likewise.
23443
23444         [BZ #6778]
23445         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23446
23447 2012-11-22  Andreas Schwab  <schwab@suse.de>
23448
23449         * sysdeps/i386/fpu/libm-test-ulps: Update.
23450
23451 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23452
23453         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23454         printf output with newline.
23455
23456 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23457
23458         [BZ #14865]
23459         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23460         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23461         -z nodlopen, -z initfirst and -z execstack support.
23462         * configure: Regenerated.
23463
23464         * elf/elf.h (DF_1_NODIRECT): New macro.
23465         (DF_1_IGNMULDEF): Likewise.
23466         (DF_1_NOKSYMS): Likewise.
23467         (DF_1_NOHDR): Likewise.
23468         (DF_1_EDITED): Likewise.
23469         (DF_1_NORELOC): Likewise.
23470         (DF_1_SYMINTPOSE): Likewise.
23471         (DF_1_GLOBAUDIT): Likewise.
23472         (DF_1_SINGLETON): Likewise.
23473         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23474         DT_1_SUPPORTED_MASK bits.
23475         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23476
23477 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23478
23479         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23480
23481 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23482
23483         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23484         macro.
23485
23486         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23487         (sendmmsg): Move declarations...
23488         * socket/sys/socket.h: ... here.
23489         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23490         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23491         include it from...
23492         * socket/recvmmsg.c: ... this new file.
23493         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23494         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23495         definition of __sendmmsg hidden.
23496         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23497         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23498         Move ENOSYS stub into and include it from...
23499         * socket/sendmmsg.c: ... this new file.
23500         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23501         (sysdep_routines): Move recvmmsg and sendmmsg...
23502         * socket/Makefile (routines): ... here.
23503         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23504         (GLIBC_PRIVATE): Add __sendmmsg.
23505         * include/sys/socket.h (__sendmmsg): Add declarations.
23506         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23507         sendmmsg.
23508
23509 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
23510
23511         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23512         variable I1 with __attribute__ ((unused)).
23513         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23514
23515 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23516
23517         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23518         DUMMY variables with __attribute__ ((unused)).
23519
23520         * bits/byteswap.h: Include <bits/types.h>.
23521         (__bswap_64): Use __uint64_t instead of unsigned long long int.
23522
23523 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23524
23525         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23526         string_t.  Do not manually set errno.
23527         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23528         length with __strnlen.  Make sure to both set errno and return it on
23529         failure.
23530
23531 2012-11-19  David S. Miller  <davem@davemloft.net>
23532
23533         With help from Joseph Myers.
23534         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23535         very large arguments properly.
23536         * math/libm-test.inc (atan_test): New tests.
23537         (atan2_test): New tests.
23538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23540
23541 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
23542
23543         [BZ #14856]
23544         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23545         Define to 3.
23546
23547         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23548         [POSIX] (EADDRNOTAVAIL): Likewise.
23549         [POSIX] (EAFNOSUPPORT): Likewise.
23550         [POSIX] (EALREADY): Likewise.
23551         [POSIX] (ECONNABORTED): Likewise.
23552         [POSIX] (ECONNREFUSED): Likewise.
23553         [POSIX] (ECONNRESET): Likewise.
23554         [POSIX] (EDESTADDRREQ): Likewise.
23555         [POSIX] (EDQUOT): Likewise.
23556         [POSIX] (EHOSTUNREACH): Likewise.
23557         [POSIX] (EIDRM): Likewise.
23558         [POSIX] (EISCONN): Likewise.
23559         [POSIX] (ELOOP): Likewise.
23560         [POSIX] (EMULTIHOP): Likewise.
23561         [POSIX] (ENETDOWN): Likewise.
23562         [POSIX] (ENETUNREACH): Likewise.
23563         [POSIX] (ENOBUFS): Likewise.
23564         [POSIX] (ENODATA): Likewise.
23565         [POSIX] (ENOLINK): Likewise.
23566         [POSIX] (ENOMSG): Likewise.
23567         [POSIX] (ENOPROTOOPT): Likewise.
23568         [POSIX] (ENOSR): Likewise.
23569         [POSIX] (ENOSTR): Likewise.
23570         [POSIX] (ENOTCONN): Likewise.
23571         [POSIX] (ENOTSOCK): Likewise.
23572         [POSIX] (EOPNOTSUPP): Likewise.
23573         [POSIX] (EOVERFLOW): Likewise.
23574         [POSIX] (EPROTO): Likewise.
23575         [POSIX] (EPROTONOSUPPORT): Likewise.
23576         [POSIX] (EPROTOTYPE): Likewise.
23577         [POSIX] (ESTALE): Likewise.
23578         [POSIX] (ETIME): Likewise.
23579         [POSIX] (ETXTBSY): Likewise.
23580         [POSIX] (EWOULDBLOCK): Likewise.
23581         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23582         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23583         [POSIX] (SEEK_CUR): Likewise.
23584         [POSIX] (SEEK_END): Likewise.
23585         [POSIX || UNIX98] (mode_t): Do not require.
23586         [POSIX] (off_t): Likewise.
23587         [POSIX] (pid_t): Likewise.
23588         [POSIX] (sys/stat.h): Do not allow header.
23589         [POSIX] (unistd.h): Likewise.
23590         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23591         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23592         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23593         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23594         require.
23595         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23596         sigevent): Specify elements.
23597         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23598         entry.
23599         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23600         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23601
23602         * conform/data/cpio.h-data [POSIX]: Disable whole file.
23603         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23604         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23605         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23606         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23607         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23608         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23609         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23610         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23611         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23612         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23613         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23614         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23615         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23616         Likewise.
23617         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23618         Likewise.
23619         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23620         Likewise.
23621         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23622         Likewise.
23623         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23624         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23625         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23626         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23627         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23628         Specify lower bound on value.
23629         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23630         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23631         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23632         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23633         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23634         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23635         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23636         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23637         value.
23638         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23639         as optional.
23640         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23641         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23642         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23643         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23644         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23645         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23646         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23647         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23648         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23649         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23650         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23651         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23652         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23653         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23654         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23655         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23656         entry.
23657         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23658         optional.
23659         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23660         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23661         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23662         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23663         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23664         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23665         Likewise.
23666         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23667         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23668         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23669         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23670         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
23671         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23672         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23673         as optional.
23674         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23675         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23676         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23677         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23678         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23679         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23680         specify as optional.
23681         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23682         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23683         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23684         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23685         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23686         [XPG3] (NL_LANGMAX): Likewise.
23687         [POSIX || XPG3] (NL_MSGMAX): Likewise.
23688         [POSIX || XPG3] (NL_NMAX): Likewise.
23689         [POSIX || XPG3] (NL_SETMAX): Likewise.
23690         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23691         [XPG3] (NZERO): Likewise.
23692         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23693         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23694         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23695         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23696         (REG_ERANGE): Expect.
23697         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23698         optional-constant.
23699         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23700         Use (void) in prototype.
23701         [POSIX] (*_t): Allow.
23702         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23703         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23704         (WRDE_BADVAL): Expect.
23705
23706         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23707         expect.
23708         [XPG3 || XPG4] (O_RSYNC): Likewise.
23709         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23710         Likewise.
23711         [XPG3 || XPG4] (pthread_sigmask): Likewise.
23712         [XPG3 || XPG4] (sigqueue): Likewise.
23713         [XPG3 || XPG4] (sigtimedwait): Likewise.
23714         [XPG3 || XPG4] (sigwaitinfo): Likewise.
23715         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23716         [XPG3 || XPG4] (vsnprintf): Likewise.
23717         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23718         Likewise.
23719         [XPG3 || XPG4] (blksize_t): Likewise.
23720         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23721         Likewise.
23722         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23723         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23724         [XPG3 || XPG4] (struct itimerspec): Likewise.
23725         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23726         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23727         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23728         [XPG3 || XPG4] (clockid_t): Likewise.
23729         [XPG3 || XPG4] (timer_t): Likewise.
23730         [XPG3 || XPG4] (clock_getres): Likewise.
23731         [XPG3 || XPG4] (clock_gettime): Likewise.
23732         [XPG3 || XPG4] (clock_settime): Likewise.
23733         [XPG3 || XPG4] (nanosleep): Likewise.
23734         [XPG3 || XPG4] (timer_create): Likewise.
23735         [XPG3 || XPG4] (timer_delete): Likewise.
23736         [XPG3 || XPG4] (timer_gettime): Likewise.
23737         [XPG3 || XPG4] (timer_getoverrun): Likewise.
23738         [XPG3 || XPG4] (timer_settime): Likewise.
23739         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23740         [XPG3 || XPG4] (getlogin_r): Likewise.
23741         [XPG3 || XPG4] (pread): Likewise.
23742         [XPG3 || XPG4] (pthread_atfork): Likewise.
23743         [XPG3 || XPG4] (pwrite): Likewise.
23744
23745         [BZ #14835]
23746         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23747         <bits/siginfo.h>.
23748
23749 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
23750
23751         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23752         finalizing MALLSTREAM.
23753
23754         * sysdeps/mach/hurd/syncfs.c: New file.
23755
23756 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23757
23758         [BZ #14719]
23759         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23760         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23761         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23762         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23763         (_nss_dns_gethostbyname4_r): Likewise.
23764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23765         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23766
23767 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
23768
23769         [BZ #13763]
23770         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23771
23772 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
23773
23774         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23775         * elf/cache.c (print_entry): Print ",AArch64" for
23776         FLAG_AARCH64_LIB64
23777
23778         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23779         * elf/cache.c (print_entry): Print ",hard-float" for
23780         FLAG_ARM_LIBHF.
23781
23782 2012-11-18  David S. Miller  <davem@davemloft.net>
23783
23784         With help from Joseph Myers.
23785         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23786         cutoff to 2**-13.
23787         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23788         cutoff to 2**-25.
23789         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23790         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23791         small.
23792         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23793         * math/libm-test.inc (y0_test): New tests.
23794         (y1_test): New tests.
23795         * sysdeps/i386/fpu/libm-test-ulps: Update.
23796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23798
23799 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
23800
23801         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23802         64-bit targets.
23803         * configure: Regenerated.
23804
23805 2012-11-17  David S. Miller  <davem@davemloft.net>
23806
23807         [BZ #14811]
23808         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23809         nonzero exponents with absolute value below 0x1p-128 to +/-
23810         0x1p-128.
23811
23812 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
23813
23814         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23815
23816         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23817
23818         * posix/getconf-speclist.c: New file.
23819         * posix/posix-envs.def: Likewise.
23820         * posix/confstr.c (START_ENV_GROUP): New macro.
23821         (END_ENV_GROUP): Likewise.
23822         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23823         (KNOWN_PRESENT_ENV_STRING): Likewise.
23824         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23825         (UNKNOWN_ENVIRONMENT): Likewise.
23826         (confstr): Include posix-envs.def instead of handling
23827         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23828         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23829         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23830         (END_ENV_GROUP): Likewise.
23831         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23832         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23833         (UNKNOWN_ENVIRONMENT): Likewise.
23834         (__sysconf): Include posix-envs.def instead of handling associated
23835         cases directly here.
23836         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23837         preprocessing getconf-speclist.c rather than running getconf or
23838         generating empty file.
23839
23840 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
23841
23842         * scripts/check-local-headers.sh: Ignore 'mach' headers.
23843
23844 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
23845
23846         [BZ #14672]
23847         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23848
23849 2012-11-16  David S. Miller  <davem@davemloft.net>
23850
23851         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23852         smaller than LDBL_EPSILON/2.0L, just return xm1.
23853
23854 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
23855
23856         * elf/tst-array1.c (init): Set constructor priority to 1000.
23857         (fini): Set destructor priority to 1000.
23858         * elf/tst-array2dep.c: Likewise.
23859
23860 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23861
23862         [BZ #11741]
23863         * libio/fileops.c (_IO_new_file_write): Correctly return error.
23864         (_IO_new_file_xsputn): Also return EOF if none of the input
23865         data was written when overflow failed.
23866         * libio/iopadn.c (_IO_padn): Likewise.
23867         * libio/iowpadn.c (_IO_wpadn): Likewise.
23868         * stdio-common/tst-put-error.c: Add copyright notice.
23869         (do_test): Add case for printing padded string.
23870         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23871         _IO_padn returned error.
23872         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23873         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23874         return EOF.
23875
23876 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23877
23878         * libio/libioP.h: Add comment note that the references to C++
23879         bits are now obsolete.
23880
23881 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23882
23883         * math/libm-test.inc (check_complex): Use asprintf.
23884
23885 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
23886
23887         * debug/pcprofiledump.c (print_version): Update copyright year.
23888         * malloc/memusagestat.c (print_version): Likewise.
23889
23890 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23891
23892         [BZ #14831]
23893         * elf/Makefile (tests): Add tst-audit8.
23894         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23895         ($(objpfx)tst-audit8.out): New target.
23896         (tst-audit8-ENV): New variable.
23897         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23898         audit if l_reloc_result is NULL.
23899         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23900         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23901         * elf/tst-audit8.c: New file.
23902
23903 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23904
23905         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23906         * misc/Makefile (CFLAGS-select.c): Define.
23907         * posix/Makefile (CFLAGS-pause.c): Define.
23908
23909 2012-11-13  David S. Miller  <davem@davemloft.net>
23910
23911         * crypt/Makefile: Move test targets after toplevel Rules
23912         inclusion.  Grab any necessary sysdep routines when linking.
23913         * crypt/md5.c (md5_process_block): Remove define, we will always
23914         name it __md5_process_block.
23915         (md5_finish_ctx): Update md5_process_block call.
23916         (md5_stream): Likewise.
23917         (md5_process_bytes): Likewise.
23918         (md5_process_block): Rename to __md5_process_block and move to ...
23919         * crypt/md5-block.c: ... here.
23920         * crypt/sha256.c (sha256_process_block): Move to ...
23921         * crypt/sha256-block.c: ... here.
23922         * crypt/sha512.c (sha512_process_block): Move to ...
23923         * crypt/sha512-block.c: ... here.
23924         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23925         path.
23926         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23927         * sysdeps/sparc/sparc64/multiarch/Makefile
23928         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23929         crypt subdir.
23930         (localedef-aux): Add md5 crypto assembler when in locale subdir.
23931         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23932         multiarch changes.
23933         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23934         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23935         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23936         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23937         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23938         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23939         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23940         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23941         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23942         file.
23943         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23944         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23945         file.
23946         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23947
23948 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
23949
23950         * timezone/tzselect.ksh: Update from tzcode git revision
23951         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23952         * timezone/zdump.c: Likewise.
23953         * timezone/zic.c: Likewise.
23954         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23955         in TZVERSION setting, not $(PKGVERSION).
23956         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
23957         REPORT_BUGS_TO settings.
23958
23959         [BZ #14838]
23960         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23961         macro.
23962
23963 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23964
23965         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23966         detection to immediately after _FP_ROUND().
23967         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23968         bits are 0.
23969
23970 2012-11-11  David S. Miller  <davem@davemloft.net>
23971
23972         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23973         inttypes.h
23974         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23975         __close rather than their public counterparts.
23976
23977 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
23978
23979         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23980         file.
23981         [UNIX98] (sem_timedwait): Do not expect.
23982         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23983         [XPG4 || UNIX98] (sockatmark): Do not expect.
23984         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23985         (clock_getcpuclockid): Do not expect.
23986         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23987         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23988         Do not expect.
23989         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23990         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23991         [UNIX98] (vwscanf): Likewise.
23992         [UNIX98] (vswscanf): Likewise.
23993
23994 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
23995
23996         * timezone/version.h: Remove file.
23997         * timezone/README: Do not refer to version.h.
23998         * timezone/Makefile ($(objpfx)zic.o): New dependency on
23999         $(objpfx)version.h.
24000         ($(objpfx)zdump.o): Likewise.
24001         ($(objpfx)version.h): New target.
24002
24003         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24004         2012i.
24005         * timezone/README: Don't mention modification to tzselect.ksh.
24006         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24007         work on unmodified tzselect.ksh.  Substitute version numbers in
24008         tzselect.ksh.
24009
24010         * Makefile (format-me): Remove.
24011         (INSTALL): Adjust indentation.  Use commands directly instead of
24012         using $(format-me).
24013
24014         * aclocal.m4 (ACX_PKGVERSION): New macro.
24015         (ACX_BUGURL): Likewise.
24016         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24017         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24018         (REPORT_BUGS_TO): Likewise.
24019         * configure: Regenerated.
24020         * config.h.in (PKGVERSION): New macro.
24021         (REPORT_BUGS_TO): Likewise.
24022         * config.make.in (PKGVERSION): New variable.
24023         (PKGVERSION_TEXI): Likewise.
24024         (REPORT_BUGS_TO): Likewise.
24025         (REPORT_BUGS_TEXI): Likewise.
24026         * Makefile (format-me): Use -I$(common-objpfx)manual.
24027         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24028         ($(common-objpfx)manual/%): New target.
24029         (manual/%): Remove target.
24030         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24031         (print_version): Use PKGVERSION.
24032         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24033         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24034         and REPORT_BUGS_TO.
24035         ($(objpfx)xtrace): Likewise.
24036         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24037         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24038         (print_version): Use PKGVERSION.
24039         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24040         (do_version): Use PKGVERSION.
24041         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24042         REPORT_BUGS_TO.
24043         (common-ldd-rewrite): Likewise.
24044         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24045         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24046         (print_version): Use PKGVERSION.
24047         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24048         * elf/pldd.c (argp_program_bug_address): Remove variable.
24049         (more_help): New function.
24050         (argp): Use more_help.
24051         (print_version): Use PKGVERSION.
24052         * elf/sln.c (main): Use PKGVERSION.
24053         (usage): Use REPORT_BUGS_TO.
24054         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24055         (top level): Use PKGVERSION.
24056         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24057         (print_version): Use PKGVERSION.
24058         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24059         (print_version): Use PKGVERSION.
24060         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24061         (print_version): Use PKGVERSION.
24062         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24063         (print_version): Use PKGVERSION.
24064         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24065         (print_version): Use PKGVERSION.
24066         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24067         (print_version): Use PKGVERSION.
24068         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24069         and BUGURL.
24070         ($(objpfx)memusage): Likewise.
24071         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24072         (do_version): Use PKGVERSION.
24073         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24074         (print_version): Use PKGVERSION.
24075         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24076         ($PKGVERSION): New variable.
24077         ($REPORT_BUGS_TO): Likewise.
24078         (usage): Use $REPORT_BUGS_TO.
24079         (top level): Use $PKGVERSION.
24080         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24081         ($(objpfx)pkgvers.texi): New rule.
24082         ($(objpfx)stamp-pkgvers): Likewise.
24083         * manual/install.texi: Include pkgvers.texi.
24084         (--with-pkgversion): Document new configure option.
24085         (--with-bugurl): Likewise.
24086         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24087         than necessarily for this particular distribution.  Use
24088         REPORT_BUGS_TO for where to report bugs.
24089         * INSTALL: Regenerated.
24090         * manual/libc.texinfo: Include pkgvers.texi.
24091         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24092         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24093         (print_version): Use PKGVERSION.
24094         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24095         (print_version): Use PKGVERSION.
24096         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24097         (print_version): Use PKGVERSION.
24098         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24099         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24100         macro.
24101         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24102         (print_version): Use PKGVERSION.
24103         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24104         (print_version): Use PKGVERSION.
24105         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24106         and PKGVERSION.
24107
24108         * timezone/checktab.awk: Update from tzcode 2012i.
24109         * timezone/ialloc.c: Likewise.
24110         * timezone/private.h: Likewise.
24111         * timezone/scheck.c: Likewise.
24112         * timezone/tzfile.h: Likewise.
24113         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24114         (TZVERSION): Hardcode tzcode version number.
24115         * timezone/zdump.c: Update from tzcode 2012i.
24116         * timezone/zic.c: Likewise.
24117         * timezone/version.h: New file.
24118         * timezone/README: Describe version.h.  Update upstream location.
24119
24120         [BZ #14824]
24121         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24122         (mktemp): Enable declaration.
24123         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24124         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24125         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24126         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24127         Likewise.
24128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24129         Likewise.
24130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24131         Likewise.
24132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24133         Likewise.
24134         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24135         Likewise.
24136         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24137         Likewise.
24138
24139         [BZ #14821]
24140         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24141         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24142         for copies of such integer values.
24143         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24144         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24145
24146 2012-11-09  Andreas Jaeger  <aj@suse.de>
24147
24148         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24149         definitions and declarations that are provided by
24150         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24151
24152 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24153
24154         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24155         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24156         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24157         definition.
24158
24159 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24160
24161         * elf/elf.h: Update comment before AArch64 relocations.
24162
24163 2012-11-07  David S. Miller  <davem@davemloft.net>
24164
24165         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24166         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24167         (__start_context): Declare.
24168         (__makecontext_ret): Delete.
24169         (__makecontext): Hook up __start_context instead of
24170         __makecontext_ret.
24171         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24172         (sysdep_routines): Add __start_context when in stdlib.
24173
24174 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24175
24176         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24177         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24178         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24179         hardcoded "nm".
24180         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24181         (READELF): New variable.  Use it instead of hardcoded "readelf".
24182
24183 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24184
24185         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24186         * sysdeps/x86/Makefile: Here.
24187         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24188         * sysdeps/x86/tst-xmmymm.sh: This.
24189
24190 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24191
24192         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24193         expectations.
24194         [UNIX98] (pthread_barrier_t): Do not expect.
24195         [UNIX98] (pthread_barrierattr_t): Likewise.
24196         [UNIX98] (pthread_spinlock_t): Likewise.
24197         [UNIX98] (pthread_barrier_destroy): Likewise.
24198         [UNIX98] (pthread_barrier_init): Likewise.
24199         [UNIX98] (pthread_barrier_wait): Likewise.
24200         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24201         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24202         [UNIX98] (pthread_barrierattr_init): Likewise.
24203         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24204         [UNIX98] (pthread_getcpuclockid): Likewise.
24205         [UNIX98] (pthread_mutex_timedlock): Likewise.
24206         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24207         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24208         [UNIX98] (pthread_sigmask): Likewise.
24209         [UNIX98] (pthread_spin_destroy): Likewise.
24210         [UNIX98] (pthread_spin_init): Likewise.
24211         [UNIX98] (pthread_spin_lock): Likewise.
24212         [UNIX98] (pthread_spin_trylock): Likewise.
24213         [UNIX98] (pthread_spin_unlock): Likewise.
24214         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24215         Do not expect.
24216         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24217         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24218         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24219         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24220         [XPG3 || XPG4] (pthread_key_t): Likewise.
24221         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24222         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24223         [XPG3 || XPG4] (pthread_once_t): Likewise.
24224         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24225         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24226         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24227         [XPG3 || XPG4] (pthread_t): Likewise.
24228
24229         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24230         not expect.
24231         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24232
24233         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24234         Change function return type to int.
24235
24236         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24237         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24238         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24239         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24240         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24241         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24242         [!POSIX] (posix_madvise): Likewise.
24243         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24244         && !UNIX98].
24245         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24246         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24247         (mode_t): Likewise.
24248         (posix_mem_offset): Likewise.
24249         (posix_typed_mem_get_info): Likewise.
24250         (posix_typed_mem_open): Likewise.
24251
24252         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24253         Change condition to [XOPEN2K8].
24254
24255         * conform/conformtest.pl: Preprocess allow-header data with -x c
24256         instead of from stdin.
24257         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24258         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24259         [C99-based standards] (cerfc): Likewise.
24260         [C99-based standards] (cexp2): Likewise.
24261         [C99-based standards] (cexpm1): Likewise.
24262         [C99-based standards] (clog10): Likewise.
24263         [C99-based standards] (clog1p): Likewise.
24264         [C99-based standards] (clog2): Likewise.
24265         [C99-based standards] (clgamma): Likewise.
24266         [C99-based standards] (ctgamma): Likewise.
24267         [C99-based standards] (cerff): Likewise.
24268         [C99-based standards] (cerfcf): Likewise.
24269         [C99-based standards] (cexp2f): Likewise.
24270         [C99-based standards] (cexpm1f): Likewise.
24271         [C99-based standards] (clog10f): Likewise.
24272         [C99-based standards] (clog1pf): Likewise.
24273         [C99-based standards] (clog2f): Likewise.
24274         [C99-based standards] (clgammaf): Likewise.
24275         [C99-based standards] (ctgammaf): Likewise.
24276         [C99-based standards] (cerfl): Likewise.
24277         [C99-based standards] (cerfcl): Likewise.
24278         [C99-based standards] (cexp2l): Likewise.
24279         [C99-based standards] (cexpm1l): Likewise.
24280         [C99-based standards] (clog10l): Likewise.
24281         [C99-based standards] (clog1pl): Likewise.
24282         [C99-based standards] (clog2l): Likewise.
24283         [C99-based standards] (clgammal): Likewise.
24284         [C99-based standards] (ctgammal): Likewise.
24285         * conform/data/inttypes.h-data [C99-based standards]: Include
24286         stdint.h-data.  Remove all expectations for stdint.h contents.
24287         [C99-based standards] (PRI*): Do not allow.
24288         [C99-based standards] (SCN*): Likewise.
24289         [C99-based standards] (*_t): Likewise.
24290         [C99-based-standards] (PRId8): Expect macro.
24291         [C99-based-standards] (PRIi8): Likewise.
24292         [C99-based-standards] (PRIo8): Likewise.
24293         [C99-based-standards] (PRIu8): Likewise.
24294         [C99-based-standards] (PRIx8): Likewise.
24295         [C99-based-standards] (PRIX8): Likewise.
24296         [C99-based-standards] (SCNd8): Likewise.
24297         [C99-based-standards] (SCNi8): Likewise.
24298         [C99-based-standards] (SCNo8): Likewise.
24299         [C99-based-standards] (SCNu8): Likewise.
24300         [C99-based-standards] (SCNx8): Likewise.
24301         [C99-based-standards] (PRIdLEAST8): Likewise.
24302         [C99-based-standards] (PRIiLEAST8): Likewise.
24303         [C99-based-standards] (PRIoLEAST8): Likewise.
24304         [C99-based-standards] (PRIuLEAST8): Likewise.
24305         [C99-based-standards] (PRIxLEAST8): Likewise.
24306         [C99-based-standards] (PRIXLEAST8): Likewise.
24307         [C99-based-standards] (SCNdLEAST8): Likewise.
24308         [C99-based-standards] (SCNiLEAST8): Likewise.
24309         [C99-based-standards] (SCNoLEAST8): Likewise.
24310         [C99-based-standards] (SCNuLEAST8): Likewise.
24311         [C99-based-standards] (SCNxLEAST8): Likewise.
24312         [C99-based-standards] (PRIdFAST8): Likewise.
24313         [C99-based-standards] (PRIiFAST8): Likewise.
24314         [C99-based-standards] (PRIoFAST8): Likewise.
24315         [C99-based-standards] (PRIuFAST8): Likewise.
24316         [C99-based-standards] (PRIxFAST8): Likewise.
24317         [C99-based-standards] (PRIXFAST8): Likewise.
24318         [C99-based-standards] (SCNdFAST8): Likewise.
24319         [C99-based-standards] (SCNiFAST8): Likewise.
24320         [C99-based-standards] (SCNoFAST8): Likewise.
24321         [C99-based-standards] (SCNuFAST8): Likewise.
24322         [C99-based-standards] (SCNxFAST8): Likewise.
24323         [C99-based-standards] (PRId16): Likewise.
24324         [C99-based-standards] (PRIi16): Likewise.
24325         [C99-based-standards] (PRIo16): Likewise.
24326         [C99-based-standards] (PRIu16): Likewise.
24327         [C99-based-standards] (PRIx16): Likewise.
24328         [C99-based-standards] (PRIX16): Likewise.
24329         [C99-based-standards] (SCNd16): Likewise.
24330         [C99-based-standards] (SCNi16): Likewise.
24331         [C99-based-standards] (SCNo16): Likewise.
24332         [C99-based-standards] (SCNu16): Likewise.
24333         [C99-based-standards] (SCNx16): Likewise.
24334         [C99-based-standards] (PRIdLEAST16): Likewise.
24335         [C99-based-standards] (PRIiLEAST16): Likewise.
24336         [C99-based-standards] (PRIoLEAST16): Likewise.
24337         [C99-based-standards] (PRIuLEAST16): Likewise.
24338         [C99-based-standards] (PRIxLEAST16): Likewise.
24339         [C99-based-standards] (PRIXLEAST16): Likewise.
24340         [C99-based-standards] (SCNdLEAST16): Likewise.
24341         [C99-based-standards] (SCNiLEAST16): Likewise.
24342         [C99-based-standards] (SCNoLEAST16): Likewise.
24343         [C99-based-standards] (SCNuLEAST16): Likewise.
24344         [C99-based-standards] (SCNxLEAST16): Likewise.
24345         [C99-based-standards] (PRIdFAST16): Likewise.
24346         [C99-based-standards] (PRIiFAST16): Likewise.
24347         [C99-based-standards] (PRIoFAST16): Likewise.
24348         [C99-based-standards] (PRIuFAST16): Likewise.
24349         [C99-based-standards] (PRIxFAST16): Likewise.
24350         [C99-based-standards] (PRIXFAST16): Likewise.
24351         [C99-based-standards] (SCNdFAST16): Likewise.
24352         [C99-based-standards] (SCNiFAST16): Likewise.
24353         [C99-based-standards] (SCNoFAST16): Likewise.
24354         [C99-based-standards] (SCNuFAST16): Likewise.
24355         [C99-based-standards] (SCNxFAST16): Likewise.
24356         [C99-based-standards] (PRId32): Likewise.
24357         [C99-based-standards] (PRIi32): Likewise.
24358         [C99-based-standards] (PRIo32): Likewise.
24359         [C99-based-standards] (PRIu32): Likewise.
24360         [C99-based-standards] (PRIx32): Likewise.
24361         [C99-based-standards] (PRIX32): Likewise.
24362         [C99-based-standards] (SCNd32): Likewise.
24363         [C99-based-standards] (SCNi32): Likewise.
24364         [C99-based-standards] (SCNo32): Likewise.
24365         [C99-based-standards] (SCNu32): Likewise.
24366         [C99-based-standards] (SCNx32): Likewise.
24367         [C99-based-standards] (PRIdLEAST32): Likewise.
24368         [C99-based-standards] (PRIiLEAST32): Likewise.
24369         [C99-based-standards] (PRIoLEAST32): Likewise.
24370         [C99-based-standards] (PRIuLEAST32): Likewise.
24371         [C99-based-standards] (PRIxLEAST32): Likewise.
24372         [C99-based-standards] (PRIXLEAST32): Likewise.
24373         [C99-based-standards] (SCNdLEAST32): Likewise.
24374         [C99-based-standards] (SCNiLEAST32): Likewise.
24375         [C99-based-standards] (SCNoLEAST32): Likewise.
24376         [C99-based-standards] (SCNuLEAST32): Likewise.
24377         [C99-based-standards] (SCNxLEAST32): Likewise.
24378         [C99-based-standards] (PRIdFAST32): Likewise.
24379         [C99-based-standards] (PRIiFAST32): Likewise.
24380         [C99-based-standards] (PRIoFAST32): Likewise.
24381         [C99-based-standards] (PRIuFAST32): Likewise.
24382         [C99-based-standards] (PRIxFAST32): Likewise.
24383         [C99-based-standards] (PRIXFAST32): Likewise.
24384         [C99-based-standards] (SCNdFAST32): Likewise.
24385         [C99-based-standards] (SCNiFAST32): Likewise.
24386         [C99-based-standards] (SCNoFAST32): Likewise.
24387         [C99-based-standards] (SCNuFAST32): Likewise.
24388         [C99-based-standards] (SCNxFAST32): Likewise.
24389         [C99-based-standards] (PRId64): Likewise.
24390         [C99-based-standards] (PRIi64): Likewise.
24391         [C99-based-standards] (PRIo64): Likewise.
24392         [C99-based-standards] (PRIu64): Likewise.
24393         [C99-based-standards] (PRIx64): Likewise.
24394         [C99-based-standards] (PRIX64): Likewise.
24395         [C99-based-standards] (SCNd64): Likewise.
24396         [C99-based-standards] (SCNi64): Likewise.
24397         [C99-based-standards] (SCNo64): Likewise.
24398         [C99-based-standards] (SCNu64): Likewise.
24399         [C99-based-standards] (SCNx64): Likewise.
24400         [C99-based-standards] (PRIdLEAST64): Likewise.
24401         [C99-based-standards] (PRIiLEAST64): Likewise.
24402         [C99-based-standards] (PRIoLEAST64): Likewise.
24403         [C99-based-standards] (PRIuLEAST64): Likewise.
24404         [C99-based-standards] (PRIxLEAST64): Likewise.
24405         [C99-based-standards] (PRIXLEAST64): Likewise.
24406         [C99-based-standards] (SCNdLEAST64): Likewise.
24407         [C99-based-standards] (SCNiLEAST64): Likewise.
24408         [C99-based-standards] (SCNoLEAST64): Likewise.
24409         [C99-based-standards] (SCNuLEAST64): Likewise.
24410         [C99-based-standards] (SCNxLEAST64): Likewise.
24411         [C99-based-standards] (PRIdFAST64): Likewise.
24412         [C99-based-standards] (PRIiFAST64): Likewise.
24413         [C99-based-standards] (PRIoFAST64): Likewise.
24414         [C99-based-standards] (PRIuFAST64): Likewise.
24415         [C99-based-standards] (PRIxFAST64): Likewise.
24416         [C99-based-standards] (PRIXFAST64): Likewise.
24417         [C99-based-standards] (SCNdFAST64): Likewise.
24418         [C99-based-standards] (SCNiFAST64): Likewise.
24419         [C99-based-standards] (SCNoFAST64): Likewise.
24420         [C99-based-standards] (SCNuFAST64): Likewise.
24421         [C99-based-standards] (SCNxFAST64): Likewise.
24422         [C99-based-standards] (PRIdMAX): Likewise.
24423         [C99-based-standards] (PRIiMAX): Likewise.
24424         [C99-based-standards] (PRIoMAX): Likewise.
24425         [C99-based-standards] (PRIuMAX): Likewise.
24426         [C99-based-standards] (PRIxMAX): Likewise.
24427         [C99-based-standards] (PRIXMAX): Likewise.
24428         [C99-based-standards] (SCNdMAX): Likewise.
24429         [C99-based-standards] (SCNiMAX): Likewise.
24430         [C99-based-standards] (SCNoMAX): Likewise.
24431         [C99-based-standards] (SCNuMAX): Likewise.
24432         [C99-based-standards] (SCNxMAX): Likewise.
24433         [C99-based-standards] (PRIdPTR): Likewise.
24434         [C99-based-standards] (PRIiPTR): Likewise.
24435         [C99-based-standards] (PRIoPTR): Likewise.
24436         [C99-based-standards] (PRIuPTR): Likewise.
24437         [C99-based-standards] (PRIxPTR): Likewise.
24438         [C99-based-standards] (PRIXPTR): Likewise.
24439         [C99-based-standards] (SCNdPTR): Likewise.
24440         [C99-based-standards] (SCNiPTR): Likewise.
24441         [C99-based-standards] (SCNoPTR): Likewise.
24442         [C99-based-standards] (SCNuPTR): Likewise.
24443         [C99-based-standards] (SCNxPTR): Likewise.
24444         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24445         allow.
24446         * conform/data/stdint.h-data: Update comments to clarify
24447         requirements.
24448         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24449         type.
24450         [C99-based standards] (INT8_MAX): Likewise.
24451         [C99-based standards] (INT16_MIN): Likewise.
24452         [C99-based standards] (INT16_MAX): Likewise.
24453         [C99-based standards] (INT32_MIN): Likewise.
24454         [C99-based standards] (INT32_MAX): Likewise.
24455         [C99-based standards] (INT64_MIN): Likewise.
24456         [C99-based standards] (INT64_MAX): Likewise.
24457         [C99-based standards] (UINT8_MAX): Likewise.
24458         [C99-based standards] (UINT16_MAX): Likewise.
24459         [C99-based standards] (UINT32_MAX): Likewise.
24460         [C99-based standards] (UINT64_MAX): Likewise.
24461         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24462         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24463         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24464         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24465         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24466         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24467         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24468         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24469         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24470         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24471         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24472         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24473         [C99-based standards] (INT_FAST8_MIN): Likewise.
24474         [C99-based standards] (INT_FAST8_MAX): Likewise.
24475         [C99-based standards] (INT_FAST16_MIN): Likewise.
24476         [C99-based standards] (INT_FAST16_MAX): Likewise.
24477         [C99-based standards] (INT_FAST32_MIN): Likewise.
24478         [C99-based standards] (INT_FAST32_MAX): Likewise.
24479         [C99-based standards] (INT_FAST64_MIN): Likewise.
24480         [C99-based standards] (INT_FAST64_MAX): Likewise.
24481         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24482         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24483         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24484         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24485         [C99-based standards] (INTPTR_MIN): Likewise.
24486         [C99-based standards] (INTPTR_MAX): Likewise.
24487         [C99-based standards] (UINTPTR_MAX): Likewise.
24488         [C99-based standards] (INTMAX_MIN): Likewise.
24489         [C99-based standards] (INTMAX_MAX): Likewise.
24490         [C99-based standards] (UINTMAX_MAX): Likewise.
24491         [C99-based standards] (PTRDIFF_MIN): Likewise.
24492         [C99-based standards] (PTRDIFF_MAX): Likewise.
24493         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24494         [C99-based standards] (SIZE_MAX): Likewise.
24495         [C99-based standards] (WCHAR_MAX): Likewise.
24496         [C99-based standards] (WINT_MAX): Likewise.
24497         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24498         constraint on value.
24499         [C99-based standards] (WCHAR_MIN): Likewise.
24500         [C99-based standards] (WINT_MIN): Likewise.
24501         [C99-based standards] (*_t): Allow.
24502         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24503         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24504         Include math.h-data and complex.h-data.  Remove all expectations
24505         of math.h and complex.h contents.
24506         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24507         at end of line.
24508         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24509         (struct tm): Expect tag.
24510         [C99-based-standards] (wcstof): Expect function.
24511         [C99-based-standards] (wcstold): Likewise.
24512         [C99-based-standards] (wcstoll): Likewise.
24513         [C99-based-standards] (wcstoull): Likewise.
24514         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24515         macro-int-constant.  Specify type.
24516         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
24517         constraint on value.
24518         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24519         Specify type.
24520         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24521         Specify value.
24522         [ISO C standards]: Do not allow headers.
24523         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24524         wcs[abcdefghijklmnopqrstuvwxyz]*.
24525         [ISO C standards] (*_t): Do not allow.
24526         * conform/data/wctype.h-data [C99-based standards] (iswblank):
24527         Expect function.
24528         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24529         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24530         Specify type.
24531         [ISO C standards]: Do not allow headers.
24532         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24533         is[abcdefghijklmnopqrstuvwxyz]*.
24534         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24535         to[abcdefghijklmnopqrstuvwxyz]*.
24536         [ISO C standards] (*_t): Do not allow.
24537         * conform/data/stdalign.h-data: New file.
24538         * conform/data/stdbool.h-data: Likewise.
24539         * conform/data/stdnoreturn.h-data: Likewise.
24540
24541 2012-11-07  Roland McGrath  <roland@hack.frob.com>
24542
24543         [BZ #14815]
24544         * manual/filesys.texi (Directory Entries): Typo fix.
24545         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24546
24547 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24548
24549         * elf/elf.h (EM_AARCH64): New macro.
24550         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24551         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24552         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24553         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24554         (R_AARCH64_TLSDESC): Likewise.
24555         (NT_ARM_TLS): Likewise.
24556         (NT_ARM_HW_BREAK): Likewise.
24557         (NT_ARM_HW_WATCH): Likewise.
24558
24559 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24560
24561         [BZ #14811]
24562         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24563         (__ieee754_powl): Saturate nonzero exponents with absolute value
24564         below 0x1p-79 to +/- 0x1p-79.
24565         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24566         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24567         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24568         nonzero exponents with absolute value below 0x1p-32 to +/-
24569         0x1p-32.
24570         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24571         (__ieee754_powl): Saturate nonzero exponents with absolute value
24572         below 0x1p-79 to +/- 0x1p-79.
24573         * math/libm-test.inc (pow_test): Add more tests.
24574
24575 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24576
24577         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24578         _dl_s390_cap_flags with kernel. Increase string length.
24579         (_dl_s390_platforms): Add z196 and zEC12.
24580
24581 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24582
24583         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24584         Change XOPEN21K to XOPEN2K.
24585
24586 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
24587
24588         * string/memmove.c: Use memcpy when possible.
24589
24590 2012-11-06  Andreas Jaeger  <aj@suse.de>
24591
24592         * po/eo.po: Update from translation team.
24593
24594 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
24595
24596         [BZ #14793]
24597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24598         exponent and small x and y exponents, scale x or y up.  Increase
24599         by 2 the exponent used in scaling up.
24600         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24601         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24602         * math/libm-test.inc (fma_test): Add more tests.
24603         (fma_test_towardzero): Likewise.
24604         (fma_test_downward): Likewise.
24605         (fma_test_upward): Likewise.
24606
24607 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
24608
24609         [BZ #14805]
24610         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24611         fenv_t *.
24612
24613         [BZ #14801]
24614         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24615         namespace for names of struct fields.
24616         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24617         fenv_t fields.
24618         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24619         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24620
24621 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24622
24623         [BZ #3665]
24624         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24625
24626 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24627
24628         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24629         PTR_DEMANGLE.
24630
24631         [BZ #5246]
24632         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24633         PTR_DEMANGLE.
24634
24635 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
24636
24637         [BZ #14797]
24638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24639         definitely overflow as x * y not x * y + z.
24640         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24641         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24642         * math/libm-test.inc (fma_test): Add more tests.
24643         (fma_test_towardzero): Likewise.
24644         (fma_test_downward): Likewise.
24645         (fma_test_upward): Likewise.
24646
24647 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
24648
24649         [BZ #157]
24650
24651         * include/stub-tag.h: Remove file.
24652         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24653         '#include' of it.
24654         * manual/maint.texi (Porting): Don't reference it.
24655         * Makerules ($(objpfx)stubs): Likewise.
24656         * dirent/closedir.c: Don't include <stub-tag.h>.
24657         * dirent/dirfd.c: Likewise.
24658         * dirent/fdopendir.c: Likewise.
24659         * dirent/getdents.c: Likewise.
24660         * dirent/getdents64.c: Likewise.
24661         * dirent/opendir.c: Likewise.
24662         * dirent/readdir.c: Likewise.
24663         * dirent/readdir64.c: Likewise.
24664         * dirent/readdir64_r.c: Likewise.
24665         * dirent/readdir_r.c: Likewise.
24666         * dirent/rewinddir.c: Likewise.
24667         * dirent/seekdir.c: Likewise.
24668         * dirent/telldir.c: Likewise.
24669         * gmon/profil.c: Likewise.
24670         * grp/setgroups.c: Likewise.
24671         * inet/if_index.c: Likewise.
24672         * io/access.c: Likewise.
24673         * io/chdir.c: Likewise.
24674         * io/chmod.c: Likewise.
24675         * io/chown.c: Likewise.
24676         * io/close.c: Likewise.
24677         * io/dup.c: Likewise.
24678         * io/dup2.c: Likewise.
24679         * io/dup3.c: Likewise.
24680         * io/euidaccess.c: Likewise.
24681         * io/faccessat.c: Likewise.
24682         * io/fchdir.c: Likewise.
24683         * io/fchmod.c: Likewise.
24684         * io/fchmodat.c: Likewise.
24685         * io/fchown.c: Likewise.
24686         * io/fchownat.c: Likewise.
24687         * io/fcntl.c: Likewise.
24688         * io/flock.c: Likewise.
24689         * io/fstatfs.c: Likewise.
24690         * io/fstatfs64.c: Likewise.
24691         * io/fstatvfs.c: Likewise.
24692         * io/fstatvfs64.c: Likewise.
24693         * io/futimens.c: Likewise.
24694         * io/fxstat.c: Likewise.
24695         * io/fxstat64.c: Likewise.
24696         * io/fxstatat.c: Likewise.
24697         * io/fxstatat64.c: Likewise.
24698         * io/getcwd.c: Likewise.
24699         * io/isatty.c: Likewise.
24700         * io/lchmod.c: Likewise.
24701         * io/lchown.c: Likewise.
24702         * io/link.c: Likewise.
24703         * io/linkat.c: Likewise.
24704         * io/lseek.c: Likewise.
24705         * io/lseek64.c: Likewise.
24706         * io/lxstat64.c: Likewise.
24707         * io/mkdir.c: Likewise.
24708         * io/mkdirat.c: Likewise.
24709         * io/mkfifo.c: Likewise.
24710         * io/mkfifoat.c: Likewise.
24711         * io/open.c: Likewise.
24712         * io/open64.c: Likewise.
24713         * io/openat.c: Likewise.
24714         * io/openat64.c: Likewise.
24715         * io/pipe.c: Likewise.
24716         * io/pipe2.c: Likewise.
24717         * io/poll.c: Likewise.
24718         * io/posix_fadvise.c: Likewise.
24719         * io/posix_fadvise64.c: Likewise.
24720         * io/posix_fallocate.c: Likewise.
24721         * io/posix_fallocate64.c: Likewise.
24722         * io/read.c: Likewise.
24723         * io/readlink.c: Likewise.
24724         * io/readlinkat.c: Likewise.
24725         * io/rmdir.c: Likewise.
24726         * io/sendfile.c: Likewise.
24727         * io/sendfile64.c: Likewise.
24728         * io/statfs.c: Likewise.
24729         * io/statfs64.c: Likewise.
24730         * io/statvfs.c: Likewise.
24731         * io/statvfs64.c: Likewise.
24732         * io/symlink.c: Likewise.
24733         * io/symlinkat.c: Likewise.
24734         * io/ttyname.c: Likewise.
24735         * io/ttyname_r.c: Likewise.
24736         * io/umask.c: Likewise.
24737         * io/unlink.c: Likewise.
24738         * io/unlinkat.c: Likewise.
24739         * io/utime.c: Likewise.
24740         * io/utimensat.c: Likewise.
24741         * io/write.c: Likewise.
24742         * io/xmknod.c: Likewise.
24743         * io/xmknodat.c: Likewise.
24744         * io/xstat.c: Likewise.
24745         * io/xstat64.c: Likewise.
24746         * login/getpt.c: Likewise.
24747         * login/grantpt.c: Likewise.
24748         * login/unlockpt.c: Likewise.
24749         * math/e_acoshl.c: Likewise.
24750         * math/e_acosl.c: Likewise.
24751         * math/e_asinl.c: Likewise.
24752         * math/e_atan2l.c: Likewise.
24753         * math/e_atanhl.c: Likewise.
24754         * math/e_coshl.c: Likewise.
24755         * math/e_expl.c: Likewise.
24756         * math/e_fmodl.c: Likewise.
24757         * math/e_gammal_r.c: Likewise.
24758         * math/e_hypotl.c: Likewise.
24759         * math/e_j0l.c: Likewise.
24760         * math/e_j1l.c: Likewise.
24761         * math/e_jnl.c: Likewise.
24762         * math/e_lgammal_r.c: Likewise.
24763         * math/e_log10l.c: Likewise.
24764         * math/e_log2l.c: Likewise.
24765         * math/e_logl.c: Likewise.
24766         * math/e_powl.c: Likewise.
24767         * math/e_rem_pio2l.c: Likewise.
24768         * math/e_sinhl.c: Likewise.
24769         * math/e_sqrtl.c: Likewise.
24770         * math/fclrexcpt.c: Likewise.
24771         * math/fedisblxcpt.c: Likewise.
24772         * math/feenablxcpt.c: Likewise.
24773         * math/fegetenv.c: Likewise.
24774         * math/fegetexcept.c: Likewise.
24775         * math/fegetround.c: Likewise.
24776         * math/feholdexcpt.c: Likewise.
24777         * math/fesetenv.c: Likewise.
24778         * math/fesetround.c: Likewise.
24779         * math/feupdateenv.c: Likewise.
24780         * math/fgetexcptflg.c: Likewise.
24781         * math/fraiseexcpt.c: Likewise.
24782         * math/fsetexcptflg.c: Likewise.
24783         * math/ftestexcept.c: Likewise.
24784         * math/k_cosl.c: Likewise.
24785         * math/k_rem_pio2l.c: Likewise.
24786         * math/k_sinl.c: Likewise.
24787         * math/k_tanl.c: Likewise.
24788         * math/s_asinhl.c: Likewise.
24789         * math/s_atanl.c: Likewise.
24790         * math/s_cbrtl.c: Likewise.
24791         * math/s_erfl.c: Likewise.
24792         * math/s_expm1l.c: Likewise.
24793         * math/s_log1pl.c: Likewise.
24794         * math/s_tanhl.c: Likewise.
24795         * misc/acct.c: Likewise.
24796         * misc/brk.c: Likewise.
24797         * misc/chflags.c: Likewise.
24798         * misc/chroot.c: Likewise.
24799         * misc/fchflags.c: Likewise.
24800         * misc/fgetxattr.c: Likewise.
24801         * misc/flistxattr.c: Likewise.
24802         * misc/fremovexattr.c: Likewise.
24803         * misc/fsetxattr.c: Likewise.
24804         * misc/fsync.c: Likewise.
24805         * misc/ftruncate.c: Likewise.
24806         * misc/futimes.c: Likewise.
24807         * misc/futimesat.c: Likewise.
24808         * misc/getdomain.c: Likewise.
24809         * misc/getdtsz.c: Likewise.
24810         * misc/gethostid.c: Likewise.
24811         * misc/gethostname.c: Likewise.
24812         * misc/getloadavg.c: Likewise.
24813         * misc/getpagesize.c: Likewise.
24814         * misc/getsysstats.c: Likewise.
24815         * misc/getxattr.c: Likewise.
24816         * misc/gtty.c: Likewise.
24817         * misc/ioctl.c: Likewise.
24818         * misc/lgetxattr.c: Likewise.
24819         * misc/listxattr.c: Likewise.
24820         * misc/llistxattr.c: Likewise.
24821         * misc/lremovexattr.c: Likewise.
24822         * misc/lsetxattr.c: Likewise.
24823         * misc/lutimes.c: Likewise.
24824         * misc/madvise.c: Likewise.
24825         * misc/mincore.c: Likewise.
24826         * misc/mlock.c: Likewise.
24827         * misc/mlockall.c: Likewise.
24828         * misc/mmap.c: Likewise.
24829         * misc/mprotect.c: Likewise.
24830         * misc/msync.c: Likewise.
24831         * misc/munlock.c: Likewise.
24832         * misc/munlockall.c: Likewise.
24833         * misc/munmap.c: Likewise.
24834         * misc/preadv.c: Likewise.
24835         * misc/preadv64.c: Likewise.
24836         * misc/ptrace.c: Likewise.
24837         * misc/pwritev.c: Likewise.
24838         * misc/pwritev64.c: Likewise.
24839         * misc/readv.c: Likewise.
24840         * misc/reboot.c: Likewise.
24841         * misc/remap_file_pages.c: Likewise.
24842         * misc/removexattr.c: Likewise.
24843         * misc/revoke.c: Likewise.
24844         * misc/select.c: Likewise.
24845         * misc/setdomain.c: Likewise.
24846         * misc/setegid.c: Likewise.
24847         * misc/seteuid.c: Likewise.
24848         * misc/sethostid.c: Likewise.
24849         * misc/sethostname.c: Likewise.
24850         * misc/setregid.c: Likewise.
24851         * misc/setreuid.c: Likewise.
24852         * misc/setxattr.c: Likewise.
24853         * misc/sstk.c: Likewise.
24854         * misc/stty.c: Likewise.
24855         * misc/swapoff.c: Likewise.
24856         * misc/swapon.c: Likewise.
24857         * misc/sync.c: Likewise.
24858         * misc/syncfs.c: Likewise.
24859         * misc/syscall.c: Likewise.
24860         * misc/truncate.c: Likewise.
24861         * misc/ualarm.c: Likewise.
24862         * misc/usleep.c: Likewise.
24863         * misc/ustat.c: Likewise.
24864         * misc/utimes.c: Likewise.
24865         * misc/vhangup.c: Likewise.
24866         * misc/writev.c: Likewise.
24867         * posix/_exit.c: Likewise.
24868         * posix/alarm.c: Likewise.
24869         * posix/execve.c: Likewise.
24870         * posix/fexecve.c: Likewise.
24871         * posix/fork.c: Likewise.
24872         * posix/fpathconf.c: Likewise.
24873         * posix/getaddrinfo.c: Likewise.
24874         * posix/getegid.c: Likewise.
24875         * posix/geteuid.c: Likewise.
24876         * posix/getgid.c: Likewise.
24877         * posix/getgroups.c: Likewise.
24878         * posix/getlogin.c: Likewise.
24879         * posix/getlogin_r.c: Likewise.
24880         * posix/getpgid.c: Likewise.
24881         * posix/getpid.c: Likewise.
24882         * posix/getppid.c: Likewise.
24883         * posix/getresgid.c: Likewise.
24884         * posix/getresuid.c: Likewise.
24885         * posix/getsid.c: Likewise.
24886         * posix/getuid.c: Likewise.
24887         * posix/glob64.c: Likewise.
24888         * posix/nanosleep.c: Likewise.
24889         * posix/pathconf.c: Likewise.
24890         * posix/pause.c: Likewise.
24891         * posix/posix_madvise.c: Likewise.
24892         * posix/pread.c: Likewise.
24893         * posix/pread64.c: Likewise.
24894         * posix/pwrite.c: Likewise.
24895         * posix/pwrite64.c: Likewise.
24896         * posix/sched_getaffinity.c: Likewise.
24897         * posix/sched_getp.c: Likewise.
24898         * posix/sched_gets.c: Likewise.
24899         * posix/sched_primax.c: Likewise.
24900         * posix/sched_primin.c: Likewise.
24901         * posix/sched_rr_gi.c: Likewise.
24902         * posix/sched_setaffinity.c: Likewise.
24903         * posix/sched_setp.c: Likewise.
24904         * posix/sched_sets.c: Likewise.
24905         * posix/sched_yield.c: Likewise.
24906         * posix/setgid.c: Likewise.
24907         * posix/setlogin.c: Likewise.
24908         * posix/setpgid.c: Likewise.
24909         * posix/setresgid.c: Likewise.
24910         * posix/setresuid.c: Likewise.
24911         * posix/setsid.c: Likewise.
24912         * posix/setuid.c: Likewise.
24913         * posix/sleep.c: Likewise.
24914         * posix/spawni.c: Likewise.
24915         * posix/sysconf.c: Likewise.
24916         * posix/times.c: Likewise.
24917         * posix/wait.c: Likewise.
24918         * posix/wait3.c: Likewise.
24919         * posix/wait4.c: Likewise.
24920         * posix/waitpid.c: Likewise.
24921         * resolv/gai_sigqueue.c: Likewise.
24922         * resource/getpriority.c: Likewise.
24923         * resource/getrlimit.c: Likewise.
24924         * resource/getrusage.c: Likewise.
24925         * resource/nice.c: Likewise.
24926         * resource/setpriority.c: Likewise.
24927         * resource/setrlimit.c: Likewise.
24928         * resource/ulimit.c: Likewise.
24929         * rt/aio_cancel.c: Likewise.
24930         * rt/aio_fsync.c: Likewise.
24931         * rt/aio_read.c: Likewise.
24932         * rt/aio_sigqueue.c: Likewise.
24933         * rt/aio_suspend.c: Likewise.
24934         * rt/aio_write.c: Likewise.
24935         * rt/clock_getres.c: Likewise.
24936         * rt/clock_gettime.c: Likewise.
24937         * rt/clock_nanosleep.c: Likewise.
24938         * rt/clock_settime.c: Likewise.
24939         * rt/lio_listio.c: Likewise.
24940         * rt/mq_close.c: Likewise.
24941         * rt/mq_getattr.c: Likewise.
24942         * rt/mq_notify.c: Likewise.
24943         * rt/mq_open.c: Likewise.
24944         * rt/mq_receive.c: Likewise.
24945         * rt/mq_send.c: Likewise.
24946         * rt/mq_setattr.c: Likewise.
24947         * rt/mq_timedreceive.c: Likewise.
24948         * rt/mq_timedsend.c: Likewise.
24949         * rt/mq_unlink.c: Likewise.
24950         * rt/shm_open.c: Likewise.
24951         * rt/shm_unlink.c: Likewise.
24952         * rt/timer_create.c: Likewise.
24953         * rt/timer_delete.c: Likewise.
24954         * rt/timer_getoverr.c: Likewise.
24955         * rt/timer_gettime.c: Likewise.
24956         * rt/timer_settime.c: Likewise.
24957         * setjmp/__longjmp.c: Likewise.
24958         * setjmp/setjmp.c: Likewise.
24959         * signal/kill.c: Likewise.
24960         * signal/killpg.c: Likewise.
24961         * signal/raise.c: Likewise.
24962         * signal/sigaction.c: Likewise.
24963         * signal/sigaltstack.c: Likewise.
24964         * signal/sigblock.c: Likewise.
24965         * signal/sigignore.c: Likewise.
24966         * signal/sigintr.c: Likewise.
24967         * signal/signal.c: Likewise.
24968         * signal/sigpause.c: Likewise.
24969         * signal/sigpending.c: Likewise.
24970         * signal/sigqueue.c: Likewise.
24971         * signal/sigreturn.c: Likewise.
24972         * signal/sigset.c: Likewise.
24973         * signal/sigsetmask.c: Likewise.
24974         * signal/sigstack.c: Likewise.
24975         * signal/sigsuspend.c: Likewise.
24976         * signal/sigtimedwait.c: Likewise.
24977         * signal/sigvec.c: Likewise.
24978         * signal/sigwait.c: Likewise.
24979         * signal/sigwaitinfo.c: Likewise.
24980         * signal/sysv_signal.c: Likewise.
24981         * socket/accept.c: Likewise.
24982         * socket/accept4.c: Likewise.
24983         * socket/bind.c: Likewise.
24984         * socket/connect.c: Likewise.
24985         * socket/getpeername.c: Likewise.
24986         * socket/getsockname.c: Likewise.
24987         * socket/getsockopt.c: Likewise.
24988         * socket/isfdtype.c: Likewise.
24989         * socket/listen.c: Likewise.
24990         * socket/recv.c: Likewise.
24991         * socket/recvfrom.c: Likewise.
24992         * socket/recvmsg.c: Likewise.
24993         * socket/send.c: Likewise.
24994         * socket/sendmsg.c: Likewise.
24995         * socket/sendto.c: Likewise.
24996         * socket/setsockopt.c: Likewise.
24997         * socket/shutdown.c: Likewise.
24998         * socket/sockatmark.c: Likewise.
24999         * socket/socket.c: Likewise.
25000         * socket/socketpair.c: Likewise.
25001         * stdio-common/ctermid.c: Likewise.
25002         * stdio-common/cuserid.c: Likewise.
25003         * stdio-common/remove.c: Likewise.
25004         * stdio-common/rename.c: Likewise.
25005         * stdio-common/renameat.c: Likewise.
25006         * stdio-common/tempname.c: Likewise.
25007         * stdlib/getcontext.c: Likewise.
25008         * stdlib/makecontext.c: Likewise.
25009         * stdlib/setcontext.c: Likewise.
25010         * stdlib/swapcontext.c: Likewise.
25011         * stdlib/system.c: Likewise.
25012         * streams/fattach.c: Likewise.
25013         * streams/fdetach.c: Likewise.
25014         * streams/getmsg.c: Likewise.
25015         * streams/getpmsg.c: Likewise.
25016         * streams/putmsg.c: Likewise.
25017         * streams/putpmsg.c: Likewise.
25018         * sysdeps/unix/bsd/getpt.c: Likewise.
25019         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25020         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25021         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25023         Likewise.
25024         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25025         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25026         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25027         * sysvipc/msgctl.c: Likewise.
25028         * sysvipc/msgget.c: Likewise.
25029         * sysvipc/msgrcv.c: Likewise.
25030         * sysvipc/msgsnd.c: Likewise.
25031         * sysvipc/semctl.c: Likewise.
25032         * sysvipc/semget.c: Likewise.
25033         * sysvipc/semop.c: Likewise.
25034         * sysvipc/semtimedop.c: Likewise.
25035         * sysvipc/shmat.c: Likewise.
25036         * sysvipc/shmctl.c: Likewise.
25037         * sysvipc/shmdt.c: Likewise.
25038         * sysvipc/shmget.c: Likewise.
25039         * termios/tcdrain.c: Likewise.
25040         * termios/tcflow.c: Likewise.
25041         * termios/tcflush.c: Likewise.
25042         * termios/tcgetattr.c: Likewise.
25043         * termios/tcgetpgrp.c: Likewise.
25044         * termios/tcsendbrk.c: Likewise.
25045         * termios/tcsetattr.c: Likewise.
25046         * termios/tcsetpgrp.c: Likewise.
25047         * time/adjtime.c: Likewise.
25048         * time/clock.c: Likewise.
25049         * time/getitimer.c: Likewise.
25050         * time/gettimeofday.c: Likewise.
25051         * time/setitimer.c: Likewise.
25052         * time/settimeofday.c: Likewise.
25053         * time/stime.c: Likewise.
25054         * time/time.c: Likewise.
25055
25056 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25057
25058         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25059         /usr/old/bin.
25060
25061         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25062         instead of spaces.
25063         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25064
25065 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25066
25067         [BZ #14796]
25068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25069         FE_TONEAREST before applying Dekker multiplication and Knuth
25070         addition.  Clear inexact exceptions and check for exact zero
25071         results afterwards.
25072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25073         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25074         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25075         * math/libm-test.inc (fma_test): Add more tests.
25076         (fma_test_towardzero): Likewise.
25077         (fma_test_downward): Likewise.
25078         (fma_test_upward): Likewise.
25079         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25080         function.
25081         (libc_fesetround): New macro.
25082         (libc_fesetroundf): Likewise.
25083         (libc_fesetroundl): Likewise.
25084         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25085         function.
25086         (libc_fesetround_387): Likewise.
25087         (libc_fesetroundf): New macro.
25088         (libc_fesetround): Likewise.
25089         (libc_fesetroundl): Likewise.
25090         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25091         function.
25092         (libc_fesetroundf): New macro.
25093         (libc_fesetround): Likewise.
25094         (libc_fesetroundl): Likewise.
25095         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25096         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25097         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25098         libm_hidden_ver.
25099         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25100         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25101         libm_hidden_def.
25102         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25103         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25104         libm_hidden_ver.
25105         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25106         libm_hidden_def.
25107
25108         [BZ #3439]
25109         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25110         integer constant usable in #if and use that to give value to enum
25111         constant.
25112         (FE_DIVBYZERO): Likewise.
25113         (FE_UNDERFLOW): Likewise.
25114         (FE_OVERFLOW): Likewise.
25115         (FE_INVALID): Likewise.
25116         (FE_INVALID_SNAN): Likewise.
25117         (FE_INVALID_ISI): Likewise.
25118         (FE_INVALID_IDI): Likewise.
25119         (FE_INVALID_ZDZ): Likewise.
25120         (FE_INVALID_IMZ): Likewise.
25121         (FE_INVALID_COMPARE): Likewise.
25122         (FE_INVALID_SOFTWARE): Likewise.
25123         (FE_INVALID_SQRT): Likewise.
25124         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25125         (FE_TONEAREST): Likewise.
25126         (FE_TOWARDZERO): Likewise.
25127         (FE_UPWARD): Likewise.
25128         (FE_DOWNWARD): Likewise.
25129         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25130         (FE_DIVBYZERO): Likewise.
25131         (FE_OVERFLOW): Likewise.
25132         (FE_UNDERFLOW): Likewise.
25133         (FE_INEXACT): Likewise.
25134         (FE_TONEAREST): Likewise.
25135         (FE_DOWNWARD): Likewise.
25136         (FE_UPWARD): Likewise.
25137         (FE_TOWARDZERO): Likewise.
25138         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25139         (FE_UNDERFLOW): Likewise.
25140         (FE_OVERFLOW): Likewise.
25141         (FE_DIVBYZERO): Likewise.
25142         (FE_INVALID): Likewise.
25143         (FE_TONEAREST): Likewise.
25144         (FE_TOWARDZERO): Likewise.
25145         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25146         (FE_OVERFLOW): Likewise.
25147         (FE_UNDERFLOW): Likewise.
25148         (FE_DIVBYZERO): Likewise.
25149         (FE_INEXACT): Likewise.
25150         (FE_TONEAREST): Likewise.
25151         (FE_TOWARDZERO): Likewise.
25152         (FE_UPWARD): Likewise.
25153         (FE_DOWNWARD): Likewise.
25154         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25155         (FE_DIVBYZERO): Likewise.
25156         (FE_OVERFLOW): Likewise.
25157         (FE_UNDERFLOW): Likewise.
25158         (FE_INEXACT): Likewise.
25159         (FE_TONEAREST): Likewise.
25160         (FE_DOWNWARD): Likewise.
25161         (FE_UPWARD): Likewise.
25162         (FE_TOWARDZERO): Likewise.
25163
25164 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25165
25166         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25167
25168 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25169
25170         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25171         commands.  Quote $PWD.
25172         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25173         -x" by "export".
25174         (remove_newlines): Remove.
25175
25176 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25177
25178         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25179         * stdlib/stdlib.h (atof): Moved to ...
25180         * include/bits/stdlib-float.h: Here.  New file.
25181         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25182         * stdlib/bits/stdlib-float.h: New file.
25183         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25184         -mno-sse -mno-mmx.
25185         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25186         <xmmintrin.h>.
25187
25188 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25189
25190         * conform/conformtest.pl (@headers): Add fenv.h.
25191         * conform/data/fenv.h-data: New file.
25192         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25193         include of <math/fenv.h>.
25194
25195         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25196         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25197         && !UNIX98].  Enables tests for XOPEN2K8.
25198         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25199         POSIX2008]: Likewise.
25200
25201         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25202         (struct rusage): Do not expect type or its members.
25203
25204         [BZ #3439]
25205         * math/math.h (FP_NAN): Define macro to integer constant usable in
25206         #if and use that to give value to enum constant.
25207         (FP_INFINITE): Likewise.
25208         (FP_ZERO): Likewise.
25209         (FP_SUBNORMAL): Likewise.
25210         (FP_NORMAL): Likewise.
25211
25212 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25213
25214         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25215         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25216         arguments.
25217
25218 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25219
25220         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25221         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25222         autoconf-time if not.
25223         * configure.in: Remove AC_PREREQ.
25224
25225 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25226
25227         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25228         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25229         of the internal implementation.
25230
25231 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25232
25233         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25234         except include of <misc/sys/syslog.h>.
25235
25236 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25237
25238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25239         function returns with a NULL context exit with zero.
25240
25241 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25242
25243         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25244
25245 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25246
25247         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25248         (run_program_cmd): This.
25249         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25250         (tst_langinfo): New variable.  Use it.
25251
25252 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25253
25254         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25255         floating point opcodes.
25256
25257 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25258
25259         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25260         variable.
25261
25262         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25263
25264         * sysdeps/mach/hurd/powerpc: Remove directory.
25265         * sysdeps/mach/powerpc: Likewise.
25266
25267 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25268
25269         * scripts/check-local-headers.sh: Ignore c++ headers.
25270
25271 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25272
25273         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25274         __libc_cleanup_region_start argument.
25275
25276 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25277
25278         [BZ #14784]
25279         [BZ #14785]
25280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25281         x * y using scaling, not as x * y + z.
25282         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25284         * math/libm-test.inc (fma_test): Add more tests.
25285         (fma_test_towardzero): Likewise.
25286         (fma_test_downward): Likewise.
25287         (fma_test_upward): Likewise.
25288
25289 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25290
25291         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25292
25293 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25294
25295         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25296         New variable.
25297
25298 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25299
25300         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25301
25302 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25303
25304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25305         Fix sort order.
25306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25307         Likewise.
25308
25309 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25310
25311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25312         Fix the order of the list for glibc 2.17.
25313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25314         Likewise.
25315
25316 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25317
25318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25319
25320 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25321
25322         [BZ #14610]
25323         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25324         for low part of x being zero before using __atanl (y).
25325         * math/libm-test.inc (atan2_test): Add another test.
25326
25327         * manual/install.texi (Configuring and compiling): Document
25328         general use of test-wrapper and test-wrapper-env.
25329         * INSTALL: Regenerated.
25330
25331         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25332         (__fma): Do not extract and scale down low bits on after-rounding
25333         systems when result rounded to normal precision would have normal
25334         exponent.
25335         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25336         (__fmal): Do not extract and scale down low bits on after-rounding
25337         systems when result rounded to normal precision would have normal
25338         exponent.
25339         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25340         (__fmal): Do not extract and scale down low bits on after-rounding
25341         systems when result rounded to normal precision would have normal
25342         exponent.
25343         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25344         macro.
25345         (fma_test): Add more tests.
25346         (fma_test_towardzero): Likewise.
25347         (fma_test_downward): Likewise.
25348         (fma_test_upward): Likewise.
25349
25350 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25351
25352         * sysdeps/i386/tininess.h: Renamed to ...
25353         * sysdeps/x86/tininess.h: This.
25354         * sysdeps/x86_64/tininess.h: Removed.
25355
25356 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25357
25358         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25359         input.  Use $(build-program-cmd).
25360         ($(objpfx)tst-array1-static.out): Likewise.
25361         ($(objpfx)tst-array2.out): Likewise.
25362         ($(objpfx)tst-array3.out): Likewise.
25363         ($(objpfx)tst-array4.out): Likewise.
25364         ($(objpfx)tst-array5.out): Likewise.
25365         ($(objpfx)tst-array5-static.out): Likewise.
25366
25367 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25368
25369         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25370         if defined.
25371
25372         * nss/nsswitch.h (nss_interface_function): Provide new
25373         macro for use with NSS functions.
25374         * grp/initgroups.c: Use new macro.
25375         * nss/getXXbyYY.c: Likewise.
25376         * nss/getXXbyYY_r.c: Likewise.
25377         * nss/getXXent.c: Likewise.
25378         * nss/getXXent_r.c: Likewise.
25379         * sysdeps/posix/getaddrinfo.c: Likewise.
25380
25381 2012-10-30  Andreas Jaeger  <aj@suse.de>
25382
25383         * po/ru.po: Update Russion translation from translation project.
25384
25385 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25386
25387         [BZ #14152]
25388         [BZ #14783]
25389         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25390         result and shift together with sticky bit instead of replicating
25391         round-to-nearest rounding.
25392         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25394         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25395         missing underflow exceptions.
25396         (fma_test_towardzero): Add more tests.
25397         (fma_test_downward): Likewise.
25398         (fma_test_upward): Likewise.
25399
25400         [BZ #14047]
25401         * sysdeps/generic/tininess.h: New file.
25402         * sysdeps/i386/tininess.h: Likewise.
25403         * sysdeps/sh/tininess.h: Likewise.
25404         * sysdeps/x86_64/tininess.h: Likewise.
25405         * stdlib/tst-strtod-underflow.c: Likewise.
25406         * stdlib/tst-tininess.c: Likewise.
25407         * stdlib/strtod_l.c: Include <tininess.h>.
25408         (round_and_return): Do not set errno for exact underflow cases.
25409         Force an underflow exception when setting errno for underflow.
25410         Determine underflow based on rounding to normal precision if
25411         TININESS_AFTER_ROUNDING.
25412         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25413         ERANGE for exact underflow cases.
25414         * stdlib/Makefile (tests): Add tst-tininess and
25415         tst-strtod-underflow.
25416         ($(objpfx)tst-tininess): Use $(link-libm).
25417         ($(objpfx)tst-strtod-underflow): Likewise.
25418
25419 2012-10-30  Andreas Jaeger  <aj@suse.de>
25420
25421         [BZ#14767]
25422         * elf/Makefile (tests): Remove conditional for have-initfini-array
25423         since this is now always required and the variable does not exist
25424         anymore.
25425         (tests-static): Likewise.
25426         (modules-names): Likewise.
25427
25428         * po/eo.po: Add Esperanto translation from translation project.
25429
25430         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25431         merged with constructor/destructor.
25432         (init_array): Likewise.
25433         * elf/tst-array2dep.c (fini_array): Likewise.
25434         (init_array): Likewise.
25435
25436 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25437
25438         * manual/message.texi: Delete @cartouche tags.
25439
25440 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25441
25442         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25443         EOPNOTSUPP.
25444         * sysdeps/mach/hurd/fsync.c: Likewise.
25445
25446         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25447         [_POSIX_REALTIME_SIGNALS]: Change condition to
25448         [_POSIX_REALTIME_SIGNALS > 0].
25449
25450 2012-10-27  Andreas Jaeger  <aj@suse.de>
25451
25452         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25453         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25454         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25455         [__WORDSIZE != 64]: Likewise.
25456
25457 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25458
25459         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25460         *  iconvdata/tst-tables.sh: Likewise.
25461
25462 2012-10-25  David S. Miller  <davem@davemloft.net>
25463
25464         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25465         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25466         of strtoull.
25467
25468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25469         ifunc-impl-list.c
25470         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25471         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25472         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25473         file.
25474
25475 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25476
25477         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25478         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25479         __getdirentries.
25480
25481 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25482             Jim Blandy  <jimb@codesourcery.com>
25483
25484         * scripts/cross-test-ssh.sh: New file.
25485         * manual/install.texi (Configuring and compiling): Document use of
25486         cross-test-ssh.sh.
25487         * INSTALL: Regenerated.
25488
25489 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25490
25491         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25492         EOPNOTSUPP.
25493
25494 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25495
25496         * Makeconfig (run-program-prefix): Fix comment.
25497
25498 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25499             Jim Blandy  <jimb@codesourcery.com>
25500
25501         * Makeconfig (test-wrapper): New variable,
25502         (test-wrapper-env): Likewise.
25503         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25504         (run-built-tests): Define to yes.
25505         (run-program-prefix): Use $(test-wrapper).
25506         (built-program-cmd): Likewise.
25507         * Rules (make-test-out): Use $(test-wrapper-env) and
25508         $(host-built-program-cmd).
25509         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25510         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25511         tst-pathopt.sh.
25512         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25513         $(test-wrapper-env) to tst-rtld-load-self.sh.
25514         ($(objpfx)order2.out): Use $(test-wrapper).
25515         ($(objpfx)tst-initorder.out): Likewise.
25516         ($(objpfx)tst-initorder2.out): Likewise.
25517         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25518         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25519         (test_wrapper_env): New variable.  Use it to run ld.so.
25520         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25521         Use it to run ld.so.
25522         (test_wrapper_env): Likewise.
25523         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25524         $(test-wrapper) to run-iconv-test.sh.
25525         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25526         (ICONV): Use $test_wrapper.
25527         * posix/Makefile ($(objpfx)globtest.out): Pass
25528         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25529         globtest.sh, not $(run-program-prefix).
25530         * posix/globtest.sh (run_via_rtld_prefix): New variable.
25531         (test_wrapper): Likewise.
25532         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
25533         set together with run_via_rtld_prefix.
25534         (run_program_prefix): Define in terms of test_wrapper and
25535         run_via_rtld_prefix.
25536
25537 2012-10-24  Roland McGrath  <roland@hack.frob.com>
25538
25539         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25540         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25541         Targets removed.
25542
25543         [BZ #14743]
25544         * include/time.h: Remove librt_hidden_proto (clock_gettime).
25545         Declare __clock_getres, __clock_gettime, __clock_settime,
25546         __clock_nanosleep, and __clock_getcpuclockid.
25547         * rt/clock_gettime.c: Define __clock_gettime as an alias.
25548         Remove librt_hidden_def (clock_gettime).
25549         * sysdeps/unix/clock_gettime.c: Likewise.
25550         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25551         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25552         * rt/clock_getres.c: Define __clock_getres as an alias.
25553         * sysdeps/posix/clock_getres.c: Likewise.
25554         * rt/clock_settime.c: Define __clock_settime as an alias.
25555         * sysdeps/unix/clock_settime.c: Likewise.
25556         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25557         * sysdeps/unix/clock_nanosleep.c: Likewise.
25558         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25559         * rt/clock-compat.c: New file.
25560         * rt/Makefile (librt-routines): Add clock-compat and move
25561         $(clock-routines) to ...
25562         (routines): ... here, new variable.
25563         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25564         Don't add get_clockfreq here.
25565         * rt/Versions (libc: GLIBC_2.17): New version set.
25566         Add clock_* symbols here.
25567         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
25568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25569         (GLIBC_2.17): Add clock_* symbols.
25570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25574         Likewise.
25575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25576         Likewise.
25577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25581         * NEWS: Mention the move.
25582
25583         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25584         Use __open, __read, __close rather than their public counterparts.
25585         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25586         (__get_clockfreq_via_cpuinfo): Likewise.
25587         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25588         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25589
25590         * config.h.in (HAVE_IFUNC): New #undef.
25591         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25592         was successful.
25593         * configure: Regenerated.
25594
25595 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25596
25597         * configure.in: Move READELF check to start of file.
25598         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25599         libc_cv_asm_gnu_indirect_function in the process.
25600         * configure: Regenerated.
25601
25602 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
25603
25604         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25605         send the output to /dev/null.
25606         (libc_cv_cc_with_libunwind): Likewise.
25607         (libc_cv_as_noexecstack): Likewise.
25608         * configure: Regenerate.
25609
25610 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25611
25612         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25613
25614         * posix/globtest.sh (TMPDIR): Do not set.
25615         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25616         (testout): Likewise.
25617
25618 2012-10-24  Andreas Jaeger  <aj@suse.de>
25619
25620         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25621         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25622         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25623         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25624         posix_fadvise64, posix_fallocate64.
25625
25626         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25627         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25628         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25629         Likewise.
25630         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25631         Likewise.
25632         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25633
25634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25635         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25636         <bits/fcntl-linux.h>.
25637         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25638
25639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25640         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25641         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25642         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25643         [__WORDSIZE != 64]: Likewise.
25644
25645 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25646
25647         * Makeconfig (run-built-tests): New variable.
25648         * Rules [$(cross-compiling) = yes]: Change condition to
25649         [$(run-built-tests) = no].
25650         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25651         to [$(run-built-tests) = yes].
25652         * elf/Makefile [$(cross-compiling) = no]: Likewise
25653         * grp/Makefile [$(cross-compiling) = no]: Likewise.
25654         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25655         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25656         * intl/Makefile [$(cross-compiling) = no]: Likewise.
25657         * io/Makefile [$(cross-compiling) = no]: Likewise.
25658         * libio/Makefile [$(cross-compiling) = no]: Likewise.
25659         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25660         * misc/Makefile [$(cross-compiling) = no]: Likewise.
25661         * posix/Makefile [$(cross-compiling) = no]: Likewise.
25662         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25663         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25664         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25665         * string/Makefile [$(cross-compiling) = no]: Likewise.
25666
25667         * posix/Makefile ($(objpfx)globtest.out): Pass
25668         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25669         $(rtld-installed-name).
25670         * posix/globtest.sh (elf_objpfx): Remove variable.
25671         (rtld_installed_name): Likewise.
25672         (library_path): Likewise.
25673         (run_program_prefix): New variable.  Use for running globtest
25674         binary.
25675
25676 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
25677             Joseph Myers  <joseph@codesourcery.com>
25678
25679         * Makeconfig (host-built-program-cmd): New variable.
25680         * elf/Makefile (tst-stackguard1-ARGS): Use
25681         $(host-built-program-cmd).
25682         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25683         (tst-spawn-ARGS): Likewise.
25684         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25685
25686 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
25687             Jim Blandy  <jimb@codesourcery.com>
25688
25689         * Makeconfig (run-via-rtld-prefix): New variable.
25690         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25691         (built-program-cmd): Likewise.
25692
25693 2012-10-22  Andreas Jaeger  <aj@suse.de>
25694
25695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25696         __O_RSYNC if it exists, otherwise to O_SYNC.
25697
25698 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
25699             Joseph Myers  <joseph@codesourcery.com>
25700
25701         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25702         /dev/null.
25703         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25704         from /dev/null
25705         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25706         /dev/null.
25707
25708 2012-10-22  Andreas Jaeger  <aj@suse.de>
25709
25710         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25711         Define always.
25712         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25713
25714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25715         bits/fcntl-linux.h.
25716
25717         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25718         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25719
25720         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25721         to __O_LARGEFILE.
25722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25723         to __O_LARGEFILE.
25724
25725 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
25726             Joseph Myers  <joseph@codesourcery.com>
25727
25728         * config.make.in (NM): New variable.
25729
25730 2012-10-21  Andreas Jaeger  <aj@suse.de>
25731
25732         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25733         definitions and declarations that are provided by
25734         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25735
25736 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25737
25738         [BZ #14683]
25739         * elf/Makefile (tests-static): Add tst-leaks1-static.
25740         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25741         ($(objpfx)tst-leaks1-static): New rule.
25742         ($(objpfx)tst-leaks1-static-mem): Likewise.
25743         (tst-leaks1-static-ENV): New macro.
25744         * elf/dl-open.c (dl_open_worker): Check the main application
25745         only if SHARED is defined.
25746         * elf/tst-leaks1-static.c: New file.
25747
25748 2012-10-20  Andreas Jaeger  <aj@suse.de>
25749
25750         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25751         generic values for Linux.
25752         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25753         and declarations that are provided by <bits/fcntl-linux.h> and
25754         include <bits/fcntl-linux.h>.
25755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25756         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25757
25758 2012-10-20  Roland McGrath  <roland@hack.frob.com>
25759
25760         * io/fcntl.h: Move include of <bits/types.h> to the top and
25761         include it unconditionally.
25762
25763 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
25764
25765         * wcsmbs/Makefile (tests-ifunc): New variable.
25766         (tests): Add $(tests-ifunc).
25767         * wcsmbs/test-wcschr-ifunc.c: New file.
25768         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25769         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25770         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25771         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25772         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25773
25774         * string/Makefile (tests-ifunc): New variable.
25775         (tests): Add $(tests-ifunc).
25776         * string/test-memccpy.c (TEST_NAME): New macro.
25777         * string/test-memchr.c (TEST_NAME): Likewise.
25778         * string/test-memcmp.c (TEST_NAME): Likewise.
25779         * string/test-memcpy.c (TEST_NAME): Likewise.
25780         * string/test-memmem.c (TEST_NAME): Likewise.
25781         * string/test-memmove.c (TEST_NAME): Likewise.
25782         * string/test-memset.c (TEST_NAME): Likewise.
25783         * string/test-rawmemchr.c (TEST_NAME): Likewise.
25784         * string/test-stpcpy.c (TEST_NAME): Likewise.
25785         * string/test-stpncpy.c (TEST_NAME): Likewise.
25786         * string/test-strcasecmp.c (TEST_NAME): Likewise.
25787         * string/test-strcasestr.c (TEST_NAME): Likewise.
25788         * string/test-strcat.c (TEST_NAME): Likewise.
25789         * string/test-strchr.c (TEST_NAME): Likewise.
25790         * string/test-strcmp.c(TEST_NAME): Likewise.
25791         * string/test-strcpy.c (TEST_NAME): Likewise.
25792         * string/test-strcspn.c (TEST_NAME): Likewise.
25793         * string/test-strlen.c (TEST_NAME): Likewise.
25794         * string/test-strncasecmp.c (TEST_NAME): Likewise.
25795         * string/test-strncmp.c (TEST_NAME): Likewise.
25796         * string/test-strncpy.c (TEST_NAME): Likewise.
25797         * string/test-strnlen.c (TEST_NAME): Likewise.
25798         * string/test-strpbrk.c (TEST_NAME): Likewise.
25799         * string/test-strrchr.c (TEST_NAME): Likewise.
25800         * string/test-strspn.c (TEST_NAME): Likewise.
25801         * string/test-strstr.c (TEST_NAME): Likewise.
25802         * string/test-bcopy-ifunc.c: New file.
25803         * string/test-bzero-ifunc.c: Likewise.
25804         * string/test-memccpy-ifunc.c: Likewise.
25805         * string/test-memchr-ifunc.c: Likewise.
25806         * string/test-memcmp-ifunc.c: Likewise.
25807         * string/test-memcpy-ifunc.c: Likewise.
25808         * string/test-memmem-ifunc.c: Likewise.
25809         * string/test-memmove-ifunc.c: Likewise.
25810         * string/test-mempcpy-ifunc.c: Likewise.
25811         * string/test-memset-ifunc.c: Likewise.
25812         * string/test-rawmemchr-ifunc.c: Likewise.
25813         * string/test-stpcpy-ifunc.c: Likewise.
25814         * string/test-stpncpy-ifunc.c: Likewise.
25815         * string/test-strcasecmp-ifunc.c: Likewise.
25816         * string/test-strcasestr-ifunc.c: Likewise.
25817         * string/test-strcat-ifunc.c: Likewise.
25818         * string/test-strchr-ifunc.c: Likewise.
25819         * string/test-strchrnul-ifunc.c: Likewise.
25820         * string/test-strcmp-ifunc.c: Likewise.
25821         * string/test-strcpy-ifunc.c: Likewise.
25822         * string/test-strcspn-ifunc.c: Likewise.
25823         * string/test-strlen-ifunc.c: Likewise.
25824         * string/test-strncasecmp-ifunc.c: Likewise.
25825         * string/test-strncat-ifunc.c: Likewise.
25826         * string/test-strncmp-ifunc.c: Likewise.
25827         * string/test-strncpy-ifunc.c: Likewise.
25828         * string/test-strnlen-ifunc.c: Likewise.
25829         * string/test-strpbrk-ifunc.c: Likewise.
25830         * string/test-strrchr-ifunc.c: Likewise.
25831         * string/test-strspn-ifunc.c: Likewise.
25832         * string/test-strstr-ifunc.c: Likewise.
25833
25834         * debug/Makefile (tests-ifunc): New variable.
25835         (tests): Add $(tests-ifunc).
25836         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25837         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25838         * debug/test-stpcpy_chk-ifunc.c: New file.
25839         * debug/test-strcpy_chk-ifunc.c: Likewise.
25840
25841 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25842
25843         [BZ #13601]
25844         * elf/dl-load.c (open_verify): Retry read if the entire ELF
25845         header is not read in.
25846
25847 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
25848
25849         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
25850         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
25851         directly.  Pass built executable to script as
25852         $(built-program-cmd).
25853         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
25854         $testprogram without using LD_LIBRARY_PATH and $ldso.
25855
25856         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25857         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25858         $(rtld-installed-name).
25859         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25860         (rtld_installed_name): Likewise.
25861         (library_path): Likewise.
25862         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
25863         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25864         $(run-program-prefix) to tst-tables.sh.
25865         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
25866         it to run tst-table-from and tst-table-to.
25867         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25868         Pass it to tst-table.sh.
25869         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25870         $(run-program-prefix) to tst-gettext.sh.
25871         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25872         tst-translit.sh.
25873         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25874         tst-gettext2.sh.
25875         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
25876         to run tst-gettext.
25877         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
25878         to run tst-gettext2.
25879         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
25880         to run tst-translit.
25881         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25882         $(run-program-prefix) to tst-mtrace.sh.
25883         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
25884         to run tst-mtrace.
25885         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25886         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25887         $(rtld-installed-name).
25888         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25889         (rtld_installed_name): Likewise.
25890         (run_program_prefix): New variable.  Use it to run wordexp-test.
25891
25892         * Makeconfig (ARCH): Remove all definitions.
25893         (machine): Likewise.
25894         [ARCH]: Remove conditional code.
25895         [!objdir]: Give error.
25896         [!objdir] (objpfx): Remove.
25897         [!objdir] (common-objpfx): Likewise.
25898         [!objdir] (common-objdir): Likewise.
25899         * configure.in (config_makefile): Remove.  Hardcode Makefile in
25900         AC_CONFIG_FILES call.
25901         * configure: Regenerated.
25902
25903         [BZ #13888]
25904         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25905         or TMPDIR.
25906         (testout): Likewise.
25907
25908         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25909         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25910         $(rtld-installed-name).
25911         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25912         (rtld_installed_name): Likwise.
25913         (runit): Remove function.
25914         (run_getconf): New variable,  Use it for running getconf binary.
25915
25916 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
25917
25918         [BZ #14716]
25919         * string/test-memmem.c (check_result): New function.
25920         (do_one_test): Use it.
25921         (check1): New function.
25922         (test_main): Use it.
25923
25924 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
25925
25926         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25927
25928 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
25929
25930         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25931         (_G_LSEEK64): Likewise.
25932         (_G_MMAP64): Likewise.
25933         (_G_FSTAT64): Likewise.
25934         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25935         (_G_LSEEK64): Likewise.
25936         (_G_MMAP64): Likewise.
25937         (_G_FSTAT64): Likewise.
25938         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25939         unconditional.  Call __mmap64 directly.
25940         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25941         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
25942         __lseek64 directly.
25943         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25944         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
25945         __mmap64 directly.
25946         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25947         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25948         __lseek64 directly.
25949         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25950         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
25951         __lseek64 directly.
25952         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25953         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
25954         __lseek64 directly.
25955         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25956         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
25957         __fxstat64 directly.
25958         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25959         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25960         unconditional.
25961         (freopen64) [!_G_OPEN64]: Remove conditional code.
25962         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25963         unconditional.
25964         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25965         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25966         unconditional.
25967         (ftello64) [!_G_LSEEK64]: Remove conditional code.
25968         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25969         unconditional.
25970         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25971         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25972         unconditional.
25973         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25974         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25975         unconditional.
25976         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25977         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25978         unconditional.
25979         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25980         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25981         unconditional.
25982         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25983
25984 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25985
25986         [BZ #12140]
25987         * manual/memory.texi (Malloc Tunable Parameters): Add note
25988         about free list pointers overwriting some perturb bytes.
25989         Wording suggested by Roland McGrath.
25990
25991 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
25992
25993         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25994         (lgamma_test): Likewise.
25995         (tgamma_test): Likewise.
25996
25997 2012-10-16  Florian Weimer  <fweimer@redhat.com>
25998
25999         [BZ #14700]
26000         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26001         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26002
26003 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26004
26005         * NEWS: Mention BZ #14716.
26006         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26007         when removing AVAILABLE1_USES_J macro.
26008
26009 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26010
26011         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26012         (__bswap_64): __uint64_t for unsigned 64-bit int.
26013
26014 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26015
26016         * include/string.h (memmem): Declare libc hidden alias.
26017         * string/memmem.c (memmem): Define libc hidden alias.
26018         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26019         __read, __close instead of open, read, close.
26020
26021 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26022
26023         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26024         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26025         global and hidden.
26026         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26027         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26028         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26029         Likewise.
26030         (__rawmemchr_sse2): Likewise.
26031         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26032         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26033         (__strchr_sse2): Likewise.
26034         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26035         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26036         (__strcasecmp_sse2): Likewise.
26037         (__strncasecmp_sse2): Likewise.
26038         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26039         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26040         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26041         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26042         (__strrchr_sse2): Likewise.
26043         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26044         ifunc-impl-list.c.
26045         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26046         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26047         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26048         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26049         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26050         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26051         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26052         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26053         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26054         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26055         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26056         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26057         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26058         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26059         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26060         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26061         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26062         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26063         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26064         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26065         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26066         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26067         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26068         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26069         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26070         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26071         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26072         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26073         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26074         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26075
26076         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26077         global and hidden.
26078         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26079         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26080         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26081         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26082         Likewise.
26083         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26084         Likewise.
26085         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26086         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26087         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26088         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26089         ifunc-impl-list.c.
26090         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26091         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26092         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26093         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26094         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26095         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26096         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26097         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26098         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26099         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26100         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26101         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26102         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26103         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26104         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26105         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26106         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26107         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26108         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26109         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26110         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26111         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26112         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26113         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26114         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26115         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26116         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26117         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26118         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26119         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26120         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26121         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26122         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26123         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26124         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26125         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26126         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26127         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26128         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26129         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26130         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26131
26132         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26133         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26134         * include/ifunc-impl-list.h: New file.
26135         * misc/ifunc-impl-list.c: Likewise.
26136         * misc/Makefile (routines): Add ifunc-impl-list.
26137         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26138         * string/test-string.h: Include <ifunc-impl-list.h>.
26139         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26140         TEST_NAME]: New variables.
26141         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26142         are defined.
26143         (test_init): Call __libc_ifunc_impl_list to initialize
26144         func_list if TEST_IFUNC and TEST_NAME are defined.
26145
26146         * string/Makefile (strop-tests): Add bcopy and bzero.
26147         * string/test-bcopy.c: New file.
26148         * string/test-bzero.c: Likewise.
26149         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26150         defined.
26151         * string/test-memset.c: Support bzero test if TEST_BZERO is
26152         defined.
26153         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26154         __libc_memmove.
26155         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26156         __libc_memset.
26157         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26158         of memset.
26159
26160 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26161
26162         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26163         * configure: Regenerated.
26164
26165         * Makeconfig (+link-static-before-libc): Don't include
26166         $(link-static-libc).
26167
26168         * libio/libio.h (_IO_pos_t): Remove.
26169
26170 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26171
26172         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26173         McGrath.
26174
26175 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26176
26177         * crypt/crypt-entry.c: Include fips-private.h.
26178         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26179         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26180         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26181         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26182
26183 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26184
26185         * crypt/crypt-private.h: Include stdbool.h.
26186         (_ufc_setup_salt_r): Return bool.
26187         * crypt/crypt-entry.c: Include errno.h.
26188         (__crypt_r): Return NULL with EINVAL for bad salt.
26189         * crypt/crypt_util.c (bad_for_salt): New.
26190         (_ufc_setup_salt_r): Check that salt is long enough and within
26191         the specified alphabet.
26192         * crypt/badsalttest.c: New file.
26193         * crypt/Makefile (tests): Add it.
26194         ($(objpfx)badsalttest): New.
26195
26196 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26197
26198         * NEWS: Add entry for BZ #14602.
26199
26200 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26201
26202         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26203         type-generic.
26204         * math/libm-test.inc: Update comment listing what functions and
26205         macros are tested.
26206         (isgreater_test): New function.
26207         (isgreaterequal_test): Likewise.
26208         (isless_test): Likewise.
26209         (islessequal_test): Likewise.
26210         (islessgreater_test): Likewise.
26211         (isunordered_test): Likewise.
26212         (main): Call the new functions.
26213
26214 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26215
26216         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26217         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26218         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26219         * sysdeps/i386/configure: Regenerated.
26220         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26221         * sysdeps/mach/configure: Regenerated.
26222         * sysdeps/mach/hurd/configure: Regenerated.
26223         * sysdeps/powerpc/configure: Regenerated.
26224         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26225         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26226         * sysdeps/s390/s390-32/configure: Regenerated.
26227         * sysdeps/s390/s390-64/configure: Regenerated.
26228         * sysdeps/sh/configure: Regenerated.
26229         * sysdeps/sparc/configure: Regenerated.
26230         * sysdeps/unix/sysv/linux/configure: Regenerated.
26231         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26232         * sysdeps/x86_64/configure: Regenerated.
26233
26234         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26235         defined.  Don't check if MAP is NULL.
26236
26237 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26238
26239         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26240         (_G_stat64): Likewise.
26241         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26242         (_G_stat64): Likewise.
26243         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26244         instead of struct _G_stat64.
26245         * libio/fileops.c (mmap_remap_check): Likewise.
26246         (decide_maybe_mmap): Likewise.
26247         (_IO_new_file_seekoff): Likewise.
26248         (_IO_file_stat): Likewise.
26249         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26250         _G_off64_t.
26251         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26252         instead of struct _G_stat64.
26253         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26254
26255 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26256
26257         [BZ #14602]
26258         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26259         Replace with ...
26260         (CHECK_EOL): New macro.
26261         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26262         CHECK_EOL.
26263         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26264         Replace with CHECK_EOL.
26265         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26266         Replace with CHECK_EOL.
26267
26268 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26269
26270         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26271         type-generic.
26272         * math/libm-test.inc: Update comment listing what functions and
26273         macros are tested.
26274         (finite_test): New function.
26275         (isinf_test): Likewise.
26276         (isnan_test): Likewise.
26277         (fpclassify_test): Test subnormal input.
26278         (isfinite_test): Likewise.
26279         (isnormal_test): Likewise.
26280         (main): Call the new functions.
26281
26282 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26283
26284         [BZ #14660]
26285         * Makerules (%.dynsym): Force C locale when running
26286         $(OBJDUMP) --dynamic-syms.
26287
26288 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26289
26290         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26291         <stdint.h>.
26292
26293 2012-10-06  David S. Miller  <davem@davemloft.net>
26294
26295         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26296         upper 32-bits of the length value in %o2 since we use branch-on-register
26297         tests which consider the entire 64-bit register.
26298
26299 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26300
26301         * string/test-strstr.c (check2): Add a test for page boundary.
26302
26303 2012-10-05  David S. Miller  <davem@davemloft.net>
26304
26305         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26306         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26307         file.
26308         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26309         sysdep_routines.
26310         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26311         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26312         and bzero when HWCAP_SPARC_CRYPTO is present.
26313
26314 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26315
26316         [BZ #14602]
26317         * string/test-strstr.c (check2): New function.
26318         (test_main): Call check2.
26319
26320         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26321         and bug-strchr1.
26322         * string/bug-strcasestr1.c (do_test): Moved to ...
26323         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
26329         * string/test-strchr.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-strstr1.c (main): Moved to ...
26335         * string/test-strstr.c (check1): Here.  New function.
26336         (do_one_test): Break out result checking code into ...
26337         (check_result): This.  New function.
26338         (do_one_test): Call check_result.
26339         (test_main): Call check1.
26340         * string/bug-strcasestr1.c: Removed.
26341         * string/bug-strchr1.c: Likewise.
26342         * string/bug-strstr1.c: Likewise.
26343
26344         * elf/Makefile (dl-routines): Add hwcaps.
26345         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26346         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26347         (_dl_important_hwcaps): Moved to ...
26348         * elf/dl-hwcaps.c: Here.  New file.
26349         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26350
26351         [BZ #14557]
26352         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26353         if IS_IN_rtld isn't defined.
26354
26355         * elf/dl-support.c (_dl_sysinfo_map): New.
26356         Include "get-dynamic-info.h" and "setup-vdso.h".
26357         (_dl_non_dynamic_init): Call setup_vdso.
26358         * elf/dynamic-link.h: Don't include <assert.h>.
26359         (elf_get_dynamic_info): Moved to ...
26360         * elf/get-dynamic-info.h: Here.  New file.
26361         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26362         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26363         * elf/setup-vdso.h: Here.  New file.
26364         * elf/rtld.c: Include "setup-vdso.h".
26365         (dl_main): Call setup_vdso.
26366
26367 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26368
26369         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26370         creal in comment listing functions tested.  List finite, isinf,
26371         isnan, isless, islessequal, isgreater, isgreaterequal,
26372         islessgreater, isunordered, lgamma_r and pow10 as functions and
26373         macros not tested.  Mention which functions not tested are aliases
26374         for other functions.  Fix typo.  Note that signs of NaNs are not
26375         tested.
26376
26377         * scripts/config.guess: Update from config.git.
26378         * scripts/config.sub: Likewise.
26379
26380 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26381
26382         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26383         * misc/madvise.c (madvise): Renamed to __madvise.
26384         Make madvise a weak alias.
26385         * include/sys/mman.h: Declare __madvise.
26386         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26387         * sysdeps/unix/syscalls.list
26388         (madvise): Make __madvise the strong name, and madvise a weak alias.
26389         * sysdeps/unix/sysv/linux/syscalls.list
26390         (madvise, mmap): Remove redundant entries.
26391         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26392         * malloc/malloc.c (mtrim): Likewise.
26393         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26394
26395 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26396
26397         * sysdeps/mach/hurd/dl-cache.c: File removed.
26398         * config.h.in (USE_LDCONFIG): New #undef.
26399         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26400         * configure: Regenerated.
26401         * elf/Makefile (dl-routines): Add dl-cache only under
26402         [$(use-ldconfig) = yes].
26403         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26404         cache on [USE_LDCONFIG].
26405         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26406         [USE_LDCONFIG].
26407         * elf/rtld.c (dl_main): Likewise.
26408
26409 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26410
26411         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26412         _SC_LEVEL4_CACHE_LINESIZE.
26413
26414 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26415
26416         * sysdeps/unix/bsd/confstr.h: File removed.
26417
26418 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26419
26420         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26421         sys/sdt-config.h.
26422
26423 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26424
26425         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26426         Make 'mapoff' field ElfW(Off) rather than off_t.
26427
26428 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26429
26430         * nscd/Makefile: Remove nscd-cflags and all its users.
26431         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26432         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26433
26434         [BZ #10631]
26435         * malloc.c (malloc_printerr): Clarify error message.
26436
26437 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26438
26439         [BZ #14648]
26440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26441         Set bit_FMA_Usable if FMA is supported.
26442         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26443         macro.
26444         (bit_FMA4_Usable): Updated.
26445         (index_FMA_Usable): New macro.
26446         (CPUID_FMA): Likewise
26447         (HAS_FMA): Defined with bit_FMA_Usable.
26448
26449 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26450
26451         * bits/types.h (__swblk_t): Type removed.
26452         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26453         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26454         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26455         (__SWBLK_T_TYPE): Likewise.
26456         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26457         (__SWBLK_T_TYPE): Likewise.
26458         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26459         (__SWBLK_T_TYPE): Likewise.
26460         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26461         (__SWBLK_T_TYPE): Likewise.
26462
26463 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26464             Honza Horak <hhorak@redhat.com>
26465
26466         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26467         (xdr_mapname): Use YPMAXMAP as maxsize.
26468         (xdr_peername): Use YPMAXPEER as maxsize.
26469         (xdr_keydat): Use YPAXRECORD as maxsize.
26470         (xdr_valdat): Use YPMAXRECORD as maxsize.
26471
26472 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26473
26474         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26475
26476         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26477         * csu/init-first.c: ... here.
26478         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26479         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26480         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26481         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26482         * sysdeps/i386/init-first.c: File removed.
26483         * sysdeps/sh/init-first.c: File removed.
26484
26485 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26486
26487         [BZ #14645]
26488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26489         if x * y might underflow to zero and z is zero.
26490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26492         * math/libm-test.inc (min_subnorm_value): New variable.
26493         (fma_test): Add more tests.
26494         (fma_test_towardzero): Likewise.
26495         (fma_test_downward): Likewise
26496         (fma_test_upward): Likewise.
26497         (initialize): Set min_subnorm_value.
26498
26499 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26500
26501         [BZ #14638]
26502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26503         0 + 0.
26504         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26505         mode for addition resulting in exact zero.
26506         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26508         exact 0 + 0.
26509         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26510         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26511         * math/libm-test.inc (fma_test): Add more tests.
26512         (fma_test_towardzero): New function.
26513         (fma_test_downward): Likewise.
26514         (fma_test_upward): Likewise.
26515         (main): Call the new functions.
26516
26517 2012-09-28  David S. Miller  <davem@davemloft.net>
26518
26519         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26520
26521 2012-09-28  Roland McGrath  <roland@hack.frob.com>
26522
26523         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26524         instead of SIGALRM.
26525
26526         * sysdeps/gnu/_G_config.h: Moved to ...
26527         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26528         * sysdeps/mach/hurd/_G_config.h: Moved to ...
26529         * sysdeps/generic/_G_config.h: ... here.
26530
26531         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
26532
26533         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26534
26535         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26536         Conditionalize target on [libnss_test1.so-version].
26537
26538         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26539
26540         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26541         (elfobjdir): Move out of conditionals.
26542
26543         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26544         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26545         (__nss_lookup_function): Conditionalize label remove_from_tree on
26546         [!DO_STATIC_NSS || SHARED], matching its only use.
26547
26548 2012-09-28  David S. Miller  <davem@davemloft.net>
26549
26550         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26551         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26552         file.
26553         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26554         sysdep_routines.
26555         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26556         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26557         when HWCAP_SPARC_CRYPTO is present.
26558
26559 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26560
26561         * io/tst-mknodat.c: Create a FIFO instead of a socket.
26562
26563 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
26564
26565         [BZ #6530]
26566         * stdio-common/vfprintf.c (process_string_arg): Revert
26567         2000-07-22 change.
26568
26569 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
26570
26571         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26572         for testcase.
26573         * stdio-common/tst-sprintf.c: Include <locale.h>
26574         (main): Test sprintf's handling of incomplete multibyte
26575         characters.
26576
26577 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
26578
26579         * elf/dl-runtime.c (VERSYMIDX): Removed.
26580         * elf/dl-version.c (VERSYMIDX): Likewise.
26581         * elf/do-rel.h (VERSYMIDX): Likewise.
26582         (VALIDX): Likewise.
26583         * elf/dynamic-link.h (VERSYMIDX): Likewise.
26584         * elf/rtld.c (VALIDX): Likewise.
26585         (ADDRIDX): Likewise.
26586         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26587         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26588         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26589         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26590         (VALIDX): Likewise.
26591         (ADDRIDX): Likewise.
26592
26593 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26594
26595         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26596
26597 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
26598
26599         [BZ #11438]
26600         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26601         to global scope.
26602         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26603         addresses are in the same scope as 192.0.2/24.
26604         * posix/gai.conf: Document new scope table defaults.
26605
26606 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26607
26608         [BZ #5298]
26609         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26610         for ftell.  Compute offsets from write pointers instead.
26611         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26612
26613 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26614
26615         [BZ #14543]
26616         * libio/Makefile (tests): New test case tst-fseek.
26617         * libio/tst-fseek.c: New test case to verify that fseek/ftell
26618         combination works in wide mode.
26619         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26620         state when the external buffer state changes.
26621
26622 2012-09-27  David S. Miller  <davem@davemloft.net>
26623
26624         [BZ #14376]
26625         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26626         pass reloc->r_addend in as the 'high' argument to
26627         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26628
26629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26630
26631 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
26632
26633         * rt/tst-aio2.c: Include <pthread.h>.
26634         * rt/tst-aio3.c: Likewise.
26635
26636 2012-09-27  Steve Ellcey  <sellcey@mips.com>
26637
26638         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26639
26640 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
26641
26642         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26643         contents on [SHARED].
26644
26645 2012-09-26  Marek Polacek  <polacek@redhat.com>
26646
26647         [BZ #14530]
26648         [BZ #13741]
26649         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26650         for C++ and GCC <4.3 as well as for non GCC compilers.
26651
26652 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26653
26654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26655
26656 2012-09-25  Roland McGrath  <roland@hack.frob.com>
26657
26658         * Makefile.in (all, install): Declare with .PHONY.
26659         Reported by Michael Hope <michael.hope@linaro.org>.
26660
26661 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26662
26663         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26664         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26665         system header.
26666         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26667         Likewise.
26668         (sydep_routines): Add the new and the internal functions.
26669         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26670         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26672         (GLIBC_2.17): Add the new function.
26673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26674         (GLIBC_2.17): Likewise.
26675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26676         (GLIBC_2.17): Likewise.
26677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26678         (GLIBC_2.17): Likewise.
26679         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26680
26681 2012-09-25  Alan Modra  <amodra@gmail.com>
26682
26683         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26684         Add release barrier before setting once_control to say
26685         initialisation is done.  Add hints on lwarx.  Use macro in
26686         place of isync.
26687         (clear_once_control): Add release barrier.
26688
26689 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26690
26691         [BZ #13629]
26692         * math/s_clog.c (__clog): Handle more values close to |z| = 1
26693         specially.
26694         * math/s_clog10.c (__clog10): Likewise.
26695         * math/s_clog10f.c (__clog10f): Likewise.
26696         * math/s_clog10l.c (__clog10l): Likewise.
26697         * math/s_clogf.c (__clogf): Likewise.
26698         * math/s_clogl.c (__clogl): Likewise.
26699         * math/Makefile (libm-calls): Add x2y2m1.
26700         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26701         (__x2y2m1): Likewise.
26702         (__x2y2m1l): Likewise.
26703         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26704         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26705         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26706         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26707         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26708         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26709         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26710         * sysdeps/i386/fpu/libm-test-ulps: Update.
26711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26712
26713         [BZ #14621]
26714         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26715         int as type of variable DEPTH.
26716         (glob): Use size_t instead of int as type of variables NEWCOUNT
26717         and OLD_PATHC.
26718
26719 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26720
26721         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26722         Add s_sincosf-sse2.
26723         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26724         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26725         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26726         macros for using routine as __sincosf_ia32.
26727         Use macro for function declaration and weak_alias.
26728         * sysdeps/i386/fpu/libm-test-ulps: Update.
26729
26730         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26732
26733         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26734         subnormal argument.
26735         * math/s_cexpf.c (__cexpf): Likewise.
26736         * math/s_csinf.c (__csinf): Likewise.
26737         * math/s_csinhf.c (__csinhf): Likewise.
26738         * math/s_ctanf.c (__ctanf): Likewise.
26739         * math/s_ctanhf.c (__ctanhf): Likewise.
26740         * math/s_ccosh.c (__ccoshf): Likewise.
26741         * math/s_cexp.c (__cexpl): Likewise.
26742         * math/s_csin.c (__csin): Likewise.
26743         * math/s_csinh.c (__csinh): Likewise.
26744         * math/s_ctan.c (__ctan): Likewise.
26745         * math/s_ctanh.c (ctanh): Likewise.
26746         * math/s_ccoshl.c (__ccoshl): Likewise.
26747         * math/s_cexpl.c (__cexpl): Likewise.
26748         * math/s_csinl.c (__csinl): Likewise.
26749         * math/s_csinhl.c (__csinhl): Likewise.
26750         * math/s_ctanl.c (__ctanl): Likewise.
26751         * math/s_ctanhl.c (__ctanhl): Likewise.
26752
26753 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
26754
26755         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26756         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26757         (_IO_off_t): Define to __off_t, not _G_off_t.
26758         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26759         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26760         (_IO_wint_t): Define to wint_t, not _G_wint_t.
26761         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26762         type of __dummy and __dummy2 fields.
26763         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26764         (_G_ssize_t): Likewise.
26765         (_G_off_t): Likewise.
26766         (_G_pid_t): Likewise.
26767         (_G_uid_t): Likewise.
26768         (_G_wchar_t): Likewise.
26769         (_G_wint_t): Likewise.
26770         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26771         (_G_ssize_t): Likewise.
26772         (_G_off_t): Likewise.
26773         (_G_pid_t): Likewise.
26774         (_G_uid_t): Likewise.
26775         (_G_wchar_t): Likewise.
26776         (_G_wint_t): Likewise.
26777         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26778         (_G_ssize_t): Likewise.
26779         (_G_off_t): Likewise.
26780         (_G_pid_t): Likewise.
26781         (_G_uid_t): Likewise.
26782         (_G_wchar_t): Likewise.
26783         (_G_wint_t): Likewise.
26784
26785 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26786
26787         * malloc/arena.c: Include malloc-sysdep.h.
26788         (shrink_heap): Use check_may_shrink_heap to decide if madvise
26789         is sufficient to shrink the heap or an unmap is needed.
26790         * sysdeps/generic/malloc-sysdep.h: New file.  Define
26791         new function check_may_shrink_heap.
26792         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
26793         new function check_may_shrink_heap.
26794
26795 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26796
26797         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26798         comments.
26799
26800 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
26801
26802         * catgets/test-gencat.sh: Add "set -e".
26803         * elf/tst-pathopt.sh: Likewise.
26804         * grp/tst_fgetgrent.sh: Likewise.
26805         * iconvdata/run-iconv-test.sh: Likewise.
26806         * intl/tst-gettext.sh: Likewise.
26807         * intl/tst-gettext2.sh: Likewise.
26808         * intl/tst-gettext4.sh: Likewise.
26809         * intl/tst-gettext6.sh: Likewise.
26810         * intl/tst-translit.sh: Likewise.
26811         * io/ftwtest-sh: Likewise.
26812         * libio/test-freopen.sh: Likewise.
26813         * malloc/tst-mtrace.sh: Likewise.
26814         * posix/globtest.sh: Likewise.
26815         * posix/tst-getconf.sh: Likewise.
26816         * posix/wordexp-tst.sh: Likewise.
26817         * stdio-common/tst-printf.sh: Likewise.
26818         * stdio-common/tst-unbputc.sh: Likewise.
26819         * stdlib/tst-fmtmsg.sh: Likewise.
26820         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26821         * catgets/Makefile: Do not specify -e option when running
26822         testsuite shell scripts.
26823         * elf/Makefile: Likewise.
26824         * grp/Makefile: Likewise.
26825         * iconvdata/Makefile: Likewise.
26826         * intl/Makefile: Likewise.
26827         * io/Makefile: Likewise.
26828         * libio/Makefile: Likewise.
26829         * malloc/Makefile: Likewise.
26830         * posix/Makefile: Likewise.
26831         * stdio-common/Makefile: Likewise.
26832         * stdlib/Makefile: Likewise.
26833         * sysdeps/x86_64/Makefile: Likewise.
26834
26835         * io/ftwtest-sh: Add copyright header.
26836         * posix/globtest.sh: Likewise.
26837         * posix/tst-getconf.sh: Likewise.
26838         * posix/wordexp-tst.sh: Likewise.
26839         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26840
26841 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
26842
26843         [BZ #13679]
26844         * Makeconfig (+link): Defined as $(+link-static) if
26845         $(build-shared) isn't yes.
26846         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26847         isn't yes.
26848         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26849
26850         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26851
26852         [BZ #14562]
26853         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26854         new chunk size with MALLOC_ALIGN_MASK.
26855
26856 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
26857
26858         [BZ #5044]
26859         * stdio-common/printf_fphex.c: Include <stdbool.h> and
26860         <rounding-mode.h>.
26861         (__printf_fphex): Determine rounding using get_rounding_mode and
26862         round_away.
26863         * stdio-common/tst-printf-round.c (struct hex_test): New
26864         structure.
26865         (hex_tests): New variable.
26866         (test_hex_in_one_mode): New function.
26867         (do_test): Also run tests for hex float output.
26868
26869 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
26870
26871         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26872         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26873         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26874         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26875         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26876         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26877         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26878         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26879
26880 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
26881
26882         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26883         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26884         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26885         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26886
26887 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
26888
26889         [BZ #14579]
26890         * elf/rtld.c (dl_main): Limit the check for self loading to normal
26891         mode only.
26892         * elf/tst-rtld-load-self.sh: New test.
26893         * elf/Makefile: Run it.
26894
26895 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
26896
26897         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26898         (tst-writev-ENV): Remove.
26899         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26900
26901 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
26902
26903         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26904
26905 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
26906
26907         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26908         unconditional.
26909         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26910         Likewise.
26911         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26912         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26913         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26914         Likewise.
26915
26916 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
26917
26918         [BZ #14587]
26919         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26920         * config.make.in (have-cpp-asm-debuginfo): Removed.
26921         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26922         * configure: Regenerated.
26923
26924 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
26925
26926         [BZ #5044]
26927         * stdio-common/printf_fp.c: Include <stdbool.h> and
26928         <rounding-mode.h>.
26929         (___printf_fp): Determine rounding using get_rounding_mode and
26930         round_away.
26931         * stdio-common/tst-printf-round.c: New file.
26932         * stdio-common/Makefile (tests): Add tst-printf-round.
26933         (link-libm): New variable.
26934         ($(objpfx)tst-printf-round): Depend in $(link-libm).
26935
26936 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
26937
26938         [BZ #14576]
26939         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26940         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26941         Likewise.
26942         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26943         Likewise.
26944
26945 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
26946
26947         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26948         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26949         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26950         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26951
26952 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
26953
26954         [BZ #14518]
26955         * include/rounding-mode.h: New file.
26956         * sysdeps/generic/get-rounding-mode.h: Likewise.
26957         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26958         * stdlib/strtod_l.c: Include <rounding-mode.h>.
26959         (MAX_VALUE): New macro.
26960         (MIN_VALUE): Likewise.
26961         (overflow_value): New function.
26962         (underflow_value): Likewise.
26963         (round_and_return): Use overflow_value and underflow_value to
26964         determine return values in overflow and underflow cases.  Use
26965         round_away to determine rounding depending on rounding mode.
26966         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26967         determine return values in overflow and underflow cases.
26968         * stdlib/tst-strtod-round.c: Include <fenv.h>.
26969         (struct test_results): New structure.
26970         (struct test): Use struct test_results to store expected results
26971         for all rounding modes.
26972         (TEST): Include expected results for all rounding modes.
26973         (test_in_one_mode): New function.
26974         (do_test): Use test_in_one_mode to compute and check results.
26975         Check results for all rounding modes.
26976         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26977         $(link-libm).
26978
26979 2012-12-09  Allan McRae  <allan@archlinux.org>
26980
26981         * sysdeps/i386/fpu/libm-test-ulps: Update
26982
26983 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
26984
26985         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26986         (_G_int32_t): Likewise.
26987         (_G_uint16_t): Likewise.
26988         (_G_uint32_t): Likewise.
26989         (_G_HAVE_BOOL): Likewise.
26990         (_G_HAVE_ATEXIT): Likewise.
26991         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26992         (_G_HAVE_IO_FILE_OPEN): Likewise.
26993         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26994         (_G_int32_t): Likewise.
26995         (_G_uint16_t): Likewise.
26996         (_G_uint32_t): Likewise.
26997         (_G_HAVE_BOOL): Likewise.
26998         (_G_HAVE_ATEXIT): Likewise.
26999         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27000         (_G_HAVE_IO_FILE_OPEN): Likewise.
27001         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27002         (_G_int32_t): Likewise.
27003         (_G_uint16_t): Likewise.
27004         (_G_uint32_t): Likewise.
27005         (_G_HAVE_BOOL): Likewise.
27006         (_G_HAVE_ATEXIT): Likewise.
27007         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27008         (_G_HAVE_IO_FILE_OPEN): Likewise.
27009
27010 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27011
27012         * csu/libc-tls.c: Update copyright years.
27013
27014 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27015
27016         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27017         [!_G_USING_THUNKS]: Remove conditional code.
27018         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27019         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27020
27021         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27022         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27023         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27024         (_G_VTABLE_LABEL_PREFIX): Likewise.
27025         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27026         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27027         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27028         (_G_VTABLE_LABEL_PREFIX): Likewise.
27029         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27030         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27031         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27032         (_G_VTABLE_LABEL_PREFIX): Likewise.
27033         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27034
27035 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27036
27037         * libio/Makefile: Include ../Makeconfig before tests.
27038         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27039         only if $(build-shared) is yes.
27040
27041         * iconv/gconv_db.c: Update copyright years.
27042
27043 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27044
27045         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27046         unwind info if defined PIC. Fix special cases description.
27047         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27048
27049         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27050         DP_HI_MASK entry.
27051         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27052
27053 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27054
27055         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27056
27057         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27058         is NULL.
27059
27060         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27061         (LDLIBS-tst-chk4): This.
27062         (LDFLAGS-tst-chk5): Renamed to ...
27063         (LDLIBS-tst-chk5): This.
27064         (LDFLAGS-tst-chk6): Renamed to ...
27065         (LDLIBS-tst-chk6): This.
27066         (LDFLAGS-tst-lfschk4): Renamed to ...
27067         (LDLIBS-tst-lfschk4): This.
27068         (LDFLAGS-tst-lfschk5): Renamed to ...
27069         (LDLIBS-tst-lfschk5): This.
27070         (LDFLAGS-tst-lfschk6): Renamed to ...
27071         (LDLIBS-tst-lfschk6): This.
27072
27073         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27074         on $(common-objpfx)soversions.mk.
27075
27076 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27077
27078         [BZ #10014]
27079         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27080         example host name.
27081
27082 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27083
27084         * malloc/arena.c (arena_get_retry): New function that gets
27085         another arena for the caller to try its request on.
27086         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27087         current arena cannot fulfill the request.
27088         (__libc_memalign): Likewise.
27089         (__libc_memalign): Likewise.
27090         (__libc_pvalloc): Likewise.
27091         (__libc_calloc): Likewise.
27092
27093 2012-09-05  John Tobey  <john.tobey@gmail.com>
27094
27095         [BZ #13542]
27096         * manual/arith.texi (Operations on Complex): Fix description
27097         of carg branch cut.
27098
27099 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27100
27101         [BZ #10014]
27102         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27103         host name.
27104
27105         [BZ #10038]
27106         * manual/memory.texi (Memory): Make order of menu items match
27107         order of sections.
27108
27109 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27110
27111         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27112         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27113         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27114
27115 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27116
27117         * csu/libc-tls.c (static_dtv): Renamed to ...
27118         (_dl_static_dtv): This.  Make it global.
27119         (_dl_initial_dtv): Removed.
27120         (__libc_setup_tls): Updated.
27121         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27122         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27123         DL_INITIAL_DTV.
27124
27125 2012-09-06  Petr Machata  <pmachata@redhat.com>
27126
27127         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27128         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27129         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27130         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27131
27132 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27133
27134         [BZ #14545]
27135         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27136         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27137         freeing dtv[-1].
27138
27139 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27140
27141         [BZ #14544]
27142         * Makeconfig (link-static-before-libc): Replace $(+prector)
27143         with $(+prectorT).
27144         (link-static-after-libc): Replace $(+postctor) with
27145         $(+postctorT).
27146         (link-bounded): Replace $(+prector)/$(+postctor) with
27147         $(+prectorT)/$(+postctorT).
27148         (+prectorT): New macro.
27149         (+postctorT): Likewise.
27150
27151 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27152
27153         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27154         (round_str): Handle values above the maximum for IBM long double
27155         as inexact.
27156         * stdlib/tst-strtod-round.c (tests): Regenerated.
27157
27158 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27159
27160         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27161         assembler flag.
27162         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27163         zarch_nohighgprs around the zarch optimized routines.
27164         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27165         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27166         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27167         for zarch.
27168
27169 2012-09-05  David S. Miller  <davem@davemloft.net>
27170
27171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27172
27173         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27174         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27175         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27176         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27177         entries.
27178
27179 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27180
27181         * malloc/arena.c: Fold copyright years.
27182         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27183
27184 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27185
27186         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27187
27188 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27189
27190         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27191
27192 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27193
27194         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27195         change internal state upon failure.
27196
27197 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27198
27199         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27200         * malloc/memusage.c (mmap): Likewise.
27201         (mmap64, mremap): Likewise.  Adjust name in comment.
27202
27203 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27204
27205         * libio/fileops.c: Fix typos in comments.
27206         * libio/oldfileops.c: Likewise.
27207         * libio/wfileops.c: Likewise.
27208
27209 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27210
27211         [BZ #1349]
27212         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27213         (tst-malloc-usable-ENV): Set environment for test case.
27214         * malloc/hooks.c (malloc_check_get_size): New function to get
27215         requested size.
27216         * malloc/malloc.c (musable): Use malloc_check_get_size.
27217         * malloc/tst-malloc-usable.c: New test case.
27218
27219 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27220
27221         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27222
27223 2012-09-05  Allan McRae  <allan@archlinux.org>
27224
27225         [BZ #13966]
27226         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27227         determine header location.
27228         * configure: Regenerated.
27229
27230 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27231
27232         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27233         float format.
27234         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27235         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27236         format.
27237         (test): Regenerate.
27238
27239 2012-09-04  David S. Miller  <davem@davemloft.net>
27240
27241         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27242         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27243         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27244
27245 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27246
27247         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27248         failures.
27249
27250         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27251
27252 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27253
27254         [BZ #9914]
27255         * libio/iogetdelim.c: Include <limits.h>.
27256         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27257         + len + 1 would overflow.
27258
27259 2012-09-03  Andreas Jaeger  <aj@suse.de>
27260
27261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27262         * sysdeps/i386/fpu/libm-test-ulps: Update.
27263
27264 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27265
27266         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27267         Add s_sinf-sse2, s_conf-sse2.
27268
27269         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27270         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27271         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27272         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27273
27274         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27275         for using routine as __sinf_ia32.
27276         Use macro for function declaration and weak_alias.
27277         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27278         for using routine as __cosf_ia32.
27279         Use macro for function declaration and weak_alias.
27280
27281         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27282         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27283
27284         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27285         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27286         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27287
27288         * math/libm-test.inc (cos_test): Add more test cases.
27289         (sin_test): Likewise.
27290         (sincos_test): Likewise.
27291
27292 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27293
27294         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27295         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27296         hidden.
27297         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27298
27299 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27300
27301         [BZ #14538]
27302         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27303         first element of the GOT.
27304         (elf_machine_load_address): Return the difference between
27305         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27306
27307 2012-09-01  Allan McRae  <allan@archlinux.org>
27308
27309         [BZ #13412]
27310         * configure.in (AWK): Require gawk version 3.0 or later.
27311         * configure: Regenerated.
27312
27313 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27314
27315         * sysdeps/unix/sysv/linux/kernel-features.h
27316         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27317         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27318         [__NR_clock_getres]: Make code unconditional.
27319         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27320         (clock_getcpuclockid): Remove code left unreachable by removal of
27321         conditionals.
27322         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27323         code unconditional.
27324         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27325         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27326         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27327         Make code unconditional.
27328         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27329         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27330         * sysdeps/unix/sysv/linux/clock_settime.c
27331         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27332         conditional code.
27333         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27334         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27335
27336 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27337
27338         [BZ #14476]
27339         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27340         scripts/test-installation.pl.
27341
27342         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27343         and $ld_so_version if it is set.
27344
27345 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27346
27347         [BZ #14516]
27348         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27349         failure if reading from procfs failed.
27350         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27351
27352 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27353
27354         * sysdeps/unix/sysv/linux/kernel-features.h
27355         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27356         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27357         Remove conditional code.
27358         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27359         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27360         Remove conditional code.
27361         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27362         * sysdeps/unix/sysv/linux/i386/fxstat.c
27363         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27364         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27365         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27366         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27367         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27368         * sysdeps/unix/sysv/linux/i386/lxstat.c
27369         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27370         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27371         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27372         Remove conditional code.
27373         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27374         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27375         Remove conditional code.
27376         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27377         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27378         <kernel-features.h>.
27379         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27380         Remove.
27381         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27382         Remove conditional code.
27383         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27384         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27385         Remove conditional.
27386
27387 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27388
27389         [BZ #5400]
27390         * NEWS: Add fixed bug number.
27391
27392 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27393
27394         [BZ #14519]
27395         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27396         underflowing exponent in case of negative sign.
27397         * stdlib/tst-strtod-round-data: Add more tests.
27398         * stdlib/tst-strtod-round.c (tests): Regenerated.
27399
27400         [BZ #3479]
27401         * stdlib/strtod_l.c (NDIG): Remove.
27402         (HEXNDIG): Likewise.
27403         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27404         smallest representable value.
27405         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27406         lie within an exact representation of 1/2 ulp of the result.
27407         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27408         unconditionally.
27409         (TENS_P9_IDX): Define unconditionally.
27410         (TENS_P9_SIZE): Likewise.
27411         (TENS_P10_IDX): Likewise.
27412         (TENS_P10_SIZE): Likewise.
27413         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27414         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27415         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27416         entries for 10^2^13 and 10^2^14.
27417         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27418         (TENS_P13_IDX): Define.
27419         (TENS_P13_SIZE): Likewise.
27420         (TENS_P14_IDX): Likewise.
27421         (TENS_P14_SIZE): Likewise.
27422         (_fpioconst_pow10): Change array size to
27423         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27424         unconditional.
27425         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27426         1024]: Add entries for 10^2^13 and 10^2^14.
27427         [LAST_POW10 > _LAST_POW10]: Remove #error.
27428         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27429         (_fpioconst_pow10): Change array size to
27430         FPIOCONST_POW10_ARRAY_SIZE.
27431         * stdlib/gen-fpioconst.c: New file.
27432         * stdlib/gen-tst-strtod-round.c: Likewise.
27433         * stdlib/tst-strtod-round-data: Likewise.
27434         * stdlib/tst-strtod-round.c: Likewise.
27435         * stdlib/Makefile (tests): Add tst-strtod-round.
27436
27437         [BZ #14459]
27438         * stdlib/strtod_l.c: Include <stdint.h>.
27439         (NDEBUG): Do not define.
27440         (round_and_return): Change EXPONENT parameter to type intmax_t.
27441         Rearrange calculations to avoid internal overflow possibilities.
27442         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27443         Rearrange calculations to avoid internal overflow possibilities.
27444         Assert that number fits inside MPNSIZE limbs.
27445         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27446         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27447         calculations and add assertions to avoid internal overflow
27448         possibilities.  Add casts to avoid signed/unsigned operations.
27449         * stdlib/tst-strtod-overflow.c: New file.
27450         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27451
27452 2012-08-25  Marek Polacek  <polacek@redhat.com>
27453
27454         * time/time.h: Fix some typos in comments.
27455
27456 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27457
27458         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27459         * posix/tst-rfc3484-2.c: Likewise.
27460         * posix/tst-rfc3484-3.c: Likewise.
27461
27462 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27463
27464         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27465         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27466
27467 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27468
27469         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27470         #include of fxstatat64.c.
27471
27472 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27473
27474         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27475         * shadow/getspent_r.c: Likewise.
27476         * shadow/getspnam.c: Likewise.
27477         * shadow/getspnam_r.c: Likewise.
27478         * gshadow/getsgent.c: Likewise.
27479         * gshadow/getsgent_r.c: Likewise.
27480         * gshadow/getsgnam.c: Likewise.
27481         * gshadow/getsgnam_r.c: Likewise.
27482         * inet/getnetbyad.c: Likewise.
27483         * inet/getnetbyad_r.c: Likewise.
27484         * inet/getnetbynm.c: Likewise.
27485         * inet/getnetbynm_r.c: Likewise.
27486         * inet/getnetent.c: Likewise.
27487         * inet/getnetent_r.c: Likewise.
27488         * inet/getproto.c: Likewise.
27489         * inet/getproto_r.c: Likewise.
27490         * inet/getprtent.c: Likewise.
27491         * inet/getprtent_r.c: Likewise.
27492         * inet/getprtname.c: Likewise.
27493         * inet/getprtname_r.c: Likewise.
27494         * inet/getrpcbyname.c: Likewise.
27495         * inet/getrpcbyname_r.c: Likewise.
27496         * inet/getrpcbynumber.c: Likewise.
27497         * inet/getrpcbynumber_r.c: Likewise.
27498         * inet/getrpcent.c: Likewise.
27499         * inet/getrpcent_r.c: Likewise.
27500         * inet/getaliasent.c: Likewise.
27501         * inet/getaliasent_r.c: Likewise.
27502         * inet/getaliasname.c: Likewise.
27503         * inet/getaliasname_r.c: Likewise.
27504         * nscd/getgrgid_r.c: Likewise.
27505         * nscd/getgrnam_r.c: Likewise.
27506         * nscd/gethstbyad_r.c: Likewise.
27507         * nscd/gethstbynm3_r.c: Likewise.
27508         * nscd/getpwnam_r.c: Likewise.
27509         * nscd/getpwuid_r.c: Likewise.
27510         * nscd/getsrvbynm_r.c: Likewise.
27511         * nscd/getsrvbypt_r.c: Likewise.
27512         * nscd/gai.c: Likewise.
27513
27514         * configure.in (build_nscd): New substituted variable, set
27515         by --disable-build-nscd and defaults to $use_nscd.
27516         * configure: Regenerated.
27517         * config.make.in (build-nscd): New substituted variable.
27518         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27519         Change conditional to require [$(build-nscd) = yes] as well.
27520         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27521
27522         [BZ# 13696]
27523         * configure.in (use_nscd): New substituted variable, set by
27524         --disable-nscd.  If enabled, define USE_NSCD.
27525         * configure: Regenerated.
27526         * config.h.in: Add USE_NSCD.
27527         * config.make.in (use-nscd): New substituted variable.
27528         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27529         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27530         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27531         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27532         (CFLAGS-getgrnam_r.c): Likewise.
27533         (CFLAGS-initgroups.c): Likewise.
27534         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27535         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27536         Variables removed.
27537         * inet/getnetgrent_r.c
27538         (nscd_setnetgrent): New function, broken out of ...
27539         (setnetgrent): ... here.  Call it.
27540         (innetgr): Conditionalize nscd bits on [USE_NSCD].
27541         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27542         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27543         * nscd/Makefile (routines, aux): Move definitions after include of
27544         Makeconfig.  Conditionalize on [$(use-nscd) != no].
27545         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27546         Conditionalize on [USE_NSCD].
27547         (is_nscd, nscd_init_cb): Likewise.
27548         (nss_load_library): Conditionalize init callback on [USE_NSCD].
27549         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27550         * nss/nss_db/db-init.c: Likewise.
27551         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27552         [USE_NSCD].
27553         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27554         (make_request): Use it.
27555         (cache_valid_p): New function.
27556         (__check_pf): Use it.
27557         * NEWS: Add item for --disable-nscd.
27558
27559 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
27560
27561         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27562         to support sed >= 4.2.1-20-ga9bf076.
27563         * configure: Regenerated.
27564
27565 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27566
27567         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27568         Conditionalize whole body on [IREL].
27569
27570 2012-08-22  Jeff Law <law@redhat.com>
27571
27572         [BZ #14505]
27573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27574         if the family is PF_UNSPEC.
27575
27576 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
27577
27578         * Makerules (lib-version): Rename from V.
27579         (install-lib-nosubdir): Change V to lib-version.
27580
27581 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
27582
27583         [BZ #14252]
27584         * powerpc32/power6/wcschr.c: New file.
27585         * powerpc32/power6/wcscpy.c: New file.
27586         * powerpc32/power6/wcsrchr.c: New file.
27587         * powerpc64/power6/wcschr.c: New file.
27588         * powerpc64/power6/wcscpy.c: New file.
27589         * powerpc64/power6/wcsrchr.c: New file.
27590
27591 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27592
27593         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27594         (two_way_short_needle): Use it.
27595         * string/strstr.c (AVAILABLE1_USES_J): Define.
27596         * string/strcasestr.c: Likewise.
27597
27598         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27599         array references.
27600         * string/strcasestr.c (TOLOWER): Make side-effect safe.
27601
27602         [BZ #11607]
27603         * NEWS: Add an entry.
27604         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27605         define their defaults.
27606         (two_way_short_needle): Detect end-of-string on-the-fly.
27607         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27608         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27609         * string/bug-strcasestr1.c: New test.
27610         * string/Makefile: Run it.
27611
27612 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
27613
27614         [BZ #11607]
27615         * string/str-two-way.h (two_way_short_needle): Optimize matching of
27616         the first character.
27617
27618 2012-08-21  Roland McGrath  <roland@hack.frob.com>
27619
27620         * csu/elf-init.c (__libc_csu_irel): Function removed.
27621         * csu/libc-start.c (apply_irel): New function.
27622         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27623
27624 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
27625
27626         * sysdeps/unix/sysv/linux/kernel-features.h
27627         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27628         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27629         <kernel-features.h>.
27630         [__NR_fadvise64_64]: Make code unconditional.
27631         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27632         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27633         !__NR_fadvise64_64)]: Likewise.
27634         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27635         !__NR_fadvise64_64))]: Likewise.
27636         [__NR_fadvise64]: Make code unconditional.
27637         [!__NR_fadvise64]: Remove conditional code.
27638         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27639         <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/powerpc/powerpc32/posix_fadvise64.c: Do
27645         not 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.
27650         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27651         include <kernel-features.h>.
27652         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27653         unconditional.
27654         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27655         conditional code.
27656
27657 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27658
27659         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27660         slight instruction rearrangements per scrollpipe analysis.
27661         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27662
27663 2012-08-20  Roland McGrath  <roland@hack.frob.com>
27664
27665         * manual/syslog.texi (syslog; vsyslog, closelog):
27666         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27667         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27668
27669         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27670         DSOCAPS to match condition on defining it.
27671
27672 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
27673
27674         * sysdeps/unix/sysv/linux/kernel-features.h
27675         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27677         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27678         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27680         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27681         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27683         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27684         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27685
27686         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27687         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27688
27689         * sysdeps/unix/sysv/linux/kernel-features.h
27690         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27691         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27692         unconditional.
27693         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27694         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27695         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27696         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27697         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27698         Make code unconditional.
27699         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27700         (__mmap64) [!__NR_mmap2]: Likewise.
27701         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27702         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27703         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27704         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27705         [__NR_mmap2]: Make code unconditional.
27706         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27707         (__mmap64) [!__NR_mmap2]: Likewise.
27708
27709 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27710
27711         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27712
27713 2012-08-18  Andreas Jaeger  <aj@suse.de>
27714
27715         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27716
27717 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27718
27719         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27720         * include/unistd.h (__have_sock_cloexec): Likewise.
27721         (__have_pipe2): Likewise.
27722         (__have_dup3): Likewise.
27723
27724 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
27725
27726         [BZ #9685]
27727         * include/unistd.h (__have_pipe2): Change define into an extern int.
27728         (__have_dup3): Likewise.
27729         * socket/have_sock_cloexec.c: Include fcntl.h.
27730         (__have_pipe2): New variable.
27731         (__have_dup3): Likewise.
27732
27733 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
27734
27735         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27736
27737 2012-08-17  Marek Polacek  <polacek@redhat.com>
27738
27739         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27740         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27741
27742 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27743
27744         * configure.in: Add AC_SUBST for sysheaders.
27745         * configure: Regenerated.
27746         * config.make.in (sysheaders): New substituted variable.
27747
27748         * sysdeps/unix/mkfifo.c: Moved ...
27749         * sysdeps/posix/mkfifo.c: ... here.
27750         * sysdeps/unix/mkfifoat.c: Moved ...
27751         * sysdeps/posix/mkfifoat.c: ... here.
27752
27753         * sysdeps/unix/utime.c: Moved ...
27754         * sysdeps/posix/utime.c: ... here.
27755
27756         * sysdeps/unix/time.c: Moved ...
27757         * sysdeps/posix/time.c: ... here.
27758         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27759         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27760
27761         * sysdeps/unix/nice.c: Moved ...
27762         * sysdeps/posix/nice.c: ... here.
27763
27764         * sysdeps/unix/alarm.c: Moved ...
27765         * sysdeps/posix/alarm.c: ... here.
27766
27767         * intl/Makefile ($(codeset_mo)): Depend on the input file.
27768
27769 2012-08-17  Jeff Law <law@redhat.com>
27770
27771         * intl/Makefile (codeset_mo): New variable.
27772         ($(codeset_mo)): New target.
27773         (tst-codeset.out): Depend on that.  Remove explicit rule.
27774         (tst-gettext3.out, tst-gettext5.out): Likewise.
27775         (LOCPATH-ENV, tst-codeset-ENV): New variables.
27776         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27777         * intl/tst-codeset.sh: Remove.
27778         * intl/tst-gettext3.sh: Likewise.
27779         * intl/tst-gettext5.sh: Likewise.
27780
27781 2012-08-17  Roland McGrath  <roland@hack.frob.com>
27782
27783         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
27784         * sysdeps/unix/syscalls.list: ... here.
27785
27786         * sysdeps/posix/getaddrinfo.c
27787         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27788         (gaiconf_init, gaiconf_reload): Use them.
27789         [!_STATBUF_ST_NSEC]
27790         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27791         Define using time_t rather than struct timespec.
27792
27793         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27794         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27795         Macros removed.
27796         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27797         [!NO_THREADS].
27798         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27799         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27800         Likewise.
27801
27802         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27803         __libc_cleanup_push argument.
27804
27805         * bits/param.h: New file.
27806         * misc/sys/param.h: New file.
27807         * include/sys/param.h: New file.
27808         * misc/Makefile (headers): Add bits/param.h.
27809         * sysdeps/generic/sys/param.h: File removed.
27810         * sysdeps/unix/sysv/linux/bits/param.h: New file.
27811         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27812         * sysdeps/mach/hurd/bits/param.h: New file.
27813         * sysdeps/mach/hurd/sys/param.h: File removed.
27814
27815         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27816         last change.
27817
27818         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27819         [_IO_MTSAFE_IO].
27820         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27821         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27822         New macros.
27823
27824         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27825         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27826         rather than -D_IO_MTSAFE_IO conditionally.
27827         * stdio-common/Makefile (CPPFLAGS): Likewise.
27828         * wcsmbs/Makefile (CPPFLAGS): Likewise.
27829         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27830         Use $(libio-mtsafe).
27831         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27832         of -D_IO_MTSAFE_IO.
27833         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27834         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27835         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27836         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27837         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27838         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27839         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27840         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27841         (CFLAGS-fread_u_chk.c): Likewise.
27842         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27843         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27844         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27845         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27846         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27847         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27848         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27849         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27850         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27851
27852         * libio/Makefile: Test [$(libc-reentrant) = yes]
27853         instead of [$(filter %REENTRANT, $(defines)) nonempty].
27854
27855         * Makeconfig
27856         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27857         * sysdeps/pthread/configure: File removed.
27858         * sysdeps/pthread/Makeconfig: New file.
27859         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27860         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27861
27862 2012-08-16  Gary Benson  <gbenson@redhat.com>
27863
27864         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27865         unmapping the first object in a namespace.
27866
27867 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27868
27869         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27870         (__internal_setnetgrent): ... this.  Add internal_function to
27871         definition.  Add libc_hidden_def.
27872         (setnetgrent): Update caller.
27873         (internal_endnetgrent): Renamed to ...
27874         (__internal_endnetgrent): ... this.  Add internal_function to
27875         definition.  Add libc_hidden_def.
27876         (endnetgrent): Update caller.
27877         (internal_getnetgrent_r): Renamed to ...
27878         (__internal_getnetgrent_r): ... this.  Add internal_function to
27879         definition.  Add libc_hidden_def.
27880         (__getnetgrent_r): Update caller.
27881         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
27882
27883 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27884
27885         * stdlib/longlong.h: Update from GCC.
27886
27887 2012-08-16  Roland McGrath  <roland@hack.frob.com>
27888
27889         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27890         on _QL, which is set by umul_ppmm but never used.
27891         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27892         variables, which are set by GMP macros but never used.
27893         * stdio-common/_itowa.c (_itowa): Likewise.
27894         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27895         * stdlib/mod_1.c (mpn_mod_1): Likewise.
27896
27897 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
27898
27899         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27900         struct La_sh_regs is not constant.
27901         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27902         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27903         and struct La_sparc64_regs are not constant.
27904
27905 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
27906
27907         * sysdeps/unix/sysv/linux/kernel-features.h
27908         (__ASSUME_POSIX_TIMERS): Remove.
27909         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27910         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27911         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27912         Make code unconditional.
27913         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27914         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27915         Make code unconditional.
27916         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27917         * sysdeps/unix/sysv/linux/clock_nanosleep.c
27918         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27919         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27920         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27921         Make code unconditional.
27922         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27923         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27924         (__libc_missing_posix_timers): Remove.
27925
27926 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27927
27928         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27929         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27930
27931         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27932
27933         * elf/dl-sym.c: Include <stdlib.h>.
27934
27935         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27936         constants, which avoids warnings in 32-bit builds.
27937
27938         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27939         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27940
27941         * misc/lseek.c: File moved to ...
27942         * io/lseek.c: ... here.
27943
27944         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27945
27946         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27947         shifting LEN more than 31 bits at once.
27948
27949 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27950
27951         [BZ #14195]
27952         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27953         segmentation fault for a case of two empty input strings.
27954         * string/test-strncasecmp.c (check1): Renamed to...
27955         (bz12205): ...this.
27956         (bz14195): Add new testcase for two empty input strings and N > 0.
27957         (test_main): Call new testcase, adapt for renamed function.
27958
27959 2012-08-15  Andreas Jaeger  <aj@suse.de>
27960
27961         [BZ #14090]
27962         * crypt/md5test2.c: New test, based on test supplied by Serge
27963         Belyshev <belyshev@depni.sinp.msu.ru>.
27964         * crypt/Makefile (xtests): Add md5test-giant..
27965         * crypt/Makefile ($(objpfx)md5test-giant): Add.
27966
27967 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
27968
27969         [BZ #14090]
27970         * crypt/md5.c (md5_process_block): Don't assume the buffer
27971         length is less than 2**32.
27972         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27973         length is less than 2**64.
27974
27975 2012-08-15  Roland McGrath  <roland@hack.frob.com>
27976
27977         * string/str-two-way.h: Include <sys/param.h>.
27978         (MAX): Macro removed.
27979
27980         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27981         Move #define and #undef of memmove to just before and after
27982         including <string.h>.
27983
27984         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27985         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27986         and after including <string.h>.  Move declarations of
27987         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27988         to before #include "string/memmove.c".
27989
27990         * include/dirent.h: Declare __getdirentries.
27991
27992         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27993         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27994
27995 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
27996
27997         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27998         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27999         * sysdeps/i386/configure: Regenerated.
28000         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28001         STABS_CURRENT_FILE, and STABS_FUN.
28002         (END): Remove call to STABS_FUN_END.
28003         (STABS_CURRENT_FILE1): Delete.
28004         (STABS_CURRENT_FILE): Likewise.
28005         (STABS_FUN): Likewise.
28006         (STABS_FUN_END): Likewise.
28007         (STABS_FUN2): Likewise.
28008         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28009         * sysdeps/x86_64/configure: Regenerated.
28010
28011 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28012
28013         * elf/dl-open.c: Include <atomic.h>.
28014         * elf/dl-lookup.c: Likewise.
28015
28016 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28017
28018         * sysdeps/unix/sysv/linux/kernel-features.h
28019         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28020         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28021         unconditionally.
28022         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28023         unconditionally.
28024         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28025         condition on __ASSUME_CLONE_THREAD_FLAGS.
28026
28027 2012-08-14  Andreas Jaeger  <aj@suse.de>
28028
28029         * sysdeps/i386/fpu/libm-test-ulps: Update.
28030
28031 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28032
28033         * include/atomic.h (atomic_exchange_and_add): Split into ...
28034         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28035         New atomic macros.
28036
28037 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28038
28039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28040
28041 2012-08-13  Jeff Law <law@redhat.com>
28042
28043         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28044         null byte in the output string.
28045
28046 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28047
28048         * sysdeps/unix/sysv/linux/kernel-features.h
28049         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28050         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28051         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28052         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28053         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28054         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28055         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28056
28057 2012-08-09  Jeff Law <law@redhat.com>
28058
28059         [BZ #13939]
28060         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28061         When avoid_arena is set, don't retry in the that arena.  Pick the
28062         next one, whatever it might be.
28063         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28064         (arena_lock): Pass in new parameter to arena_get2.
28065         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28066         arena_get2.
28067         (__libc_malloc): Unify retrying after main arena failure with
28068         __libc_memalign version.
28069         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28070
28071 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28072
28073         [BZ #14166]
28074         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28075         to __redirect_strstr.
28076         (__strstr_sse42): Use typeof __redirect_strstr.
28077         (__strstr_ia32): Likewise.
28078         (__libc_strstr): New prototype.
28079         (strstr): Renamed to ...
28080         (__libc_strstr): This.
28081         (strstr): New strong alias of __libc_strstr.
28082         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28083         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28084         __redirect_time.
28085         Include <time.h>.
28086         (__libc_time): New prototype.
28087         (time_ifunc): Replace time with __libc_time.
28088         (time): New strong alias and hidden definition of __libc_time.
28089         (__GI_time): Remove strong alias.
28090         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28091         Include <stddef.h>.
28092         (memmove): Redefined to __redirect_memmove.
28093         (__memmove_sse2): Use typeof __redirect_memmove.
28094         (__memmove_ssse3): Likewise.
28095         (__memmove_ssse3_back): Likewise.
28096         (__libc_memmove): New prototype.
28097         (memmove): Renamed to ...
28098         (__libc_memmove): This.
28099         (memmove): New strong alias of __libc_memmove.
28100
28101 2012-08-08  Mark Salter  <msalter@redhat.com>
28102
28103         * elf/elf.h
28104         (R_MN10300_TLS_GD): Define.
28105         (R_MN10300_TLS_LD): Likewise.
28106         (R_MN10300_TLS_LDO): Likewise.
28107         (R_MN10300_TLS_GOTIE): Likewise.
28108         (R_MN10300_TLS_IE): Likewise.
28109         (R_MN10300_TLS_LE): Likewise.
28110         (R_MN10300_TLS_DTPMOD): Likewise.
28111         (R_MN10300_TLS_DTPOFF): Likewise.
28112         (R_MN10300_TLS_TPOFF): Likewise.
28113         (R_MN10300_SYM_DIFF): Likewise.
28114         (R_MN10300_ALIGN): Likewise.
28115         (R_MN10300_NUM): Update.
28116
28117 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28118
28119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28120         Remove.
28121
28122 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28123
28124         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28125
28126         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28127         sysdeps/unix -> sysdeps/posix move.
28128         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28129
28130 2012-08-07      Allan McRae     <allan@archlinux.org>
28131
28132         [BZ #14303]
28133         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28134         (SUNOS_CPP): Likewise.
28135         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28136         not found.
28137         (open_input): Call CPP using execvp.
28138
28139 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28140
28141         * sysdeps/unix/sysv/linux/kernel-features.h
28142         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28143         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28144         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28145         (__ASSUME_WAITID_SYSCALL): Likewise.
28146         * sysdeps/unix/sysv/linux/dl-execstack.c
28147         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28148         code unconditional.
28149         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28150         conditional code.
28151         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28152         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28153         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28154         code.
28155         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28156         unconditional.
28157         [__ASSUME_WAITID_SYSCALL]: Likewise.
28158         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28159
28160 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28161
28162         * sysdeps/unix/closedir.c: Renamed to ...
28163         * sysdeps/posix/closedir.c: ... here.
28164         * sysdeps/unix/dirfd.c: Renamed to ...
28165         * sysdeps/posix/dirfd.c: ... here.
28166         * sysdeps/unix/dirstream.h: Renamed to ...
28167         * sysdeps/posix/dirstream.h: ... here.
28168         * sysdeps/unix/fdopendir.c: Renamed to ...
28169         * sysdeps/posix/fdopendir.c: ... here.
28170         * sysdeps/unix/opendir.c: Renamed to ...
28171         * sysdeps/posix/opendir.c: ... here.
28172         * sysdeps/unix/readdir.c: Renamed to ...
28173         * sysdeps/posix/readdir.c: ... here.
28174         * sysdeps/unix/readdir_r.c: Renamed to ...
28175         * sysdeps/posix/readdir_r.c: ... here.
28176         * sysdeps/unix/rewinddir.c: Renamed to ...
28177         * sysdeps/posix/rewinddir.c: ... here.
28178         * sysdeps/unix/seekdir.c: Renamed to ...
28179         * sysdeps/posix/seekdir.c: ... here.
28180         * sysdeps/unix/telldir.c: Renamed to ...
28181         * sysdeps/posix/telldir.c: ... here.
28182         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28183         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28184         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28185         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28186
28187         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28188         * bits/fcntl.h: ... here.
28189
28190         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28191         not 0.
28192         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28193         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28194         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28195         (struct flock): Move l_start, l_len to the beginning.
28196         Use __pid_t for l_pid.
28197         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28198         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28199         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28200         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28201         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28202         [__USE_LARGEFILE64] (struct flock64): New type.
28203         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28204
28205         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28206         * bits/dirent.h: ... here.
28207
28208         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28209         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28210
28211 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28212
28213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28214         Change from 2.6.0 to 2.6.16.
28215         * sysdeps/unix/sysv/linux/configure: Regenerated.
28216         * sysdeps/unix/sysv/linux/kernel-features.h
28217         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28218         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28219         version.
28220         (__ASSUME_UTIMES): Likewise.
28221         (__ASSUME_CLONE_STOPPED): Remove.
28222         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28223         architectures, not kernel version.
28224         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28225         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28226         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28227         (__ASSUME_WAITID_SYSCALL): Likewise.
28228         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28229         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28230         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28231         refer to older versions.
28232
28233 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28234
28235         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28236         Define alphasort64 as an alias.
28237         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28238         Define versionsort64 as an alias.
28239         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28240         Define scandir64 as an alias.
28241         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28242         Define scandirat64 as an alias.
28243         * dirent/alphasort64.c (alphasort64):
28244         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28245         * dirent/versionsort64.c: Likewise.
28246         * dirent/scandir64.c: Likewise.
28247         * dirent/scandirat64.c: Likewise.
28248         * sysdeps/wordsize-64/alphasort.c: File removed.
28249         * sysdeps/wordsize-64/alphasort64.c: File removed.
28250         * sysdeps/wordsize-64/scandir.c: File removed.
28251         * sysdeps/wordsize-64/scandir64.c: File removed.
28252         * sysdeps/wordsize-64/scandirat.c: File removed.
28253         * sysdeps/wordsize-64/scandirat64.c: File removed.
28254         * sysdeps/wordsize-64/versionsort.c: File removed.
28255         * sysdeps/wordsize-64/versionsort64.c: File removed.
28256         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28257         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28258         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28259         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28260         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28261         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28262         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28263         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28264
28265         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28266         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28267         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28268         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28269         [defined __arch64__ || defined __sparcv9]
28270         (__INO_T_MATCHES_INO64_T): New macro.
28271         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28272         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28273         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28274         * sysdeps/unix/sysv/linux/bits/dirent.h
28275         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28276         (_DIRENT_MATCHES_DIRENT64): New macro.
28277
28278         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28279         Define lockf64 as an alias.
28280         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28281         Define fseeko64 as an alias.
28282         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28283         Define ftello64 as an alias.
28284         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28285         Define _IO_fgetpos64 and fgetpos64 as aliases.
28286         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28287         Define _IO_fsetpos64 and fsetpos64 as aliases.
28288         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28289         Conditionalize body on this.
28290         * libio/fseeko64.c: Likewise.
28291         * libio/ftello64.c: Likewise.
28292         * libio/iofgetpos64.c: Likewise.
28293         * libio/iofsetpos64.c: Likewise.
28294         * sysdeps/wordsize-64/lockf.c: File removed.
28295         * sysdeps/wordsize-64/lockf64.c: File removed.
28296         * sysdeps/wordsize-64/fseeko.c: File removed.
28297         * sysdeps/wordsize-64/fseeko64.c: File removed.
28298         * sysdeps/wordsize-64/ftello.c: File removed.
28299         * sysdeps/wordsize-64/ftello64.c: File removed.
28300         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28301         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28302         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28303         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28304         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28305         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28306         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28307         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28308         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28309         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28310         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28311         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28312         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28313         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28314
28315         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28316         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28317         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28318         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28319         [defined __arch64__ || defined __sparcv9]
28320         (__OFF_T_MATCHES_OFF64_T): New macro.
28321         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28322         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28324         (__OFF_T_MATCHES_OFF64_T): New macro.
28325
28326 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28327
28328         * stdlib/secure-getenv.c (__secure_getenv): Replace
28329         GLIBC_2_16 with GLIBC_2_17.
28330
28331 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28332
28333         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28334         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28335
28336 2012-08-03  David S. Miller  <davem@davemloft.net>
28337
28338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28339
28340 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28341
28342         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28343         Remove.
28344         (__ASSUME_CORRECT_SI_PID): Likewise.
28345         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28346         (__ASSUME_TMPFS_NAME): Likewise.
28347         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28348         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28349         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28350         (HAVE_AUX_SECURE): Make definition unconditional.
28351         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28352         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28353
28354 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28355
28356         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28357         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28358         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28359         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28360         __eloop_threshold instead of SYMLOOP_MAX.
28361
28362         * sysdeps/generic/eloop-threshold.h: New file.
28363         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28364         of MAXSYMLINKS.
28365         * elf/chroot_canon.c (chroot_canon): Likewise.
28366
28367 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28368
28369         [BZ #13717]
28370         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28371         Change to 2.6.0 everywhere.
28372         * sysdeps/unix/sysv/linux/configure: Regenerated.
28373         * sysdeps/unix/sysv/linux/kernel-features.h
28374         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28375         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28376         kernel versions.
28377         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28378         (__ASSUME_FUTEX_REQUEUE): Remove.
28379         (__ASSUME_STATFS64): Define unconditionally.
28380         (__ASSUME_AT_SECURE): Likewise.
28381         (__ASSUME_CORRECT_SI_PID): Likewise.
28382         (__ASSUME_TGKILL): Define without depending on kernel version for
28383         i386.
28384         (__ASSUME_UTIMES): Likewise.
28385         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28386         kernel version.
28387         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28388         (__ASSUME_TMPFS_NAME): Likewise.
28389         * README: Update reference to Linux kernel versions.
28390
28391 2012-08-02  Marek Polacek  <polacek@redhat.com>
28392
28393         [BZ# 14150]
28394         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28395         libc_cv_asm_type_prefix with %.
28396         * configure: Regenerated.
28397         * include/libc-symbols.h: Remove comment about
28398         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28399         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28400         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28401         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28402         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28403         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28404         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28405         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28406         * elf/tst-unique2mod1.c: Likewise.
28407         * elf/tst-unique1mod2.c: Likewise.
28408         * elf/tst-unique1mod1.c: Likewise.
28409         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28410         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28411         Replace ASM_TYPE_DIRECTIVE with .type.
28412         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28413         * sysdeps/i386/sysdep.h: Likewise.
28414         * sysdeps/x86_64/sysdep.h: Likewise.
28415         * sysdeps/sh/sysdep.h: Likewise.
28416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28417         Do not define ASM_TYPE_DIRECTIVE.
28418         * sysdeps/powerpc/sysdep.h: Likewise.
28419         * sysdeps/powerpc/powerpc32/sysdep.h:
28420         Replace ASM_TYPE_DIRECTIVE with .type.
28421         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28422         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28423         * sysdeps/i386/fpu/e_powf.S: Likewise.
28424         * sysdeps/i386/fpu/e_expl.S: Likewise.
28425         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28426         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28427         * sysdeps/i386/fpu/e_pow.S: Likewise.
28428         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28429         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28430         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28431         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28432         * sysdeps/i386/fpu/e_log2.S: Likewise.
28433         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28434         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28435         * sysdeps/i386/fpu/e_powl.S: Likewise.
28436         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28437         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28438         * sysdeps/i386/fpu/e_logl.S: Likewise.
28439         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28440         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28441         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28442         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28443         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28444         * sysdeps/i386/fpu/e_log.S: Likewise.
28445         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28446         * sysdeps/i386/fpu/e_logf.S: Likewise.
28447         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28448         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28449         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28450         * sysdeps/i386/fpu/e_log10.S: Likewise.
28451         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28452         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28453         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28454         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28455         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28456         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28457         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28458         * sysdeps/i386/i686/strtok.S: Likewise.
28459         * sysdeps/i386/i386-mcount.S: Likewise.
28460         * sysdeps/i386/strtok.S: Likewise.
28461         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28462         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28463         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28464         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28465         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28466         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28467         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28468         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28469         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28470         * sysdeps/x86_64/_mcount.S: Likewise.
28471         * sysdeps/x86_64/strtok.S: Likewise.
28472         * sysdeps/sh/_mcount.S: Likewise.
28473
28474 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28475
28476         * libio/iofopen.c: Include <fcntl.h>.
28477         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28478         (_IO_fopen64, fopen64): Define as aliases.
28479         * libio/iofopen64.c: Include <fcntl.h>.
28480         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28481         Conditionalize body on this.
28482         * sysdeps/wordsize-64/iofopen.c: File removed.
28483         * sysdeps/wordsize-64/iofopen64.c: File removed.
28484
28485 2012-08-01  Marek Polacek  <polacek@redhat.com>
28486
28487         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28488         Use dlfcn directly instead of a variable.
28489         (binfmt-subdir): Do not define.
28490         (dlfcn): Likewise.
28491
28492 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28493
28494         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28495         Remove all definitions.
28496         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28497         <kernel-features.h>.
28498         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28499         (miss_F_GETOWN_EX): Remove all definitions.
28500         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28501         macro definition.
28502         [!__ASSUME_FCNTL64]: Remove conditional code.
28503         [__ASSUME_FCNTL64]: Make code unconditional.
28504         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28505         <kernel-features.h>.
28506         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28507         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28508         (lockf64) [__NR_fcntl64]: Make code unconditional.
28509         (lockf64) [__ASSUME_FCNTL64]: Likewise.
28510
28511         * sysdeps/unix/sysv/linux/kernel-features.h
28512         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28513         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28514         Make code unconditional.
28515         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28516         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28518         [__NR_vfork]: Make code unconditional.
28519         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28520         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28522         [__NR_vfork]: Make code unconditional.
28523         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28524         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28525
28526 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28527
28528         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28529         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28530
28531         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28532         Define mkstemp64 as an alias.
28533         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28534         Define mkstemps64 as an alias.
28535         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28536         Define mkostemp64 as an alias.
28537         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28538         Define mkostemps64 as an alias.
28539         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28540         Conditionalize body on this.
28541         * misc/mkostemp64.c: Likewise.
28542         * misc/mkostemps64.c: Likewise.
28543         * misc/mkstemps64.c: Likewise.
28544         * sysdeps/wordsize-64/mkstemp64.c: File removed.
28545         * sysdeps/wordsize-64/mkostemp64.c: File removed.
28546         * sysdeps/wordsize-64/mkostemp.c: File removed.
28547         * sysdeps/wordsize-64/mkstemp.c: File removed.
28548         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28549         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28550         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28551         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28552
28553         [BZ #14138]
28554         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28555         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28556         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28557         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28558
28559         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28560         compat_symbol macros from <shlib-compat.h> rather than the underlying
28561         default_symbol_version and symbol_version macros, so that DEFAULT
28562         lines in shlib-versions are respected.
28563         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28564
28565 2012-08-01  Florian Weimer  <fweimer@redhat.com>
28566
28567         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28568         Declare with warn_unused_result.
28569         (setgid, setregid, setegid, setresgid): Likewise.
28570         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28571         Likewise.
28572         * WUR-REPORT: Remove set*id functions.
28573
28574 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
28575
28576         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28577
28578 2012-07-31  Roland McGrath  <roland@hack.frob.com>
28579
28580         [BZ #10191]
28581         * include/sys/socket.h (__libc_accept, __libc_accept4):
28582         Add attribute_hidden.
28583         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28584
28585         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28586         use of PTR_MANGLE.
28587         * inet/getnetgrent_r.c (setup): Likewise.
28588
28589         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28590
28591 2012-07-31  David S. Miller  <davem@davemloft.net>
28592
28593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28594
28595 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
28596
28597         [BZ #13629]
28598         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28599         value between 1.0 and 2.0 and smaller part has absolute value less
28600         than 1.0.
28601         * math/s_clog10.c (__clog10): Likewise.
28602         * math/s_clog10f.c (__clog10f): Likewise.
28603         * math/s_clog10l.c (__clog10l): Likewise.
28604         * math/s_clogf.c (__clogf): Likewise.
28605         * math/s_clogl.c (__clogl): Likewise.
28606         * math/libm-test.inc (clog_test): Add more tests.
28607         (clog10_test): Likewise.
28608         * sysdeps/i386/fpu/libm-test-ulps: Update.
28609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28610
28611 2012-07-31  Florian Weimer  <fweimer@redhat.com>
28612
28613         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28614         Exit with zero in case no suitable GID is found, and write a
28615         message to standard error.
28616
28617 2012-07-30  Roland McGrath  <roland@hack.frob.com>
28618
28619         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28620         rather than to 1.
28621         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28622         (MAXPATHLEN): Removed.
28623         (NOGROUP, NODEV): New macros.
28624         (setbit, clrbit, isset, isclr): New macros.
28625         (howmany, roundup, powerof2): New macros.
28626         (DEV_BSIZE): New macro.
28627
28628         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28629         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28630
28631         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28632         definition on [!__NO_LONG_DOUBLE_MATH].
28633
28634         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28635         PTR_MANGLE and PTR_DEMANGLE.
28636
28637         * socket/accept4.c (accept4): Rename to __libc_accept4.
28638         Define accept4 as a weak alias.
28639
28640         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28641         on [_DIRENT_HAVE_D_TYPE].
28642         * io/ftw.c (ftw_dir): Likewise.
28643
28644         * io/xmknod.c (__xmknod): Don't check PATH for being null.
28645
28646         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28647
28648         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28649         Use the BSD numbers rather than the arbitrary ones we had.
28650         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28651         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28652         (SIGXCPU, SIGXFSZ): New macros.
28653         (_NSIG): Now 32.
28654
28655         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28656         initializer on [_LIBC_REENTRANT].
28657
28658         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28659         definitions inside [_POSIX_MAPPED_FILES].
28660
28661         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28662
28663         * dirent/opendir.c: Include <fcntl.h>.
28664
28665         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28666         (__libc_getspecific): Likewise.
28667         (__libc_key_create): Likewise.
28668
28669         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28670         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28671         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28672         (tmpfile64): Define as alias.
28673         * sysdeps/wordsize-64/tmpfile.c: File removed.
28674         * sysdeps/wordsize-64/tmpfile64.c: File removed.
28675         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28676         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28677
28678         * stdio-common/vfscanf.c: Include <stdbool.h>.
28679         * nss/makedb.c: Likewise.
28680         * stdio-common/_i18n_number.h: Likewise.
28681         * argp/argp-help.c: Likewise.
28682         * posix/wordexp.c: Likewise.
28683         * sysdeps/posix/spawni.c: Likewise.
28684         * nss/nss_files/files-initgroups.c: Likewise.
28685         * stdio-common/reg-modifier.c: Include <stdlib.h>.
28686         * nss/nss_files/files-initgroups.c: Likewise.
28687         * nss/nss_db/db-netgrp.c: Likewise.
28688         * nss/nss_db/db-initgroups.c: Likewise.
28689         * io/fchmodat.c: Include <sys/stat.h>.
28690
28691         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28692         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28693
28694         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28695         [HAVE_MMAP].
28696
28697         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28698         Add multiple inclusion protection.
28699
28700 2012-07-27  David S. Miller  <davem@davemloft.net>
28701
28702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28703
28704 2012-07-27  Gary Benson  <gbenson@redhat.com>
28705
28706         [BZ #14298]
28707         * elf/rtld.c: Include <stap-probe.h>.
28708         (dl_main): Added static probes "init_start" and "init_complete".
28709         * elf/dl-load.c: Include <stap-probe.h>.
28710         (lose): Take new parameter "nsid".
28711         Added static probe "map_failed".
28712         (_dl_map_object_from_fd): Pass namespace id to lose.
28713         Added static probe "map_start".
28714         (open_verify): Pass namespace id to lose.
28715         * elf/dl-open.c: Include <stap-probe.h>.
28716         (dl_open_worker) Added static probes "map_complete", "reloc_start"
28717         and "reloc_complete".
28718         * elf/dl-close.c: Include <stap-probe.h>.
28719         (_dl_close_worker): Added static probes "unmap_start" and
28720         "unmap_complete".
28721         * elf/rtld-debugger-interface.txt: New file documenting the above.
28722
28723 2012-07-26  Roland McGrath  <roland@hack.frob.com>
28724
28725         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28726         rather than a string variable.
28727         * sunrpc/rpc_main.c (h_output): Likewise.
28728         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28729
28730 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
28731
28732         * inet/check_native.c: New file.
28733
28734 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
28735
28736         [BZ #13629]
28737         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28738         if larger part has absolute value 1.0.
28739         * math/s_clog10.c (__clog10): Likewise.
28740         * math/s_clog10f.c (__clog10f): Likewise.
28741         * math/s_clog10l.c (__clog10l): Likewise.
28742         * math/s_clogf.c (__clogf): Likewise.
28743         * math/s_clogl.c (__clogl): Likewise.
28744         * math/libm-test.inc (clog_test): Add more tests.
28745         (clog10_test): Likewise.
28746         * sysdeps/i386/fpu/libm-test-ulps: Update.
28747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28748
28749         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28750         (pltexit): Likewise.
28751         (La_regs): Likewise.
28752         (La_retval): Likewise.
28753         (int_retval): Likewise.
28754         Update #error for removed macros to refer only to definitions in
28755         tst-audit.h.
28756         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
28781         macro.
28782         (pltexit): Likewise.
28783         (La_regs): Likewise.
28784         (La_retval): Likewise.
28785         (int_retval): Likewise.
28786         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28787         macro.
28788         (pltexit): Likewise.
28789         (La_regs): Likewise.
28790         (La_retval): Likewise.
28791         (int_retval): Likewise.
28792         * sysdeps/generic/tst-audit.h: Update comment to refer only to
28793         macro definitions in tst-audit.h.
28794         * sysdeps/i386/tst-audit.h: New file.
28795         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28796         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28797         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28798         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28799         * sysdeps/sh/tst-audit.h: Likewise.
28800         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28801         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28802         * sysdeps/x86_64/tst-audit.h: Likewise.
28803
28804 2012-07-26  Andreas Jaeger  <aj@suse.de>
28805
28806         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28807         ptrace.
28808
28809         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28810         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28811         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28812         PTRACE_O_MASK.
28813         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28814         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28815         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28816
28817         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28818         value.
28819
28820         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28821         _sigsys.
28822         (si_call_addr, si_syscall, si_arch): Define new macro.
28823         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28824         _sigsys.
28825         (si_call_addr, si_syscall, si_arch): Define new marcro.
28826         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28827         _sigsys.
28828         (si_call_addr, si_syscall, si_arch): Define new macro.
28829         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28830         _sigsys.
28831         (si_call_addr, si_syscall, si_arch): Define new macro.
28832
28833 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28834
28835         [BZ #13717]
28836         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28837         Change to 2.4.21 where previously 2.4.1.
28838         * sysdeps/unix/sysv/linux/configure: Regenerated.
28839         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28840         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28841         Linux kernel version.
28842         (__ASSUME_STD_AUXV): Remove.
28843         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28844         kernel version.
28845         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28846         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28847         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28848         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28849         (__ASSUME_NETLINK_SUPPORT): Likewise.
28850         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28851         (__no_netlink_support): Remove conditional definition.
28852         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28853         Remove.
28854         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28855         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28856         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28857         (if_nameindex_ioctl): Remove.
28858         (if_nameindex_netlink): Do not handle __no_netlink_support.
28859         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28860         code.
28861         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28862         Remove conditional code.
28863         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28864         code.
28865         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28866         unconditional.
28867         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28868         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28869         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28870         Remove.
28871         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28872         [!__ASSUME_STD_AUXV]: Remove conditional code.
28873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28874         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28875         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28877         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28878         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28879         code.
28880         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28882         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28883         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28884         conditional code.
28885         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28887         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28888         code.
28889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28890         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28891         conditional code.
28892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28893         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28894         code unconditional.
28895         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28896         conditional code.
28897         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28898         unconditional.
28899         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28900         conditional code.
28901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28902         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28903         unconditional.
28904         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28905         conditional code.
28906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28907         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28908         code unconditional.
28909         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28910         conditional code.
28911         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28912         unconditional.
28913         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28914         conditional code.
28915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28916         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28917         code unconditional.
28918         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28919         conditional code.
28920         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28921         unconditional.
28922         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28923         conditional code.
28924
28925 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
28926
28927         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28928         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28929         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28930         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28931         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28932         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28933         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28934         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28935         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28936         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28937         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28938         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28939         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28940         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28941         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28942         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28943         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28944         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28945         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28946         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28947         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28948         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28949         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28950
28951 2012-07-25  Florian Weimer  <fweimer@redhat.com>
28952
28953         * Versions.def: Add GLIBC_2.17.
28954         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28955         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28956         Introduce __libc_secure_getenv.
28957         * stdlib/Versions (2.17): Add secure_getenv
28958         (GLIBC_PRIVATE): Add __libc_secure_getenv.
28959         * stdlib/secure-getenv.c: Rename __secure_getenv to
28960         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
28961         symbol __secure_getenv for GLIBC_2.0.
28962         * stdlib/tst-secure-getenv.c: New.
28963         * stdlib/Makefile (tests): Add testcase.
28964         * manual/startup.texi (Environment Access): Document
28965         secure_getenv.
28966         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28967         __libc_secure_getenv.
28968         * inet/ruserpass.c (ruserpass): Likewise.
28969         * malloc/mtrace.c (mtrace): Likewise.
28970         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28971         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28972         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28973         * sysdeps/posix/tempname.c: Likewise.  Evaluate
28974         HAVE_SECURE_GETENV.
28975         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28976         __secure_getenv to __libc_secure_getenv.
28977         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28979         Likewise.
28980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28981         Likewise.
28982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28984         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28989
28990 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
28991
28992         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28993         (struct La_i86_retval): Likewise.
28994         (struct La_x86_64_regs): Likewise.
28995         (struct La_x86_64_retval): Likewise.
28996         (struct La_x32_regs): Likewise.
28997         (struct La_x32_retval): Likewise.
28998         (struct La_ppc32_regs): Likewise.
28999         (struct La_ppc32_retval): Likewise.
29000         (struct La_ppc64_regs): Likewise.
29001         (struct La_ppc64_retval): Likewise.
29002         (struct La_sh_regs): Likewise.
29003         (struct La_sh_retval): Likewise.
29004         (struct La_s390_32_regs): Likewise.
29005         (struct La_s390_32_retval): Likewise.
29006         (struct La_s390_64_regs): Likewise.
29007         (struct La_s390_64_retval): Likewise.
29008         (struct La_sparc32_regs): Likewise.
29009         (struct La_sparc32_retval): Likewise.
29010         (struct La_sparc64_regs): Likewise.
29011         (struct La_sparc64_retval): Likewise.
29012         (struct audit_ifaces): Remove architecture-specific pltenter and
29013         pltexit members.
29014         * sysdeps/i386/ldsodefs.h: New file.
29015         * sysdeps/powerpc/ldsodefs.h: Likewise.
29016         * sysdeps/s390/ldsodefs.h: Likewise.
29017         * sysdeps/sh/ldsodefs.h: Likewise.
29018         * sysdeps/sparc/ldsodefs.h: Likewise.
29019         * sysdeps/x86_64/ldsodefs.h: Likewise.
29020
29021 2012-07-25  Marek Polacek  <polacek@redhat.com>
29022
29023         [BZ #6808]
29024         * math/libm-test.inc (yn_test): Add another test.
29025         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29026         to ERANGE when the result is +-Inf.
29027         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29028         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29029         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29030         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29031
29032 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29033
29034         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29035         equal to 0.
29036         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29037         clock_t.
29038         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29039
29040 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29041
29042         * configure.in <sysdeps resolving>: Correct printing
29043         Implies_before.
29044         * configure: Regenerate.
29045
29046 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29047
29048         * math/w_ilogb.c: Include <limits.h>.
29049         * math/w_ilogbl.c: Likewise.
29050
29051 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29052
29053         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29054         va_copy.  Document allowing for unavailable va_copy only as
29055         pre-C99 compatibility.
29056         * manual/string.texi (Copying and Concatenation): Use va_copy
29057         instead of __va_copy in concat example.
29058
29059 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29060
29061         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29062         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29063         it if not null.
29064
29065         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29066         with O_NOLINK passed to __file_name_lookup.
29067
29068         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29069         with O_NOLINK passed to __file_name_lookup.
29070
29071         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29072         negative N or less than NGIDS.
29073
29074         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29075         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29076         enough.  Use memcpy instead of strncpy.
29077
29078 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29079
29080         * elf/Makefile (check-data): Remove.
29081         (localplt.data): New vpath directive.
29082         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29083         instead of $(check-data).
29084         * scripts/data/localplt-generic.data: Move to ...
29085         * sysdeps/generic/localplt.data: ... here.
29086         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29087         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29088         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29090         ... here.
29091         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29093         ... here.
29094         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29096         ... here.
29097         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29099         ... here.
29100         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29102         ... here.
29103         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29104         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29105         ... here.
29106
29107 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29108
29109         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29110         PPC32 and PPC64 files.
29111         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29112         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29113
29114 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29115
29116         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29117         __makecontext_ret to ...
29118         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29119         ... here and call exit if uc_link is NULL.  New file.
29120         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29121         __makecontext_ret.S.
29122         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29123         __makecontext_ret to ...
29124         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29125         ... here and call exit if uc_link is NULL.  New file.
29126         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29127         __makecontext_ret.S.
29128
29129 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29130
29131         * elf/elf.h (R_390_IRELATIVE): New definition.
29132         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29133         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29134         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29135         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29136         (elf_machine_lazy_rel): Likewise.
29137         * sysdeps/s390/dl-irel.h: New file.
29138         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29139         * sysdeps/s390/s390-64/memset.S: New asm code.
29140         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29141         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29142         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29143         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29144         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29145         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29146         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29147         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29148         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29149         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29150         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29151         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29152         * sysdeps/s390/s390-32/memset.S: New asm code.
29153         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29154
29155 2012-07-17  Marek Polacek  <polacek@redhat.com>
29156
29157         [BZ #14349]
29158         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29159         * sysdeps/s390/s390-64/configure.in: Likewise.
29160         * sysdeps/sparc/configure.in: Likewise.
29161         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29162         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29163         * sysdeps/i386/configure.in: Likewise.
29164         * sysdeps/x86_64/configure.in: Likewise.
29165         * sysdeps/sh/configure.in: Likewise.
29166         * sysdeps/s390/s390-32/configure: Regenerated.
29167         * sysdeps/s390/s390-64/configure: Likewise.
29168         * sysdeps/x86_64/configure: Likewise.
29169         * sysdeps/sh/configure: Likewise.
29170         * sysdeps/powerpc/powerpc64/configure: Likewise.
29171         * sysdeps/powerpc/powerpc32/configure: Likewise.
29172         * sysdeps/sparc/configure: Likwise.
29173         * sysdeps/i386/configure: Likewise.
29174
29175         * elf/dl-open.c: Comment fixes.
29176
29177 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29178
29179         * Makefile [CXX] (check-data): Remove.
29180         [CXX] (c++-types.data): New vpath directive.
29181         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29182         vpath.  Do not allow for C++ type data being missing.
29183         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29184         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29185         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29186         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29187         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29188         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29189         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29191         ... here.
29192         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29194         ... here.
29195         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29197         ... here.
29198         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29200         ... here.
29201         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29203         ... here.
29204         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29206         ... here.
29207         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29209         ... here.
29210         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29212
29213         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29214         definitions to architecture-specific files.
29215         (TLS_IE): Likewise.
29216         (TLS_LD): Likewise.
29217         (TLS_GD): Likewise.
29218         * sysdeps/i386/tls-macros.h: New file.
29219         * sysdeps/powerpc/tls-macros.h: Likewise.
29220         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29221         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29222         * sysdeps/sh/tls-macros.h: Likewise.
29223         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29224         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29225         * sysdeps/x86_64/tls-macros.h: Likewise.
29226
29227 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29228
29229         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29230         zero value for regular exit case.
29231
29232         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29233         (__start_context): Preserve zero value for regular exit case.
29234
29235 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29236             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29237
29238         * manual/setjmp.texi (setcontext): Clarify normal process
29239         termination when uc_link is the null pointer.
29240         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29241         exit call.
29242
29243 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29244
29245         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29246         preprocessor.  Test for each exception mask separately.
29247
29248 2012-07-16  Andreas Jaeger  <aj@suse.de>
29249
29250         * po/ru.po: Update from translation team.
29251
29252 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29253
29254         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29255         equal to 0.
29256         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29257         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29258         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29259         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29260         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29261
29262 2012-07-13  Andreas Jaeger  <aj@suse.de>
29263
29264         * po/fr.po: Update from translation team.
29265
29266 2012-07-12  Marek Polacek  <polacek@redhat.com>
29267
29268         [BZ #14173]
29269         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29270         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29271         loop condition.
29272
29273 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29274
29275         [BZ #13717]
29276         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29277         Change to 2.4.1 where previously 2.4.0.
29278         * sysdeps/unix/sysv/linux/configure: Regenerated.
29279         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29280         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29281         version.
29282         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29283         (__ASSUME_AT_CLKTCK): Remove.
29284         (__ASSUME_AT_PAGESIZE): Likewise.
29285         (__ASSUME_AT_XID): Likewise.
29286         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29287         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29288         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29289         unconditionally.
29290         (HAVE_AUX_PAGESIZE): Likewise.
29291         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29292         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29293         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29294
29295 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29296
29297         [BZ #14307]
29298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29299         the temporary buffer used to invoke __gethostbyname2_r,
29300         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29301         host_data / struct gaih_addrtuple.
29302         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29303         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29304         header file nss/nsswitch.h.
29305         * nss/nsswitch.h (global scope): Add definition of implementation
29306         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29307         resolv/nss_dns/dns-host.c).
29308
29309 2012-07-11  Andreas Jaeger  <aj@suse.de>
29310
29311         * po/fr.po: Update from translation team.
29312
29313         * po/sv.po: Update from translation team
29314         * po/fr.po: Another update from translation team.
29315
29316 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29317
29318         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29319         for subnormals or multiply small sinh result by itself.
29320         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29322
29323 2012-07-11  David S. Miller  <davem@davemloft.net>
29324
29325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29326
29327 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29328
29329         [BZ #14347]
29330         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29331         (INTERNAL_MARK): Shift it here.
29332
29333 2012-07-10  Marek Polacek  <polacek@redhat.com>
29334
29335         [BZ #14151]
29336         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29337         libc_cv_asm_global_directive with .globl.
29338         * configure: Regenerated.
29339         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29340         with .globl.
29341         * sysdeps/i386/configure: Regenerated.
29342         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29343         with .globl.
29344         * sysdeps/x86_64/configure: Regenerated.
29345         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29346         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29347         * elf/tst-unique2mod2.c: Likewise.
29348         * elf/tst-unique2mod1.c: Likewise.
29349         * elf/tst-unique1mod2.c: Likewise.
29350         * elf/tst-unique1mod1.c: Likewise.
29351         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29352         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29353         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29354         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29355         * sysdeps/mach/sysdep.h: Likewise.
29356         * sysdeps/i386/sysdep.h: Likewise.
29357         * sysdeps/i386/i386-mcount.S: Likewise.
29358         * sysdeps/x86_64/_mcount.S: Likewise.
29359         * sysdeps/x86_64/sysdep.h: Likewise.
29360         * sysdeps/sh/_mcount.S: Likewise.
29361         * sysdeps/sh/sysdep.h: Likewise.
29362         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29363         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29364         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29365         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29366         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29367         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29368         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29369         * locale/localeinfo.h: Likewise.
29370         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29371         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29372
29373 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29374
29375         [BZ #14336]
29376         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29377         system".
29378         * manual/message.texi (The Uniforum approach): Likewise.
29379         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29380         (glibc iconv Implementation): Likewise.
29381
29382 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29383
29384         [BZ #14337]
29385         * math/s_clog.c (__clog): Avoid scaling a value down where that
29386         could result in underflow.
29387         * math/s_clog10.c (__clog10): Likewise.
29388         * math/s_clog10f.c (__clog10f): Likewise.
29389         * math/s_clog10l.c (__clog10l): Likewise.
29390         * math/s_clogf.c (__clogf): Likewise.
29391         * math/s_clogl.c (__clogl): Likewise.
29392         * math/libm-test.inc (clog_test): Add more tests.
29393         (clog10_test): Likewise.
29394         * sysdeps/i386/fpu/libm-test-ulps: Update.
29395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29396
29397 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29398
29399         [BZ #14283]
29400         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29401         by 7 not 8 to examine high bit of fractional part.
29402
29403         [BZ #14042]
29404         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29405         for call to __mcount_internal.
29406         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29407         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29408         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29409
29410 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29411
29412         [BZ #14154]
29413         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29414         approximation for values within 0x1p-13f of an odd multiple of
29415         pi/4.
29416         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29417         exception.  Add more tests.
29418         * sysdeps/i386/fpu/libm-test-ulps: Update.
29419
29420         [BZ #6778]
29421         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29422         inputs and return -1 for them.  Do not check for +Inf in case not
29423         reachable for +Inf.
29424         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29425         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29426         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29427         and return -1 for them.  Do not check for +Inf in case not
29428         reachable for +Inf.
29429         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29430         define.
29431         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29432         and return -1 for them.  Do not check for +Inf in case not
29433         reachable for +Inf.
29434         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29435         spurious underflow.
29436         * sysdeps/i386/fpu/libm-test-ulps: Update.
29437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29438
29439 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29440
29441         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29442
29443 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29444
29445         [BZ #14157]
29446         [BZ #14331]
29447         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29448         could result in spurious underflow.  Scale down values above
29449         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29450         * math/s_csqrtf.c (__csqrtf): Likewise.
29451         * math/s_csqrtl.c (__csqrtl): Likewise.
29452         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29453         spurious underflow.
29454         * sysdeps/i386/fpu/libm-test-ulps: Update.
29455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29456
29457 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29458
29459         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29460         xopen-msg.sed.
29461         * catgets/xopen-msg.awk: New file.
29462         * catgets/xopen-msg.sed: Removed.
29463
29464         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29465         po2text.sed.
29466         * intl/po2test.awk: New file.
29467         * intl/po2test.sed: Removed.
29468
29469 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29470
29471         [BZ #14328]
29472         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29473         or multiply small sinh result by itself.
29474         * math/s_ctanf.c (__ctanf): Likewise.
29475         * math/s_ctanh.c (__ctanh): Likewise.
29476         * math/s_ctanhf.c (__ctanhf): Likewise.
29477         * math/s_ctanhl.c (__ctanhl): Likewise.
29478         * math/s_ctanl.c (__ctanl): Likewise.
29479         * math/libm-test.inc (ctan_test_tonearest): New function.
29480         (ctan_test_towardzero): Likewise.
29481         (ctan_test_downward): Likewise.
29482         (ctan_test_upward): Likewise.
29483         (ctanh_test_tonearest): Likewise.
29484         (ctanh_test_towardzero): Likewise.
29485         (ctanh_test_downward): Likewise.
29486         (ctanh_test_upward): Likewise.
29487         (main): Call these new functions.
29488         * sysdeps/i386/fpu/libm-test-ulps: Update.
29489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29490
29491 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29492
29493         * .gitignore: Delete /ports entry.
29494
29495 2012-07-03  Andreas Jaeger  <aj@suse.de>
29496
29497         * po/bg.po: Update from translation team.
29498         * po/cs.po: Likewise.
29499         * po/de.po: Likewise.
29500         * po/hr.po: Likewise.
29501         * po/nl.pl: Likewise.
29502         * po/pl.po: Likewise.
29503         * po/vi.po: Likewise.
29504
29505 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
29506
29507         * Makeconfig [!+link] (+link-before-libc): New variable.
29508         [!+link] (+link-after-libc): Likewise.
29509         [!+link] (+link-tests): Likewise.
29510         [!+link] (+link): Define in terms of $(+link-before-libc) and
29511         $(+link-after-libc).
29512         [!+link-static] (+link-static-before-libc): New variable.
29513         [!+link-static] (+link-static-after-libc): Likewise.
29514         [!+link-static] (+link-static-tests): Likewise.
29515         [!+link-static] (+link-static): Define in terms of
29516         $(+link-static-before-libc) and $(+link-static-after-libc).
29517         [build-shared] (link-libc-before-gnulib): New variable.
29518         [build-shared] (link-libc-tests): Likewise.
29519         [build-shared] (link-libc): Define in terms of
29520         $(link-libc-before-gnulib).
29521         [!build-shared] (link-libc-tests): New variable.
29522         (link-libc-static-tests): New variable.
29523         [!gnulib] (gnulib-arch): New variable.
29524         [!gnulib] (gnulib-tests): Likewise.
29525         [!gnulib] (static-gnulib-arch): Likewise.
29526         [!gnulib] (static-gnulib-tests): Likewise.
29527         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
29528         Define with "=" instead of ":=".
29529         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
29530         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
29531         * Rules (binaries-all-notests): New variable.
29532         (binaries-all-tests): Likewise.
29533         (binaries-static-notests): Likewise.
29534         (binaries-static-tests): Likewise.
29535         (binaries-all): Define using $(binaries-all-notests) and
29536         $(binaries-all-tests).
29537         (binaries-static): Define using $(binaries-static-notests) and
29538         $(binaries-static-tests).
29539         (binaries-shared-tests): New variable.
29540         (binaries-shared-notests): Likewise.
29541         (binaries-shared): Remove variable.
29542         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29543         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29544         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29545         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29546         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29547         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29548         * elf/Makefile (sln-modules): New variable.
29549         (extra-objs): Add $(sln-modules:=.o).
29550         (ldconfig-modules): Add static-stubs.
29551         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29552         * elf/static-stubs.c: New file.
29553
29554         [BZ #14283]
29555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29556         by 7 not 8 to examine high bit of fractional part.  Use volatile
29557         variables when splitting into final array of floats if
29558         __FLT_EVAL_METHOD__ != 0.
29559         * math/libm-test.inc (cos_test): Add another test.
29560         (sin_test): Likewise.
29561         * sysdeps/i386/fpu/libm-test-ulps: Update.
29562
29563         [BZ #14273]
29564         * math/libm-test.inc (cosh_test): Add more tests.
29565
29566         * version.h (RELEASE): Set to "development".
29567         (VERSION): Set to "2.16.90".
29568
29569 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
29570
29571         * NEWS: Update copyright. Remove last-updated date.
29572         Mention math library bug fixes and timezone data changes.
29573         * README: Mention GNU/Hurd, x32, and HPPA support status.
29574
29575 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
29576
29577         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29578
29579 2012-06-27  Andreas Jaeger  <aj@suse.de>
29580
29581         * manual/contrib.texi (Contributors): Add Samuel Thibault.
29582
29583 2012-06-25  Andreas Jaeger  <aj@suse.de>
29584
29585         * sysdeps/s390/fpu/libm-test-ulps: Update.
29586
29587 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
29588             Thomas Schwinge  <thomas@codesourcery.com>
29589
29590         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29591         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29592         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29593         fanotify_mark.
29594
29595 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
29596
29597         * sysdeps/mach/start.c: Remove file.
29598         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29599         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29600         * sysdeps/sh/init-first.c: Likewise.
29601
29602         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29603         registers for frame unwinding purposes, add CFI directives.
29604         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29605         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29606         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29607         Likewise.
29608
29609         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29610         __fortify_fail returning.
29611         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29612
29613         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29614         sysdeps/sh/____longjmp_chk.S.
29615         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29616         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29617         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29618         (gen-as-const-headers): Append sigaltstack-offsets.sym.
29619
29620         * sysdeps/sh/abort-instr.h: New file.
29621         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29622         process in case exit returns.
29623
29624         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29625         initialize the GOT register before use.
29626
29627         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29628         calculation of ARGC > 4.
29629
29630         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29631         meaningful names to some local labels.
29632
29633 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
29634             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29635
29636         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29637         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29638         (__arch_compare_and_exchange_val_16_acq): Likewise.
29639         (__arch_compare_and_exchange_val_32_acq): Likewise.
29640         (atomic_exchange_and_add): Fix gUSA sequence.
29641         (atomic_add): Likewise.
29642         (atomic_add_negative): Likewise.
29643         (atomic_add_zero): Likewise.
29644         (atomic_bit_test_set): Likewise.
29645
29646 2012-06-22  Andreas Schwab  <schwab@redhat.com>
29647
29648         [BZ #13579]
29649         * include/link.h (struct link_map): Add l_free_initfini.
29650         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29651         l_initfini.
29652         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29653         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29654         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29655         set.
29656
29657 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
29658
29659         * configure.in: Use AC_LANG_SOURCE.
29660         * configure: Regenerate.
29661
29662 2012-06-22  Roland McGrath  <roland@hack.frob.com>
29663
29664         * configure.in (libc_cv_localstatedir): New substituted variable.
29665         * configure: Regenerated.
29666         * config.make.in (localstatedir): New variable, substituted from
29667         libc_cv_localstatedir.
29668         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29669         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29670         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29671         * sysdeps/gnu/configure: Regenerated.
29672
29673 2012-06-21  Jeff Law  <law@redhat.com>
29674
29675         [BZ #14277]
29676         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29677         free.  Simplify list management for _LIBC case.
29678
29679 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
29680
29681         [BZ #14273]
29682         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29683         Clear sign bit of 64-bit integer value before comparing against
29684         overflow value.
29685
29686         * sysdeps/mach/configure: Regenerated.
29687
29688 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
29689
29690         [BZ #14278]
29691         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29692
29693 2012-06-21  Jeff Law  <law@redhat.com>
29694
29695         [BZ #13882]
29696         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
29697         uint16_t for elements in the "seen" array to avoid char overflows.
29698         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29699         * elf/dl-open.c (dl_open_worker): Likewise.
29700
29701 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
29702
29703         * scripts/list-sources.sh: Scan PORTS for translations.
29704         * po/libc.pot: Regenerated.
29705
29706 2012-06-21  Andreas Jaeger  <aj@suse.de>
29707
29708         [BZ #12194]
29709         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29710         warning.
29711         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29712         * bits/byteswap-16.h (__bswap_16): Likewise.
29713         * bits/byteswap.h (__bswap_constant_16): Likewise.
29714
29715 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
29716
29717         [BZ #14117]
29718         * sysdeps/i386/fpu_control.h: Removed.
29719         * sysdeps/x86_64/fpu_control.h: Moved to ...
29720         * sysdeps/x86/fpu_control.h: Here.
29721
29722         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29723         (_FPU_SETCW): Likewise.
29724
29725 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
29726
29727         [BZ #14117]
29728         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29729         * sysdeps/x86/fpu/bits/mathinline.h: This.
29730         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29731
29732         [BZ #14050]
29733         [BZ #14117]
29734         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29735         functions if __x86_64__ is defined.
29736
29737 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
29738
29739         * string/endian.h: Add !__ASSEMBLER__ condition for including
29740         conversion interfaces.
29741
29742 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
29743
29744         [BZ #14241]
29745         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29746         of ABS(x) in calculating zero to negative powers other than odd
29747         integers.
29748         * math/libm-test.inc (pow_test): Add more tests.
29749
29750 2012-06-15  Andreas Jaeger  <aj@suse.de>
29751
29752         * manual/contrib.texi (Contributors): Update entry of Liubov
29753         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29754         Machado Filho.
29755
29756 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
29757
29758         * string/string.h: Add __wur to GNU version of strerror_r.
29759
29760 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
29761
29762         [BZ #14229]
29763         * string/Makefile (tests): Add tst-strtok_r.
29764         * string/tst-strtok_r.c: New file.
29765         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29766         RAX_LP/RDX_LP on SAVE_PTR.
29767
29768 2012-06-14  Roland McGrath  <roland@hack.frob.com>
29769
29770         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29771
29772 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
29773
29774         * libm_test.inc (csqrt_test): Allow more spurious underflow
29775         exceptions.
29776         (j0_test): Likewise.
29777         (j1_test): Likewise.
29778         (y0_test): Likewise.
29779         (y1_test): Likewise.
29780
29781 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
29782
29783         * po/Makefile (libc.pot): Use UTF-8 charset.
29784
29785 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
29786
29787         [BZ #14210]
29788         Suppress sign-conversion warning from FD_SET.
29789         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29790         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29791         not unsigned long int.
29792         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29793
29794 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
29795
29796         [BZ #14050]
29797         [BZ #14117]
29798         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29799         __extern_always_inline instead of __extern_inline.
29800         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29801         (__signbit): Likewise.
29802         (__signbitl): Support C++ namespace.
29803         (lrintf): New inline function.
29804         (lrint): Likewise.
29805         (llrintf): Likewise.
29806         (llrint): Likewise.
29807         (fmaxf): Likewise.
29808         (fmax): Likewise.
29809         (fminf): Likewise.
29810         (fmin): Likewise.
29811         (rint): Likewise.
29812         (rintf): Likewise.
29813         (ceil): Likewise.
29814         (ceilf): Likewise.
29815         (floor): Likewise.
29816         (floorf): Likewise.
29817         (nearbyint): Likewise.
29818         (nearbyintf): Likewise.
29819
29820 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
29821
29822         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29823         non-default versions.
29824
29825 2012-06-11  Roland McGrath  <roland@hack.frob.com>
29826
29827         [BZ #14218]
29828         * manual/argp.texi (Argp): Reword argp_parse description slightly.
29829
29830 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
29831
29832         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29833         (FE_UPWARD, FE_DOWNWARD): Don't define.
29834         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29835         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29836
29837         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29838         reading it.
29839         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29840         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29841
29842 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29843
29844         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29846         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29847         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29848
29849 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
29850
29851         [BZ #14117]
29852         * sysdeps/i386/fpu/bits/fenv.h: Removed.
29853         * sysdeps/i386/fpu/Implies: New file.
29854         * sysdeps/x86_64/fpu/Implies: Likewise.
29855         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29856         * sysdeps/x86/fpu/bits/fenv.h: This.
29857
29858         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29859         __SSE_MATH__.
29860
29861 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29862
29863         [BZ #14134]
29864         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29865         character 0xffff that matches the last element of the
29866         conversion table.
29867
29868 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29869
29870         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29871         fmodl commit.
29872
29873 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29874
29875         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29876         values higher than 25.6283.
29877
29878 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29879
29880         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29881         subnormal exponent extraction and add some __builtin_expect.
29882         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29883         Fix for subnormal mantissa calculation.
29884
29885 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
29886
29887         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29888         cpu2 is -1 and errno is not ENOSYS.
29889
29890 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
29891
29892         [BZ #14117]
29893         * sysdeps/i386/i486/bits/string.h: Renamed to ...
29894         * sysdeps/x86/bits/string.h: This.
29895         * sysdeps/x86_64/bits/string.h: Removed.
29896
29897         * sysdeps/i386/i486/bits/string.h: Define inline functions only
29898         if not compiling for x86-64, but compiling for >= i486.
29899
29900         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29901         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29902
29903         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29904         New macro from Linux kernel 3.4.0.
29905         (FP_XSTATE_MAGIC2): Likewise.
29906         (FP_XSTATE_MAGIC2_SIZE): Likewise.
29907         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29908         (struct _fpx_sw_bytes): New struct.
29909         (struct _xsave_hdr): Likewise.
29910         (struct _ymmh_state): Likewise.
29911         (struct _xstate): Likewise.
29912
29913         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29914         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29915         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29916         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29917         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29918         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29919
29920         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29921         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29922         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29923         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29924         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29925         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29926
29927 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29928
29929         [BZ #13743]
29930         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29931         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29932         (sysdep_headers): Include sys/platform/ppc.h.
29933         * sysdeps/powerpc/test-gettimebase.c: Test for
29934         __ppc_get_timebase() to catch future ISA opcode/insn changes.
29935         * manual/Makefile (appendices): Include platform.texi.
29936         * manual/contrib.texi (Contributors): Update @node pointers.
29937         * manual/maint.texi (Maintenance): Likewise.
29938         (Platform): New node.
29939         * manual/platform.texi: New file.  Document the new features.
29940
29941 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29942             Jakub Jelinek  <jakub@redhat.com>
29943
29944         [BZ #14188]
29945         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29946         where __builtin_expect is unavailable.
29947
29948 2012-06-03  David S. Miller  <davem@davemloft.net>
29949
29950         * stdlib/longlong.h: Updated from GCC.
29951
29952 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
29953
29954         [BZ #14042]
29955         * sysdeps/powerpc/powerpc32/mcount.c: New file.
29956         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29957         __mcount_internal.
29958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29959         (GLIBC_2.16): Likewise.
29960
29961 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29962
29963         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29964
29965 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
29966
29967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29968         (default-abi): New variable.
29969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29970         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29971         variable.
29972         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29973         Likewise.
29974         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29975         Likewise.
29976         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29977         Likewise.
29978
29979         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29980         definition.  Document in comment.
29981
29982 2012-06-01  David S. Miller  <davem@davemloft.net>
29983
29984         * stdlib/longlong.h: Updated from GCC.
29985
29986 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
29987
29988         [BZ #14117]
29989         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29990         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29991         sys/debugreg.h sys/io.h here.
29992         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29993         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29994         sys/io.h.
29995         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29996         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29997         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29998         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29999         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30000         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30001
30002         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30003         Define only if __x86_64__ is defined.
30004
30005 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30006
30007         [BZ #14048]
30008         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30009         Use int64_t for variable i.
30010         * math/libm-test.inc (fmod_test): Add more tests.
30011
30012         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30013         z computation is not scheduled after fetestexcept.
30014         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30015         Use math_force_eval instead of asm to ensure calculation scheduled
30016         before exception test.
30017         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30018         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30019
30020 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30021
30022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30023         computation is not scheduled after fetestexcept.
30024
30025 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30026
30027         [BZ #14117]
30028         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30029         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30030
30031 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30032
30033         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30034         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30035
30036 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30037
30038         [BZ #14117]
30039         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30040         <bits/wordsize.h>.
30041         (__WCHAR_MIN): Support __WORDSIZE == 64.
30042         (__WCHAR_MAX): Likewise.
30043
30044         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30045         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30046
30047         [BZ #14183]
30048         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30049         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30050
30051         [BZ #14117]
30052         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30053         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30054
30055         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30056         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30057
30058         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30059         Defined to 1 if __x86_64__ isn't defined.
30060         (_STAT_VER_LINUX_OLD): New.
30061         (st_atime): Remove duplicate.
30062         (st_mtime): Likewise.
30063         (st_ctime): Likewise.
30064
30065 2012-05-31  David S. Miller  <davem@davemloft.net>
30066
30067         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30068         entries.
30069
30070 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30071
30072         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30073         gen-libm-test.pl.
30074
30075         [BZ #14132]
30076         * elf/dl-reloc.c: Include <_itoa.h>.
30077         (_dl_reloc_bad_type): Remove use of INTUSE.
30078         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30079         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30080         * stdio-common/psiginfo.c (psiginfo): Likewise.
30081         * stdio-common/psignal.c (psignal): Likewise.
30082         * string/strsignal.c (strsignal): Likewise.
30083         * include/signal.h (_sys_siglist): Declare hidden proto.
30084         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30085         INTVARDEF with libc_hidden_data_def.
30086         * stdio-common/itoa-udigits.c: Likewise.
30087         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30088         (_itoa_lower_digits_internal): Remove declaration.
30089         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30090         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30091         (_sys_sigabbrev_internal): Remove aliases.
30092         (_sys_siglist): Define hidden alias.
30093
30094 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30095
30096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30097         bits/sysctl.h.
30098
30099 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30100
30101         [BZ #14117]
30102         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30103         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30104
30105         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30106         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30107         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30108         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30109         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30110         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30111
30112         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30113         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30114         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30115
30116         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30117         with __addr.
30118         (insw): Likewise.
30119         (insl): Likewise.
30120         (outsb): Likewise.
30121         (outsw): Likewise.
30122         (outsl): Likewise.
30123
30124         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30125         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30126         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30127
30128         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30129         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30130         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30131         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30132         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30133         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30134
30135         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30136         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30137
30138         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30139         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30140
30141         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30142         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30143         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30144
30145         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30146         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30147         to ...
30148         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30149
30150         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30151         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30152         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30153
30154         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30155         for x86-64.
30156         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30157
30158 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30159
30160         * math/math.h (M_El): Use two more decimal places.
30161         (M_LOG2El): Likewise.
30162         (M_LOG10El): Likewise.
30163         (M_LN2l): Likewise.
30164         (M_LN10l): Likewise.
30165         (M_PIl): Likewise.
30166         (M_PI_2l): Likewise.
30167         (M_PI_4l): Likewise.
30168         (M_1_PIl): Likewise.
30169         (M_2_PIl): Likewise.
30170         (M_2_SQRTPIl): Likewise.
30171         (M_SQRT2l): Likewise.
30172         (M_SQRT1_2l): Likewise.
30173
30174 2012-05-31  David S. Miller  <davem@davemloft.net>
30175
30176         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30177         values between float registers.
30178         * sysdeps/sparc/sparc64/memset.S: Likewise.
30179         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30180
30181 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30182
30183         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30184         -D_FORTIFY_SOURCE=1.
30185         (CPPFLAGS-tst-longjmp_chk.c): Define.
30186         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30187         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30188         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30189         CFLAGS-tst-wchar-h.c.
30190
30191 2012-05-31  Marek Polacek  <polacek@redhat.com>
30192
30193         [BZ #14132]
30194         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30195         __endmntent_internal): Remove declaration.
30196         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30197         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30198         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30199
30200 2012-05-30  David S. Miller  <davem@davemloft.net>
30201
30202         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30203         (___Q_simulate_exceptions): Use real FP ops rather than writing
30204         into the %fsr.
30205         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30206         Likewise.
30207
30208 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30209
30210         [BZ #14117]
30211         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30212         * sysdeps/x86/bits/xtitypes.h: This.
30213
30214         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30215         * sysdeps/x86/bits/wordsize.h: This.
30216
30217         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30218         * sysdeps/x86/bits/huge_vall.h: This.
30219
30220         * sysdeps/i386/bits/select.h: Removed.
30221         * sysdeps/x86_64/bits/select.h: Renamed to ...
30222         * sysdeps/x86/bits/select.h: This.
30223
30224         * sysdeps/i386/bits/setjmp.h: Removed.
30225         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30226         * sysdeps/x86/bits/setjmp.h: This.
30227
30228         * sysdeps/i386/bits/mathdef.h: Removed.
30229         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30230         * sysdeps/x86/bits/mathdef.h: This.
30231
30232 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30233
30234         [BZ #14132]
30235         * include/sys/socket.h (__connect_internal)
30236         (__libc_sa_len_internal): Remove declaration.
30237         (__connect, __libc_sa_len): Declare hidden_proto.
30238         (SA_LEN): Remove use of INTUSE.
30239         * socket/connect.c: Add libc_hidden_def.
30240         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30241         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30242         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30243         alias.
30244         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30245         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30246         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30247         of adding _internal alias.
30248
30249 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30250
30251         [BZ #14117]
30252         * sysdeps/i386/bits/link.h: Removed.
30253         * sysdeps/i386/bits/linkmap.h: Likewise.
30254         * sysdeps/x86_64/bits/link.h: Renamed to ...
30255         * sysdeps/x86/bits/link.h: This.
30256         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30257         * sysdeps/x86/bits/linkmap.h: This.
30258
30259         * sysdeps/i386/bits/endian.h: Removed.
30260         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30261         * sysdeps/x86/bits/endian.h: This.
30262
30263         * sysdeps/i386/bits/byteswap.h: Removed.
30264         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30265         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30266         * sysdeps/x86/bits/byteswap.h: This.
30267         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30268         * sysdeps/x86/bits/byteswap-16.h: This.
30269         * sysdeps/i386/Implies: Add x86.
30270         * sysdeps/x86_64/Implies: Likewise.
30271
30272 2012-05-30  David S. Miller  <davem@davemloft.net>
30273
30274         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30275         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30276         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30277         (FP_TRAPPING_EXCEPTIONS): Define.
30278         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30279         (FP_TRAPPING_EXCEPTIONS): Define.
30280         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30281         subnormals only when inexact has been signalled or underflow
30282         exceptions are enabled.
30283         (_FP_PACK_CANONICAL): Likewise.
30284
30285 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30286
30287         [BZ #14183]
30288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30289         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30290
30291 2012-05-30  Richard Henderson  <rth@twiddle.net>
30292
30293         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30294         with #ifndef NOT_IN_libc.
30295
30296         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30297         marked to avoid plt entry.
30298
30299 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30300
30301         [BZ #14112]
30302         * Makeconfig (default-abi): New macro.
30303         (abi-includes): Likewise.
30304         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30305         $(abi-$(default-abi)-lib-soname) for soname if defined.
30306         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30307         abi-variants.
30308         * Makefile (installed-stubs): Likewise.
30309         * include/stubs-biarch.h: Removed.
30310         * scripts/lib-names.awk: Only handle one library at a time.
30311         * scripts/soversions.awk: Remove WORDSIZE support.
30312         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30313         entries.
30314         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30315         Removed.
30316         (syscall-list-default-condition): Likewise.
30317         (syscall-list-default-condition): Likewise.
30318         (syscall-list-includes): Likewise.
30319         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30320         syscall-list-* with abi-*.  Handle undefined abi-variants.
30321         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30322         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30323         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30324         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30325         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30326         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30327         Removed.
30328         (syscall-list-32-options): Likewise.
30329         (syscall-list-32-condition): Likewise.
30330         (syscall-list-64-options): Likewise.
30331         (syscall-list-64-condition): Likewise.
30332         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30333         macro.
30334         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30335         Renamed to ...
30336         (abi-*): This.
30337         (abi-64-ld-soname): New macro.
30338         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30339         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30340         Renamed to ...
30341         (abi-*): This.
30342         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30343         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30344
30345 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30346
30347         * sysdeps/unix/sysv/linux/kernel-features.h
30348         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30349         * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
30367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30368         include <kernel-features.h>.
30369         [!__NR_ftruncate64]: Remove conditional code.
30370         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30371         [__NR_ftruncate64]: Make code unconditional.
30372         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30373
30374         * configure.in (libc_cv_fpie): Weaken to a compile test using
30375         LIBC_TRY_CC_OPTION.
30376         * configure: Regenerated.
30377
30378 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30379
30380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30384         Refreshed.
30385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30387         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30389         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30391         Refreshed.
30392
30393 2012-05-27  David S. Miller  <davem@davemloft.net>
30394
30395         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30396         (___Q_zero): New.
30397         (__Q_simulate_exceptions): Return void.  Change to simulate
30398         exceptions by writing into the %fsr.
30399         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30400         (__Qp_handle_exceptions): Likewise.
30401         (numbers): Delete.
30402         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30403         __Qp_handle_exceptions.
30404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30405         __Qp_handle_exceptions.
30406         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30407         as unused and give dummy FP_RND_NEAREST initializer.
30408         (FP_INHIBIT_RESULTS): Define.
30409         (___Q_simulate_exceptions): Update declaration.
30410         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30411         formatting.
30412         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30413         as unused and give dummy FP_RND_NEAREST initializer.
30414         (__Qp_handle_exceptions): Update declaration.
30415         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30416         formatting.
30417
30418 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30419
30420         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30421         the temporary FPU control word.
30422         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30423         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30424         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30425         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30426         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30427         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30428         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30429         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30430         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30431         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30432         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30433
30434 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30435
30436         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30437         fields.
30438
30439 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30440
30441         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30442         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30443         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30444         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30445         Likewise.
30446         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30447         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30448         Likewise.
30449
30450 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30451
30452         * po/h.po: Update from translation team.
30453
30454 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30455
30456         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30457
30458         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30459         handling of denormals.
30460         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30461         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30462         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30463         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30466         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30467         Likewise.
30468
30469 2012-05-26  Marek Polacek  <polacek@redhat.com>
30470
30471         [BZ #14152]
30472         * math/libm-test.inc (fma_test): Don't always expect underflow
30473         exception.
30474
30475 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30476
30477         [BZ #12416]
30478         * elf/tst-execstack.c: Include stackinfo.h.
30479         (do_test): Adjust test case to ensure that pthread_getattr_np
30480         behaviour remains the same after marking stack executable.
30481
30482 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30483
30484         * sysdeps/unix/sysv/linux/kernel-features.h
30485         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30486         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30487         kernel-features.h.
30488         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30489         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30490         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30491         kernel-features.h.
30492         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30493         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30494
30495 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30496
30497         * configure.in: Define the default includes to being none.
30498         * configure: Regenerated.
30499
30500 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30501
30502         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30503         * sysdeps/x86_64/setjmp.S: Likewise.
30504         * sysdeps/i386/bsd-setjmp.S: Likewise.
30505         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30506         * sysdeps/i386/setjmp.S: Likewise.
30507         * sysdeps/i386/__longjmp.S: Likewise.
30508         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30509         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30510
30511         * include/stap-probe.h: New file.
30512         * configure.in: Handle --enable-systemtap.
30513         * configure: Regenerated.
30514         * config.h.in (USE_STAP_PROBE): New #undef.
30515         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30516         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30517         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30518
30519 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30520
30521         [BZ #13717]
30522         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30523         to 2.4.0 where earlier.
30524         * sysdeps/unix/sysv/linux/configure: Regenerated.
30525         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30526         <kernel-features.h>.
30527         [__ASSUME_32BITUIDS]: Make code unconditional.
30528         [!__ASSUME_32BITUIDS]: Remove conditional code.
30529         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30530         <kernel-features.h>.
30531         [__ASSUME_32BITUIDS]: Make code unconditional.
30532         [!__ASSUME_32BITUIDS]: Remove conditional code.
30533         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30534         [__ASSUME_32BITUIDS]: Make code unconditional.
30535         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30536         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30537         <kernel-features.h>.
30538         [__ASSUME_32BITUIDS]: Make code unconditional.
30539         [!__ASSUME_32BITUIDS]: Remove conditional code.
30540         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30541         <kernel-features.h>.
30542         [__ASSUME_32BITUIDS]: Make code unconditional.
30543         [!__ASSUME_32BITUIDS]: Remove conditional code.
30544         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30545         <kernel-features.h>.
30546         [__ASSUME_32BITUIDS]: Make code unconditional.
30547         [!__ASSUME_32BITUIDS]: Remove conditional code.
30548         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30549         <kernel-features.h>.
30550         [__ASSUME_32BITUIDS]: Make code unconditional.
30551         [!__ASSUME_32BITUIDS]: Remove conditional code.
30552         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30553         <kernel-features.h>.
30554         [__ASSUME_32BITUIDS]: Make code unconditional.
30555         [!__ASSUME_32BITUIDS]: Remove conditional code.
30556         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30557         <kernel-features.h>.
30558         [__ASSUME_32BITUIDS]: Make code unconditional.
30559         [!__ASSUME_32BITUIDS]: Remove conditional code.
30560         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30561         <kernel-features.h>.
30562         [__ASSUME_32BITUIDS]: Make code unconditional.
30563         [!__ASSUME_32BITUIDS]: Remove conditional code.
30564         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30565         <kernel-features.h>.
30566         [__ASSUME_32BITUIDS]: Make code unconditional.
30567         [!__ASSUME_32BITUIDS]: Remove conditional code.
30568         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30569         <kernel-features.h>.
30570         [__ASSUME_32BITUIDS]: Make code unconditional.
30571         [!__ASSUME_32BITUIDS]: Remove conditional code.
30572         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30573         <kernel-features.h>.
30574         [__ASSUME_32BITUIDS]: Make code unconditional.
30575         [!__ASSUME_32BITUIDS]: Remove conditional code.
30576         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30577         <kernel-features.h>.
30578         [__NR_setresgid] (__setresgid): Do not declare.
30579         [__ASSUME_32BITUIDS]: Make code unconditional.
30580         [!__ASSUME_32BITUIDS]: Remove conditional code.
30581         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30582         <kernel-features.h>.
30583         [__NR_setresuid] (__setresuid): Do not declare.
30584         [__ASSUME_32BITUIDS]: Make code unconditional.
30585         [!__ASSUME_32BITUIDS]: Remove conditional code.
30586         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30587         <kernel-features.h>.
30588         [__ASSUME_32BITUIDS]: Make code unconditional.
30589         [!__ASSUME_32BITUIDS]: Remove conditional code.
30590         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30591         <kernel-features.h>.
30592         [__ASSUME_32BITUIDS]: Make code unconditional.
30593         [!__ASSUME_32BITUIDS]: Remove conditional code.
30594         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30595         <kernel-features.h>.
30596         [__ASSUME_32BITUIDS]: Make code unconditional.
30597         [!__ASSUME_32BITUIDS]: Remove conditional code.
30598         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30599         <kernel-features.h>.
30600         [__ASSUME_32BITUIDS]: Make code unconditional.
30601         [!__ASSUME_32BITUIDS]: Remove conditional code.
30602         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30603         <kernel-features.h>.
30604         [__ASSUME_32BITUIDS]: Make code unconditional.
30605         [!__ASSUME_32BITUIDS]: Remove conditional code.
30606         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30607         <kernel-features.h>.
30608         [__ASSUME_32BITUIDS]: Make code unconditional.
30609         [!__ASSUME_32BITUIDS]: Remove conditional code.
30610         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30611         <kernel-features.h>.
30612         [__ASSUME_32BITUIDS]: Make code unconditional.
30613         [!__ASSUME_32BITUIDS]: Remove conditional code.
30614         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30615         <kernel-features.h>.
30616         [__ASSUME_32BITUIDS]: Make code unconditional.
30617         [!__ASSUME_32BITUIDS]: Remove conditional code.
30618         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30619         <kernel-features.h>.
30620         [__ASSUME_32BITUIDS]: Make code unconditional.
30621         [!__ASSUME_32BITUIDS]: Remove conditional code.
30622         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30623         <kernel-features.h>.
30624         [__ASSUME_32BITUIDS]: Make code unconditional.
30625         [!__ASSUME_32BITUIDS]: Remove conditional code.
30626         * sysdeps/unix/sysv/linux/kernel-features.h
30627         (__ASSUME_SETRESUID_SYSCALL): Remove.
30628         (__ASSUME_SETRESGID_SYSCALL): Likewise.
30629         (__ASSUME_32BITUIDS): Likewise.
30630         (__ASSUME_LDT_WORKS): Likewise.
30631         (__ASSUME_O_DIRECTORY): Likewise.
30632         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30633         architecture but not kernel version.
30634         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30635         (__ASSUME_MMAP2_SYSCALL): Likewise.
30636         (__ASSUME_STAT64_SYSCALL): Likewise.
30637         (__ASSUME_IPC64): Likewise.
30638         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30639         <kernel-features.h>.
30640         [__ASSUME_32BITUIDS]: Make code unconditional.
30641         [!__ASSUME_32BITUIDS]: Remove conditional code.
30642         * sysdeps/unix/sysv/linux/opendir.c: Do not include
30643         <kernel-features.h>.
30644         [__ASSUME_O_DIRECTORY]: Make code unconditional.
30645         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30646         132096]: Remove conditional code.
30647         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30648         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30649         <kernel-features.h>.
30650         [__ASSUME_32BITUIDS]: Make code unconditional.
30651         [!__ASSUME_32BITUIDS]: Remove conditional code.
30652         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30653         <kernel-features.h>.
30654         [__ASSUME_32BITUIDS]: Make code unconditional.
30655         [!__ASSUME_32BITUIDS]: Remove conditional code.
30656         * sysdeps/unix/sysv/linux/setegid.c: Do not include
30657         <kernel-features.h>.
30658         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30659         unconditional.
30660         (__setresgid): Do not declare.
30661         [__ASSUME_32BITUIDS]: Make code unconditional.
30662         [!__ASSUME_32BITUIDS]: Remove conditional code.
30663         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30664         <kernel-features.h>.
30665         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30666         unconditional.
30667         (__setresuid): Do not declare.
30668         [__ASSUME_32BITUIDS]: Make code unconditional.
30669         [!__ASSUME_32BITUIDS]: Remove conditional code.
30670         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30671         <kernel-features.h>.
30672         [__ASSUME_32BITUIDS]: Make code unconditional.
30673         [!__ASSUME_32BITUIDS]: Remove conditional code.
30674         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30675         <kernel-features.h>.
30676         [__ASSUME_32BITUIDS]: Make code unconditional.
30677         [!__ASSUME_32BITUIDS]: Remove conditional code.
30678
30679 2012-05-25  Richard Henderson  <rth@twiddle.net>
30680
30681         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30682         dl_hwcap to ifunc resolver.
30683         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30684         elf_ifunc_invoke.
30685         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30686         dl_hwcap to ifunc resolver.
30687         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30688
30689 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30690
30691         [BZ #14153]
30692         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30693         for |x| <= 2**-26, not 2**-57.
30694         * math/libm-test.inc (acos_test): Do not allow spurious underflow
30695         exception.
30696
30697 2012-05-24  Jeff Law  <law@redhat.com>
30698
30699         * stdio-common/Makefile (tests): Add bug25.
30700         * stdio-common/bug25.c: New test.
30701
30702 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30703
30704         [BZ #13576]
30705         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30706         multiple of MALLOC_ALIGNMENT in size.
30707         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30708
30709 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
30710
30711         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30712         Require >= 256.
30713         (FILENAME_MAX): Use macro-int-constant.
30714         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
30715         (_IOFBF): Use macro-int-constant.
30716         (_IOLBF): Likewise.
30717         (_IONBF): Likewise.
30718         (SEEK_CUR): Likewise.
30719         (SEEK_END): Likewise.
30720         (SEEK_SET): Likewise.
30721         (TMP_MAX): Likewise.
30722         (EOF): Use macro-int-constant.  Require < 0.
30723         (NULL): Use macro-constant.  Require == 0.
30724         (stdin): Require type to be FILE *.
30725         (stdout): Likewise.
30726         (stderr): Likewise.
30727         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30728         macro-int-constant.
30729         (EXIT_SUCCESS): Likewise.
30730         (NULL): Use macro-constant.  Require == 0.
30731         (RAND_MAX): Use macro-int-constant.
30732         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30733         [C99-based standards] (strtof): Require function.
30734         [C99-based standards] (strtold): Likewise.
30735         [C99-based standards] (strtoll): Likewise.
30736         [C99-based standards] (strtoull): Likewise.
30737         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30738         [ISO || ISO99 || ISO11] (limits.h): Likewise.
30739         [ISO || ISO99 || ISO11] (math.h): Likewise.
30740         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30741         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30742         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30743
30744 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
30745
30746         [BZ #14132]
30747         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30748         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30749         * intl/dgettext.c (DCGETTEXT): Likewise.
30750         * intl/gettext.c (DCGETTEXT): Likewise.
30751         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30752         * posix/regex_internal.h (gettext): Likewise.
30753         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30754         Remove declaration.
30755         * include/argz.h (__argz_count_internal)
30756         (__argz_stringify_internal): Remove declaration.
30757         (__argz_count, __argz_stringify): Declare hidden proto.
30758         * intl/dcgettext.c: Remove use of INTDEF.
30759         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30760         * string/argz-stringify.c: Likewise.
30761         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30762         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30763         Declare hidden proto.
30764         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30765         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30766         Declare hidden proto.
30767         * include/stdio.h (__asprintf_internal): Don't declare.
30768         (__asprintf): Don't define as macro.  Declare hidden proto.
30769         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30770         (__fsetlocking): Declare hidden proto.
30771         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30772         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30773         hidden proto.
30774         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30775         (_IO_setlinebuf): Remove use of INTUSE.
30776         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30777         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30778         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30779         Remove declaration.
30780         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30781         (_IO_do_flush): Remove use of INTUSE.
30782         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30783         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30784         (_IO_adjust_column, _IO_least_wmarker)
30785         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30786         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30787         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30788         (_IO_default_doallocate, _IO_wdefault_doallocate)
30789         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30790         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30791         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30792         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30793         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30794         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30795         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30796         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30797         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30798         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30799         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30800         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30801         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30802         proto.
30803         (_IO_flush_all_internal, _IO_adjust_column_internal)
30804         (_IO_default_uflow_internal, _IO_default_finish_internal)
30805         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30806         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30807         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30808         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30809         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30810         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30811         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30812         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30813         (_IO_file_close_internal, _IO_file_close_it_internal)
30814         (_IO_file_underflow_internal, _IO_file_overflow_internal)
30815         (_IO_file_init_internal, _IO_file_attach_internal)
30816         (_IO_file_fopen_internal, _IO_file_read_internal)
30817         (_IO_file_sync_internal, _IO_file_seek_internal)
30818         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30819         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30820         (_IO_str_underflow_internal, _IO_str_overflow_internal)
30821         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30822         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30823         (_IO_list_all_internal, _IO_link_in_internal)
30824         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30825         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30826         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30827         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30828         (_IO_do_write_internal, _IO_padn_internal)
30829         (_IO_getline_info_internal, _IO_getline_internal)
30830         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30831         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30832         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30833         (_IO_vfscanf_internal, _IO_vfprintf_internal)
30834         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30835         (_IO_init_internal, _IO_un_link_internal): Don't declare.
30836         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30837         with libc_hidden_ver, remove use of INTUSE.
30838         * libio/genops.c: Likewise.
30839         * libio/freopen.c: Likewise.
30840         * libio/freopen64.c: Likewise.
30841         * libio/iofclose.c: Likewise.
30842         * libio/iofdopen.c: Likewise.
30843         * libio/iofflush.c: Likewise.
30844         * libio/iofflush_u.c: Likewise.
30845         * libio/iofgets.c: Likewise.
30846         * libio/iofgets_u.c: Likewise.
30847         * libio/iofopen.c: Likewise.
30848         * libio/iofopncook.c: Likewise.
30849         * libio/iofread.c: Likewise.
30850         * libio/iofread_u.c: Likewise.
30851         * libio/ioftell.c: Likewise.
30852         * libio/iofwrite.c: Likewise.
30853         * libio/iogetline.c: Likewise.
30854         * libio/iogets.c: Likewise.
30855         * libio/iogetwline.c: Likewise.
30856         * libio/iopadn.c: Likewise.
30857         * libio/iopopen.c: Likewise.
30858         * libio/ioseekoff.c: Likewise.
30859         * libio/ioseekpos.c: Likewise.
30860         * libio/iosetbuffer.c: Likewise.
30861         * libio/iosetvbuf.c: Likewise.
30862         * libio/ioungetc.c: Likewise.
30863         * libio/ioungetwc.c: Likewise.
30864         * libio/iovdprintf.c: Likewise.
30865         * libio/iovsprintf.c: Likewise.
30866         * libio/iovsscanf.c: Likewise.
30867         * libio/memstream.c: Likewise.
30868         * libio/obprintf.c: Likewise.
30869         * libio/oldfileops.c: Likewise.
30870         * libio/oldiofclose.c: Likewise.
30871         * libio/oldiofdopen.c: Likewise.
30872         * libio/oldiofopen.c: Likewise.
30873         * libio/oldiopopen.c: Likewise.
30874         * libio/oldstdfiles.c: Likewise.
30875         * libio/putc.c: Likewise.
30876         * libio/setbuf.c: Likewise.
30877         * libio/setlinebuf.c: Likewise.
30878         * libio/stdfiles.c: Likewise.
30879         * libio/strops.c: Likewise.
30880         * libio/vasprintf.c: Likewise.
30881         * libio/vscanf.c: Likewise.
30882         * libio/vsnprintf.c: Likewise.
30883         * libio/vswprintf.c: Likewise.
30884         * libio/wfiledoalloc.c: Likewise.
30885         * libio/wfileops.c: Likewise.
30886         * libio/wgenops.c: Likewise.
30887         * libio/wmemstream.c: Likewise.
30888         * libio/wstrops.c: Likewise.
30889         * libio/__fpurge.c: Likewise.
30890         * libio/__fsetlocking.c: Likewise.
30891         * assert/assert.c: Likewise.
30892         * debug/fgets_chk.c: Likewise.
30893         * debug/fgets_u_chk.c: Likewise.
30894         * debug/fread_chk.c: Likewise.
30895         * debug/fread_u_chk.c: Likewise.
30896         * debug/gets_chk.c: Likewise.
30897         * debug/obprintf_chk.c: Likewise.
30898         * debug/vasprintf_chk.c: Likewise.
30899         * debug/vdprintf_chk.c: Likewise.
30900         * debug/vsnprintf_chk.c: Likewise.
30901         * debug/vsprintf_chk.c: Likewise.
30902         * malloc/mtrace.c: Likewise.
30903         * misc/error.c: Likewise.
30904         * misc/syslog.c: Likewise.
30905         * stdio-common/asprintf.c: Likewise.
30906         * stdio-common/fxprintf.c: Likewise.
30907         * stdio-common/getw.c: Likewise.
30908         * stdio-common/isoc99_fscanf.c: Likewise.
30909         * stdio-common/isoc99_scanf.c: Likewise.
30910         * stdio-common/isoc99_vfscanf.c: Likewise.
30911         * stdio-common/isoc99_vscanf.c: Likewise.
30912         * stdio-common/isoc99_vsscanf.c: Likewise.
30913         * stdio-common/printf-prs.c: Likewise.
30914         * stdio-common/printf_fp.c: Likewise.
30915         * stdio-common/printf_fphex.c: Likewise.
30916         * stdio-common/printf_size.c: Likewise.
30917         * stdio-common/putw.c: Likewise.
30918         * stdio-common/scanf.c: Likewise.
30919         * stdio-common/sprintf.c: Likewise.
30920         * stdio-common/tmpfile.c: Likewise.
30921         * stdio-common/vfprintf.c: Likewise.
30922         * stdio-common/vfscanf.c: Likewise.
30923         * stdlib/strfmon_l.c: Likewise.
30924         * sunrpc/openchild.c: Likewise.
30925         * sunrpc/xdr_stdio.c: Likewise.
30926         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30927         * sysdeps/mach/hurd/tmpfile.c: Likewise.
30928
30929 2012-05-24  Roland McGrath  <roland@hack.frob.com>
30930
30931         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30932
30933         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30934         in the third column, to generate for the shared library an IFUNC
30935         that uses _dl_vdso_vsym.
30936         * Makerules (COMPILE.c, compile-stdin.c): New variables.
30937         * Makeconfig (object-suffixes-noshared): New variable.
30938
30939         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30940         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30941         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30942         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30943
30944         [BZ #14132]
30945         * include/sys/time.h (__gettimeofday): Remove macro.
30946         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30947         * time/gettimeofday.c (__gettimeofday): Remove #undef.
30948         Remove INTDEF.
30949         (__gettimeofday): Add libc_hidden_def.
30950         (gettimeofday): Add libc_hidden_weak.
30951         * sysdeps/mach/gettimeofday.c: Likewise.
30952         * sysdeps/posix/gettimeofday.c: Likewise.
30953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30954         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30955         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30956         (__gettimeofday_internal): Remove strong_alias.
30957         (__gettimeofday): Add libc_hidden_def.
30958         (gettimeofday): Add libc_hidden_weak.
30959         * sysdeps/unix/syscalls.list (gettimeofday):
30960         Remove __gettimeofday_internal alias.
30961
30962 2012-05-24  Daniel Jacobowitz  <drow@false.org>
30963             H.J. Lu  <hongjiu.lu@intel.com>
30964
30965         [BZ #12495]
30966         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30967         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30968         (largebin_index_32_big): New.
30969         (largebin_index): Use it for 16-byte alignment.
30970         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
30971         correction with front_misalign.
30972
30973 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
30974
30975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30977         Likewise.
30978         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30979         Likewise.
30980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30981         Likewise.
30982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30983         Likewise.
30984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30985         Likewise.
30986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30987         Likewise.
30988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30989         Likewise.
30990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30991         Likewise.
30992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30993         Likewise.
30994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30995         Likewise.
30996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30997         Likewise.
30998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30999         Likewise.
31000
31001         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31002         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31003
31004 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31005
31006         [BZ #10846]
31007         [BZ #14036]
31008         * math/libm-test.inc (exp_test): Add test from bug 14036.
31009         (pow_test): Add test from bug 10846.
31010
31011         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31012         and other flags.
31013         (special_function): Do not include flags in test name.
31014         (parse_args): Likewise.
31015         * sysdeps/i386/fpu/libm-test-ulps: Update.
31016         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31017         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31018         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31020
31021         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31022         exceptions.
31023         * math/libm-test.inc ("Philosophy"): Update comment about
31024         exception testing.
31025         (UNDERFLOW_EXCEPTION): New macro.
31026         (UNDERFLOW_EXCEPTION_OK): Likewise.
31027         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31028         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31029         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31030         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31031         (INVALID_EXCEPTION_OK): Update value.
31032         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31033         (OVERFLOW_EXCEPTION_OK): Likewise.
31034         (IGNORE_ZERO_INF_SIGN): Likewise.
31035         (test_exceptions): Handle underflow exceptions.
31036         (acos_test): Update for underflow exception expectations.
31037         (cexp_test): Likewise.
31038         (clog_test): Likewise.
31039         (clog10_test): Likewise.
31040         (csqrt_test): Likewise.
31041         (ctan_test): Likewise.
31042         (ctanh_test): Likewise.
31043         (exp_test): Likewise.
31044         (exp10_test): Likewise.
31045         (exp2_test): Likewise.
31046         (expm1_test): Likewise.
31047         (fma_test): Likewise.
31048         (j0_test): Likewise.
31049         (jn_test): Likewise.
31050         (nexttoward_test): Likewise.
31051         (pow_test): Likewise.
31052         (scalbn_test): Likewise.
31053         (scalbln_test): Likewise.
31054         (tan_test): Likewise.
31055         (y1_test): Likewise.
31056         * sysdeps/i386/fpu/libm-test-ulps: Update.
31057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31058
31059 2012-05-23  David S. Miller  <davem@davemloft.net>
31060
31061         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31062         (__libc_sigaction): Remove unused local variables.
31063
31064 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31065
31066         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31067
31068 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31069
31070         mktime: avoid signed integer overflow
31071         * time/mktime.c (__mktime_internal): Do not mishandle the case
31072         where diff == INT_MIN.
31073
31074         mktime: simplify computation of average
31075         * time/mktime.c (ranged_convert): Use new time_t_avg function
31076         instead of rolling our own (probably-slower) code.
31077
31078         mktime: do not assume signed right shift propagates sign bit
31079         * time/mktime.c (isdst_differ): New static function.
31080         (__mktime_internal): No need to normalize tm_isdst now.
31081         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31082         tm_isdst values.
31083
31084         mktime: merge another wrapv change from gnulib
31085         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31086         from some compilers.
31087
31088         mktime: remove incorrect attempt at unusual arithmetics
31089         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31090         The code didn't really work on such machines anyway.
31091         (TYPE_MINIMUM): Assume two's complement.
31092         (twos_complement_arithmetic): Verify that long_int and time_t
31093         are two's complement (or unsigned, in the latter case).
31094
31095         mktime: check signed shifts on long_int and time_t, too
31096         * time/mktime.c (SHR): Check that shifts work as desired
31097         on the types long_int and time_t too, as SHR is used on
31098         such types.
31099
31100         mktime: do not assume 'long' is wide enough
31101         * time/mktime.c (verify): Move decl up.
31102         (long_int): New type.
31103         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31104         to remove assumption in the code that 'long' is wide enough to
31105         store year values.  This assumption is not true on x32 and on
31106         some non-glibc platforms.
31107
31108         mktime: merge wrapv change from gnulib
31109         * time/mktime.c (WRAPV): New macro.
31110         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31111         (guess_time_tm, __mktime_internal): Do not assume that signed
31112         integer overflow wraps around; modern compilers generate code
31113         where this assumption is no longer valid.
31114
31115 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31116
31117         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31118         Replace "jmp L(pseudo_end)" with "ret".
31119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31120         Likewise.
31121
31122 2012-05-23  Andreas Jaeger  <aj@suse.de>
31123
31124         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31125         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31126
31127 2012-05-23  Andreas Jaeger  <aj@suse.de>
31128             Maximilian Attems  <max@stro.at>
31129
31130         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31131         New macros.
31132
31133 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31134
31135         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31136         code so that pseudo_end is just ret and the stack pointer is
31137         correct also for static library in error case.
31138
31139 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31140
31141         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31142         move to syscalls.list.
31143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31147
31148         * manual/install.texi (Running make install): Do not mention Linux
31149         kernel version for which pt_chown is not needed.
31150         (Linux): Do not mention problems with nscd with 2.0 kernels.
31151         * INSTALL: Regenerated.
31152
31153 2012-05-23  Andreas Jaeger  <aj@suse.de>
31154
31155         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31156         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31157         macro.
31158         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31159         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31160         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31161         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31162         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31163         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31164         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31165         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31166         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31167         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31168         * sysdeps/unix/sysv/linux/bits/in.h
31169         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31170
31171 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31172
31173         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31174         (PREPARE_VERSION): Just use assert instead, it will be elided
31175         under [NDEBUG] anyway.
31176
31177 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31178
31179         * sysdeps/unix/sysv/linux/Makefile: Include
31180         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31181         (sysdep_routines): Remove sysctl.
31182         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31183         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31184         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31185         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31186         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31187
31188 2012-05-22  Andreas Jaeger  <aj@suse.de>
31189
31190         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31191         that pseudo_end is just ret and the stack pointer is correct also
31192         for static library in error case.
31193
31194 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31195
31196         [BZ #14122]
31197         * nss/nsswitch.c (defconfig_entries): New variable.
31198         (__nss_database_lookup): Don't leak defconfig entries.
31199         (nss_parse_service_list): Don't leak on error paths.
31200         (free_database_entries): New function.
31201         (free_defconfig): New function.
31202         (free_mem): Move common code to free_database_entries.
31203
31204 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31205
31206         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31207         Add arch_prctl.
31208         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31209
31210         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31211         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31213         New macro.
31214         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31215         (INTERNAL_SYSCALL_TYPES): Likewise.
31216         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31217         (LOAD_REGS_TYPES_[1-6]): Likewise.
31218         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31219         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31220
31221 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31222
31223         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31224         copysignl for GLIBC_2_0.
31225         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31226         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31227         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31228         logbl for GLIBC_2_0.
31229         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31230         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31231
31232 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31233
31234         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31235         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31236
31237         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31238         Use "neg %eax".
31239
31240         * time/mktime.c: Update copyright years.
31241
31242 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31243
31244         mktime: merge comment-quoting-style change from gnulib
31245         * time/mktime.c: Quote 'like this' in comments.
31246         The GNU coding standards suggest that we no longer quote `like this',
31247         as "`" and "'" are typically rendered asymmetrically nowadays.
31248         The typical gnulib style is to quote 'like this' when quoting
31249         code, and "like this" when quoting English.
31250
31251         * time/mktime.c (compile-command): Add "-I.".
31252
31253         mktime: merge mktime-internal.h change from gnulib
31254         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31255
31256         mktime: merge time_r change from gnulib
31257         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31258
31259         mktime: merge DEBUG change from gnulib
31260         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31261         case system <time.h> has a #define.
31262
31263         mktime: merge <sys/types.h> change from gnulib
31264         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31265         since <time.t> is now guaranteed to define time_t.
31266
31267         mktime: merge HAVE_CONFIG_H change from gnulib
31268         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31269
31270 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31271
31272         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31273         Use "neg %eax".
31274
31275         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31276         __rlim_t cast.
31277         (struct rusage): Use anonymous union to pad each field to
31278         __syscall_slong_t.
31279
31280 2012-05-21  David S. Miller  <davem@davemloft.net>
31281
31282         * Makefules (o-iterator): Remove .s cases.
31283         (compile-command.s): Delete.
31284         (COMPILE.s): Delete.
31285         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31286
31287 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31288
31289         * configure.in (libc_cv_predef_stack_protector): Only consider
31290         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31291         * configure: Regenerated.
31292
31293 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31294
31295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31296         New macro.  Use R*LP on int and pointer.
31297         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31298         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31299         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31300         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31301
31302         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31303         [__WORDSIZE_TIME64_COMPAT32] instead of
31304         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31305         (struct utmp): Likewise.
31306         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31307         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31308         Renamed to ...
31309         (__WORDSIZE_TIME64_COMPAT32): This.
31310         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31311         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31312         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31313         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31314         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31315         (__WORDSIZE_TIME64_COMPAT32): New macro.
31316
31317 2012-05-21  Andreas Jaeger  <aj@suse.de>
31318
31319         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31320         only if [SHARED]. Add prototype for __wcschr_ia32.
31321
31322 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31323
31324         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31325         of %rbp unmolested in the jmp_buf while mangling the low bits.
31326         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31327         unmolested high bits of %rbp while demangling the low bits.
31328         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31329
31330 2012-05-21  Andreas Jaeger  <aj@suse.de>
31331
31332         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31333         * sunrpc/svc_simple.c: Use it for registerrpc.
31334         * sunrpc/xcrypt.c: Use it for passwd2des.
31335
31336         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31337
31338 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31339
31340         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31341         Don't define if [__SYSCALL_WORDSIZE != 32].
31342         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31343         New macro.
31344
31345 2012-05-21  Bruno Haible  <bruno@clisp.org>
31346             Andreas Jaeger  <aj@suse.de>
31347
31348         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31349         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31350         inptr and inend for must_buffer_ch.
31351         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31352         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31353         * stdio-common/Makefile (tests): Remove bug15.
31354         (bug15-ENV): Remove macro.
31355         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31356         anymore.
31357
31358 2012-05-19  Andreas Jaeger  <aj@suse.de>
31359             Roland McGrath  <roland@hack.frob.com>
31360
31361         * manual/contrib.texi: Completely rewritten. It contains now an
31362         alphabetical list of contributors and their contributions.
31363
31364 2012-05-21  Richard Henderson  <rth@twiddle.net>
31365
31366         * misc/getauxval.c (__getauxval): Use unsigned long int.
31367         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31368         (getauxval): Use unsigned long int.
31369
31370 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31371
31372         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31373
31374 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31375
31376         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31377         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31378         __alignof__ (long double).
31379
31380 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31381
31382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31383
31384 2012-05-20  Richard Henderson  <rth@twiddle.net>
31385
31386         * misc/getauxval.c: New file.
31387         * misc/sys/auxv.h: New file.
31388         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31389         (routines): Add getauxval.
31390         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31391         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31392         * elf/dl-sysdep.c (_dl_auxv): Remove.
31393         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31394         * elf/dl-support.c (_dl_auxv): New variable.
31395         (_dl_aux_init): Initialize it.
31396         * manual/startup.texi (Auxiliary Vector): New node.
31397         * sysdeps/generic/bits/hwcap.h: New file.
31398         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31399         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31400         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31401         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31402         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31403         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31405         Update.
31406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31409         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31410         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31414
31415 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31416
31417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31418
31419 2012-05-19  David S. Miller  <davem@davemloft.net>
31420
31421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31422
31423 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31424
31425         [BZ #14123]
31426         * math/s_ccosh.c: Include <float.h>
31427         (__ccosh): Avoid internal overflow calculating sinh and cosh
31428         values before multiplying by sin and cos values.
31429         * math/s_ccoshf.c: Likewise.
31430         * math/s_ccoshl.c: Likewise.
31431         * math/s_csin.c: Likewise.
31432         * math/s_csinf.c: Likewise.
31433         * math/s_csinl.c: Likewise.
31434         * math/s_csinh.c: Likewise.
31435         * math/s_csinhf.c: Likewise.
31436         * math/s_csinhl.c: Likewise.
31437         * math/libm-test.inc (ccos_test): Add more tests.
31438         (ccosh_test): Likewise.
31439         (csin_test): Likewise.
31440         (csinh_test): Likewise.
31441         * sysdeps/i386/fpu/libm-test-ulps: Update.
31442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31443
31444 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31445
31446         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31447         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31448
31449         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31450
31451 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31452
31453         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31454         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31455         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31456         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31457         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31458         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31459         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31460         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31461         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31462         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31463         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31464         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31465         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31466         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31467         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31468         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31469         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31470         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31471         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31472         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31473         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31474         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31475         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31476         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31477         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31478         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31479         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31480         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31481         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31482         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31483         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31484
31485 2012-05-18  Andreas Jaeger  <aj@suse.de>
31486
31487         * csu/.gitignore: Delete.
31488
31489 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31490
31491         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31492         (timex): Use __syscall_slong_t.
31493
31494 2012-05-18  Andreas Jaeger  <aj@suse.de>
31495             Carlos O'Donell  <carlos_odonell@mentor.com>
31496
31497         * manual/install.texi (Configuring and compiling): Update
31498         description about files modified in the source directory.
31499         * INSTALL: Regenerated.
31500
31501 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31502
31503         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31504         value.  Use "or" to set return value to -1.
31505         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31506         negate return value.
31507
31508 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31509
31510         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31511         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31512         failure if the compiler has Graphite support disabled.
31513         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31514         Likewise.
31515         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31516         (CFLAGS-memmove.c): Likewise.
31517         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31518         Likewise.
31519
31520 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31521
31522         * sysdeps/x86_64/x32/_itoa.h: New file.
31523
31524         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31525         getdents system call only if kernel and user dirents have the
31526         same d_ino and d_off.
31527
31528         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31529         LLONG_MAX != LONG_MAX.
31530         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31531         (_fitoa_word): Likewise.
31532
31533         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31534         years.
31535         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31537         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31538
31539         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31540         include <bits/wordsize.h>.  Check __x86_64__ instead of
31541         __WORDSIZE.
31542         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31543         if __x86_64__ is defined.  Use anonymous union on fpstate.
31544
31545         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31546         anonymous union.
31547
31548 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
31549
31550         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31551         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31552         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31553         Refer to _rtld_local_ro instead of _rtld_global_ro.
31554         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31555         Likewise.
31556         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31557         Likewise.
31558         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31559         Likewise.
31560         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31561         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31562         of _rtld_global, and rtld_progname instead of _dl_argv[0].
31563
31564         * sysdeps/powerpc/powerpc32/dl-machine.c
31565         (__elf_machine_runtime_setup) [PROF]: Don't reference
31566         _dl_prof_resolve.
31567
31568 2012-05-18  Andreas Jaeger  <aj@suse.de>
31569
31570         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31571         function only available for GCCs before 3.4 since GCC 3.4
31572         introduced a builtin.
31573         (lrint): Likewise.
31574         (llrintf): Likewise.
31575         (llrint): Likewise.
31576         (fmaxf): Likewise.
31577         (fmax): Likewise.
31578         (fminf): Likewise.
31579         (fmin): Likewise.
31580         (rint): Likewise.
31581         (rintf): Likewise.
31582         (nearbyint): Likewise.
31583         (nearbyintf): Likewise.
31584         (ceil): Likewise.
31585         (ceilf): Likewise.
31586         (floor): Likewise.
31587         (floorf): Likewise.
31588
31589 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31590
31591         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31592         on both fields and cast pointer to __syscall_ulong_t.
31593
31594         * bits/types.h (__fsword_t): New type.
31595         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31596         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31597         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31598         (__FSWORD_T_TYPE): Likewise.
31599         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31600         (__FSWORD_T_TYPE): Likewise.
31601         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31602         (__FSWORD_T_TYPE): Likewise.
31603         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31604         (__FSWORD_T_TYPE): Likewise.
31605         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31606         __SWORD_TYPE with __fsword_t.
31607         (statfs64): Likewise.
31608
31609 2012-05-17  David S. Miller  <davem@davemloft.net>
31610
31611         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31612
31613 2012-05-17  Andreas Jaeger  <aj@suse.de>
31614
31615         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31616         warning.
31617
31618 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31619
31620         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31621
31622 2012-05-17  Andreas Jaeger  <aj@suse.de>
31623
31624         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31625         when it is used.
31626
31627 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31628
31629         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31630
31631 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31632
31633         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31634         * sysdeps/x86_64/tst-mallocalign1.c: New file.
31635
31636 2012-05-17  Andreas Jaeger  <aj@suse.de>
31637             Carlos O'Donell  <carlos_odonell@mentor.com>
31638
31639         [BZ #14059]
31640         * sysdeps/x86_64/multiarch/init-arch.h
31641         (bit_YMM_Usable): Rename to...
31642         (bit_AVX_Usable): ... this.
31643         (bit_FMA4_Usable): New macro.
31644         (bit_XMM_state): New macro.
31645         (bit_YMM_state): New macro.
31646         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31647         [__ASSEMBLER__] (index_AVX_Usable): ... this.
31648         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31649         (CPUID_OSXSAVE): New macro.
31650         (CPUID_AVX): New macro.
31651         (CPUID_FMA4): New macro.
31652         (index_YMM_Usable): Rename to...
31653         (index_AVX_Usable): ... this.
31654         (HAS_AVX): Use HAS_ARCH_FEATURE.
31655         (HAS_FMA4): Likewise.
31656         (HAS_YMM_USABLE): Remove.
31657         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31658         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31659         are present.
31660         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31661         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31662         * sysdeps/x86_64/multiarch/Makefile: Likewise.
31663         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31664         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31665
31666 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
31667
31668         * math/libm-test.c: Support platforms without multiple rounding modes.
31669         * math/bug-nextafter.c: Support platforms without FP exceptions.
31670         * math/bug-nexttoward.c: Likewise.
31671         * math/test-fenv.c: Likewise.
31672         * math/test-misc.c: Likewise.
31673         * stdlib/bug-getcontext.c: Likewise.
31674
31675 2012-05-17  Andreas Jaeger  <aj@suse.de>
31676
31677         * manual/examples/search.c (critter_cmp): Change signature to
31678         avoid warnings.
31679         * manual/string.texi (Collation Functions): Likewise.
31680
31681 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31682
31683         * bits/types.h: Fold copyright years.
31684         * bits/typesizes.h: Likewise.
31685         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31687         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31688         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31689         * time/time.h: Likewise.
31690
31691 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
31692
31693         [BZ #208]
31694         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31695         in instead of returning them.  Return void.
31696         (__libc_mallinfo): Accumulate over all arenas.
31697         (__malloc_stats): Adjust for change in int_mallinfo interface.
31698
31699 2012-05-16  Roland McGrath  <roland@hack.frob.com>
31700
31701         [BZ #10375]
31702         * configure.in (NM): Add AC_CHECK_TOOL for it.
31703         (libc_extra_cflags): New substituted variable.
31704         Check for -fstack-protector being used implicitly.
31705         * configure: Regenerated.
31706         * config.make.in (config-extra-cflags): New variable,
31707         gets @libc_extra_cflags@.
31708         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31709
31710         [BZ #10375]
31711         * configure.in: Check for _FORTIFY_SOURCE being predefined.
31712         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31713         * configure: Regenerated.
31714         * config.make.in (CPPUNDEFS): New substituted variable.
31715         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31716         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31717         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31718
31719 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31720
31721         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31722         (mq_attr): Use __syscall_slong_t.
31723
31724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31725
31726         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31727         Check __x86_64__ instead of __WORDSIZE.
31728         (_STAT_VER_LINUX): Likewise.
31729         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
31730         __syscall_ulong_t and __syscall_slong_t.
31731         (stat64): Likewise.
31732
31733 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31734
31735         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31736
31737 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31738
31739         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31740
31741 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31742
31743         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31744         __syscall_ulong_t.
31745
31746         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31747         include <bits/wordsize.h>.  Check __x86_64__ instead of
31748         __WORDSIZE.
31749         (greg_t): Use "__extension__ long long int" if __x86_64__ is
31750         defined.
31751         (mcontext_t): Replace "unsigned long" with "unsigned long long".
31752
31753         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31754         include <bits/wordsize.h>.  Check __x86_64__ instead of
31755         __WORDSIZE.
31756         (user_regs_struct): Use "__extension__ unsigned long long"
31757         instead of "unsigned long" if __x86_64__ is defined.
31758         (user): Likewise.  Pad after pointer field if __ILP32__ is
31759         defined.
31760
31761 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
31762
31763         * configure.in (makeinfo): Require version 4.5 or later.  Allow
31764         versions 5 to 9.
31765         * configure: Regenerated.
31766         * manual/install.texi (texinfo): Increase version requirement to
31767         4.5 or later.
31768         * INSTALL: Regenerated.
31769
31770         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31771
31772 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31773
31774         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31775
31776         * sysdeps/x86_64/x32/ffs.c: New file.
31777
31778         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31779         __syscall_ulong_t.
31780         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31781         defined.  Use __syscall_ulong_t.
31782         (shminfo): Use __syscall_ulong_t.
31783         (shm_info): Likewise.
31784
31785         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31786         __syscall_ulong_t.
31787
31788         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31789         <bits/wordsize.h>.
31790         (msgqnum_t): Use __syscall_ulong_t.
31791         (msglen_t): Likewise.
31792         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
31793         __syscall_ulong_t.
31794
31795         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31796         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31797
31798         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31799
31800         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31801         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31802
31803         * sysvipc/sys/msg.h (msgbuf): Replace long int with
31804         __syscall_slong_t.
31805
31806         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31807         include <bits/wordsize.h>.  Check __x86_64__ instead of
31808         __WORDSIZE.
31809
31810         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31811         "unsigned long long int" if __x86_64__ is defined.
31812         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31813
31814         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31815         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31816         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31817
31818         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31819         <stdint.h>.
31820         (GET_PC): Cast to uintptr_t first.
31821         (GET_FRAME): Likewise.
31822         (GET_STACK): Likewise.
31823
31824         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31825         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31826         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31827         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31828         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31829         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31830         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31831         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31832         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31833         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31834         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31835         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31836         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31837         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31838         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31839         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31840         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31841         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31842         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31843         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31844         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31845         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31846         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31847         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31848         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31849         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31850         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31851         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31852         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31853
31854 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
31855
31856         * Makerules (+depfiles): Also collect depfiles from .oS in
31857         $(extra-objs).
31858         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31859         .oS, $(libnldbl-routines)).
31860
31861         * Makerules (native-compile-mkdep-flags): Define.
31862         * sunrpc/Makefile (extra-objs): Add $(addprefix
31863         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31864         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31865         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
31866         calling $(make-target-directory).
31867
31868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31869
31870         * bits/types.h (__snseconds_t): Removed.
31871         * time/time.h (struct timespec): Replace __snseconds_t with
31872         __syscall_slong_t.
31873         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31874         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31875         Likewise.
31876         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31877         (__SNSECONDS_T_TYPE): Likewise.
31878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31879         (__SNSECONDS_T_TYPE): Likewise.
31880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31881         (__SNSECONDS_T_TYPE): Likewise.
31882
31883 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31884
31885         * sysdeps/mach/hurd/bits/typesizes.h
31886         (__SYSCALL_SLONG_TYPE): New macro.
31887         (__SYSCALL_ULONG_TYPE): Likewise.
31888
31889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31890
31891         * bits/types.h (__syscall_slong_t): New type.
31892         (__syscall_ulong_t): Likewise.
31893
31894         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31895         (__SYSCALL_ULONG_TYPE): Likewise.
31896         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31897         (__SYSCALL_SLONG_TYPE): Likewise.
31898         (__SYSCALL_ULONG_TYPE): Likewise.
31899         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31900         (__SYSCALL_SLONG_TYPE): Likewise.
31901         (__SYSCALL_ULONG_TYPE): Likewise.
31902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31903         (__SYSCALL_SLONG_TYPE): Likewise.
31904         (__SYSCALL_ULONG_TYPE): Likewise.
31905
31906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31907
31908         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31909         Add sigaltstack-offsets.sym.
31910         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31911         <sigaltstack-offsets.h>.
31912         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
31913         longjmp_msg pointer.
31914         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
31915         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31916         signal stack.
31917         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31918
31919 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
31920
31921         * elf/stackguard-macros.h: Remove file.
31922         * sysdeps/generic/stackguard-macros.h: New file.
31923         * sysdeps/i386/stackguard-macros.h: Likewise.
31924         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31925         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31926         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31927         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31928         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31929         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31930         * sysdeps/x86_64/stackguard-macros.h: Likewise.
31931         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31932         <elf/stackguard-macros.h>.
31933
31934         [BZ #14109]
31935         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31936         __aligned__ in attribute.
31937         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31938         (gregset_t): Likewise.
31939
31940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31941
31942         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31943         * sysdeps/x86_64/64/Implies-after: Here.  New file.
31944         * sysdeps/x86_64/x32/Implies-after: New file.
31945
31946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31947
31948         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31949         and access return value for _dl_profile_fixup.  Use R10_LP to
31950         load frame size.
31951
31952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31953
31954         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31955
31956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31957
31958         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31959         * sysdeps/x86_64/x32/sysdep.h: New file.
31960
31961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
31962
31963         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31964         * sysdeps/x86_64/setjmp.S: Likewise.
31965
31966 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31967
31968         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31969         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31970         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31971         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31972         remove unused global constant.
31973
31974 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
31975
31976         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31977         include of <not-cancel.h>.
31978
31979 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31980
31981         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31982
31983 2012-05-15  Jeff Law  <law@redhat.com>
31984             Andreas Jaeger  <aj@suse.de>
31985
31986         [BZ #13594]
31987         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31988         out from...
31989         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31990         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31991         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31992         code changing __hst_map_handle.map.
31993
31994 2012-05-15  Roland McGrath  <roland@hack.frob.com>
31995
31996         * configure.in (sysnames): Look for Implies-before and Implies-after
31997         files.
31998         * configure: Regenerated.
31999
32000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32001
32002         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32003         8-byte data alignment with LP_SIZE alignment.
32004
32005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32006
32007         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32008         into R10_LP.
32009
32010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32011
32012         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32013
32014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32015
32016         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32017         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32018         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32019         Likewise.
32020         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32021
32022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32023
32024         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32025         (stackinfo_sub_sp): Likewise.
32026
32027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32028
32029         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32030         RAX_LP.
32031
32032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32033
32034         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32035         into R*_LP.
32036
32037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32038
32039         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32040         sizes into R*_LP.
32041
32042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32043
32044         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32045
32046 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32047
32048         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32049         into R11_LP and load __x86_64_shared_cache_size_half into
32050         R8_LP.
32051
32052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32053
32054         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32055         R8_LP.
32056
32057 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32058
32059         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32060         logb for POWER7.
32061         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32062         logbf for POWER7.
32063         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32064         logbl for POWER7.
32065         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32066         powerpc32/power7/fpu/s_logb.c via #include.
32067         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32068         powerpc32/power7/fpu/s_logbf.c via #include.
32069         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32070         powerpc32/power7/fpu/s_logbl.c via #include.
32071
32072 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32073
32074         * README.libm: Remove file.
32075
32076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32077
32078         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32079         count for x32.  Use R*_LP and omit operand-size suffix.
32080
32081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32082
32083         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32084         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32085         * sysdeps/x86_64/x32/shlib-versions: New file.
32086
32087 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32088
32089         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32090         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32091         Use _dl_fatal_printf instead.
32092
32093 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32094
32095         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32096         set if not set by the user.  Do not allow for being unset.
32097         * sysdeps/unix/sysv/linux/configure: Regenerated.
32098
32099 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32100
32101         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32102         the `q' suffix from lea and replace .quad with ASM_ADDR.
32103
32104 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32105
32106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32107         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32108         instead of $17.
32109         (PTR_DEMANGLE): Likewise.
32110
32111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32112
32113         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32114         (LP_OP): Likewise.
32115         (ASM_ADDR): Likewise.
32116         (RAX_LP): Likewise.
32117         (RBP_LP): Likewise.
32118         (RBX_LP): Likewise.
32119         (RCX_LP): Likewise.
32120         (RDI_LP): Likewise.
32121         (RSI_LP): Likewise.
32122         (RSP_LP): Likewise.
32123         (R8_LP): Likewise.
32124         (R9_LP): Likewise.
32125         (R10_LP): Likewise.
32126         (R10_LP): Likewise.
32127         (R11_LP): Likewise.
32128         (R12_LP): Likewise.
32129         (R13_LP): Likewise.
32130         (R14_LP): Likewise.
32131         (R15_LP): Likewise.
32132
32133 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32134
32135         * sysdeps/x86_64/x32/dl-machine.h: New file.
32136
32137 2012-05-14  Andreas Jaeger  <aj@suse.de>
32138
32139         * manual/Makefile (subdir): Remove export of subdir.
32140         (all): Remove target.
32141         (.PHONY): Remove all from list.
32142         (mkinstalldirs): Remove.
32143         (.PHONY): Remove installdirs from list.
32144         ($(inst_infodir)/libc.info): Use make-target-directory.
32145         (installdirs): Remove.
32146         (subdir_%): Remove.
32147         (glibc-targets): Remove.
32148         (lib): Remove.
32149         (stubs): Remove.
32150         ($(objpfx)stubs ../po/manual.pot): Remove.
32151         ($(objpfx)stamp%): Remove.
32152         (make-target-directory): Remove.
32153         (subdir_install): Remove.
32154         (routines): Remove.
32155         (aux): Remove.
32156         (sources): Remove.
32157         (objects): Remove.
32158         (headers): Remove.
32159
32160         [BZ #13750]
32161         * manual/.gitignore: Remove, it's not needed anymore.
32162         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32163         all files in it.
32164         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32165         directory.
32166         (texis): Renamed to $(objpfx)texis.
32167         (texis-path): New, contains path to generated files.
32168         (chapters.%): Use texis-path for complete path, add extra argument
32169         libc-texinfo.sh.
32170         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32171         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32172         (summary,texi, stamp-summary): Use complete path of
32173         files. Generate files in build dir.
32174         (dir-add.texi): Build in build dir.
32175         (libm-err.texi,stamp-libm-err): Likewise.
32176         (version.texi, stamp-version): Likewise.
32177         (.%c.texi): Likewise.
32178         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32179         (mostlyclean): Remove target.
32180         (realclean): Remove target.
32181         (generated): Add new variable with contents from mostlyclean and
32182         realclean, remove entries duplicated in common-mostlyclean, add
32183         stamp-libm-err and stamp-version.
32184         (generated-dirs): Add libc directory.
32185         ($(inst_infodir)/libc.info): Install files from build dir.
32186
32187         * manual/install.texi (Configuring and compiling): Adjust since
32188         the info files are not part of the tar ball anymore.
32189
32190 2012-05-14  Andreas Jaeger  <aj@suse.de>
32191
32192         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32193         variable.
32194
32195 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32196
32197         [BZ #13717]
32198         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32199         to 2.2.0 where earlier.
32200         * sysdeps/unix/sysv/linux/configure: Regenerated.
32201         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32202         Remove conditional code.
32203         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32204         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32205         Remove conditional code.
32206         [!__NR_lchown]: Likewise.
32207         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32208         [__NR_lchown]: Likewise.
32209         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32210         comment referencing __ASSUME_LCHOWN_SYSCALL.
32211         * sysdeps/unix/sysv/linux/i386/sigaction.c
32212         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32213         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32214         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32215         Remove conditional code.
32216         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32217         (__protocol_available): Remove #if 0 code.
32218         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32219         conditional code.
32220         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32221         * sysdeps/unix/sysv/linux/kernel-features.h
32222         (__ASSUME_GETCWD_SYSCALL): Don't define.
32223         (__ASSUME_REALTIME_SIGNALS): Likewise.
32224         (__ASSUME_PREAD_SYSCALL): Likewise.
32225         (__ASSUME_PWRITE_SYSCALL): Likewise.
32226         (__ASSUME_POLL_SYSCALL): Likewise.
32227         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32228         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32229         non-SPARC.
32230         (__ASSUME_SIOCGIFNAME): Don't define.
32231         (__ASSUME_MSG_NOSIGNAL): Likewise.
32232         (__ASSUME_SENDFILE): Define unconditionally.
32233         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32234         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32235         conditional code.
32236         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32237         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32238         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32239         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32240         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32241         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32242         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32244         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32245         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32247         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32250         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32251         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32253         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32256         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32259         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32262         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32265         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32267         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32268         Remove conditional code.
32269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32270         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32271         Remove conditional code.
32272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32273         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32274         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32275         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32276         Remove conditional code.
32277         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32278         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32279         Remove conditional code.
32280         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32281         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32282         Remove conditional code.
32283         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32284         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32285         Remove conditional code.
32286         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32287         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32288         Remove conditional code.
32289         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32290         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32291         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32293         * sysdeps/unix/sysv/linux/sigaction.c
32294         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32295         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32296         * sysdeps/unix/sysv/linux/sigpending.c
32297         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32298         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32299         * sysdeps/unix/sysv/linux/sigprocmask.c
32300         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32301         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32302         * sysdeps/unix/sysv/linux/sigsuspend.c
32303         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32304         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32305         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32306         (__libc_missing_rt_sigs): Remove.
32307         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32308         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32309         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32310         Remove conditional code.
32311         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32312         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32313         return 1.
32314         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32315         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32316         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32317         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32318
32319 2012-05-14  Andreas Jaeger  <aj@suse.de>
32320
32321         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32322         it's not used in glibc.
32323         (__coshm1): Likewise.
32324         (__acosh1p): Likewise.
32325         (__sgn): Likewise.
32326
32327         * manual/string.texi (Copying and Concatenation): Add missing
32328         variable in concat example.
32329         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32330
32331 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32332
32333         [BZ #14103]
32334         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32335         __builtin_clzl with __builtin_clzll.
32336
32337 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32338
32339         [BZ #14104]
32340         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32341         libc_freeres_ptr.
32342
32343 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32344
32345         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32346         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32347         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32348         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32349
32350 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32351
32352         * NEWS: Update ia64 info.
32353
32354 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32355
32356         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32357         used as bcopy.
32358
32359 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32360
32361         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32362         * sysdeps/unix/syscalls.list (dup3): Likewise.
32363         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32364         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32365
32366 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32367
32368         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32369         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32370
32371 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32372
32373         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32374         thread pointer.
32375         (TLS_IE): Use mov/add instead of movq/addq to load thread
32376         pointer.
32377         (TLS_GD_PREFIX): New.
32378         (TLS_GD): Use it.
32379
32380 2012-05-11  David S. Miller  <davem@davemloft.net>
32381
32382         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32383         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32384         (_FPU_SETCW): Likewise.
32385
32386 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32387
32388         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32389         is 32-byte aligned.
32390
32391 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32392
32393         [BZ #11837]
32394         * iconvdata/gb18030.c: Update tables.
32395         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32396         characters specially.
32397         (BODY for TO_LOOP): Add encoding of missing ranges.
32398
32399 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32400
32401         [BZ #13673]
32402         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32403         * sysdeps/mach/hurd/dup3.c: Likewise.
32404         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32405         * sysdeps/powerpc/memmove.c:: Likewise.
32406
32407 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32408
32409         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32410         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32411
32412 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32413
32414         * elf/elf.h (R_X86_64_RELATIVE64): New.
32415         (R_X86_64_NUM): Updated.
32416         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32417         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32418         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32419         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32420         tst-quad1pie tst-quad2pie
32421         (modules-names): Add tst-quadmod1 tst-quadmod2.
32422         ($(objpfx)tst-quad1): New dependency.
32423         ($(objpfx)tst-quad2): Likewise.
32424         ($(objpfx)tst-quad1pie): Likewise.
32425         ($(objpfx)tst-quad2pie): Likewise.
32426         * sysdeps/x86_64/tst-quad1.c: New file.
32427         * sysdeps/x86_64/tst-quad1pie.c: New file.
32428         * sysdeps/x86_64/tst-quad2.c: Likewise.
32429         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32430         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32431         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32432         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32433         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32434
32435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32436
32437         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32438         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32439         * streams/stropts.h (t_scalar_t): Define type.
32440
32441         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32442         (_PATH_PRESERVE): Set to "/var/lib".
32443         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32444
32445         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32446         instead of int.
32447
32448         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32449         if __dir_mkfile succeeded.
32450
32451         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32452         checking for _hurd_dtablesize.  Unlock it right after having
32453         finished _hurd_dtable allocation.
32454
32455 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32456
32457         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32458         * sysdeps/mach/hurd/configure: Regenerated.
32459         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32460         special-casing to...
32461         * sysdeps/gnu/configure.in: ... this new file.
32462         * sysdeps/unix/sysv/linux/configure: Regenerated.
32463         * sysdeps/gnu/configure: New generated file.
32464
32465         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32466         for Linux: use nsec instead of usec, as well as:
32467         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32468         members of type struct timespec.
32469         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32470         New macros.
32471         (struct stat64): Likewise.
32472         (_STATBUF_ST_NSEC): New macro.
32473         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32474
32475         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32476         __strtoul_internal rather than strtoul.
32477
32478 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32479
32480         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32481         and reject them.
32482
32483 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32484
32485         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32486         which preserves existing values.
32487         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32488
32489 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32490
32491         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32492         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32493         greater than FD_SETSIZE.
32494
32495 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32496
32497         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32498         allocated, call __vm_protect to finish enabling the existing space, and
32499         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32500         allocate the remainder.
32501
32502 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32503
32504         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32505         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
32506
32507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32508
32509         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32510         sysdeps/mach/hurd/readlink.c.
32511
32512         * posix/tst-sysconf.c (posix_options): Only use
32513         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32514         _POSIX_SYNCHRONIZED_IO when they are defined
32515         * sysdeps/mach/hurd/bits/posix_opt.h:
32516         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32517         (_XOPEN_REALTIME): Undefine macro.
32518         (_XOPEN_REALTIME_THREADS): Undefine macro.
32519         (_XOPEN_SHM): Undefine macro.
32520         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32521         macro to -1.
32522         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32523         macro to -1.
32524         (_POSIX_ASYNC_IO): Undefine macro.
32525         (_POSIX_PRIORITIZED_IO): Undefine macro.
32526         (_POSIX_SPIN_LOCKS): Define macro to -1.
32527
32528         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32529         SA_NODEFER, SA_RESETHAND.
32530         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32531         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32532         F_DUPFD_CLOEXEC.
32533
32534 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32535
32536         * elf/Makefile (pldd-modules): Define unconditionally.
32537
32538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32539
32540         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32541
32542 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32543
32544         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32545         Return ENOENT when name is empty.
32546         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32547
32548 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32549
32550         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32551
32552         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32553
32554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32555
32556         Fix mlock in all cases except non-readable pages.
32557         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32558         instead of VM_PROT_ALL as parameter to __vm_wire function.
32559
32560         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32561         (__mkdir): When path is `/', just fail with EEXIST.
32562         * sysdeps/mach/hurd/mkdirat.c: Likewise.
32563
32564 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32565
32566         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32567         <sys/uio.h> (for writev).
32568         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32569         and <sys/param.h> (for MIN).
32570
32571 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32572
32573         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32574         REQUESTED_TIME.  Properly set the remaining time and return EINTR
32575         if interrupted.
32576
32577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32578
32579         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32580         Depend on against $(link-rpcuserlibs).
32581
32582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32583
32584         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32585         (__libc_stack_end): Do not use attribute_relro.
32586         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32587         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32588         to libthread-provided value.
32589         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32590         attribute_relro.
32591
32592 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32593
32594         [BZ #3748]
32595         * bits/libc-lock.h (__libc_once_get): New macro.
32596         * sysdeps/mach/bits/libc-lock.h: Likewise.
32597         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32598         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32599         instead of using implementation details.
32600
32601         * libio/fileops.c: Unconditionally include <kernel-features.h>.
32602         * libio/freopen.c: Likewise.
32603         * libio/freopen64.c: Likewise.
32604         * misc/syslog.c: Likewise.
32605         * nscd/connections.c: Likewise.
32606         * nscd/netgroupcache.c: Likewise.
32607         * sysdeps/posix/getcwd.c: Likewise.
32608
32609 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32610
32611         * math/w_ilogbf.c: Add #include <limits.h>.
32612
32613 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32614
32615         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32616         path instead of returning without unlocking.
32617
32618         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32619         immediate-write ioctls.
32620         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32621
32622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32623
32624         * sysdeps/mach/hurd/i386/init-first.c (init): Use
32625         __builtin_frame_address instead of making assumptions about the
32626         location of the return address relative to DATA.  Force early load of
32627         the return address.
32628         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32629         __builtin_frame_address.
32630
32631         dup3 for GNU Hurd.
32632         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32633         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
32634         implement dup3 and do some further code clean-ups.
32635         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32636         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32637
32638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32639
32640         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32641
32642         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32643         HURD_CRITICAL_END around holding _hurd_dtable_lock.
32644         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32645         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32646         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32647         d->port.lock.
32648
32649         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32650         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
32651         when handler == SIG_ERR, not when handler != SIG_ERR.
32652
32653 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32654
32655         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32656         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32657         definitions.
32658
32659         accept4 for GNU Hurd.
32660         * include/sys/socket.h (__libc_accept4): New prototype.
32661         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
32662         to implement __libc_accept4.
32663         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32664         __libc_accept4.
32665         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32666
32667         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32668         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32669         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32670         signal-defines.sym.
32671
32672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32673
32674         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32675
32676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32677
32678         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32679         assertion on O_CLOEXEC flag.
32680         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32681         * hurd/intern-fd.c: Likewise.
32682         * hurd/port2fd.c: Likewise.
32683
32684 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32685
32686         [BZ #3906]
32687         * bits/in.h (IPV6_PKTINFO): Define new macro.
32688         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32689
32690 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32691
32692         [BZ #13954]
32693         [BZ #13955]
32694         [BZ #13956]
32695         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32696         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32697         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32698         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32699         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32700         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32701         * math/libm-test.inc (logb_test) : Additional logb tests.
32702
32703 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
32704             Andreas Jaeger  <aj@suse.de>
32705
32706         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32707         * configure: Regenerated.
32708         * config.h.in (LINK_OBSOLETE_RPC): New macro.
32709         * config.make.in (link-obsolete-rpc): New substituted variable.
32710         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32711         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32712         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32713         (shared-only-routines): Don't set it under [link-obsolete-rpc],
32714         so that libc.a contains the symbols.
32715         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32716         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32717         * sunrpc/auth_none.c: Likewise.
32718         * sunrpc/auth_unix.c: Likewise.
32719         * sunrpc/authdes_prot.c: Likewise.
32720         * sunrpc/authuxprot.c: Likewise.
32721         * sunrpc/clnt_gen.c: Likewise.
32722         * sunrpc/clnt_perr.c: Likewise.
32723         * sunrpc/clnt_raw.c: Likewise.
32724         * sunrpc/clnt_simp.c: Likewise.
32725         * sunrpc/clnt_tcp.c: Likewise.
32726         * sunrpc/clnt_udp.c: Likewise.
32727         * sunrpc/clnt_unix.c: Likewise.
32728         * sunrpc/des_crypt.c: Likewise.
32729         * sunrpc/des_soft.c: Likewise.
32730         * sunrpc/get_myaddr.c: Likewise.
32731         * sunrpc/key_call.c: Likewise.
32732         * sunrpc/key_prot.c: Likewise.
32733         * sunrpc/netname.c: Likewise.
32734         * sunrpc/pm_getmaps.c: Likewise.
32735         * sunrpc/pm_getport.c: Likewise.
32736         * sunrpc/pmap_clnt.c: Likewise.
32737         * sunrpc/pmap_prot.c: Likewise.
32738         * sunrpc/pmap_prot2.c: Likewise.
32739         * sunrpc/pmap_rmt.c: Likewise.
32740         * sunrpc/publickey.c: Likewise.
32741         * sunrpc/rpc_cmsg.c: Likewise.
32742         * sunrpc/rpc_common.c: Likewise.
32743         * sunrpc/rpc_dtable.c: Likewise.
32744         * sunrpc/rpc_prot.c: Likewise.
32745         * sunrpc/rpc_thread.c: Likewise.
32746         * sunrpc/rtime.c: Likewise.
32747         * sunrpc/svc.c: Likewise.
32748         * sunrpc/svc_auth.c: Likewise.
32749         * sunrpc/svc_raw.c: Likewise.
32750         * sunrpc/svc_run.c: Likewise.
32751         * sunrpc/svc_tcp.c: Likewise.
32752         * sunrpc/svc_udp.c: Likewise.
32753         * sunrpc/svc_unix.c: Likewise.
32754         * sunrpc/svcauth_des.c: Likewise.
32755         * sunrpc/xcrypt.c: Likewise.
32756         * sunrpc/xdr.c: Likewise.
32757         * sunrpc/xdr_array.c: Likewise.
32758         * sunrpc/xdr_float.c: Likewise.
32759         * sunrpc/xdr_intXX_t.c: Likewise.
32760         * sunrpc/xdr_mem.c: Likewise.
32761         * sunrpc/xdr_rec.c: Likewise.
32762         * sunrpc/xdr_ref.c: Likewise.
32763         * sunrpc/xdr_sizeof.c: Likewise.
32764         * sunrpc/xdr_stdio.c: Likewise.
32765
32766 2012-05-10  Roland McGrath  <roland@hack.frob.com>
32767
32768         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32769         change.  Update copyright years.
32770
32771 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32772
32773         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32774
32775 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
32776             Joseph Myers  <joseph@codesourcery.com>
32777             Paul Pluzhnikov  <ppluzhnikov@google.com>
32778
32779         [BZ #14012]
32780         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32781         requiring rpcgen.
32782         [cross-compiling] (extra-libs): Likewise.
32783         [cross-compiling] (extra-libs-others): Likewise.
32784         [cross-compiling] (librpcsvc-routines): Likewise.
32785         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32786         [cross-compiling] (omit-deps): Likewise.
32787         (sunrpc-CPPFLAGS): New variable.
32788         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32789         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32790         (cross-rpcgen-objs): New variable.
32791         (extra-objs): Append $(cross-rpcgen-objs).
32792         ($(cross-rpcgen-objs)): New rule.
32793         ($(objpfx)cross-rpcgen): Likewise.
32794         (rpcgen-cmd): Define to use $(built-program-file).  Expand
32795         comment.
32796         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32797         ($(objpfx)x%.stmp): Likewise.
32798         * sunrpc/proto.h [IS_IN_build] (_): Define.
32799         [IS_IN_build] (_libc_intl_domainname): Likewise.
32800
32801 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32802
32803         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32804         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32805         and R_X86_64_TPOFF64.
32806
32807 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
32808
32809         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32810         sysdeps/unix/sysv/syscalls.list.
32811         (stime): Likewise.
32812         (utime): Likewise.
32813         * sysdeps/unix/sysv/syscalls.list: Remove file.
32814
32815 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
32816
32817         [BZ #3440]
32818         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32819         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32820         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32821         (__LC_IDENTIFICATION): Make these macros useful in #if
32822         expressions, as required by C99.
32823
32824 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
32825
32826         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32827         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
32828         after this.
32829
32830 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
32831
32832         * stdlib/longlong.h: Updated from GCC.
32833
32834 2012-05-09  Andreas Jaeger  <aj@suse.de>
32835
32836         * nscd/nscd.c (run_modes): Make named enum, reorder so that
32837         default is first entry.
32838         (run_mode): Set type.
32839         (main): Remove informal message about syslog.
32840         (options): Fix typo.
32841
32842         [BZ #14053]
32843         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32844         to asm.
32845         (lrint): Likewise.
32846         (llrintf): Likewise.
32847         (llrint): Likewise.
32848         (rint): Likewise.
32849         (rintf): Likewise.
32850         (nearbyint): Likewise.
32851         (nearbyintf): Likewise.
32852
32853 2012-05-09  Andreas Jaeger  <aj@suse.de>
32854             Pedro Alves  <palves@redhat.com>
32855
32856         * nscd/nscd.c (run_mode): Use enum.
32857         (main): Cleanup coding style issue.
32858
32859 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
32860             Andreas Jaeger  <aj@suse.de>
32861
32862         * nscd/nscd.c (go_background): Replaced with...
32863         (run_mode): ... this.
32864         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32865         (options): Add -F --foreground.
32866         (main): Implement it.
32867         (parse_opt): Parse it.
32868
32869 2012-05-09  Andreas Jaeger  <aj@suse.de>
32870
32871         [BZ #14083]
32872         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32873         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32874         -Wconversion warning.
32875         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32876         Likewise.
32877
32878 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
32879
32880         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
32881         == 0.
32882         (LC_ALL): Use macro-int-constant.
32883         (LC_COLLATE): Likewise.
32884         (LC_CTYPE): Likewise.
32885         (LC_MESSAGES): Likewise.
32886         (LC_MONETARY): Likewise.
32887         (LC_NUMERIC): Likewise.
32888         (LC_TIME): Likewise.
32889         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32890         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32891         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32892         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32893         Specify type.
32894         [C99-based standards] (float_t): Expect type.
32895         [C99-based standards] (double_t): Expect type.
32896         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
32897         type.
32898         [C99-based standards] (HUGE_VALL): Likewise.
32899         [C99-based standards] (INFINITY): Likewise.
32900         [C99-based standards] (NAN): Likewise.
32901         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32902         [C99-based standards] (FP_NAN): Likewise.
32903         [C99-based standards] (FP_NORMAL): Likewise.
32904         [C99-based standards] (FP_SUBNORMAL): Likewise.
32905         [C99-based standards] (FP_ZERO): Likewise.
32906         [C99-based standards] (FP_FAST_FMA): Use
32907         optional-macro-int-constant.  Specify type.  Require == 1.
32908         [C99-based standards] (FP_FAST_FMAF): Likewise.
32909         [C99-based standards] (FP_FAST_FMAL): Likewise.
32910         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32911         [C99-based standards] (FP_ILOGBNAN): Likewise.
32912         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32913         Specify type.
32914         [C99-based standards] (MATH_ERREXCEPT): Likewise.
32915         [C99-based standards] (math_errhandling): Specify type.
32916         [ISO99 || ISO11] (signgam): Do not allow.
32917         [non-C99-based standards] (copysignf): Do not allow.
32918         [non-C99-based standards] (exp2f): Likewise.
32919         [non-C99-based standards] (log2f): Likewise.
32920         [non-C99-based standards] (modff): Allow.
32921         [non-C99-based standards] (erff): Do not allow.
32922         [non-C99-based standards] (erfcf): Likewise.
32923         [non-C99-based standards] (gammaf): Likewise.
32924         [non-C99-based standards] (hypotf): Likewise.
32925         [non-C99-based standards] (j0f): Likewise.
32926         [non-C99-based standards] (j1f): Likewise.
32927         [non-C99-based standards] (jnf): Likewise.
32928         [non-C99-based standards] (lgammaf): Likewise.
32929         [non-C99-based standards] (tgammaf): Likewise.
32930         [non-C99-based standards] (y0f): Likewise.
32931         [non-C99-based standards] (y1f): Likewise.
32932         [non-C99-based standards] (ynf): Likewise.
32933         [non-C99-based standards] (isnanf): Likewise.
32934         [non-C99-based standards] (acoshf): Likewise.
32935         [non-C99-based standards] (asinhf): Likewise.
32936         [non-C99-based standards] (atanhf): Likewise.
32937         [non-C99-based standards] (cbrtf): Likewise.
32938         [non-C99-based standards] (expm1f): Likewise.
32939         [non-C99-based standards] (ilogbf): Likewise.
32940         [non-C99-based standards] (log1pf): Likewise.
32941         [non-C99-based standards] (logbf): Likewise.
32942         [non-C99-based standards] (nextafterf): Likewise.
32943         [non-C99-based standards] (remainderf): Likewise.
32944         [non-C99-based standards] (rintf): Likewise.
32945         [non-C99-based standards] (scalbf): Likewise.
32946         [non-C99-based standards] (copysignl): Likewise.
32947         [non-C99-based standards] (exp2l): Likewise.
32948         [non-C99-based standards] (log2l): Likewise.
32949         [non-C99-based standards] (modfl): Allow.
32950         [non-C99-based standards] (erfl): Do not allow.
32951         [non-C99-based standards] (erfcl): Likewise.
32952         [non-C99-based standards] (gammal): Likewise.
32953         [non-C99-based standards] (hypotl): Likewise.
32954         [non-C99-based standards] (j0l): Likewise.
32955         [non-C99-based standards] (j1l): Likewise.
32956         [non-C99-based standards] (jnl): Likewise.
32957         [non-C99-based standards] (lgammal): Likewise.
32958         [non-C99-based standards] (tgammal): Likewise.
32959         [non-C99-based standards] (y0l): Likewise.
32960         [non-C99-based standards] (y1l): Likewise.
32961         [non-C99-based standards] (ynl): Likewise.
32962         [non-C99-based standards] (isnanl): Likewise.
32963         [non-C99-based standards] (acoshl): Likewise.
32964         [non-C99-based standards] (asinhl): Likewise.
32965         [non-C99-based standards] (atanhl): Likewise.
32966         [non-C99-based standards] (cbrtl): Likewise.
32967         [non-C99-based standards] (expm1l): Likewise.
32968         [non-C99-based standards] (ilogbl): Likewise.
32969         [non-C99-based standards] (log1pl): Likewise.
32970         [non-C99-based standards] (logbl): Likewise.
32971         [non-C99-based standards] (nextafterl): Likewise.
32972         [non-C99-based standards] (remainderl): Likewise.
32973         [non-C99-based standards] (rintl): Likewise.
32974         [non-C99-based standards] (scalbl): Likewise.
32975         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32976         [non-C99-based standards] (FP_*): Do not allow.
32977         [C99-based standards] (FP_*): Change to
32978         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32979         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32980         allow.
32981         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32982         (SIG_ERR): Likewise.
32983         [X/Open-based standards] (SIG_HOLD): Likewise.
32984         (SIG_IGN): Likewise.
32985         (SIGABRT): Use macro-int-constant.  Specify type.  Require
32986         positive value.
32987         (SIGFPE): Likewise.
32988         (SIGILL): Likewise.
32989         (SIGINT): Likewise.
32990         (SIGSEGV): Likewise.
32991         (SIGTER): Likewise.
32992         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32993         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32994         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32995         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32996         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32997         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32998         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32999         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33000         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33001         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33002         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33003         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33004         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33005         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33006         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33007         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33008         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33009         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33010         [X/Open-based standards] (SIGTRAP): Likewise.
33011         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33012         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33013         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33014         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33015         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33016         allow.
33017
33018 2012-05-08  Ian Wienand  <ianw@vmware.com>
33019
33020         [BZ #14080]
33021         * time/tzset.c (__tzset_parse_tz): Update default rules for
33022         daylight time changes in the Energy Policy Act of 2005.
33023
33024 2012-05-09  Andreas Jaeger  <aj@suse.de>
33025
33026         [BZ #13983]
33027         * elf/ldconfig.c (parse_conf): Change string to make clear that
33028         ldconfig only issued a warning if ld.so.conf does not exist.
33029
33030 2012-05-08  David S. Miller  <davem@davemloft.net>
33031
33032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33033         movxtod instead of popping the value on the stack.
33034
33035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33036
33037 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33038
33039         * config.h.in: Add HAVE_ARM_PCS_VFP.
33040
33041 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33042
33043         [BZ #13979]
33044         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33045         checking but the checks are disabled for any reason.
33046
33047 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33048
33049         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33050         and ELF64_R_TYPE with ELFW(R_TYPE).
33051
33052 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33053
33054         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33055         (ulimit): Likewise.
33056
33057         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33058         (settimeofday): Likewise.
33059
33060 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33061
33062         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33063         a struct th_u2 inside the union, and move tu_block/tu_code into
33064         a new th_u3 union of tu_block/tu_code inside of that.  Move
33065         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33066         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33067         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33068         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33069         (th_stuff): Change to th_u1.tu_stuff.
33070         (th_data): Define.
33071         (th_msg): Change to th_u1.th_u2.tu_data.
33072
33073 2012-05-07  David S. Miller  <davem@davemloft.net>
33074
33075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33076
33077         [BZ #14074]
33078         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33079         (SETUP_PIC_REG): Use it.
33080         (SETUP_PIC_REG_LEAF): Use it.
33081
33082 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33083
33084         [BZ #13885]
33085         [BZ #13923]
33086         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33087         USE_AS_EXPM1L.
33088         (EXPL_FINITE): Likewise.
33089         (FLDLOG): Likewise.
33090         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33091         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33092         e_expl.S.
33093         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33094         USE_AS_EXPM1L.
33095         (EXPL_FINITE): Likewise.
33096         (FLDLOG): Likewise.
33097         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33098         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33099         e_expl.S.
33100         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33101         test of -max_value argument for long double.
33102         * sysdeps/i386/fpu/libm-test-ulps: Update.
33103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33104
33105 2012-05-06  David S. Miller  <davem@davemloft.net>
33106
33107         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33108         quad soft-float symbols whose references which are compiler
33109         generated.
33110         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33111
33112 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33113
33114         [BZ #13884]
33115         [BZ #13914]
33116         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33117         USE_AS_EXP10L.
33118         (EXPL_FINITE): Likewise.
33119         (FLDLOG): Likewise.
33120         (c0): Likewise.
33121         (c1): Likewise.
33122         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33123         Adjust comments for base varying.
33124         (__expl_finite): Change alias to EXPL_FINITE.
33125         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33126         e_expl.S.
33127         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33128         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33129         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33130         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33131         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33132         USE_AS_EXP10L.
33133         (EXPL_FINITE): Likewise.
33134         (FLDLOG): Likewise.
33135         (c0): Likewise.
33136         (c1): Likewise.
33137         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33138         Adjust comments for base varying.
33139         (__expl_finite): Change alias to EXPL_FINITE.
33140         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33141         tests for bugs.
33142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33143
33144         [BZ #14064]
33145         * math/libm-test.inc (check_float_internal): Correct ulp
33146         calculation for subnormal expected results.
33147
33148 2012-05-06  Andreas Jaeger  <aj@suse.de>
33149
33150         * Makeconfig (+math-flags): New, set to -frounding-math.
33151         (+cflags): Add +math-flags so that all of glibc gets compiled with
33152         it.
33153
33154         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33155
33156 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33157
33158         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33159         Disable one test.
33160
33161         [BZ #13787]
33162         [BZ #13922]
33163         [BZ #14036]
33164         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33165         (__ieee754_expl): Allow for and saturate large arguments.
33166         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33167         (u_threshold): Likewise.
33168         (__exp): Call __ieee754_exp before checking for overflow and
33169         underflow.
33170         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33171         (u_threshold): Likewise.
33172         (__expf): Call __ieee754_expf before checking for overflow and
33173         underflow.
33174         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33175         (u_threshold): Likewise.
33176         (__expl): Call __ieee754_expl before checking for overflow and
33177         underflow.
33178         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33179         (__ieee754_expl): Allow for and saturate large arguments.
33180         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33181         missing overflow exception on overflow.
33182         (expm1_test): Do not allow missing overflow exception on overflow.
33183
33184         * sysdeps/i386/fpu/e_expl.c: Move to ...
33185         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33186         rather than using inline asm.
33187         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33188         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33189         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33190
33191         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33192         (nice): Likewise.
33193         (poll): Likewise.
33194         (signal): Likewise.
33195         (time): Likewise.
33196         (times): Likewise.
33197
33198 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33199
33200         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33201         sysdeps/unix/common/syscalls.list.
33202         (fchmod): Likewise.
33203         (fchown): Likewise.
33204         (ftruncate): Likewise.
33205         (getrusage): Likewise.
33206         (gettimeofday): Likewise.
33207         (setpgid): Likewise.
33208         (setregid): Likewise.
33209         (setreuid): Likewise.
33210         (sigaction): Likewise.
33211         (truncate): Likewise.
33212         (vhangup): Likewise.
33213         * sysdeps/unix/common/syscalls.list: Remove file.
33214         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33215         * sysdeps/unix/sysv/linux/Implies: Likewise.
33216
33217 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33218
33219         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33221         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33222         Moved to ...
33223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33224         Here.
33225         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33226         to ...
33227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33228         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33229         to ...
33230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33231         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33232         to ...
33233         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33234         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33235         to ...
33236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33237         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33238         to ...
33239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33240         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33241         to ...
33242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33243         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33244         to ...
33245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33246         Here.
33247         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33248         to ...
33249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33250         Here.
33251         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33252         to ...
33253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33254         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33255         Moved to ...
33256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33257         Here.
33258         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33259         to ...
33260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33261
33262 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33263
33264         * sysdeps/unix/common/bits/dirent.h: Remove file.
33265         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33266
33267         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33268         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33269         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33270         * sysdeps/unix/bsd/isatty.c: Likewise.
33271         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33272         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33273         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33274
33275 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33276
33277         [BZ #13563]
33278         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33279         long double comparison inaccuracies.
33280         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33282
33283 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33284
33285         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33286         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33287
33288 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33289
33290         [BZ #14049]
33291         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33292         nonzero digits before rounding a hex value.
33293         * stdlib/tst-strtod.c (tests): Add another test.
33294
33295 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33296
33297         * sysdeps/s390/fpu/libm-test-ulps: Update.
33298
33299 2012-05-03  Andreas Jaeger  <aj@suse.de>
33300
33301         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33302         does not get optimized out.
33303         (malloc_opt_barrier): New.
33304
33305 2012-05-03  Andreas Jaeger  <aj@suse.de>
33306             Roland McGrath  <roland@hack.frob.com>
33307
33308         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33309         intermediate file deletion.
33310         (generated): Add .symlist files.
33311
33312 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33313
33314         [BZ #13775]
33315         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33316         Redirect under this condition.
33317         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33318         [__USE_GNU] (__dprintf_chk): Not under this condition.
33319         [__USE_GNU] (__vdprintf_chk): Likewise.
33320         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33321         under this condition.
33322         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33323         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33324         [__USE_XOPEN2K8] (vdprintf): Likewise.
33325         [__USE_GNU] (__dprintf_chk): Not under this condition.
33326         [__USE_GNU] (__vdprintf_chk): Likewise.
33327         [__USE_GNU] (dprintf): Likewise.
33328         [__USE_GNU] (vdprintf): Likewise.
33329
33330 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33331
33332         * elf/Makefile (common-generated): Set this instead of generated for
33333         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33334         $(all-built-dso)-derived lists.
33335
33336 2012-05-03  Andreas Jaeger  <aj@suse.de>
33337
33338         * sysdeps/i386/fpu/libm-test-ulps: Update.
33339
33340         * FAQ: Removed.
33341         * FAQ.in: Likewise.
33342         * scripts/gen-FAQ.pl: Likewise.
33343         * manual/install.texi (Installation): Point to online location of
33344         FAQ.
33345         * Makefile (files-for-dist): Remove FAQ.
33346         (FAQ): Remove.
33347
33348 2012-05-02  Allan McRae  <allan@archlinux.org>
33349
33350         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33351         (LDFLAGS-reldepmod5.so): Likewise.
33352         (LDFLAGS-reldep6mod1.so): Likewise.
33353         (LDFLAGS-reldep6mod4.so): Likewise.
33354         (LDFLAGS-reldep8mod3.so): Likewise.
33355         (LDFLAGS-unload4mod1.so): Likewise.
33356         (LDFLAGS-unload4mod2.so): Likewise.
33357         (LDFLAGS-tst-initorder): Likewise.
33358         (LDFLAGS-tst-initordera2.so): Likewise.
33359         (LDFLAGS-tst-initordera3.so): Likewise.
33360         (LDFLAGS-tst-initordera4.so): Likewise.
33361         (LDFLAGS-tst-initorderb2.so): Likewise.
33362         (LDFLAGS-noload): Likewise.
33363         (LDFLAGS-next): Likewise.
33364         (LDFLAGS-order2mod1.so): Likewise.
33365         (LDFLAGS-order2mod2.so): Likewise.
33366         (LDFLAGS-tst-initorder2): Likewise.
33367         (LDFLAGS-tst-initorder2a.so): Likewise.
33368         (LDFLAGS-tst-initorder2b.so): Likewise.
33369         (LDFLAGS-tst-initorder2c.so): Likewise.
33370         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33371
33372 2012-05-02  David S. Miller  <davem@davemloft.net>
33373
33374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33375
33376 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33377
33378         [BZ #14055]
33379         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33380
33381 2012-05-02  Andreas Jaeger  <aj@suse.de>
33382
33383         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33384         since we manipulate rounding mode.
33385         (CPPFLAGS-test-idouble.c): Likewise.
33386         (CPPFLAGS-test-ifloat.c): Likewise.
33387         (CFLAGS-test-ldouble.c): Likewise.
33388         (CFLAGS-test-double.c): Likewise.
33389         (CFLAGS-test-float.c): Likewise.
33390         (CFLAGS-test-misc.c): Likewise.
33391         (CFLAGS-test-test-fenv.c): Likewise.
33392
33393 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33394
33395         [BZ #2550]
33396         [BZ #2570]
33397         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33398         comparisons to determine direction to adjust input.
33399
33400 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33401
33402         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33403         output to the target.
33404
33405         * scripts/localplt.awk: New file.
33406         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33407         (check-localplt-CFLAGS): Variable removed.
33408         ($(all-built-dso:=.jmprel)): New static pattern rule.
33409         (generated): Add those targets.
33410         (localplt-built-dso): New variable.
33411         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33412
33413         * elf/check-localplt.c: File removed.
33414
33415         * scripts/check-execstack.awk: New file.
33416         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33417         (check-execstack-CFLAGS): Variable removed.
33418         ($(objpfx)check-execstack.h): Target removed.
33419         ($(objpfx)execstack-default): New target.
33420         (generated): Add that instead of check-execstack.h.
33421         ($(all-built-dso:=.phdr)): New static pattern rule.
33422         (generated): Add those targets.
33423         * elf/check-execstack.c: File removed.
33424
33425         * scripts/check-textrel.awk: New file.
33426         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33427         (check-textrel-CFLAGS): Variable removed.
33428         (all-built-dso): Use := to define.o
33429         ($(all-built-dso:=.dyn)): New static pattern rule.
33430         (generated): Add those targets.
33431         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33432         * config.make.in (READELF): New substituted variable.
33433         * elf/check-textrel.c: File removed.
33434
33435 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33436
33437         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33438         allow.
33439         * conform/data/ctype.h-data [C99-based standards] (isblank):
33440         Expect function.
33441         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33442         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33443         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33444         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33445         Specify type.  Require positive value.
33446         (EILSEQ): Likewise.
33447         (ERANGE): Likewise.
33448         [ISO || POSIX] (EILSEQ): Do not expect.
33449         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33450         Specify type.  Require positive value.
33451         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33452         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33453         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33454         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33455         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33456         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33457         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33458         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33459         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33460         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33461         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33462         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33463         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33464         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33465         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33466         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33467         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33468         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33469         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33470         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33471         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33472         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33473         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33474         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33475         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33476         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33477         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33478         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33479         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33480         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33481         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33482         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33483         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33484         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33485         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33486         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33487         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33488         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33489         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33490         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33491         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33492         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33493         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33494         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33495         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33496         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33497         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33498         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33499         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33500         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33501         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33502         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33503         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33504         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33505         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33506         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33507         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33508         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33509         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33510         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33511         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33512         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33513         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33514         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33515         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33516         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33517         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33518         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33519         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33520         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33521         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33522         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33523         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33524         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33525         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33526         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33527         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33528         Require >= 2.
33529         (FLT_ROUNDS): Expect as macro, not constant.
33530         (FLT_MANT_DIG): Use macro-int-constant.
33531         (DBL_MANT_DIG): Likewise.
33532         (LDBL_MANT_DIG): Likewise.
33533         (FLT_DIG): Likewise.
33534         (DBL_DIG): Likewise.
33535         (LDBL_DIG): Likewise.
33536         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
33537         (DBL_MIN_EXP): Likewise.
33538         (LDBL_MIN_EXP): Likewise.
33539         (FLT_MAX_EXP): Use macro-int-constant.
33540         (DBL_MAX_EXP): Likewise.
33541         (LDBL_MAX_EXP): Likewise.
33542         (FLT_MAX_10_EXP): Likewise.
33543         (DBL_MAX_10_EXP): Likewise.
33544         (LDBL_MAX_10_EXP): Likewise.
33545         (FLT_MAX): Use macro-constant.
33546         (DBL_MAX): Likewise.
33547         (LDBL_MAX): Likewise.
33548         (FLT_EPSILON): Use macro-constant.  Give upper bound.
33549         (DBL_EPSILON): Likewise.
33550         (LDBL_EPSILON): Likewise.
33551         (FLT_MIN): Likewise.
33552         (DBL_MIN): Likewise.
33553         (LDBL_MIN): Likewise.
33554         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33555         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33556         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33557         [ISO11] (FLT_HAS_SUBNORM): Likewise.
33558         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33559         [ISO11] (DBL_DECIMAL_DIG): Likewise.
33560         [ISO11] (FLT_DECIMAL_DIG): Likewise.
33561         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33562         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33563         [ISO11] (FLT_TRUE_MIN): Likewise.
33564         [ISO11] (LDBL_TRUE_MIN): Likewise.
33565         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33566         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33567         (SCHAR_MIN): Use macro-int-constant.  Specify type.
33568         (SCHAR_MAX): Likewise.
33569         (UCHAR_MAX): Likewise.
33570         (CHAR_MIN): Likewise.
33571         (CHAR_MAX): Likewise.
33572         (MB_LEN_MAX): Use macro-int-constant.
33573         (SHRT_MIN): Use macro-int-constant.  Specify type.
33574         (SHRT_MAX): Likewise.
33575         (USHRT_MAX): Likewise.
33576         (INT_MAX): Likewise.
33577         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
33578         bound negative.
33579         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33580         bound with "U".
33581         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33582         bound with "L".
33583         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
33584         bound negative.  Suffix upper bound with "L".
33585         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
33586         bound with "UL".
33587         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33588         Specify type.
33589         [C99-based standards] (LLONG_MAX): Likewise.
33590         [C99-based standards] (ULLONG_MAX): Likewise.
33591         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
33592         == 0.
33593         [ISO11] (max_align_t): Require type.
33594         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33595
33596         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33597         from $CFLAGS, without defining away __attribute__ calls.
33598         (checknamespace): Use $CFLAGS_namespace.
33599
33600         * conform/conformtest.pl (@keywords): Only include C99 keywords
33601         for standards based on C99 or C11.
33602
33603         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33604         Disable tests.
33605         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33606         UNIX98]: Likewise.
33607
33608         * conform/conformtest.pl: Handle "macro-int-constant" and test for
33609         usability of symbols in #if.
33610
33611         * conform/conformtest.pl: If macro or constant types start
33612         "promoted:", expect the symbol to be of the following type
33613         promoted by the integer promotions.
33614
33615         * conform/conformtest.pl: Parse all "constant" and "macro" lines
33616         in one place.  Also handle "macro-constant".
33617
33618         * conform/conformtest.pl: Only accept expected macro values with
33619         "==".  Parse all "macro" lines in one place.
33620         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33621
33622         * conform/conformtest.pl: Handle braced types on "constant" lines
33623         instead of handling "typed-constant".
33624         * conform/data/signal.h-data: Use "constant" instead of
33625         "typed-constant".
33626
33627         * conform/conformtest.pl: Handle "optional-" at start of lines in
33628         one place rather than duplicating several cases.  Handle each
33629         format of "macro" line with initial "optional-".
33630
33631         * conform/conformtest.pl: Only accept expected constant or
33632         optional-constant values with "==".  Parse all "constant" lines in
33633         one place.  Parse all "optional-constant" lines in one place.
33634         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33635         * conform/data/fmtmsg.h-data: Likewise.
33636         * conform/data/netinet/in.h-data: Likewise.
33637         * conform/data/tar.h-data: Likewise.
33638         * conform/data/limits.h-data: Use "==" form on "constant" and
33639         "optional-constant" lines.
33640
33641         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33642         Use -std=c99 for XOPEN2K.
33643         (@knownproblems): Remove.
33644         (newtoken): Don't check %isknown.
33645
33646         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33647         Do not expect macro.
33648         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33649         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33650         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33651         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33652         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33653         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33654         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33655         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33656         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33657         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33658         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33659         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33660         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33661         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33662         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33663         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33664         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33665         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33666         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33667         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33668         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33669         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33670         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33671         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33672         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33673         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33674         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33675         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33676         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33677         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33678         [XPG3] (acosh): Likewise.
33679         [XPG3] (asinh): Likewise.
33680         [XPG3] (atanh): Likewise.
33681         [XPG3] (cbrt): Likewise.
33682         [XPG3] (expm1): Likewise.
33683         [XPG3] (ilogb): Likewise.
33684         [XPG3] (log1p): Likewise.
33685         [XPG3] (logb): Likewise.
33686         [XPG3] (nextafter): Likewise.
33687         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33688         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33689         [XPG3] (remainder): Likewise.
33690         [XPG3] (rint): Likewise.
33691         [XPG3 || XPG4 || UNIX98] (round): Likewise.
33692         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33693         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33694         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33695         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33696         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33697         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33698         [UNIX98 || XOPEN2K] (scalb): Expect.
33699         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33700         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33701         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33702         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33703         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33704         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33705         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33706         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33707         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33708         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33709         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33710         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33711         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33712         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33713         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33714         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33715         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33716         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33717         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33718         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33719         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33720         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33721         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33722         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33723         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33724         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33725         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33726         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33727         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33728         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33729         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33730         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33731         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33732         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33733         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33734         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33735         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33736         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33737         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33738         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33739         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33740         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33741         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33742         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33743         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33744         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33745         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33746         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33747         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33748         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33749         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33750         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33751         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33752         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33753         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33754         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33755         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33756         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33757         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33758         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33759         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33760         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33761         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33762         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33763         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33764         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33765         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33766         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33767         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33768         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33769         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33770         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33771         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33772         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33773         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33774         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33775         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33776         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33777         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33778         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33779         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33780         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33781         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33782         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33783         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33784         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33785         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33786         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33787         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33788         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33789         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33790         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33791         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33792         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33793         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33794         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33795         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33796         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33797         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33798         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33799         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33800         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33801         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33802         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33803         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33804         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33805         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33806         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33807         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33808         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33809         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33810         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33811         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33812         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33813         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33814         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33815         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33816         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33817         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33818         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33819         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33820         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33821         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33822         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33823         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33824         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33825         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33826         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33827         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33828         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33829         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33830         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33831         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33832         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33833         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33834         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33835         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33836
33837         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33838         _XOPEN_SOURCE_EXTENDED for XPG4.
33839
33840         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33841
33842         * Makeconfig (localtime): Remove variable.
33843         (inst_localtime-file): Likewise.
33844
33845 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33846
33847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33848         Update.
33849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33850         Update.
33851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33852         Update.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33854         Update.
33855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33856         Update.
33857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33858         Update.
33859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33860         Update.
33861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33862         Update.
33863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33864         Update.
33865
33866 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33867
33868         [BZ #2550]
33869         [BZ #2570]
33870         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33871         comparisons to determine direction to adjust input.
33872         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33873         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33874         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33875         Likewise.
33876         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33877         Likewise.
33878         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33879         Likewise.
33880         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33881         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33882         Likewise.
33883         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33884         Likewise.
33885         * math/libm-test.inc (nexttoward_test): Add more tests.
33886
33887 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
33888
33889         [BZ #14040]
33890         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33891         in version GLIBC_2.1, not GLIBC_2.0.
33892         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33893         Likewise.
33894
33895 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
33896
33897         [BZ #13942]
33898         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33899         (1 - x) * (1 + x).
33900         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33901         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33902         * math/libm-test.inc (acos_test): Add more tests.
33903         (asin_test): Likewise.
33904         * sysdeps/i386/fpu/libm-test-ulps: Update.
33905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33906
33907         [BZ #14034]
33908         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33909         of square root.
33910         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33911         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33912         * math/libm-test.inc (acos_test_tonearest): New function.
33913         (acos_test_towardzero): Likewise.
33914         (acos_test_downward): Likewise.
33915         (acos_test_upward): Likewise.
33916         (asin_test_tonearest): Likewise.
33917         (asin_test_towardzero): Likewise.
33918         (asin_test_downward): Likewise.
33919         (asin_test_upward): Likewise.
33920         (main): Call the new functions.
33921         * sysdeps/i386/fpu/libm-test-ulps: Update.
33922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33923
33924         [BZ #13884]
33925         [BZ #13924]
33926         * math/e_exp10.c: Include <float.h>.
33927         (__ieee754_exp10): Handle underflow here rather than multiplying
33928         large negative argument by M_LN10.
33929         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33930         of __ieee754_expf.
33931         * math/e_exp10l.c: Include <float.h>.
33932         (__ieee754_exp10l): Handle underflow here rather than multiplying
33933         large negative argument by M_LN10l.
33934         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
33935         spurious overflow exception on underflow.
33936
33937 2012-04-29  Marek Polacek  <polacek@redhat.com>
33938
33939         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33940         (__fortify_function): New macro.
33941         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33942         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33943         __extern_always_inline.
33944         * libio/bits/stdio2.h: Likewise.
33945         * libio/bits/stdio.h: Likewise.
33946         * string/string.h: Likewise.
33947         * string/bits/string3.h: Likewise.
33948         * include/stdio.h: Likewise.
33949         * stdlib/bits/stdlib.h: Likewise.
33950         * stdlib/stdlib.h: Likewise.
33951         * rt/bits/mqueue2.h: Likewise.
33952         * rt/mqueue.h: Likewise.
33953         * posix/bits/unistd.h: Likewise.
33954         * posix/unistd.h: Likewise.
33955         * io/bits/poll2.h: Likewise.
33956         * io/bits/fcntl2.h: Likewise.
33957         * io/fcntl.h: Likewise.
33958         * io/sys/poll.h: Likewise.
33959         * misc/bits/syslog.h: Likewise.
33960         * misc/bits/syslog-ldbl.h: Likewise.
33961         * misc/sys/syslog.h: Likewise.
33962         * socket/bits/socket2.h: Likewise.
33963         * socket/sys/socket.h: Likewise.
33964         * debug/tst-chk1.c: Likewise.
33965         * wcsmbs/bits/wchar2.h: Likewise.
33966         * wcsmbs/bits/wchar-ldbl.h: Likewise.
33967         * wcsmbs/wchar.h: Likewise.
33968
33969 2012-04-29  Andreas Jaeger  <aj@suse.de>
33970
33971         * Makerules (tests): Remove enable-check-abi protection.
33972         (check-abi-warn): Remove.
33973         (check-abi-%): Remove check-abi-warn usage.
33974
33975         * configure.in: Remove check-abi configure option.
33976         * configure: Regenerated.
33977         * config.make.in (enable-check-abi): Remove.
33978
33979 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
33980
33981         [BZ #14033]
33982         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33983         double functions to double *_finite functions.
33984
33985         [BZ #13941]
33986         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33987         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33988         LDBL_MIN_EXP.
33989         * stdio-common/Makefile (tests): Add tst-sprintf3.
33990         * stdio-common/tst-sprintf3.c: New file.
33991
33992         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33993         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33994
33995 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
33996
33997         * conform/conformtest.pl: Remove duplicate typed-constant
33998         handling.
33999
34000 2012-04-28  David S. Miller  <davem@davemloft.net>
34001
34002         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34003         (check-abi-%): Remove AWK script prerequisite and explicit
34004         abilist directory.
34005         (check-abi): Rewrite to just diff the symlist with the abilist.
34006         (config-tls, config-abi-config): Delete, no longer used.
34007         (update-abi-%): Remove AWK script and explicit abilist directory.
34008         (update-abi): Rewrite to simply compare and conditionally copy the
34009         symlist and the sysdep abilist file.  Remove update-abi-config
34010         checks.
34011         * abilist/ld.abilist: Remove.
34012         * abilist/libBrokenLocale.abilist: Remove.
34013         * abilist/libanl.abilist: Remove.
34014         * abilist/libcrypt.abilist: Remove.
34015         * abilist/libdl.abilist: Remove.
34016         * abilist/librt.abilist: Remove.
34017         * abilist/libthread_db.abilist: Remove.
34018         * abilist/libutil.abilist: Remove.
34019         * scripts/extract-abilist.awk: Remove.
34020         * scripts/merge-abilist.awk: Remove.
34021         * sysdeps/generic/libcidn.abilist: New file.
34022         * sysdeps/generic/libnss_compat.abilist: New file.
34023         * sysdeps/generic/libnss_db.abilist: New file.
34024         * sysdeps/generic/libnss_dns.abilist: New file.
34025         * sysdeps/generic/libnss_files.abilist: New file.
34026         * sysdeps/generic/libnss_hesiod.abilist: New file.
34027         * sysdeps/generic/libnss_nis.abilist: New file.
34028         * sysdeps/generic/libnss_nisplus.abilist: New file.
34029         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34030         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34031         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34032         file.
34033         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34034         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34035         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34036         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34037         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34038         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34039         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34040         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34041         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34042         file.
34043         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34044         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34045         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34046         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34047         file.
34048         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34049         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34050         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34051         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34052         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34053         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34054         file.
34055         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34056         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34057         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34058         file.
34059         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34060         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34061         New file.
34062         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34063         New file.
34064         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34065         New file.
34066         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34067         New file.
34068         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34069         New file.
34070         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34071         New file.
34072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34073         New file.
34074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34075         New file.
34076         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34077         New file.
34078         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34079         New file.
34080         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34081         New file.
34082         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34083         New file.
34084         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34085         New file.
34086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34087         file.
34088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34089         New file.
34090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34091         New file.
34092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34093         file.
34094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34095         New file.
34096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34097         New file.
34098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34099         file.
34100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34101         New file.
34102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34103         New file.
34104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34105         New file.
34106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34107         New file.
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34109         New file.
34110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34111         New file.
34112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34114         file.
34115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34116         New file.
34117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34118         file.
34119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34120         file.
34121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34122         file.
34123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34124         file.
34125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34126         file.
34127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34128         New file.
34129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34130         file.
34131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34132         file.
34133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34134         New file.
34135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34136         file.
34137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34139         file.
34140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34141         New file.
34142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34143         file.
34144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34145         file.
34146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34147         file.
34148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34149         file.
34150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34151         file.
34152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34153         New file.
34154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34155         file.
34156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34157         file.
34158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34159         New file.
34160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34161         file.
34162         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34163         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34164         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34165         file.
34166         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34167         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34168         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34169         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34170         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34171         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34172         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34173         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34174         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34175         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34176         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34178         file.
34179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34180         New file.
34181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34182         file.
34183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34184         file.
34185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34186         file.
34187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34188         file.
34189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34190         file.
34191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34192         New file.
34193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34194         New file.
34195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34196         file.
34197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34198         New file.
34199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34200         file.
34201         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34203         file.
34204         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34205         New file.
34206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34207         file.
34208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34209         file.
34210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34211         file.
34212         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34213         file.
34214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34215         file.
34216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34217         New file.
34218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34219         New file.
34220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34221         file.
34222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34223         New file.
34224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34225         file.
34226
34227 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34228
34229         * conform/conformtest.pl: Fix typo in handling typed-constant from
34230         allow-header.
34231
34232 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34233
34234         * README: Cut down references to pre-2.6 Linux kernels and
34235         Linuxthreads.  Update lists of configurations in libc and ports
34236         and sort alphabetically.  Say "or newer" with Linux kernel version
34237         requirements.
34238
34239         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34240
34241 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34242
34243         [BZ #887]
34244         * math/libm-test.inc (logb_test_downward): New test to expose
34245         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34246         rounding mode.
34247
34248 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34249
34250         [BZ #14027]
34251         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34252         to be done.
34253         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34254         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34255
34256 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34257
34258         * sysdeps/unix/i386/brk.S: Remove file.
34259         * sysdeps/unix/i386/dl-brk.S: Likewise.
34260         * sysdeps/unix/i386/pipe.S: Likewise.
34261         * sysdeps/unix/i386/sigreturn.S: Likewise.
34262         * sysdeps/unix/i386/syscall.S: Likewise.
34263         * sysdeps/unix/i386/vfork.S: Likewise.
34264         * sysdeps/unix/i386/wait.S: Likewise.
34265
34266         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34267         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34268
34269         * configure.in (arm*-none*): Do not allow without
34270         --enable-hacker-mode.
34271         (netbsd*): Remove case setting base_os.
34272         (386bsd*): Likewise.
34273         (freebsd*): Likewise.
34274         (bsdi*): Likewise.
34275         (osf*): Likewise.
34276         (sunos*): Likewise.
34277         (ultrix*): Likewise.
34278         (newsos*): Likewise.
34279         (dynix*): Likewise.
34280         (*bsd*): Likewise.
34281         (sysv*): Likewise.
34282         (isc*): Likewise.
34283         (esix*): Likewise.
34284         (sco*): Likewise.
34285         (minix*): Likewise.
34286         (irix4*): Likewise.
34287         (irix6*): Likewise.
34288         (solaris[2-9]*): Likewise.
34289         (none): Likewise.
34290         * configure: Regenerated.
34291
34292 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34293
34294         [BZ #11521]
34295         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34296         overflow or cancellation in calculating denominator.
34297         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34298         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34299         down expression to avoid unexpected rounding in newer GCCs.
34300         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34301
34302 2012-04-26  David S. Miller  <davem@davemloft.net>
34303
34304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34305         long-double compat symbols.
34306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34314         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34319
34320 2012-04-25  David S. Miller  <davem@davemloft.net>
34321
34322         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34323         HWCAP_* values only after the memory barriers have been defined.
34324         (atomic_full_barrier): Define.
34325         (atomic_read_barrier): Define.
34326         (atomic_write_barrier): Define.
34327
34328 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34329
34330         * shlib-versions: Add libgcc_s version information.
34331         * sysdeps/generic/libgcc_s.h: Remove.
34332         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34333         libgcc_s.h.
34334         * sysdeps/gnu/unwind-resume.c: Likewise.
34335         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34336
34337 2012-04-25  David S. Miller  <davem@davemloft.net>
34338
34339         * sysdeps/unix/sparc/brk.S: Delete.
34340         * sysdeps/unix/sparc/dl-brk.S: Delete.
34341         * sysdeps/unix/sparc/pipe.S: Delete.
34342         * sysdeps/unix/sparc/sysdep.S: Delete.
34343         * sysdeps/unix/sparc/sysdep.h: Delete.
34344         * sysdeps/unix/sparc/vfork.S: Delete.
34345         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34346         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34347         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34348         (ret_ERRVAL, r0, r1, MOVE): Define.
34349         (JUMPTARGET): Remove.
34350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34351         sysdeps/unix/sparc/sysdep.h
34352         (ENTRY, END): Remove.
34353         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34354
34355 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34356
34357         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34358         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34359         -DIS_IN_build.
34360
34361         * timezone/README: Update upstream location and email address for
34362         tzcode and tzdata.
34363         * timezone/zdump.c: Update from tzcode 2012b.
34364         * timezone/zic.c: Likewise.
34365
34366         * configure.in (libc_cv_as_needed): Remove test.
34367         * configure: Regenerated.
34368         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34369         conditional definition.
34370         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34371         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34372         * config.make.in (have-as-needed): Remove variable.
34373
34374 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34375             Paul Pluzhnikov  <ppluzhnikov@google.com>
34376
34377         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34378         strings correctly.
34379
34380 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34381
34382         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34383         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34384         * sysdeps/sh/strlen.S: Likewise.
34385
34386 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34387
34388         * sysdeps/unix/fork.S: Remove file.
34389         * sysdeps/unix/i386/fork.S: Likewise.
34390         * sysdeps/unix/sparc/fork.S: Likewise.
34391
34392         * sysdeps/unix/system.c: Remove file.
34393         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34394
34395         * sysdeps/unix/getegid.S: Remove file.
34396         * sysdeps/unix/geteuid.S: Likewise.
34397
34398 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34399
34400         * scripts/check-localplt.awk: New file.
34401         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34402         of diff.
34403         * scripts/data/localplt-generic.data: Add a comment.
34404
34405         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34406         NODE when __dir_mkfile failed.
34407         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34408         Reported by Ludovic Courtès <ludo@gnu.org>.
34409
34410 2012-04-24  Andreas Jaeger  <aj@suse.de>
34411
34412         * Makerules (common-clean): Also remove gen-as-const-headers
34413         files.
34414
34415 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34416
34417         * Makerules (native-compile): Do not change working directory for
34418         build.  Use $(OUTPUT_OPTION) in command.
34419         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34420
34421 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34422
34423         [BZ #13886]
34424         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34425         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34426         * math/libm-test.inc (floor_test): Add more tests.
34427         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34428
34429 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34430
34431         * sysdeps/unix/getdents.c: Remove file.
34432         * sysdeps/unix/sysv/getdents.c: Likewise.
34433         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34434
34435         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34436         sysdeps/unix/mman/syscalls.list.
34437         (mmap): Likewise.
34438         (mprotect): Likewise.
34439         (msync): Likewise.
34440         (munmap): Likewise.
34441         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34442         * sysdeps/unix/mman/syscalls.list: Remove.
34443         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34444
34445         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34446         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34447         * configure: Regenerated.
34448         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34449         $(libgcc_s_suffix).
34450         * config.make.in (libgcc_s_suffix): Remove variable.
34451
34452 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34453
34454         * sysdeps/unix/sysv/gethostname.c: Move to ...
34455         * sysdeps/posix/gethostname.c: ... here.
34456
34457         * sysdeps/unix/execve.S: Remove file.
34458
34459         * sysdeps/unix/_exit.S: Remove file.
34460
34461 2012-04-23  Andreas Jaeger  <aj@suse.de>
34462
34463         [BZ #13739]
34464         * manual/Makefile: Remove make dist support, there's no
34465         need for a stand-alone documentation tar ball.
34466         (TEXI2DVI): Define always, it's not in Makeconfig.
34467         (dist): Removed.
34468         (tar-it): Removed.
34469         (edition): Removed.
34470         (glibc-doc-$(edition).tar): Removed
34471         (%.Z): Removed.
34472         (%.gz): Removed.
34473         (%.uu): Removed.
34474         (ETAGS): Remove, it's in Makeconfig.
34475         (move-if-change): Remove, it's in Makeconfig.
34476
34477 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34478
34479         [BZ #13970]
34480         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34481         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34482         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34483         (strtod_l, strtof_l, strtold_l): Remove __wur.
34484         It is not necessarily an error to ignore strtol's return value.
34485         One can reliably look at the stored endptr to decide whether
34486         the number had valid syntax.
34487
34488 2012-04-21  Andreas Jaeger  <aj@suse.de>
34489
34490         [BZ #13739]
34491         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34492
34493 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34494
34495         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34496         * sysdeps/unix/sysv/Versions: Remove file.
34497
34498 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34499
34500         [BZ #13927]
34501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34502
34503 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34504
34505         [BZ #7064]
34506         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34507         version from __vm86.
34508
34509 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
34510
34511         * sysdeps/unix/common/lxstat.c: Remove file.
34512         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34513
34514         * sysdeps/unix/sysv/Makefile: Remove file.
34515
34516         * sysdeps/unix/sysv/direct.h: Remove file.
34517
34518         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34519         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34520         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34521         * sysdeps/unix/sysv/bits/signum.h: Likewise.
34522         * sysdeps/unix/sysv/bits/stat.h: Likewise.
34523         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34524         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34525
34526         * sysdeps/unix/sysv/setrlimit.c: Remove file.
34527
34528         * sysdeps/unix/xmknod.c: Remove file.
34529         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34530
34531         * sysdeps/unix/sysv/settimeofday.c: Remove file.
34532
34533         * sysdeps/unix/sysv/i386/time.S: Remove file.
34534
34535         * sysdeps/unix/fxstat.c: Remove file.
34536         * sysdeps/unix/xstat.c: Likewise.
34537         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34538
34539         * sysdeps/unix/sysv/sigaction.c: Remove file.
34540
34541         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34542         (sysdep_headers): Remove variable.
34543         [termio.h not in sysdep_headers] (generated): Likewise.
34544         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34545         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34546         * sysdeps/unix/sysv/tcdrain.c: Likewise.
34547         * sysdeps/unix/sysv/tcflow.c: Likewise.
34548         * sysdeps/unix/sysv/tcflush.c: Likewise.
34549         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34550         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34551         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34552         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34553         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34554
34555         * sysdeps/unix/siglist.c: Remove file.
34556
34557         * sysdeps/unix/getppid.S: Remove file.
34558
34559         * sysdeps/unix/mkdir.c: Remove file.
34560         * sysdeps/unix/rmdir.c: Likewise.
34561
34562 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
34563
34564         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34565         ERR_MAX value.
34566         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34567         errlist-compat value.
34568
34569 2012-04-18  David S. Miller  <davem@davemloft.net>
34570
34571         * sysdeps/generic/memcopy.h (reg_char): Delete.
34572         * debug/strcat_chk.c: Use char, not reg_char.
34573         * debug/strcpy_chk.c: Likewise.
34574         * debug/strncat_chk.c: Likewise.
34575         * debug/strncpy_chk.c: Likewise.
34576         * string/memchr.c: Likewise.
34577         * string/memrchr.c: Likewise.
34578         * string/rawmemchr.c: Likewise.
34579         * string/strcat.c: Likewise.
34580         * string/strchr.c: Likewise.
34581         * string/strchrnul.c: Likewise.
34582         * string/strcmp.c: Likewise.
34583         * string/strcpy.c: Likewise.
34584         * string/strncat.c: Likewise.
34585         * string/strncmp.c: Likewise.
34586         * string/strncpy.c: Likewise.
34587
34588 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34589
34590         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34591         __builtin_memcopy is called when src and dest ranges are known to not
34592         overlap.
34593
34594 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34595
34596         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34597         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34598         fwd_align_merge macro call.
34599         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34600         bwd_align_merge macro call.
34601         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34602
34603 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
34604
34605         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34606         bwd_align_merge macros.
34607         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34608         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34609         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34610
34611 2012-04-18  David S. Miller  <davem@davemloft.net>
34612
34613         * sysdeps/sparc/sparc64/memcopy.h: Delete.
34614
34615 2012-04-18  Andreas Jaeger  <aj@suse.de>
34616
34617         [BZ# 6794]
34618         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34619         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34620         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34621
34622         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34623         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34624         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34625
34626         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34627         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34628         Adjust for changed ldbl-128 files.
34629
34630         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34631         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34632         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34633
34634 2012-04-17  David S. Miller  <davem@davemloft.net>
34635
34636         * sysdeps/sparc/sparc32/memcopy.h: Delete.
34637
34638 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
34639
34640         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34641         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34642         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34643         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34644         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34645         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34646
34647 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34648
34649         [BZ #6794]
34650         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34651         * math/libm-test.inc: Add ilogb errno and exception tests.
34652         * math/w_ilogb.c: New file: ilogb wrapper.
34653         * math/w_ilogbf.c: New file: ilogbf wrapper.
34654         * math/w_ilogbl.c: New file: ilogbl wrapper.
34655         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34656         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34657         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34658         exception being thrown with 0.0 as argument.
34659         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34660         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34661         exception being thrown with 0.0 as argument.
34662         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34663         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34664         exception being thrown with 0.0 as argument.
34665         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34666         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34667         exception being thrown with 0.0 as argument.
34668         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34669         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34670         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34671         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34672         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34673         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34674         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34675         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34676         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34677
34678 2012-04-17  Petr Baudis  <pasky@ucw.cz>
34679
34680         * include/sys/uio.h: Change __vector to __iovec to avoid clash
34681         with altivec.
34682
34683 2012-04-16  Marek Polacek  <polacek@redhat.com>
34684
34685         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34686
34687 2012-04-16  Marek Polacek  <polacek@redhat.com>
34688
34689         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34690         operands of fdivp instruction.
34691
34692 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34693
34694         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34695         * elf/tst-auditmod3b.c: Likewise.
34696         * elf/tst-auditmod4b.c: Likewise.
34697         * elf/tst-auditmod5b.c: Likewise.
34698         * elf/tst-auditmod6b.c: Likewise.
34699         * elf/tst-auditmod6c.c: Likewise.
34700         * elf/tst-auditmod7b.c: Likewise.
34701         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34702         * sysdeps/x86_64/preconfigure.in: Likewise.
34703         * sysdeps/x86_64/preconfigure: Regenerated.
34704
34705 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
34706
34707         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34708         __ILP32__.
34709
34710 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
34711
34712         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34713         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34714
34715 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
34716
34717         [BZ #13973]
34718         * locale/iso-639.def: Fix gl language name. Spotted by
34719         Yaron Shahrabani.
34720
34721 2012-04-12  Roland McGrath  <roland@hack.frob.com>
34722
34723         [BZ #2074]
34724         * libio/libio.h (__io_write_fn): Update comment.
34725
34726 2012-04-12  Petr Baudis  <pasky@ucw.cz>
34727
34728         [BZ #2074]
34729         * stdio.texi (Hook Functions): The user provided writer function
34730         is not allowed to return -1.
34731
34732 2012-04-11  David S. Miller  <davem@davemloft.net>
34733
34734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34735
34736 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
34737
34738         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34739         Add a leading slash to rtkaio.
34740
34741 2012-04-11  Jim Meyering  <meyering@redhat.com>
34742
34743         [BZ #11959]
34744         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34745         It is not necessarily an error to ignore fwrite's return
34746         value.  One can reliably use ferror to test for errors after
34747         the fact.
34748
34749 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34750
34751         * bits/types.h (__snseconds_t): New type.
34752         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34753
34754         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34755         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34756         (__SNSECONDS_T_TYPE): Likewise.
34757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34758         (__SNSECONDS_T_TYPE): Likewise.
34759         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34760         (__SNSECONDS_T_TYPE): Likewise.
34761
34762 2012-04-10  Andreas Jaeger  <aj@suse.de>
34763
34764         [BZ #2636]
34765         * manual/time.texi (Processor Time): Return type of times is
34766         elapsed real time since an arbitrary point in the past.
34767         (CPU Time): Move CLK_TCK from here...
34768         (Processor Time): ...to here.  Correct description.
34769         * manual/conf.texi (Constants for Sysconf): Correct description of
34770         _SC_CLK_TCK.
34771
34772 2012-04-10  David S. Miller  <davem@davemloft.net>
34773
34774         [BZ #13967]
34775         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34776         where the is a gap between DT_REL(A) and DT_JMPREL.
34777
34778 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
34779
34780         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34781         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34782         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34783
34784 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34785
34786         * elf/dl-support.c (_dl_inhibit_cache): New variable.
34787         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34788         (dl_main): Handle --inhibit-cache.
34789         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34790         _dl_inhibit_cache.
34791         * elf/dl-load.c (_dl_map_object): Use it.
34792         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34793
34794 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34795
34796         [BZ #13872]
34797         * sysdeps/i386/fpu/e_powl.S (p78): New object.
34798         (__ieee754_powl): Saturate large exponents rather than testing for
34799         overflow of y*log2(x).
34800         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34801         * math/libm-test.inc (pow_test): Do not permit spurious overflow
34802         exceptions.
34803
34804         [BZ #11521]
34805         * math/s_ctan.c: Include <float.h>.
34806         (__ctan): Avoid internal overflow or cancellation in calculating
34807         denominator.
34808         * math/s_ctanf.c: Likewise.
34809         * math/s_ctanl.c: Likewise.
34810         * math/s_ctanh.c: Likewise.
34811         * math/s_ctanhf.c: Likewise.
34812         * math/s_ctanhl.c: Likewise.
34813         * math/libm-test.inc (ctan_test): Add more tests.
34814         (ctanh_test): Likewise.
34815         * sysdeps/i386/fpu/libm-test-ulps: Update.
34816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34817
34818 2012-04-09  Andreas Jaeger  <aj@suse.de>
34819
34820         [BZ #6894]
34821         * manual/filesys.texi (Directory Entries): Mention that d_namlen
34822         is an optional BSD extension.
34823
34824         [BZ #10254]
34825         * manual/stdio.texi (Opening Streams): Document additional fopen
34826         parameters.
34827
34828 2012-04-09  Roland McGrath  <roland@hack.frob.com>
34829
34830         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34831         %eax without telling the compiler.
34832
34833 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
34834
34835         [BZ # 13963]
34836         * manual/install.texi: Use sourceware.org.
34837
34838 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
34839
34840         [BZ #13873]
34841         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34842         (__ieee754_pow): Generate overflow and underflow using huge*huge
34843         and tiny*tiny rather than just returning constant infinity or zero
34844         for large exponents.
34845         * math/libm-test.inc (pow_test): Require overflow exceptions for
34846         applicable cases of large exponents.
34847
34848         [BZ #706]
34849         * sysdeps/i386/fpu/e_pow.S (p10): New object.
34850         (__ieee754_pow): Use iterative multiplication algorithm only for
34851         integer exponents with absolute value below 1024.  Check for odd
34852         integer exponents when using algorithm for real exponents.
34853         * math/libm-test.inc (pow_test): Add more tests.
34854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34855
34856 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
34857
34858         [BZ #13705]
34859         * math/libm-test.inc (exp_test): Do not allow overflow exception
34860         on underflow test.
34861
34862 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
34863
34864         [BZ #13705]
34865         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34866         instead of __kernel_standard_f.
34867
34868 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
34869
34870         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34871         * sysdeps/x86_64/memset_chk.S: Likewise.
34872
34873 2012-04-08  Andreas Jaeger  <aj@suse.de>
34874
34875         [BZ #10153]
34876         * manual/startup.texi (Environment Access): Describe return value
34877         for putenv and setenv.
34878
34879         [BZ #6895]
34880         * manual/filesys.texi (Directory Entries): Add description for
34881         DT_LNK.
34882
34883         [BZ #6890]
34884         * manual/filesys.texi (Directory Entries): Clarify that it's file
34885         system not operating system in the description of DT_UNKNOWN.
34886
34887         [BZ #6578]
34888         * manual/syslog.texi (closelog): Fix reference, it's openlog.
34889
34890 2012-04-08  Stephen Compall  <s11@member.fsf.org>
34891
34892         [BZ #6649]
34893         * manual/llio.texi (Opening and Closing Files): Add cross
34894         reference to explain mode argument.
34895
34896 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
34897
34898         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34899         * sysdeps/x86_64/memset_chk.S: Likewise.
34900
34901 2012-04-07  David S. Miller  <davem@davemloft.net>
34902
34903         * elf/elf.h (R_SPARC_WDISP10): Define.
34904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34905         R_SPARC_SIZE32.
34906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34907         R_SPARC_SIZE64 and R_SPARC_H34.
34908
34909 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
34910
34911         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34912         conditions and remove no longer applicable assertion.
34913
34914 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34915
34916         * bits/byteswap.h: Include <features.h>.
34917         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34918         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34919
34920 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
34921
34922         * bits/byteswap.h (__bswap_16): Removed.
34923         Include <bits/byteswap-16.h> to get __bswap_16.
34924         * sysdeps/i386/bits/byteswap.h: Likewise.
34925         * sysdeps/s390/bits/byteswap.h: Likewise.
34926         * sysdeps/x86_64/bits/byteswap.h: Likewise.
34927         * bits/byteswap-16.h: New file.
34928         * sysdeps/i386/bits/byteswap-16.h: Likewise.
34929         * sysdeps/s390/bits/byteswap-16.h: Likewise.
34930         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34931         * string/Makefile (headers): Add bits/byteswap-16.h.
34932
34933 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34934
34935         [BZ #13895]
34936         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34937         extra indirection.
34938         * nss/Makefile (tests-static, tests): Add tst-nss-static.
34939         * nss/tst-nss-static.c: New.
34940
34941 2012-04-06  Robert Millan  <rmh@gnu.org>
34942
34943         [BZ #6486]
34944         * manual/llio.texi (File Position Primitive): lseek
34945         refers to WHENCE when it really means OFFSET.
34946
34947 2012-04-06  Andreas Jaeger  <aj@suse.de>
34948
34949         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34950         strncmp declarations.
34951
34952         * abilist/libc.abilist: Add __poll and __ppoll.
34953
34954 2012-04-05  David S. Miller  <davem@davemloft.net>
34955
34956         * scripts/check-local-headers.sh: Accept a host triplet in the
34957         path matched by the exclude regexp.
34958
34959         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34960         definition.
34961         * sysdeps/powerpc/powerpc32/dl-machine.h
34962         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34963         * sysdeps/s390/s390-32/dl-machine.h
34964         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34965         * sysdeps/sparc/sparc32/dl-machine.h
34966         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34967         * sysdeps/sparc/sparc64/dl-machine.h
34968         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34969
34970         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34971         lazy binding.
34972         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34973         undefined symbol errors.
34974
34975         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34976         DT_NEEDED entries.
34977
34978 2012-04-05  Michael Matz  <matz@suse.de>
34979
34980         [BZ #13592]
34981         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34982
34983 2012-04-05  Andreas Jaeger  <aj@suse.de>
34984
34985         [BZ #13908]
34986         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34987         comment.
34988
34989 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34990
34991         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34992         which ROUND is no valid rounding mode.
34993
34994 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34995
34996         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34997         read again.
34998         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34999
35000 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35001
35002         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35003         an exception using FPU order intentionally.
35004
35005 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35006
35007         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35008         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35009         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35010         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35011
35012 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35013
35014         [BZ #12340]
35015         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35016         EINVAL when BUFLEN is too smal.
35017
35018 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35019
35020         [BZ #13553]
35021         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35022         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35023
35024 2012-04-03  Andreas Jaeger  <aj@suse.de>
35025
35026         [BZ #13938]
35027         * manual/setjmp.texi (System V contexts): Fix sentence.
35028
35029         [BZ #13926]
35030         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35031         New macro for this case.
35032         [!__GNUC__] (__bswap_64): New inline function for this case.
35033         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35034         * bits/byteswap.h: Likewise.
35035         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35036         ull, guard with __GLIBC_HAVE_LONG_LONG.
35037
35038         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35039         __GLIBC_HAVE_LONG_LONG.
35040
35041         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35042         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35043
35044 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35045
35046         [BZ #13691]
35047         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35048         inptr and inend, rather than using last_ch.
35049
35050 2012-04-02  David S. Miller  <davem@davemloft.net>
35051
35052         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35053         * stdio-common/printf-parse.h (read_int): Change return type to
35054         'int', return -1 on INT_MAX overflow.
35055         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35056         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35057         overflows INT_MAX.  Check for overflow of in-format-string precision
35058         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35059         SIZE_MAX not INT_MAX for integer overflow test.
35060         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35061         skip the construct in the format string but do not record anything.
35062         * stdio-common/bug22.c: Adjust to test both width/prevision
35063         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35064         explicitly for proper errno values.
35065
35066 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35067
35068         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35069         CHAR_MAX.
35070         * string/test-strcmp.c [! WIDE]: Likewise.
35071         * time/tst-mktime2.c: Likewise for INT_MAX.
35072         * string/test-string.h: #include <sys/param.h> for MIN.
35073
35074         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35075         * sysdeps/i386/init-first.c (init): Likewise.
35076         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35077         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35078         * sysdeps/sh/init-first.c (init): Likewise.
35079
35080 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35081
35082         * po/ru.po: Update from translation team.
35083         * po/vi.po: Likewise.
35084
35085 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35086
35087         * resolv/nss_dns/dns-host.c: Merge copyright years.
35088
35089 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35090
35091         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35092         Optimize memcpy with prefetch if
35093         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35094         src, dst pointers have unequal 16 byte alignments.
35095
35096 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097
35098         [BZ #13928]
35099         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35100         from a CNAME entry and return the minimum ttl for the query.
35101         (gaih_getanswer_slice): Likewise.
35102
35103 2012-03-30  Jeff Law  <law@redhat.com>
35104
35105         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35106         due to long keys.
35107         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35108         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35109
35110         * resolv/nss_dns/dns-host.c: Update copyright year.
35111
35112 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35113
35114         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35115         requests to save a system call.  Fix check that all bytes are sent.
35116
35117         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35118         comments for sendmmsg.
35119
35120 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35121
35122         [BZ #13691]
35123         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35124         with only 1 character between 0x0041 and 0x01b0.
35125         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35126         * wcsmbs/tst-mbsnrtowcs.c: New file.
35127
35128 2012-03-29  David S. Miller  <davem@davemloft.net>
35129
35130         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35131         small copies by hand.
35132
35133 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35134
35135         [BZ #13761]
35136         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35137         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35138         group memberships.
35139
35140 2012-03-28  David S. Miller  <davem@davemloft.net>
35141
35142         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35143         that branches into memcpy.
35144         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35145         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35146         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35147         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35148         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35149         bits.
35150         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35151         implementation too.
35152         * sysdeps/sparc/mempcpy.S: New file.
35153
35154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35155         the IFUNC routine in the libc case.
35156         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35157
35158         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35159         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35160         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35161         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35162         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35163         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35164         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35165         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35166
35167         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35168         loop to 256 bytes instead of 64 bytes and fix test signedness.
35169
35170         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35171         * sysdeps/sparc/sparc32/Makefile: rather than here...
35172         * sysdeps/sparc/sparc64/Makefile: and here.
35173
35174 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35175
35176         * malloc/mallocbug.c: Avoid warnings about unused variables.
35177
35178 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35179
35180         [BZ #13760]
35181         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35182         in the right place. Discard and retry query if response is
35183         larger than input buffer size.
35184
35185 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35186
35187         [BZ #369]
35188         [BZ #2678]
35189         [BZ #3866]
35190         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35191         x for large integer exponent.
35192         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35193         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35194         sign of result as needed afterwards.
35195         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35196         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35197         result for underflowing pow the same as for overflow.
35198         (__kernel_standard_l): Handle powl overflow and underflow here
35199         rather than calling __kernel_standard.
35200         * math/libm-test.inc (pow_test): Add more tests.
35201
35202         [BZ #3868]
35203         [BZ #13879]
35204         [BZ #13910]
35205         [BZ #13911]
35206         [BZ #13912]
35207         [BZ #13913]
35208         [BZ #13915]
35209         [BZ #13916]
35210         [BZ #13917]
35211         [BZ #13918]
35212         [BZ #13919]
35213         [BZ #13920]
35214         [BZ #13921]
35215         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35216         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35217         (__kernel_standard_l): New function.
35218         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35219         __kernel_standard.
35220         * math/w_acosl.c (__acosl): Likewise.
35221         * math/w_asinl.c (__asinl): Likewise.
35222         * math/w_atan2l.c (__atan2l): Likewise.
35223         * math/w_atanhl.c (__atanhl): Likewise.
35224         * math/w_coshl.c (__coshl): Likewise.
35225         * math/w_exp10l.c (__exp10l): Likewise.
35226         * math/w_exp2l.c (__exp2l): Likewise.
35227         * math/w_fmodl.c (__fmodl): Likewise.
35228         * math/w_hypotl.c (__hypotl): Likewise.
35229         * math/w_j0l.c (__j0l, __y0l): Likewise.
35230         * math/w_j1l.c (__j1l, __y1l): Likewise.
35231         * math/w_jnl.c (__jnl, __ynl): Likewise.
35232         * math/w_lgammal.c (__lgammal): Likewise.
35233         * math/w_log10l.c (__log10l): Likewise.
35234         * math/w_log2l.c (__log2l): Likewise.
35235         * math/w_logl.c (__logl): Likewise.
35236         * math/w_powl.c (__powl): Likewise.
35237         * math/w_remainderl.c (__remainderl): Likewise.
35238         * math/w_scalbl.c (sysv_scalbl): Likewise.
35239         * math/w_sinhl.c (__sinhl): Likewise.
35240         * math/w_sqrtl.c (__sqrtl): Likewise.
35241         * math/w_tgammal.c (__tgammal): Likewise.
35242         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35243         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35244         * math/libm-test.inc (acos_test): Add more tests.
35245         (acosh_test): Likewise.
35246         (asin_test): Likewise.
35247         (atanh_test): Likewise.
35248         (exp_test): Likewise.
35249         (exp10_test): Likewise.
35250         (exp2_test): Likewise.
35251         (expm1_test): Likewise.
35252         (lgamma_test): Likewise.
35253         (log_test): Likewise.
35254         (log10_test): Likewise.
35255         (log1p_test): Likewise.
35256         (log2_test): Likewise.
35257         (pow_test): Do not allow some spurious overflow exceptions.
35258         (sqrt_test): Add more tests.
35259         (tgamma_test): Likewise.
35260         (y0_test): Likewise.
35261         (y1_test): Likewise.
35262         (yn_test): Likewise.
35263
35264 2012-03-27  Anton Blanchard  <anton@samba.org>
35265
35266         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35267         MAP_HUGETLB.
35268         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35269         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35270         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35271
35272 2012-03-27  David S. Miller  <davem@davemloft.net>
35273
35274         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35275
35276         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35277         have-as-vis3 check.
35278
35279 2012-03-27  Andreas Jaeger  <aj@suse.de>
35280
35281         * sysdeps/x86_64/elf/configure.in: Moved to ...
35282         * sysdeps/x86_64/configure.in: ... here.
35283         * sysdeps/x86_64/elf/start.S: Moved to ...
35284         * sysdeps/x86_64/start.S: ... here.
35285         * sysdeps/x86_64/elf/configure: Delete.
35286
35287         * sysdeps/x86_64/configure.in: Merge contents from
35288         sysdeps/i386/configure.in (without i686 check).
35289
35290         * sysdeps/i386/elf/Versions: Merge into ...
35291         * sysdeps/i386/Versions: ... this.
35292         * sysdeps/i386/elf/Versions: Delete file.
35293         * sysdeps/i386/elf/start.S: Moved to ...
35294         * sysdeps/i386/start.S: ...here.
35295         * sysdeps/i386/elf/configure.in: Merge into...
35296         * sysdeps/i386/configure.in: ...here.
35297         * sysdeps/i386/elf/configure.in: Delete file.
35298         * sysdeps/i386/elf/configure: Delete file.
35299
35300         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35301         * debug/backtracesyms.c: ... here.
35302         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35303         * debug/backtracesymsfd.c: ... here.
35304         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35305         * sysdeps/generic/ifunc-sel.h: ... here.
35306
35307         * sysdeps/unix/i386/start.c: Delete file.
35308         * sysdeps/unix/sparc/start.c: Delete file.
35309         * sysdeps/unix/start.c: Delete file.
35310
35311         * sysdeps/sh/elf/configure.in: Moved to ...
35312         * sysdeps/sh/configure.in: ... here.
35313         * sysdeps/sh/elf/start.S: Moved to ...
35314         * sysdeps/sh/start.S: ... here.
35315         * sysdeps/sh/elf/configure: Delete file.
35316
35317         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35318         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35319         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35320         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35321         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35322         * sysdeps/powerpc/powerpc64/start.S: here.
35323         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35324         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35325         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35326         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35327         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35328
35329         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35330         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35331         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35332         * sysdeps/powerpc/powerpc32/start.S: ... here.
35333         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35334         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35335         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35336
35337         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35338         * sysdeps/powerpc/ifunc-sel.h: ... here.
35339         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35340         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35341
35342         * sysdeps/sparc/elf/configure.in: Moved to ...
35343         * sysdeps/sparc/configure.in: ... here.
35344         * sysdeps/sparc/elf/configure: Delete file.
35345         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35346         * sysdeps/sparc/sparc32/start.S: ... here.
35347         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35348         * sysdeps/sparc/sparc64/start.S: ... here.
35349         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35350         * sysdeps/sparc/sparc32/Makefile: ... this.
35351         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35352         * sysdeps/sparc/sparc64/Makefile: ... this.
35353
35354         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35355         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35356         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35357         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35358         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35359         * sysdeps/s390/s390-32/setjmp.S: ... here.
35360         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35361         * sysdeps/s390/s390-32/configure.in: ... here.
35362         * sysdeps/s390/s390-32/elf/configure: Delete file.
35363         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35364         * sysdeps/s390/s390-32/start.S: ... here.
35365
35366         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35367         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35368         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35369         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35370         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35371         * sysdeps/s390/s390-64/setjmp.S: ... here.
35372         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35373         * sysdeps/s390/s390-64/configure.in: ... here
35374         * sysdeps/s390/s390-64/elf/configure: Delete file.
35375         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35376         * sysdeps/s390/s390-64/start.S: ... here.
35377         * sysdeps/s390/s390-64/elf/configure: Delete.
35378
35379         * configure.in: Remove support for elf directories in sysdeps.
35380
35381         * configure: Regenerated.
35382         * sysdeps/i386/configure: Regenerated.
35383         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35384         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35385         * sysdeps/s390/s390-32/configure: Regenerated.
35386         * sysdeps/s390/s390-64/configure: Regenerated.
35387         * sysdeps/sh/configure: Regenerated.
35388         * sysdeps/sparc/configure: Regenerated.
35389         * sysdeps/x86_64/configure: Regenerated.
35390
35391 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35392
35393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35394
35395         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35396         denormal result into account.
35397
35398 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35399
35400         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35401         Reported by Allan McRae <allan@archlinux.org>.
35402
35403 2012-03-23  Jeff Law  <law@redhat.com>
35404
35405         * nss/getnssent.c (__nss_getent): Fix typo.
35406
35407 2012-03-23  David S. Miller  <davem@davemloft.net>
35408
35409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35410
35411 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35412
35413         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35414         to pad to uint64_t for each field.
35415         (dl_tls_index): Replace unsigned long with uint64_t.
35416
35417 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35418         Paul Pluzhnikov  <ppluzhnikov@google.com>
35419
35420         [BZ #6528]
35421         * grp/Makefile (otherlibs): Don't set it.
35422         * inet/Makefile (otherlibs): Likewise.
35423         * login/Makefile (otherlibs): Likewise.
35424         * nscd/Makefile (otherlibs): Likewise.
35425         * posix/Makefile (otherlibs): Likewise.
35426         * pwd/Makefile (otherlibs): Likewise.
35427         * rt/Makefile (otherlibs): Likewise.
35428         * sunrpc/Makefile (otherlibs): Likewise.
35429         * nss/Makefile (otherlibs): Likewise.
35430         Add libnss_files to routines and static-only-routines.
35431         ($(objpfx)getent): Remove rule.
35432         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35433         static-only-routines.
35434
35435 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35436
35437         [BZ #13892]
35438         * math/s_cexp.c: Include <float.h>.
35439         (__cexp): Handle exp result overflowing not necessarily
35440         overflowing both real and imaginary parts of result.
35441         * math/s_cexpf.c: Likewise.
35442         * math/s_cexpl.c: Likewise.
35443         * math/libm-test.inc (cexp_test): Add more tests.
35444         * sysdeps/i386/fpu/libm-test-ulps: Update.
35445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35446
35447 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35448
35449         * include/link.h (ELFW): New macro.
35450         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35451         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35452
35453 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35454
35455         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35456         with uint64_t.
35457
35458 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35459
35460         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35461         declaration.
35462         (struct La_x32_retval): Likewise.
35463
35464 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35465
35466         * sysdeps/x86_64/preconfigure.in: New file.
35467         * sysdeps/x86_64/preconfigure: New generated file.
35468
35469 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35470
35471         [BZ #13824]
35472         * math/e_exp2l.c: Include <float.h>.
35473         (__ieee754_exp2l): Handle overflow and underflow cases
35474         separately.  Only pass fractional part of argument to
35475         __ieee754_expl.
35476         * math/libm-test.inc (exp2_test): Add more tests.
35477
35478         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35479         negating x to take absolute value.
35480         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35481         Likewise.
35482         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35483         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35484         Likewise.
35485         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35486         computing low part if x was negated.
35487         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35488
35489 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35490
35491         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35492         la_x32_gnu_pltexit.
35493         (pltexit): Cast int_retval to ptrdiff_t.
35494         * elf/tst-auditmod3b.c: Likewise.
35495         * elf/tst-auditmod4b.c: Likewise.
35496         * elf/tst-auditmod5b.c: Likewise.
35497         * elf/tst-auditmod6b.c: Likewise.
35498         * elf/tst-auditmod6c.c: Likewise.
35499         * elf/tst-auditmod7b.c: Likewise.
35500
35501         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35502         and x32_gnu_pltexit.
35503
35504         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35505         __ELF_NATIVE_CLASS.
35506         (La_x32_regs): New macro.
35507         (La_x32_retval): Likewise.
35508         (la_x32_gnu_pltenter): New function prototype.
35509         (la_x32_gnu_pltexit): Likewise.
35510
35511 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
35512
35513         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35514         exponent.
35515
35516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35517
35518         * configure.in (libc_cv_cc_nofma): Check for option to disable
35519         generation of FMA instructions.
35520         * configure: Regenerate.
35521         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35522         * sysdeps/ieee754/dbl-64/Makefile: New file.
35523         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35524         Remove brandred-fma4.
35525         (CFLAGS-brandred-fma4.c): Remove.
35526         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35527         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35528         define.
35529         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35530         define.
35531
35532 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35533
35534         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35535         LLONG_MAX != LONG_MAX.
35536         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35537         (_fitoa_word): Likewise.
35538         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35539         LLONG_MAX != LONG_MAX.
35540         * stdio-common/_itowa.h: Include <_itoa.h>.
35541         (_itowa_word): Use _ITOA_WORD_TYPE on value.
35542         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
35543         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
35544         only if not defined.
35545         (_ITOA_WORD_TYPE): Likewise.
35546         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35547         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35548
35549 2012-03-21  David S. Miller  <davem@davemloft.net>
35550
35551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35552
35553 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35554
35555         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35556         of x86_64 when setting libc_cv_slibdir, libdir and
35557         libc_cv_localedir.
35558         * sysdeps/unix/sysv/linux/configure: Regenerated.
35559
35560 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35561
35562         * manual/lang.texi (Old Varargs): Remove section.
35563         (How Variadic): Update menu.
35564         (va_start): Do not mention varargs.h.
35565
35566 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35567             Joseph Myers  <joseph@codesourcery.com>
35568
35569         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35570         link test.
35571         * configure: Regenerated.
35572
35573 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35574
35575         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35576         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35577         conformtest.pl
35578
35579 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35580
35581         * NOTES: Remove.
35582         * Makefile (files-for-dist): Remove NOTES.
35583         (NOTES): Remove rule.
35584         * README: Don't refer to NOTES.
35585         * manual/creature.texi: Don't include macros.texi.
35586         * manual/intro.texi (creature.texi): Remove comment referring to
35587         NOTES.
35588
35589         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35590         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35591         * configure: Regenerated.
35592         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35593         LIBC_TRY_CC_OPTION.
35594         (libc_cv_as_i686): Likewise.
35595         (libc_cv_cc_avx): Likewise.
35596         (libc_cv_cc_sse2avx): Likewise.
35597         (libc_cv_cc_fma4): Likewise.
35598         (libc_cv_cc_novzeroupper): Likewise.
35599         * sysdeps/i386/configure: Regenerated.
35600
35601         [BZ #13883]
35602         * sysdeps/i386/fpu/s_cexp.S: Remove.
35603         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35604         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35605         * math/libm-test.inc (cexp_test): Add more tests.
35606         * sysdeps/i386/fpu/libm-test-ulps: Update.
35607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35608
35609 2012-03-21  Allan McRae  <allan@archlinux.org>
35610
35611         * timezone/Makefile: Do not install iso3166.tab and zone.tab
35612
35613 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
35614
35615         [BZ #13871]
35616         * math/w_exp2.c: Do not include <float.h>.
35617         (o_threshold, u_threshold): Remove.
35618         (__exp2): Calculate result before checking finiteness and calling
35619         __kernel_standard.
35620         * math/w_exp2f.c: Likewise.
35621         * math/w_exp2l.c: Likewise.
35622         * math/libm-test.inc (exp2_test): Require overflow exception for
35623         1e6 input.
35624
35625         [BZ #3866]
35626         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35627         range of signed 64-bit integers before using fistpll.  Remove
35628         checks for whether integers fit in mantissa bits.
35629         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35630         the range of signed 32-bit integers before using fistpl.  Remove
35631         checks for whether integers fit in mantissa bits.
35632         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35637         divide-by-zero is raised for zero to large negative powers.
35638         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35639         (__ieee754_powl): Test for y outside the range of signed 64-bit
35640         integers before using fistpll.  Reduce 64-bit values to 63-bit
35641         ones as needed.
35642         * math/libm-test.inc (pow_test): Add more tests.
35643
35644 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35645
35646         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35647         <stdio-common/_itoa.h>.
35648         * debug/segfault.c: Likewise.
35649         * elf/dl-cache.c: Likewise.
35650         * elf/dl-minimal.c: Likewise.
35651         * elf/dl-misc.c: Likewise.
35652         * elf/dl-sysdep.c: Likewise.
35653         * elf/dl-version.c: Likewise.
35654         * elf/rtld.c: Likewise.
35655         * hurd/hurdsock.c: Likewise.
35656         * hurd/lookup-retry.c: Likewise.
35657         * malloc/malloc.c: Likewise.
35658         * malloc/mtrace.c: Likewise.
35659         * nscd/nscd_getgr_r.c: Likewise.
35660         * nscd/nscd_getpw_r.c: Likewise.
35661         * nscd/nscd_getserv_r.c: Likewise.
35662         * posix/getopt_init.c: Likewise.
35663         * posix/wordexp.c: Likewise.
35664         * stdio-common/_itoa.c: Likewise.
35665         * stdio-common/printf_fphex.c: Likewise.
35666         * stdio-common/vfprintf.c: Likewise.
35667         * string/_strerror.c: Likewise.
35668         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35669         * sysdeps/i386/i686/hp-timing.h: Likewise.
35670         * sysdeps/mach/_strerror.c: Likewise.
35671         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35672         * sysdeps/mach/hurd/sethostid.c: Likewise.
35673         * sysdeps/mach/hurd/xmknodat.c: Likewise.
35674         * sysdeps/mach/xpg-strerror.c: Likewise.
35675         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35676         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35677         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35678         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35679         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35680         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35681         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35682         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35683         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35684         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35685         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35686         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35687         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35688         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35689         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35690         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35691         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35692         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35693         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35694         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35695         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35696
35697         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35698
35699         * stdio-common/_itoa.h: Moved to ...
35700         * sysdeps/generic/_itoa.h: Here.
35701
35702         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35703
35704         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35705         instead of "_itoa.h" and "_itowa.h".
35706         * stdio-common/vfprintf.: Likewise.
35707
35708 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35709
35710         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35711         <bits/wordsize.h>.
35712         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35713         (__signbit): Likwise.
35714         (llrintf): Likwise.
35715         (llrint): Likwise.
35716
35717 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35718
35719         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35720         __WORDSIZE != 64.
35721
35722 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
35723
35724         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35725         OVERFLOW_EXCEPTION_OK.
35726         * math/libm-test.inc ("Philosophy"): Update comment about
35727         exception testing.
35728         (OVERFLOW_EXCEPTION): Define.
35729         (OVERFLOW_EXCEPTION_OK): Likewise.
35730         (INVALID_EXCEPTION_OK): Renumber.
35731         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35732         (IGNORE_ZERO_INF_SIGN): Likewise.
35733         (test_exceptions): Handle FE_OVERFLOW.
35734         (exp10_test): Expect overflow exceptions.
35735         (exp2_test): Likewise.
35736         (expm1_test): Likewise.
35737         (nextafter_test): Likewise.
35738         (pow_test): Likewise.
35739         (scalbn_test): Likewise.
35740         (scalbln_test): Likewise.
35741
35742 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35743
35744         * sysdeps/x86_64/bits/atomic.h
35745         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35746         64bit integer.
35747         (atomic_exchange_acq): Likewise.
35748         (__arch_exchange_and_add_body): Likewise.
35749         (__arch_add_body): Likewise.
35750         (atomic_add_negative): Likewise.
35751         (atomic_add_zero): Likewise.
35752
35753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35754
35755         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35756         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35757
35758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35759
35760         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35761         Check __x86_64__ instead of __WORDSIZE.
35762
35763 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35764
35765         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35766
35767 2012-03-19  David S. Miller  <davem@davemloft.net>
35768
35769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35770
35771         * sysdeps/sparc/fpu/fenv_private.h: New file.
35772         * sysdeps/sparc/fpu/math_private.h: Use it.
35773         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35774         Remove.
35775         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35776         (libc_feholdexcept_setroundl): Remove.
35777         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35778         Remove.
35779         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35780         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35781
35782 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35783
35784         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35785         int64_t instead of long int.
35786         (INSERT_WORDS64): Likwise.
35787
35788 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
35789
35790         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35791         _Unwind_GetCFA return to _Unwind_Ptr first.
35792
35793 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
35794
35795         [BZ #13629]
35796         * math/s_clog.c: Include <float.h>.
35797         (__clog): Scale large or subnormal inputs.
35798         * math/s_clogf.c: Likewise.
35799         * math/s_clogl.c: Likewise.
35800         * math/s_clog10.c: Include <float.h>.
35801         (M_LOG10_2): Define.
35802         (__clog10): Scale large or subnormal inputs.
35803         * math/s_clog10f.c: Likewise.
35804         * math/s_clog10l.c: Likewise.
35805         * math/libm-test.inc (clog_test): Add more tests.
35806         (clog10_test): Likewise.
35807         * sysdeps/i386/fpu/libm-test-ulps: Update.
35808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35809
35810         [BZ #11451]
35811         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35812         x and y.
35813         * math/libm-test.inc (atan2_test): Add another test.
35814
35815         * Makerules (common-objdir-compile): Remove.
35816         * sysdeps/unix/Makefile (config-generated): Do not add
35817         $(unix-generated) to variable.
35818         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35819         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35820         Remove rule.
35821         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35822         Likewise.
35823         [generic bits/local_lim.h] (before-compile): Do not append to
35824         variable.
35825         [generic bits/local_lim.h] (common-generated): Likewise.
35826         [generic sys/param.h] (before-compile): Do not append to variable.
35827         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35828         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35829         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35830         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35831         include.
35832         [generic sys/param.h] (sys/param.h-includes): Remove variable.
35833         [generic sys/param.h] (sys/param.h-includes): Remove rule.
35834         [generic sys/param.h] ($(addprefix
35835         $(common-objpfx),$(sys/param.h-includes))): Likewise.
35836         [generic sys/param.h] (common-generated): Do not append to
35837         variable.
35838         [generic sys/param.h] (sysdep_headers): Likewise.
35839         [generic bits/errno.h] (before-compile): Do not append to
35840         variable.
35841         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35842         rule.
35843         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35844         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35845         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35846         [generic bits/errno.h] (common-generated): Do not append to
35847         variable.
35848         [generic bits/ioctls.h] (before-compile): Do not append to
35849         variable.
35850         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35851         rule.
35852         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35853         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35854         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35855         rule.
35856         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35857         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35858         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35859         [generic bits/ioctls.h] (common-generated): Do not append to
35860         variable.
35861         [generic sys/syscall.h] (syscall.h): Remove variable.
35862         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35863         rule.
35864         [generic sys/syscall.h] (before-compile): Do not append to
35865         variable.
35866         [generic sys/syscall.h] (common-generated): Likewise.
35867         * sysdeps/unix/errnos-tmpl.c: Remove file.
35868         * sysdeps/unix/errnos.awk: Likewise.
35869         * sysdeps/unix/ioctls-tmpl.c: Likewise.
35870         * sysdeps/unix/ioctls.awk: Likewise.
35871         * sysdeps/unix/mk-local_lim.c: Likewise.
35872         * sysdeps/unix/snarf-ioctls: Likewise.
35873
35874 2012-03-19  Richard Henderson  <rth@twiddle.net>
35875
35876         * sysdeps/i386/fpu/fenv_private.h: New file.
35877         * sysdeps/i386/fpu/math_private.h: Use it.
35878         (math_opt_barrier, math_force_eval): Remove.
35879         (libc_feholdexcept_setround_53bit): Remove.
35880         (libc_feupdateenv_53bit): Remove.
35881         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35882         (math_opt_barrier, math_force_eval): Remove.
35883         (libc_feholdexcept): Remove.
35884         (libc_feholdexcept_setround): Remove.
35885         (libc_fetestexcept, libc_fesetenv): Remove.
35886         (libc_feupdateenv_test): Remove.
35887         (libc_feupdateenv, libc_feholdsetround): Remove.
35888         (libc_feresetround): Remove.
35889
35890         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35891         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35892
35893         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35894         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35895         (libc_feupdateenv_testl): New.
35896         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35897         (libc_feupdateenv_testf): New.
35898         (libc_feupdateenv): Use libc_feupdateenv_test.
35899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35900         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35901
35902         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35903         (libc_feholdsetroundf, libc_feholdsetroundl): New.
35904         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35905         (libc_feresetround_noex): New.
35906         (libc_feresetround_noexf): New.
35907         (libc_feresetround_noexl): New.
35908         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35909         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35910         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35911         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35912         SET_RESTORE_ROUND.
35913         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35914         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35915         (__cos): Likewise.
35916         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35917         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35918         SET_RESTORE_ROUND_NOEX.
35919         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35920         SET_RESTORE_ROUND_NOEXF.
35921         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35922         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35923         (libc_feholdsetroundf): New.
35924         (libc_feresetround, libc_feresetroundf): New.
35925
35926         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35927         (libc_feholdexcept_setround_53bit): Convert from macro to function.
35928         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
35929
35930         * sysdeps/generic/math_private.h: Include <fenv.h>.
35931         (default_libc_feholdexcept): New.
35932         (default_libc_feholdexcept_setround): New.
35933         (default_libc_fesetenv, default_libc_feupdateenv): New.
35934         (libc_feholdexcept): Only define if undefined.
35935         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35936         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35937         (libc_feholdexcept_setroundl): Likewise.
35938         (libc_feholdexcept_setround_53bit): Likewise.
35939         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35940         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35941         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35942         (libc_feupdateenv_53bit): Likewise.
35943         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35944         (libc_feholdexcept): Convert from macro to inline function.
35945         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35946         (libc_fesetenv, libc_feupdateenv): Likewise.
35947
35948         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35949         not previously defined.
35950         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35951         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35952         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35953         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35954         * sysdeps/ieee754/flt-32/math_private.h: New file.
35955         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35956         math_private.h below SET_FLOAT_WORD.
35957         (__isnan, __isinf_ns, __finite): Remove.
35958         (__isnanf, __isinf_nsf, __finitef): Remove.
35959
35960 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
35961
35962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35963
35964 2012-03-17  David S. Miller  <davem@davemloft.net>
35965
35966         [BZ #6471]
35967         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35968         for 2.16.
35969
35970 2012-03-16  David S. Miller  <davem@davemloft.net>
35971
35972         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35973         warnings.
35974
35975         [BZ #6471]
35976         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35977         properly.
35978         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35979         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35980         sysdep_routines when subdir is sysvipc.
35981         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35982         __getshmlba helper.
35983
35984         * sysdeps/sparc/fpu/libm-test/ulps: Update.
35985
35986 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35987
35988         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35989         [__LP64__].
35990
35991 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35992
35993         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35994         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35995         (__lround): Renamed to ...
35996         (__llround): This.  Replace long int with long long int.
35997         Define lround functions as aliases of llround functions.
35998         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35999
36000 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36001
36002         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36003         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36004         adresses to uintptr_t.  Replace "long int" and "unsigned long
36005         int" with "greg_t" on va_arg.
36006
36007 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36008
36009         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36010         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36011
36012         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36013         Move e_machine check before EI_CLASS check.  Handle x32
36014         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36015         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36016         SKIP_EM_IA_64 and include
36017         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36018
36019         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36020         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36021         (add_system_dir): New macro.
36022
36023         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36024         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36025
36026 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36027
36028         [BZ #2551]
36029         [BZ #2552]
36030         [BZ #2553]
36031         [BZ #2554]
36032         [BZ #2562]
36033         [BZ #2563]
36034         [BZ #2565]
36035         [BZ #2566]
36036         [BZ #2576]
36037         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36038         (y0): Likewise.
36039         * math/w_j0f.c (j0f): Likewise.
36040         (y0f): Likewise.
36041         * math/w_j0l.c (__j0l): Likewise.
36042         (__y0l): Likewise.
36043         * math/w_j1.c (j1): Likewise.
36044         (y1): Likewise.
36045         * math/w_j1f.c (j1f): Likewise.
36046         (y1f): Likewise.
36047         * math/w_j1l.c (__j1l): Likewise.
36048         (__y1l): Likewise.
36049         * math/w_jn.c (jn): Likewise.
36050         (yn): Likewise.
36051         * math/w_jnf.c (jnf): Likewise.
36052         (ynf): Likewise.
36053         * math/w_jnl.c (__jnl): Likewise.
36054         (__ynl): Likewise.
36055         * math/libm-test.inc (j0_test): Add more tests.
36056         (j1_test): Likewise.
36057         (jn_test): Likewise.  Add trailing semicolon to existing test.
36058         (y0_test): Likewise.
36059         (y1_test): Likewise.
36060         * sysdeps/i386/fpu/libm-test-ulps: Update.
36061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36062
36063         [BZ #13851]
36064         [BZ #13854]
36065         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36066         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36067         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36068         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36069         (__tanl): Set errno for infinite argument.
36070         * sysdeps/i386/fpu/mptan.c: Remove.
36071         * sysdeps/i386/fpu/s_tan.S: Likewise.
36072         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36073         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36074         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36075         * math/libm-test.inc (tan_test): Add more tests and enable more
36076         tests for double and long double.
36077         * sysdeps/i386/fpu/libm-test-ulps: Update.
36078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36079
36080 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36081
36082         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36083         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36084
36085 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36086
36087         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36088         * configure.in: Use it for both main tree and add-ons.
36089         * configure: Regenerated.
36090
36091 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36092
36093         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36094
36095 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36096
36097         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36098         in comment.
36099
36100         [BZ #13851]
36101         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36102         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36103         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36104         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36105         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36106         infinite argument.
36107         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36108         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36109         != 0 for prec == 2.
36110         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36111         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36112         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36113         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36114         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36115         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36116         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36117         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36118         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36119         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36120         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36121         * math/libm-test.inc (cos_test): Add more tests and enable more
36122         tests for long double.
36123         (sin_test): Likewise.
36124         (sincos_test): Likewise.
36125         * sysdeps/i386/fpu/libm-test-ulps: Update.
36126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36127
36128 2012-03-16  David S. Miller  <davem@davemloft.net>
36129
36130         * sysdeps/sparc/fpu/math_private.h: New file.
36131
36132 2012-03-15  David S. Miller  <davem@davemloft.net>
36133
36134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36135         file.
36136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36138         file.
36139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36145         sysdep routines.
36146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36147
36148         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36149         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36150
36151         * sysdeps/sparc/sparc-ifunc.h: New file.
36152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36153         sparc-ifunc.h
36154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36156         Likewise.
36157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36158         Likewise.
36159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36163         Likewise.
36164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36169         Likewise.
36170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36171         Likewise.
36172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36179         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36184         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36185         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36190         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36191         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36192         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36193         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36194         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36196
36197 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36198
36199         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36200         scaling.
36201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36202
36203 2012-03-15  Andreas Jaeger  <aj@suse.de>
36204
36205         [BZ #13852]
36206         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36207         ieee754/flt-32 implementation for sin, cos and sincos.
36208         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36209         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36210         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36211         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36212         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36213         ieee754/flt-32 implementation for tan.
36214
36215         * math/libm-test.inc (cos_test): Enable some large input tests for
36216         float as well
36217         (sin_test): Likewise.
36218         (sincos_test): Likewise.
36219         (tan_test): Add tests for large input.
36220
36221         * sysdeps/i386/fpu/libm-test-ulps: Update.
36222
36223 2012-03-15  Andreas Jaeger  <aj@suse.de>
36224
36225         [BZ #13658]
36226         * math/libm-test.inc (cos_test): Add more test cases.
36227         (sin_test): Likewise.
36228         (sincos_test): Likewise.
36229
36230 2012-03-15  Andreas Jaeger  <aj@suse.de>
36231
36232         [BZ #13837]
36233         * math/libm-test.inc (cos_test): Add a test case for large input
36234         value.
36235         (sin_test): Likewise.
36236         (sincos_test): Likewise.
36237
36238 2012-03-15  Andreas Jaeger  <aj@suse.de>
36239             Joseph Myers  <joseph@codesourcery.com>
36240
36241         [BZ #13658]
36242         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36243         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36244         * sysdeps/i386/fpu/branred.c: Likewise.
36245         * sysdeps/i386/fpu/dosincos.c: Likewise.
36246         * sysdeps/i386/fpu/mpa.c: Likewise.
36247         * sysdeps/i386/fpu/s_cos.S: Likewise.
36248         * sysdeps/i386/fpu/s_sin.S: Likewise.
36249         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36250         * sysdeps/i386/fpu/sincos32.c: Likewise.
36251
36252         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36253         Define.
36254         (libc_feupdateenv_53bit): Define.
36255         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36256         Define.
36257         (libc_feupdateenv_53bit): Define.
36258
36259         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36260         53 bit (without extend i386 double precision).
36261
36262         * math/libm-test.inc (sincos_test): Add tests for large input.
36263         (sin): Likewise.
36264         (cos): Likewise.
36265
36266         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36267
36268 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36269
36270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36271
36272 2012-03-15  David S. Miller  <davem@davemloft.net>
36273
36274         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36275         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36276         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36277         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36290         file.
36291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36293         file.
36294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36296         file.
36297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36299         file.
36300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36301         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36302         fmin/fmax sysdep routines.
36303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36304
36305 2012-03-14  David S. Miller  <davem@davemloft.net>
36306
36307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36308         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36313         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36314         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36315         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36316         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36317         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36318         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36323         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36325         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36327         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36328         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36329         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36330         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36331         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36332         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36333         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36334         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36335         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36336         routines.
36337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36338         file.
36339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36341         file.
36342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36344         file.
36345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36347         file.
36348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36350         file.
36351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36353         file.
36354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36355         file.
36356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36357         file.
36358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36359         file.
36360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36361         New file.
36362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36363         file.
36364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36365         file.
36366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36368         file.
36369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36371         file.
36372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36374         file.
36375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36377         VIS3 routines.
36378
36379         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36380         New file.
36381
36382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36383
36384         * sysdeps/sparc/configure.in: New file.
36385         * sysdeps/sparc/configure: Generate.
36386         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36387         * configure: Regenerate.
36388         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36389         * config.make.in (have-as-vis3): New.
36390         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36391         available use -Av9d instead of -Av9a.
36392         * sysdeps/sparc/sparc64/Makefile: Likewise.
36393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36395         New file.
36396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36397         file.
36398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36399         New file.
36400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36401         file.
36402         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36403         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36404         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36405         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36406         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36407
36408         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36409         fzeros/fnegs to load 0x80000000 into a float register instead of
36410         using the stack.
36411         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36412
36413 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36414
36415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36416         bits/syscall.h.
36417         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36418         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36419         ($(inst_includedir)/bits/syscall.h): Remove rule.
36420         ($(objpfx)bits/syscall.d): Include instead of
36421         $(objpfx)syscall-list.d.
36422         (generated): Change syscall-list.h and syscall-list.d to
36423         bits/syscall.h and bits/syscall.d.
36424
36425 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36426
36427         [BZ #13846]
36428         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36429
36430 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36431
36432         [BZ #13841]
36433         * math/s_csqrt.c: Include <float.h>.
36434         (__csqrt): Scale large or subnormal inputs.
36435         * math/s_csqrtf.c: Likewise.
36436         * math/s_csqrtl.c: Likewise.
36437         * math/libm-test.inc (csqrt_test): Add more tests.
36438         * sysdeps/i386/fpu/libm-test-ulps: Update.
36439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36440
36441         [BZ #13840]
36442         * math/libm-test.inc (hypot_test): Add more tests.
36443
36444 2012-03-13  David S. Miller  <davem@davemloft.net>
36445
36446         [BZ #13840]
36447         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36448         double-precision for the calculation instead of scaling.
36449
36450 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36451
36452         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36453         manipulate bits before adding and subtracting TWO52[sx].
36454         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36455         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36456         Likewise.
36457         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36458
36459 2012-03-13  David S. Miller  <davem@davemloft.net>
36460
36461         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36462         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36463         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36464         rtld-global-offsets.h
36465         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36466
36467         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36468         large parameters.
36469
36470         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36471
36472         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36473         'err' in the ifdef scope in which it is actually used.
36474
36475         * nss/nss_db/db-init.c: Include string.h
36476
36477 2012-03-12  David S. Miller  <davem@davemloft.net>
36478
36479         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36480         masking out of the most significant byte of random value used.
36481         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36482         Fix coding style in previous change.
36483
36484         * sysdeps/unix/sysv/linux/kernel-features.h
36485         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36486         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36487         expression.
36488         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36489         later.
36490
36491 2012-03-11  David S. Miller  <davem@davemloft.net>
36492
36493         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36494         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36495         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36496         for 'resultvar' otherwise things get truncated on 64-bit.
36497
36498         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36499         Fix masking out of the most significant byte of random value used.
36500
36501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36502
36503 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36504
36505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36506
36507 2012-03-09  David S. Miller  <davem@davemloft.net>
36508
36509         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36510         variables with appropriate CPP guards.
36511         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36512         from the frame pointer, not the stack pointer.  Correct layout
36513         comments.  Fix test on resulting framesize and the management of
36514         the outregs buffer for pltexit.  Preserve floating point return
36515         values across _dl_call_pltexit call.
36516         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36517         framesize and the management of the outregs buffer for pltexit.
36518         Preserve floating point return values across _dl_call_pltexit
36519         call.
36520         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36521         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36522         (la_sparc64_gnu_pltexit): New functions.
36523         (print_exit): Fix format string for return register value.
36524
36525 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
36526
36527         * sunrpc/Makefile (others): Add rpcgen.
36528         ($(objpfx)rpcgen): Remove special build rule and dependency on
36529         libc.
36530         * sunrpc/rpcgen.c: New file.
36531
36532 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
36533
36534         [BZ #13673]
36535         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36536         * stdio-common/bug-vfprintf-nargs.c: Likewise.
36537         * sysdeps/i386/crti.S: Likewise.
36538         * sysdeps/i386/crtn.S: Likewise.
36539         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36540         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36541         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36542         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36543         * sysdeps/sh/crti.S: Likewise.
36544         * sysdeps/sh/crtn.S: Likewise.
36545         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36546
36547         [BZ #13673]
36548         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36549         with URL.
36550         * locale/programs/locfile-kw.gperf: Likewise.
36551         * locale/programs/charmap-kw.h: Regenerated.
36552         * locale/programs/locfile-kw.h: Likewise.
36553
36554         [BZ #13673]
36555         * intl/plural.y: Replace FSF snail mail address with URL.
36556         * intl/plural.c: Regenerated.
36557
36558 2012-03-09  Richard Henderson  <rth@twiddle.net>
36559
36560         * include/math_private.h: Remove file.
36561         * math/math_private.h: Move file ...
36562         * sysdeps/generic/math_private.h: ... here.
36563
36564         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36565         * sysdeps/powerpc/fpu/math_private.h: Likewise.
36566         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36567
36568         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36569         and <math_private.h>.
36570         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36571         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36572         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36573         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36574         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36575         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36576         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36577         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36578         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36579         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36581         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36582         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36583         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36584         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36585         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36586         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36587         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36588         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36589         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36590         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36591         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36592         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36593         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36594         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36595         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36596         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36597         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36599         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36600         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36602         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36603         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36604         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36605         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36606         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36607         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36608         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36609         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36610         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36611         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36612         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36613         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36614         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36615         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36616         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36617         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36618         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36620         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36621         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36622         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36623         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36624         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36625         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36626         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36627         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36628         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36629         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36630         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36631         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36632         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36633         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36634         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36635         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36636         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36637         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36638         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36639         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36640         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36641         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36642         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36643         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36644         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36645         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36646         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36647         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36648         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36649         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36650         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36651         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36652         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36653         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36654         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36655         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36656         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36657         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36658         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36659         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36660         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36661         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36662         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36663         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36664         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36665         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36666         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36667         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36668         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36669         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36670         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36671         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36672         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36673         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36674         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36675         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36676         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36677         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36678         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36679         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36680         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36681         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36682         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36683         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36684         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36685         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36686         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36687         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36688         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36689         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36690         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36691         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36692         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36693         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36694         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36695         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36696         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36697         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36698         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36699         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36700         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36701         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36702         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36703         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36704         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36705         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36706         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36707         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36708         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36709         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36710         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36711         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36712         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36713         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36714         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36715         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36716         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36717         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36718         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36719         * sysdeps/ieee754/k_standard.c: Likewise.
36720         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36721         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36722         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36723         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36724         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36725         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36726         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36727         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36728         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36729         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36730         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36731         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36732         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36733         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36734         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36735         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36736         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36737         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36738         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36739         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36740         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36741         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36742         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36743         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36744         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36745         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36746         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36747         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36748         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36750         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36751         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36752         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36753         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36754         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36755         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36756         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36757         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36758         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36759         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36760         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36761         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36762         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36763         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36764         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36765         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36766         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36767         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36768         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36769         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36770         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36771         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36772         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36773         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36774         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36775         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36776         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36777         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36778         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36779         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36780         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36781         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36782         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36783         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36784         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36785         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36786         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36787         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36788         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36789         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36790         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36792         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36793         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36794         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36795         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36796         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36797         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36798         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36799         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36800         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36817         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36818         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36821         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36822         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36823         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36824         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36825         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36826         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36827         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36828         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36829         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36830         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36831         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36832         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36833         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36834         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36835         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36836         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36837         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36838         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36839         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36840         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36841         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36842         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36843         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36844         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36845         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36846         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36847         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36848         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36849         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36850         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36851         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36852         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36853         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36854         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36855         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36856         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36857         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36858         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36859         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36860         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36861         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36862         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36863         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36864         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36865         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36866         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36867         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36868         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36869         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36870         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36871         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36872         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36873         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36874         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36875         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36876         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36877         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36878         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36879         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36880         * sysdeps/ieee754/s_lib_version.c: Likewise.
36881         * sysdeps/ieee754/s_matherr.c: Likewise.
36882         * sysdeps/ieee754/s_signgam.c: Likewise.
36883         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36884         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36885         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36886         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36887         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36888         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36889         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36890         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36891         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36892         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36893         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36894         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36895         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36896         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36897         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36898         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36899         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36900         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36901         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36902         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36903         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36904
36905 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36906
36907         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36908         * sunrpc/rpc_main.c: Likewise.
36909         * sunrpc/rpc_svcout.c: Likewise.
36910
36911 2012-03-09  David S. Miller  <davem@davemloft.net>
36912
36913         * include/math_private.h: New file.
36914
36915 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
36916
36917         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36918         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36919         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36920         from <bits/socket_type.h>.
36921         (enum __socket_type): Don't define here.
36922         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36924         bits/socket_type.h.
36925
36926         [BZ #13566]
36927         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36928         checking __USE_GNU.
36929
36930         * Makerules ($(inst_includedir)/%.h): New rule.
36931         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36932         (install-others): Remove variable setting.
36933         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36934
36935 2012-03-08  Richard Henderson  <rth@twiddle.net>
36936
36937         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36938         from macro to inline function; merge with the
36939         !__LIBC_INTERNAL_MATH_INLINES version.
36940         (__ieee754_sqrtf): Likewise.
36941
36942         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36943         to inline function.
36944         (__rintf, __floor, __floorf): Likewise.
36945
36946         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36947         macro to inline function.
36948         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36949
36950         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36951         not <math/math_private.h>.
36952
36953 2012-03-08  David S. Miller  <davem@davemloft.net>
36954
36955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36956         copyright year.
36957         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36958
36959 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
36960
36961         * resolv/gai_misc.c (handle_requests): Fix struct timespec
36962         normalization.
36963         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36964         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36965
36966 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
36967
36968         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
36969         be defined individually, they must be defined as a block.  Define
36970         S for printing a string instead of hidint the different by using a
36971         macro for adding the 'l'.
36972         * stdio-common/tst-fphex-wide.c: Adjust.
36973
36974 2012-03-07  Marek Polacek  <polacek@redhat.com>
36975
36976         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36977
36978 2012-03-08  Marek Polacek  <polacek@redhat.com>
36979
36980         [BZ #13806]
36981         * stdio-common/Makefile (tests): Add tst-fphex-wide.
36982         * stdio-common/tst-fphex.c: Define a few macros to make the
36983         test reusable.  Use them.
36984         * stdio-common/tst-fphex-wide.c: New file.
36985
36986 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
36987
36988         [BZ #6911]
36989         * manual/macros.texi (gnusystems): New macro.
36990         (nongnusystems): Likewise.
36991         (gnulinuxhurdsystems): Likewise.
36992         (gnuhurdsystems): Likewise..
36993         (gnulinuxsystems): Likewise.
36994         * manual/charset.texi: Use new macros or @theglibc{} to refer to
36995         variants of the GNU system, not "GNU system".
36996         * manual/conf.texi: Likewise.
36997         * manual/errno.texi: Likewise.  Update example of errno macro
36998         expansion.
36999         * manual/filesys.texi: Likewise.
37000         (getumask): Document as specific to GNU/Hurd.
37001         * manual/install.texi: Likewise.  Reword some references to
37002         GNU/Linux.
37003         * manual/intro.texi: Likewise.
37004         * manual/io.texi: Likewise.
37005         (File Name Portability): Detail which constraints are inapplicable
37006         to all GNU systems and which are only inapplicable to GNU/Hurd.
37007         * manual/job.texi: Likewise.
37008         * manual/llio.texi: Likewise.
37009         (O_NOCTTY): Document as present on GNU/Linux.
37010         * manual/maint.texi: Likewise.
37011         * manual/memory.texi: Likewise.
37012         * manual/pattern.texi: Likewise.
37013         * manual/pipe.texi: Likewise.
37014         * manual/process.texi: Likewise.
37015         * manual/resource.texi: Likewise.
37016         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37017         child on GNU/Hurd.
37018         * manual/setjmp.texi: Likewise.
37019         * manual/signal.texi: Likewise.
37020         * manual/startup.texi: Likewise.
37021         * manual/stdio.texi: Likewise.
37022         * manual/terminal.texi: Likewise.
37023         (ONLCR): Document as POSIX.
37024         (OXTABS): Document availability on GNU/Linux as XTABS.
37025         (ONOEOT): Document availability separately from other bits.
37026         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37027         * manual/time.texi: Likewise.
37028         * manual/users.texi: Likewise.
37029         * INSTALL: Regenerated.
37030         * sysdeps/gnu/errlist.c: Regenerated.
37031
37032         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37033         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37034         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37035         puts.
37036         * configure: Regenerated.
37037
37038 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37039
37040         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37041         default includes instead of AC_HEADER_CHECK.
37042         * sysdeps/i386/configure: Regenerated.
37043
37044         [BZ #10716]
37045         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37046         * math/s_cacoshf.c (__cacoshf): Likewise.
37047         * math/s_cacoshl.c (__cacoshl): Likewise.
37048         * math/s_casinh.c (__casinh): Set signs of result from argument.
37049         * math/s_casinhf.c (__casinhf): Likewise.
37050         * math/s_casinhl.c (__casinhl): Likewise.
37051         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37052         (casinh_test): Add more tests.
37053         * sysdeps/i386/fpu/libm-test-ulps: Update.
37054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37055
37056 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37057
37058         * po/zh_TW.po: Update from translation team.
37059
37060         * login/Makefile (distribute): Remove variable.
37061         * catgets/Makefile: Likewise.
37062         * mach/Makefile: Likewise.
37063         * malloc/Makefile: Likewise.
37064         * misc/Makefile: Likewise.
37065         * iconv/Makefile: Likewise.
37066         * nscd/Makefile: Likewise.
37067         * hurd/Makefile: Likewise.
37068         * manual/Makefile: Likewise.
37069         * locale/Makefile: Likewise.
37070         * intl/Makefile: Likewise.
37071         * conform/Makefile: Likewise.
37072         * nss/Makefile: Likewise.
37073         * time/Makefile: Likewise.
37074         * soft-fp/Makefile: Likewise.
37075         * dirent/Makefile: Likewise.
37076         * gmon/Makefile: Likewise.
37077         * po/Makefile: Likewise.
37078         * rt/Makefile: Likewise.
37079         * socket/Makefile: Likewise.
37080         * math/Makefile: Likewise.
37081         * signal/Makefile: Likewise.
37082         * debug/Makefile: Likewise.
37083         * elf/Makefile: Likewise.
37084         * timezone/Makefile: Likewise.
37085         * stdlib/Makefile: Likewise.
37086         * iconvdata/Makefile: Likewise.
37087         * sunrpc/Makefile: Likewise.
37088         * io/Makefile: Likewise.
37089         * argp/Makefile: Likewise.
37090         * inet/Makefile: Likewise.
37091         * hesiod/Makefile: Likewise.
37092         * grp/Makefile: Likewise.
37093         * csu/Makefile: Likewise.
37094         * wctype/Makefile: Likewise.
37095         * crypt/Makefile: Likewise.
37096         * libio/Makefile: Likewise.
37097         * string/Makefile: Likewise.
37098         * nis/Makefile: Likewise.
37099         * resolv/Makefile: Likewise.
37100         * stdio-common/Makefile: Likewise.
37101         * wcsmbs/Makefile: Likewise.
37102         * dlfcn/Makefile: Likewise.
37103         * posix/Makefile: Likewise.
37104
37105         [BZ #6959]
37106         * timezone/Makefile: Don't install timezone files, just the programs
37107         and scripts.
37108
37109 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37110
37111         * nss/databases.def: Add missing gshadow entry.
37112
37113         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37114
37115 2012-03-06  Marek Polacek  <polacek@redhat.com>
37116
37117         [BZ #13726]
37118         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37119         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37120         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37121         * stdio-common/tst-long-dbl-fphex.c: New file.
37122
37123 2012-03-06  David S. Miller  <davem@davemloft.net>
37124
37125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37126         (set_obp_int): New function.
37127         (get_obp_int): New function.
37128         (__get_clockfreq_via_dev_openprom): Likewise.
37129         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37130         Avoid unused variable warnings on 'val' and use builtin_expect.
37131         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37132         __builtin_expect.
37133         (INLINE_CLONE_SYSCALL): Likewise.
37134
37135 2012-03-05  David S. Miller  <davem@davemloft.net>
37136
37137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37138
37139 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37140
37141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37142
37143         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37144         only for |x| >= 40.
37145         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37146
37147 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37148
37149         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37150         Replace gettimeofday with __vdso_gettimeofday.
37151
37152         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37153         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37154         __vdso_clock_gettime and __vdso_getcpu.
37155
37156         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37157         time with __vdso_time.
37158
37159 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37160
37161         * manual/lang.texi (size_t): Note types to which size_t may be
37162         equivalent with the GNU C Library, but do not describe when
37163         differences between them are significant.
37164
37165 2012-03-05  Andreas Jaeger  <aj@suse.de>
37166
37167         * sysdeps/i386/fpu/libm-test-ulps: Update.
37168
37169 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37170
37171         [BZ #3976]
37172         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37173         (__ieee754_pow): Save and restore rounding mode and use
37174         round-to-nearest for main computations.
37175         * math/libm-test.inc (pow_test_tonearest): New function.
37176         (pow_test_towardzero): Likewise.
37177         (pow_test_downward): Likewise.
37178         (pow_test_upward): Likewise.
37179         (main): Call the new functions.
37180         * sysdeps/i386/fpu/libm-test-ulps: Update.
37181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37182
37183         [BZ #3976]
37184         * math/libm-test.inc (cosh_test_tonearest): New function.
37185         (cosh_test_towardzero): Likewise.
37186         (cosh_test_downward): Likewise.
37187         (cosh_test_upward): Likewise.
37188         (sinh_test_tonearest): Likewise.
37189         (sinh_test_towardzero): Likewise.
37190         (sinh_test_downward): Likewise.
37191         (sinh_test_upward): Likewise.
37192         (main): Call the new functions.
37193         * sysdeps/i386/fpu/libm-test-ulps: Update.
37194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37195
37196 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37197
37198         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37199         default stack guard is set in last bytes.
37200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37201
37202 2012-03-05  Kees Cook  <keescook@chromium.org>
37203
37204         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37205
37206         [BZ #13656]
37207         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37208         possibly allocate from heap instead of stack.
37209         * stdio-common/bug-vfprintf-nargs.c: New file.
37210         * stdio-common/Makefile (tests): Add nargs overflow test.
37211
37212 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37213
37214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37215
37216 2012-03-03  Marek Polacek  <polacek@redhat.com>
37217
37218         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37219         * math/math_private.h: Likewise.
37220         * stdlib/tst-strtod.c: Likewise.
37221         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37222         * sysdeps/x86_64/bits/atomic.h: Likewise.
37223
37224 2012-03-02  David S. Miller  <davem@davemloft.net>
37225
37226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37230         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37231         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37232         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37233         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37234
37235 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37236
37237         [BZ #13792]
37238         * manual/examples/README: New file, says the example source files
37239         can be used under GPL>=2.
37240         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37241         line containing just "*/".
37242         * manual/examples/add.c: Add copyright header (GPL>=2).
37243         * manual/examples/argp-ex1.c: Likewise.
37244         * manual/examples/argp-ex2.c: Likewise.
37245         * manual/examples/argp-ex3.c: Likewise.
37246         * manual/examples/argp-ex4.c: Likewise.
37247         * manual/examples/atexit.c: Likewise.
37248         * manual/examples/db.c: Likewise.
37249         * manual/examples/dir.c: Likewise.
37250         * manual/examples/dir2.c: Likewise.
37251         * manual/examples/execinfo.c: Likewise.
37252         * manual/examples/filecli.c: Likewise.
37253         * manual/examples/filesrv.c: Likewise.
37254         * manual/examples/fmtmsgexpl.c: Likewise.
37255         * manual/examples/genpass.c: Likewise.
37256         * manual/examples/inetcli.c: Likewise.
37257         * manual/examples/inetsrv.c: Likewise.
37258         * manual/examples/isockad.c: Likewise.
37259         * manual/examples/longopt.c: Likewise.
37260         * manual/examples/memopen.c: Likewise.
37261         * manual/examples/memstrm.c: Likewise.
37262         * manual/examples/mkfsock.c: Likewise.
37263         * manual/examples/mkisock.c: Likewise.
37264         * manual/examples/mygetpass.c: Likewise.
37265         * manual/examples/pipe.c: Likewise.
37266         * manual/examples/popen.c: Likewise.
37267         * manual/examples/rprintf.c: Likewise.
37268         * manual/examples/search.c: Likewise.
37269         * manual/examples/select.c: Likewise.
37270         * manual/examples/setjmp.c: Likewise.
37271         * manual/examples/sigh1.c: Likewise.
37272         * manual/examples/sigusr.c: Likewise.
37273         * manual/examples/stpcpy.c: Likewise.
37274         * manual/examples/strdupa.c: Likewise.
37275         * manual/examples/strftim.c: Likewise.
37276         * manual/examples/strncat.c: Likewise.
37277         * manual/examples/subopt.c: Likewise.
37278         * manual/examples/swapcontext.c: Likewise.
37279         * manual/examples/termios.c: Likewise.
37280         * manual/examples/testopt.c: Likewise.
37281         * manual/examples/testpass.c: Likewise.
37282         * manual/examples/timeval_subtract.c: Likewise.
37283
37284         [BZ #13792]
37285         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37286         function to ...
37287         * manual/timeval_subtract.c.texi: ... here, new file.
37288
37289 2012-03-02  David S. Miller  <davem@davemloft.net>
37290
37291         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37292
37293 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37294
37295         [BZ #3976]
37296         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37297         (__sin): Save and restore rounding mode and use round-to-nearest
37298         for all computations.
37299         (__cos): Save and restore rounding mode and use round-to-nearest
37300         for all computations.
37301         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37302         <fenv.h>.
37303         (tan): Save and restore rounding mode and use round-to-nearest for
37304         all computations.
37305         * math/libm-test.inc (cos_test_tonearest): New function.
37306         (cos_test_towardzero): Likewise.
37307         (cos_test_downward): Likewise.
37308         (cos_test_upward): Likewise.
37309         (sin_test_tonearest): Likewise.
37310         (sin_test_towardzero): Likewise.
37311         (sin_test_downward): Likewise.
37312         (sin_test_upward): Likewise.
37313         (tan_test_tonearest): Likewise.
37314         (tan_test_towardzero): Likewise.
37315         (tan_test_downward): Likewise.
37316         (tan_test_upward): Likewise.
37317         (main): Call the new functions.
37318         * sysdeps/i386/fpu/libm-test-ulps: Update.
37319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37320
37321         [BZ #10135]
37322         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37323         small n, then large n, before computing and testing k+n.
37324         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37325         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37326         Likewise.
37327         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37328         Likewise.
37329         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37330         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37331         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37332         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37333         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37334         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37336         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37337         * math/libm-test.inc (scalbn_test): Add more tests.
37338         (scalbln_test): Likewise.
37339
37340         * manual/filesys.texi (mode_t): Describe constraints on size and
37341         signedness, not exact equivalence to a particular type.
37342         (ino_t): Likewise.
37343         (ino64_t): Likewise.
37344         (dev_t): Likewise.
37345         (nlink_t): Likewise.
37346         (blkcnt_t): Likewise.
37347         (blkcnt64_t): Likewise.
37348         * manual/llio.texi (off_t): Likewise.
37349
37350         [BZ #3976]
37351         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37352         (__ieee754_exp): Save and restore rounding mode and use
37353         round-to-nearest for all computations.
37354         * math/libm-test.inc (exp_test_tonearest): New function.
37355         (exp_test_towardzero): Likewise.
37356         (exp_test_downward): Likewise.
37357         (exp_test_upward): Likewise.
37358         (main): Call the new functions.
37359         * sysdeps/i386/fpu/libm-test-ulps: Update.
37360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37361
37362 2012-03-01  Chris Demetriou  <cgd@google.com>
37363
37364         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37365         have predictable order.
37366
37367 2012-03-01  David S. Miller  <davem@davemloft.net>
37368
37369         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37370
37371         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37372         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37373         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37374         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37375
37376         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37377         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37378         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37380         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37381         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37382         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37383         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37384         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37385
37386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37387
37388         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37389         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37390         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37391
37392         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37393         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37394         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37395         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37396         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37397         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37398         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37399         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37400         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37401         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37402         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37403         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37404         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37405         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37406         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37407         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37408         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37409         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37410         * sysdeps/sparc/elf/configure: Regenerated.
37411
37412 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37413
37414         * configure.in (AS, LD): Require binutils 2.20 or later.
37415         * configure: Regenerated.
37416         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37417         as required minimum version.
37418         * INSTALL: Regenerated.
37419
37420         [BZ #2541]
37421         [BZ #4108]
37422         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37423         before squaring exponent.
37424         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37425         bottom long double and 27 bits of top long double before squaring
37426         exponent.
37427         * math/libm-test.inc (erfc_test): Add more tests.
37428         * sysdeps/i386/fpu/libm-test-ulps: Update.
37429         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37431
37432 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37433
37434         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37435         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37436         containing bit-fields.
37437         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37438         * soft-fp/single.h (_FP_UNION_S): Likewise.
37439         * soft-fp/double.h (_FP_UNION_D): Likewise.
37440
37441 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37442
37443         [BZ #13786]
37444         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37445         not include ../strcmp.S.
37446         [USE_AS_STRNCASECMP_L]: Likewise.
37447         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37448         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37449         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37450         (__strncasecmp_l_ia32): Define as alias to
37451         __strncasecmp_l_nonascii.
37452
37453         [BZ #5794]
37454         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37455         * sysdeps/i386/fpu/libm-test-ulps: Update.
37456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37457
37458         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37460
37461 2012-02-29  Jeff Law  <law@redhat.com>
37462
37463         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37464         out of bounds read.
37465
37466 2012-02-29  Marek Polacek  <polacek@redhat.com>
37467
37468         [BZ #13706]
37469         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37470         * elf/Makefile: Add rules to run tst-unused-dep.out.
37471
37472 2012-02-28  David S. Miller  <davem@davemloft.net>
37473
37474         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37475         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37476         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37477         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37478         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37479         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37480
37481 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37482
37483         * math/libm-test.inc (llround_test): Move one test from
37484         lround_test.  Use TEST_f_L in moved test.
37485         (lround_test): Move misplaced test to llround_test.  Add testcase
37486         from bug 2561.
37487
37488 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37489
37490         * sysdeps/x86_64/fpu/e_expf.S: New file.
37491         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37492
37493 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37494
37495         [BZ #13637]
37496         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37497         of remain_len that may cause incomplete multi-byte character and
37498         false match.
37499         * posix/bug-regex33.c: New file.
37500         * posix/Makefile (tests): Add bug-regex33.
37501
37502 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37503
37504         * manual/macros.texi: New file.
37505         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37506         * manual/libc.texinfo: Include macros.texi.
37507         * manual/creatute.texi: Likewise.
37508         * manual/install.texi: Likewise.
37509         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37510         @glibcadj{} in references to the GNU C Library.
37511         * manual/charset.texi: Likewise.
37512         * manual/conf.texi: Likewise.
37513         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
37514         when not using those macros.
37515         * manual/creature.texi: Likewise.
37516         * manual/crypt.texi: Likewise.
37517         * manual/errno.texi: Likewise.
37518         * manual/filesys.texi: Likewise.
37519         * manual/header.texi: Likewise.
37520         * manual/install.texi: Likewise.
37521         * manual/intro.texi: Likewise.
37522         * manual/io.texi: Likewise.
37523         * manual/job.texi: Likewise.
37524         * manual/lang.texi: Likewise.
37525         * manual/libc.texiinfo: Likewise.
37526         * manual/llio.texi: Likewise.
37527         * manual/locale.texi: Likewise.
37528         * manual/maint.texi: Likewise.
37529         * manual/math.texi: Likewise.
37530         * manual/memory.texi: Likewise.
37531         * manual/message.texi: Likewise.
37532         * manual/nss.texi: Likewise.
37533         * manual/pattern.texi: Likewise.
37534         * manual/process.texi: Likewise.
37535         * manual/resource.texi: Likewise.
37536         * manual/search.texi: Likewise.
37537         * manual/setjmp.texi: Likewise.
37538         * manual/signal.texi: Likewise.
37539         * manual/socket.texi: Likewise.
37540         * manual/startup.texi: Likewise.
37541         * manual/stdio.texi: Likewise.
37542         * manual/string.texi: Likewise.
37543         * manual/sysinfo.texi: Likewise.
37544         * manual/syslog.texi: Likewise.
37545         * manual/terminal.texi: Likewise.
37546         * manual/time.texi: Likewise.
37547         * manual/users.texi: Likewise.
37548         * INSTALL: Regenerated.
37549         * NOTES: Regenerated.
37550         * sysdeps/gnu/errlist.c: Regenerated.
37551
37552 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
37553
37554         * include/dirent.h: Include <dirstream.h> before
37555         <dirent/dirent.h>.
37556
37557 2012-02-28  David S. Miller  <davem@davemloft.net>
37558
37559         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37560         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37561         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37562         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37563
37564 2012-02-27  David S. Miller  <davem@davemloft.net>
37565
37566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37568         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37569         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37570
37571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37572         frame pointer instead of stack pointer relative arg slot.
37573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37574         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37575         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37576
37577 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
37578
37579         [BZ #3992]
37580         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37581
37582 2012-02-27  David S. Miller  <davem@davemloft.net>
37583
37584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37588         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37589         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37590         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37591         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37592
37593 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37594
37595         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37596         later.  Allow versions 5-9.
37597         * configure: Regenerated.
37598         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37599         required minimum version and 4.6 as recommended version.  Do not
37600         mention bugs in GCC 2.7 and 2.8.
37601         * INSTALL: Regenerated.
37602
37603 2012-02-27  David S. Miller  <davem@davemloft.net>
37604
37605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37609         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37610         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37611         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37612         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37613
37614         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37615         manipulate bits before adding and subtracting TWO112[sx].
37616         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37617
37618 2012-02-27  Roland McGrath  <roland@hack.frob.com>
37619
37620         [BZ #13775]
37621         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37622         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37623         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37624         being in POSIX, because they are in 1003.1-2008.
37625
37626         * rt/tst-aio.c: Include <fcntl.h>.
37627         * rt/tst-aio7.c: Likewise.
37628         * rt/tst-aio64.c: Likewise.
37629
37630         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37631
37632 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
37633
37634         * manual/install.texi (--with-headers): Describe headers as
37635         interface headers, not private headers.
37636         (Specific advice for GNU/Linux systems): Describe use of headers
37637         from "make headers_install", not private headers from older
37638         kernels.
37639         * INSTALL: Regenerated.
37640         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37641         Change to 2.6.19.
37642         * sysdeps/unix/sysv/linux/configure: Regenerated.
37643
37644         * manual/llio.texi (fclean): Remove documentation.
37645
37646         * manual/Makefile (libc-texi-generated): New variable.  Include
37647         version.texi.
37648         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37649         $(libc-texi-generated), not duplicated list of files.
37650         (version.texi, stamp-version): New rules.
37651         (realclean): Remove $(libc-texi-generated), not individual files
37652         from that list.  Do not remove dir-add.texinfo.
37653         * manual/libc.texinfo: Comment out uses of edition numbers and
37654         references to printed manual.  Remove last-updated dates.
37655         (EDITION): Comment out.
37656         (ISBN): Likewise.
37657         (VERSION, UPDATED): Remove.
37658         (version.texi): Include.
37659
37660 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
37661
37662         * sysdeps/posix/spawni.c: Include <signal.h>.
37663         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37664         * sysdeps/pthread/aio_fsync.c: Likewise.
37665
37666 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
37667
37668         * conform/Makefile (tests): Run only when not cross-compiling and
37669         when fast-check is not defined.
37670
37671         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37672         * conform/data/limits.h-data: Fixes for POSIX2008.
37673         * conform/run-conformtest.sh: Run all tests.
37674         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37675         headers.
37676         * include/bits/dlfcn.h: Likewise.
37677         * include/langinfo.h: Likewise.
37678         * include/monetary.h: Likewise.
37679         * include/sys/poll.h: Likewise.
37680
37681         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37682         for __USE_GNU.
37683         * posix/spawn.h: Define __need_sigset_t.
37684         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37685         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37686         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
37687         to get sigevent_t only.
37688         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37689         only for __USE_GNU.
37690         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37691         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37692         process_vm_writev only for __USE_GNU.
37693         * termios/termios.h: Declare tcgetsid also for POSIX2008.
37694
37695         * conform/Makefile: For now ignore errors from run-conformtest.
37696         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
37697         POSIX to avoid namespace pollution.  Don't prepend headers.
37698         * conform/data/aio.h-data: Fixes for POSIX testing.
37699         * conform/data/fcntl.h-data: Likewise.
37700         * conform/data/glob.h-data: Likewise.
37701         * conform/data/grp.h-data: Likewise.
37702         * conform/data/pthread.h-data: Likewise.
37703         * conform/data/pwd.h-data: Likewise.
37704         * conform/data/signal.h-data: Likewise.
37705         * conform/data/spawn.h-data: Likewise.
37706         * conform/data/stdio.h-data: Likewise.
37707         * conform/data/stdlib.h-data: Likewise.
37708         * conform/data/stropts.h-data: Likewise.
37709         * conform/data/sys/mman.h-data: Likewise.
37710         * conform/data/sys/stat.h-data: Likewise.
37711         * conform/data/sys/types.h-data: Likewise.
37712         * conform/data/sys/wait.h-data: Likewise.
37713         * conform/data/time.h-data: Likewise.
37714         * conform/data/unistd.h-data: Likewise.
37715         * conform/data/utime.h-data: Likewise.
37716
37717         * io/sys/stat.h: fchmod was always in POSIX.
37718         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37719         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37720         * rt/aio.h: Define __need_timespec before including <time.h>.
37721         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37722         struct.  Add forward declaration of pthread_attr_t and use it in
37723         sigevent.
37724         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37725         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37726         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37727         always remove CLK_TCK definition.
37728
37729 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
37730
37731         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37732
37733 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
37734
37735         * conform/run-conformtest.sh: New file.
37736         * conform/Makefile: Run run-conformtest for tests.
37737         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
37738         support.
37739
37740         * conform/data/uchar.h-data: New file.
37741         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37742         * conform/data/arpa/inet.h-data: Likewise.
37743         * conform/data/assert.h-data: Likewise.
37744         * conform/data/complex.h-data: Likewise.
37745         * conform/data/cpio.h-data: Likewise.
37746         * conform/data/ctype.h-data: Likewise.
37747         * conform/data/dirent.h-data: Likewise.
37748         * conform/data/dlfcn.h-data: Likewise.
37749         * conform/data/errno.h-data: Likewise.
37750         * conform/data/fcntl.h-data: Likewise.
37751         * conform/data/float.h-data: Likewise.
37752         * conform/data/fmtmsg.h-data: Likewise.
37753         * conform/data/fnmatch.h-data: Likewise.
37754         * conform/data/ftw.h-data: Likewise.
37755         * conform/data/glob.h-data: Likewise.
37756         * conform/data/grp.h-data: Likewise.
37757         * conform/data/iconv.h-data: Likewise.
37758         * conform/data/inttypes.h-data: Likewise.
37759         * conform/data/langinfo.h-data: Likewise.
37760         * conform/data/libgen.h-data: Likewise.
37761         * conform/data/limits.h-data: Likewise.
37762         * conform/data/locale.h-data: Likewise.
37763         * conform/data/math.h-data: Likewise.
37764         * conform/data/monetary.h-data: Likewise.
37765         * conform/data/mqueue.h-data: Likewise.
37766         * conform/data/ndbm.h-data: Likewise.
37767         * conform/data/net/if.h-data: Likewise.
37768         * conform/data/netdb.h-data: Likewise.
37769         * conform/data/netinet/in.h-data: Likewise.
37770         * conform/data/nl_types.h-data: Likewise.
37771         * conform/data/poll.h-data: Likewise.
37772         * conform/data/pthread.h-data: Likewise.
37773         * conform/data/pwd.h-data: Likewise.
37774         * conform/data/regex.h-data: Likewise.
37775         * conform/data/sched.h-data: Likewise.
37776         * conform/data/search.h-data: Likewise.
37777         * conform/data/semaphore.h-data: Likewise.
37778         * conform/data/setjmp.h-data: Likewise.
37779         * conform/data/signal.h-data: Likewise.
37780         * conform/data/spawn.h-data: Likewise.
37781         * conform/data/stdarg.h-data: Likewise.
37782         * conform/data/stdio.h-data: Likewise.
37783         * conform/data/stdlib.h-data: Likewise.
37784         * conform/data/string.h-data: Likewise.
37785         * conform/data/strings.h-data: Likewise.
37786         * conform/data/stropts.h-data: Likewise.
37787         * conform/data/sys/ipc.h-data: Likewise.
37788         * conform/data/sys/mman.h-data: Likewise.
37789         * conform/data/sys/msg.h-data: Likewise.
37790         * conform/data/sys/resource.h-data: Likewise.
37791         * conform/data/sys/select.h-data: Likewise.
37792         * conform/data/sys/sem.h-data: Likewise.
37793         * conform/data/sys/shm.h-data: Likewise.
37794         * conform/data/sys/socket.h-data: Likewise.
37795         * conform/data/sys/stat.h-data: Likewise.
37796         * conform/data/sys/statvfs.h-data: Likewise.
37797         * conform/data/sys/time.h-data: Likewise.
37798         * conform/data/sys/timeb.h-data: Likewise.
37799         * conform/data/sys/times.h-data: Likewise.
37800         * conform/data/sys/types.h-data: Likewise.
37801         * conform/data/sys/uio.h-data: Likewise.
37802         * conform/data/sys/un.h-data: Likewise.
37803         * conform/data/sys/utsname.h-data: Likewise.
37804         * conform/data/sys/wait.h-data: Likewise.
37805         * conform/data/syslog.h-data: Likewise.
37806         * conform/data/tar.h-data: Likewise.
37807         * conform/data/termios.h-data: Likewise.
37808         * conform/data/utime.h-data: Likewise.
37809         * conform/data/utmpx.h-data: Likewise.
37810         * conform/data/varargs.h-data: Likewise.
37811         * conform/data/wchar.h-data: Likewise.
37812         * conform/data/wctype.h-data: Likewise.
37813         * conform/data/wordexp.h-data: Likewise.
37814
37815         * include/stropts.h: New file.
37816         * include/uchar.h: New file.
37817         * include/aio.h: Changes to allow conformtest.pl to use the headers.
37818         * include/assert.h: Likewise.
37819         * include/ctype.h: Likewise.
37820         * include/dirent.h: Likewise.
37821         * include/dlfcn.h: Likewise.
37822         * include/fcntl.h: Likewise.
37823         * include/fnmatch.h: Likewise.
37824         * include/glob.h: Likewise.
37825         * include/grp.h: Likewise.
37826         * include/libio.h: Likewise.
37827         * include/locale.h: Likewise.
37828         * include/math.h: Likewise.
37829         * include/net/if.h: Likewise.
37830         * include/netdb.h: Likewise.
37831         * include/netinet/in.h: Likewise.
37832         * include/pthread.h: Likewise.
37833         * include/pwd.h: Likewise.
37834         * include/regex.h: Likewise.
37835         * include/sched.h: Likewise.
37836         * include/search.h: Likewise.
37837         * include/setjmp.h: Likewise.
37838         * include/signal.h: Likewise.
37839         * include/stdio.h: Likewise.
37840         * include/stdlib.h: Likewise.
37841         * include/string.h: Likewise.
37842         * include/sys/cdefs.h: Likewise.
37843         * include/sys/mman.h: Likewise.
37844         * include/sys/msg.h: Likewise.
37845         * include/sys/resource.h: Likewise.
37846         * include/sys/select.h: Likewise.
37847         * include/sys/socket.h: Likewise.
37848         * include/sys/stat.h: Likewise.
37849         * include/sys/statvfs.h: Likewise.
37850         * include/sys/time.h: Likewise.
37851         * include/sys/times.h: Likewise.
37852         * include/sys/uio.h: Likewise.
37853         * include/sys/utsname.h: Likewise.
37854         * include/sys/wait.h: Likewise.
37855         * include/termios.h: Likewise.
37856         * include/time.h: Likewise.
37857         * include/ulimit.h: Likewise.
37858         * include/unistd.h: Likewise.
37859         * include/utime.h: Likewise.
37860         * include/wchar.h: Likewise.
37861         * include/wctype.h: Likewise.
37862         * include/wordexp.h: Likewise.
37863
37864         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37865
37866         * time/time.h: TIME_UTC must be a macro.
37867         Make timespec_get available for ISO C11 only as well.
37868
37869 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
37870
37871         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37872         Reported by Peng Haitao <penght@cn.fujitsu.com>.
37873
37874 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37875
37876         * configure.in: Use -o not -a in test for unsupported multi-arch.
37877
37878 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37879
37880         * manual/texinfo.tex: Update to version 2012-01-19.16.
37881
37882 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
37883
37884         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37885
37886 2012-02-24  Roland McGrath  <roland@hack.frob.com>
37887
37888         [BZ #13738]
37889         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37890         * manual/fdl-1.3.texi: New file.
37891         * manual/fdl-1.1.texi: File removed.
37892
37893         [BZ #13738]
37894         * manual/libc.texinfo (FDL_VERSION): New @set.
37895         Use it for mention of FDL in cover text.
37896         (Documentation License): Use it in @include file name.
37897
37898 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37899             Roland McGrath  <roland@hack.frob.com>
37900
37901         [BZ #5461]
37902         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37903         (not LONG_LONG_MAX and LONG_LONG_MIN.
37904         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37905         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
37906         name.
37907         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37908
37909 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37910
37911         [BZ #2547]
37912         [BZ #11365]
37913         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37914         manipulate bits before adding and subtracting TWO23[sx].
37915         * math/libm-test.inc (nearbyint_test): Add more tests.
37916
37917 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37918
37919         [BZ #2548]
37920         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37921         bits before adding and subtracting TWO23[sx].
37922         * math/libm-test.inc (rint_test): Add more tests.
37923         (rint_test_tonearest): Likewise.
37924         (rint_test_towardzero): Likewise.
37925         (rint_test_downward): Likewise.
37926         (rint_test_upward: Likewise.
37927
37928 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37929
37930         [BZ #10110]
37931         * include/stdc-predef.h: New file.  Extracted from features.h.
37932         * include/features.h: Include stdc-predef.h.
37933         * Makefile (headers): Add stdc-predef.h.
37934         * CONFORMANCE (Compiler limitations): Update.
37935
37936 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
37937
37938         * manual/libc.texinfo (VERSION, UPDATED): Revert.
37939
37940 2012-02-21  David S. Miller  <davem@davemloft.net>
37941
37942         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37943         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37944
37945 2012-02-20  David S. Miller  <davem@davemloft.net>
37946
37947         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37948         using a normal save/restore sequence, rather than allocating a
37949         dummy stack frame just to store a frame pointer and restore.
37950         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37951
37952 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37953
37954         * manual/install.texi: Fix stray word in line-wrapped comment.
37955
37956 2012-02-20  David S. Miller  <davem@davemloft.net>
37957
37958         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37959         both binutils and gcc support GOTDATA.
37960
37961         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37962         "rd %pc" in the PIC register setup sequences.
37963
37964         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37965         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37966         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37967         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37968         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37969         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37970         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37971         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37973         (SYSCALL_ERROR_HANDLER): Likewise.
37974         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37975         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37977         (SYSCALL_ERROR_HANDLER): Likewise.
37978
37979         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37980         (HAVE_GCC_GOTDATA): New.
37981         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37982         relocation support in both binutils and gcc.
37983         * sysdeps/sparc/elf/configure: Regenerate.
37984
37985         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37986         * sysdeps/sparc/sparc32/elf/configure: Delete.
37987         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37988         * sysdeps/sparc/sparc64/elf/configure: Delete.
37989         * sysdeps/sparc/elf/configure.in: New file.
37990         * sysdeps/sparc/elf/configure: Generate.
37991
37992         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37993         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37994         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37995         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37996         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37997
37998 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
37999
38000         * manual/install.texi: Do not mention specific glibc version
38001         numbers.
38002         * manual/libc.texinfo (VERSION, UPDATED): Update.
38003         (@copying): Use @copyright{} and range of years.
38004
38005 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38006
38007         [BZ #13695]
38008         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38009         [crti.S not in sysdirs] (generated): Do not append.
38010         [crti.S not in sysdirs] (omit-deps): Likewise.
38011         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38012         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38013         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38014         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38015         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38016         Likewise.
38017         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38018         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38019         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38020         * csu/defs.awk: Remove file.
38021         * sysdeps/generic/initfini.c: Likewise.
38022         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38023         variable.
38024         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38025         Likewise.
38026
38027 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38028
38029         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38030         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38031         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38032         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38033         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38034         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38035         <bits/epoll.h>.
38036         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38037         (__EPOLL_PACKED): Define to empty if not defined by
38038         <bits/epoll.h>.
38039         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38040         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38041         bits/epoll.h.
38042
38043 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38044
38045         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38046         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38047         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38048         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38049         <bits/timerfd.h>.
38050         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38051         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38052         bits/timerfd.h.
38053
38054 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38055
38056         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38057         in C locale.
38058         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38059         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38060         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38062
38063 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38064
38065         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38066         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38067
38068 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38069
38070         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38071         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38072         defined.
38073         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38074         Likewise.
38075         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38076         entry for 2.16.
38077
38078 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38079
38080         * math/w_acos.c: Use non-signaling floating-point comparisons.
38081         * math/w_acosf.c: Likewise.
38082         * math/w_acosh.c: Likewise.
38083         * math/w_acoshf.c: Likewise.
38084         * math/w_acoshl.c: Likewise.
38085         * math/w_acosl.c: Likewise.
38086         * math/w_asin.c: Likewise.
38087         * math/w_asinf.c: Likewise.
38088         * math/w_asinl.c: Likewise.
38089         * math/w_atanh.c: Likewise.
38090         * math/w_atanhf.c: Likewise.
38091         * math/w_atanhl.c: Likewise.
38092         * math/w_exp2.c: Likewise.
38093         * math/w_exp2f.c: Likewise.
38094         * math/w_exp2l.c: Likewise.
38095         * math/w_j0.c: Likewise.
38096         * math/w_j0f.c: Likewise.
38097         * math/w_j0l.c: Likewise.
38098         * math/w_j1.c: Likewise.
38099         * math/w_j1f.c: Likewise.
38100         * math/w_j1l.c: Likewise.
38101         * math/w_jn.c: Likewise.
38102         * math/w_jnf.c: Likewise.
38103         * math/w_log.c: Likewise.
38104         * math/w_log10.c: Likewise.
38105         * math/w_log10f.c: Likewise.
38106         * math/w_log10l.c: Likewise.
38107         * math/w_log2.c: Likewise.
38108         * math/w_log2f.c: Likewise.
38109         * math/w_log2l.c: Likewise.
38110         * math/w_logf.c: Likewise.
38111         * math/w_logl.c: Likewise.
38112         * math/w_sqrt.c: Likewise.
38113         * math/w_sqrtf.c: Likewise.
38114         * math/w_sqrtl.c: Likewise.
38115         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38116         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38117         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38118         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38119         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38120
38121 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38122
38123         [BZ #9739]
38124         * manual/string.texi (strnlen): Use correct parameter name in
38125         equivalent expression.
38126
38127 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38128
38129         [BZ #11174]
38130         * manual/users.texi (seteuid): Consistently use neweuid for
38131         argument name.
38132
38133 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38134
38135         [BZ #13704]
38136         * manual/nss.texi (Services in the NSS configuration): Correct
38137         list of services in example configuration file.
38138
38139 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38140
38141         [BZ #11322]
38142         * manual/arith.texi: Remove statements about negative zero
38143         behaving identically to zero.
38144
38145 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38146
38147         [BZ #5993]
38148         * manual/install.texi: Do not document upgrading from libc5.
38149
38150 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38151
38152         [BZ #4596]
38153         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38154
38155 2012-02-18  David S. Miller  <davem@davemloft.net>
38156
38157         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38158         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38159         %o7 across the call.
38160         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38161         instead.
38162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38163         SETUP_PIC_REG_LEAF.
38164         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38165         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38166         * sysdeps/sparc/crtn.S: Likewise.
38167
38168 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38169
38170         * aout/Makefile: Remove.
38171
38172 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38173
38174         [BZ #13058]
38175         * manual/examples/argp-ex1.c (main): Format definition in GNU
38176         style.
38177         * manual/examples/argp-ex2.c (main): Likewise.
38178         * manual/examples/argp-ex3.c (main): Likewise.
38179         * manual/examples/argp-ex4.c (main): Likewise.
38180         * manual/examples/longopt.c (main): Use new-style prototype
38181         definition.
38182         * manual/examples/strncat.c (main): Specify return type and use
38183         (void) for arguments.
38184         * manual/examples/subopt.c (main): Use char **argv argument.
38185
38186 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38187
38188         [BZ #5077]
38189         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38190         rounding modes.
38191
38192 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38193
38194         [BZ #6907]
38195         * manual/string.texi (strchr): Change when strchrnul is
38196         recommended.
38197
38198 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38199
38200         [BZ #174]
38201         * manual/locale.texi (setlocale): Document LOCPATH.
38202
38203 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38204
38205         [BZ #10210]
38206         * manual/process.texi (execle): Move @dots{} before last argument.
38207
38208 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38209
38210         [BZ #12047]
38211         * manual/charset.texi (Generic Charset Conversion): Fix typo
38212         (LC_TYPE -> LC_CTYPE).
38213
38214 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38215
38216         [BZ #5805]
38217         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38218         (scalbnf): Likewise.
38219         (scalbnl): Likewise.
38220         (scalbln): Likewise.
38221         (scalblnf): Likewise.
38222         (scalblnl): Likewise.
38223         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38224         (vwarnx): Likewise.
38225         (verr): Likewise.
38226         (verrx): Likewise.
38227         * manual/filesys.texi (telldir): Use braces around return type.
38228         * manual/llio.texi (mmap): Add space after comma.
38229         (mmap64): Likewise.
38230         * manual/math.texi (jn): Use @var{} on parameter names.
38231         (jnf): Likewise.
38232         (jnl): Likewise.
38233         (yn): Likewise.
38234         (ynf): Likewise.
38235         (ynl): Likewise.
38236         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38237         line.
38238         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38239         "...".
38240         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38241         (sched_get_priority_max): Likewise.
38242         * manual/signal.texi (sigvec): Add space after comma.
38243         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38244         names.
38245         (if_indextoname): Likewise.
38246         (if_freenameindex): Likewise.
38247         (sendto): Use ',' instead of '.' in prototype.
38248         * manual/startup.texi (syscall): Use @dots{} instead of literal
38249         "...".
38250         * manual/stdio.texi (__fpending): Separate initial words of
38251         paragraph from @deftypefun line.
38252         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38253         "...".
38254         (vsyslog): Use @var{} on parameter names.
38255         * manual/terminal.texi (stty): Use @var{} on parameter names.
38256         * manual/users.texi (getutmp): Use @var{} on parameter names.
38257         (getutmpx): Likewise.
38258
38259 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38260
38261         [BZ #6884]
38262         * manual/stdio.texi (fopen): Fix typos in description of
38263         ",ccs=STRING".
38264
38265 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38266
38267         [BZ #4026]
38268         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38269         get clock_id definition.
38270
38271 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38272
38273         [BZ #4822]
38274         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38275         (madvise): Cast every argument to void on its own.
38276
38277 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38278
38279         [BZ #9902]
38280         * manual/startup.texi (Exit Status): Fix typo.
38281
38282 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38283
38284         [BZ #10140]
38285         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38286         * manual/examples/argp-ex2.c: Likewise.
38287         * manual/examples/argp-ex3.c: Likewise.
38288
38289 2012-02-16  Richard Henderson  <rth@redhat.com>
38290
38291         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38292         * sysdeps/s390/s390-32/initfini.c: Remove.
38293         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38294         * sysdeps/s390/s390-64/initfini.c: Remove.
38295
38296 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38297
38298         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38299         compiler output for sysdeps/generic/initfini.c.
38300         * sysdeps/sh/elf/initfini.c: Remove file.
38301
38302 2012-02-16  David S. Miller  <davem@davemloft.net>
38303
38304         [BZ #11494]
38305         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38306
38307         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38308         * sysdeps/sparc/crti.S: New file.
38309         * sysdeps/sparc/crtn.S: New file.
38310         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38311         * sysdeps/sparc/sparc64/Makefile: Likewise.
38312
38313 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38314
38315         [BZ #3335]
38316         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38317
38318 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38319
38320         [BZ #4822]
38321         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38322
38323         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38324         (write, read, close): Likewise.
38325         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38326
38327 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38328
38329         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38330         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38331         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38332         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38333         <bits/signalfd.h>.
38334         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38336         bits/signalfd.h.
38337
38338 2012-02-14  Marek Polacek  <polacek@redhat.com>
38339
38340         * sysdeps/x86_64/crti.S: New file.
38341         * sysdeps/x86_64/crtn.S: New file.
38342         * sysdeps/x86_64/elf/initfini.c: Remove file.
38343
38344 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38345
38346         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38347         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38348         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38349         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38350         <bits/inotify.h>.
38351         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38353         bits/inotify.h.
38354
38355 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38356
38357         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38358         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38359         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38360         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38361         <bits/eventfd.h>.
38362         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38364         bits/eventfd.h.
38365
38366 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38367
38368         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38369         __feraiseexcept instead of feraiseexcept.
38370
38371         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38372         nanosleep invocations.
38373         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38374         strings, and add error checking for a nanosleep invocations.
38375
38376 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38377
38378         Replace FSF snail mail address with URLs, as per GNU coding standards.
38379         Most of the snail mail addresses were wrong anyway, and omitting
38380         them makes the source code easier to maintain.  Almost all of the
38381         changes are to license notices and to locale LC_IDENTIFICATION
38382         addresses, except for this one:
38383         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38384         not its snail mail address.
38385
38386 2012-02-09  Richard Henderson  <rth@twiddle.net>
38387
38388         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38389         of kernel-features.h.
38390
38391         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38392
38393 2012-02-08  Marek Polacek  <polacek@redhat.com>
38394
38395         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38396         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38397         * sysdeps/gnu/_G_config.h: Likewise.
38398         * sysdeps/generic/_G_config.h: Likewise.
38399
38400 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38401
38402         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38403         tests.
38404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38405
38406         * sysdeps/powerpc/powerpc32/crti.S: New file.
38407         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38408         * sysdeps/powerpc/powerpc64/crti.S: New file.
38409         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38410
38411         * Makeconfig (have-initfini): Don't set.
38412         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38413         * configure.in (nopic_initfini): Don't substitute.
38414         * config.h.in (HAVE_INITFINI): Don't #undef.
38415         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38416         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38417
38418 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38419
38420         Support crti.S and crtn.S provided directly by architectures.
38421         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38422         [crti.S in sysdirs] (omit-deps): Likewise.
38423         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38424         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38425         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38426         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38427         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38428         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38429         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38430         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38431         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38432         compiler output for sysdeps/generic/initfini.c.
38433         * sysdeps/i386/elf/Makefile: Remove file.
38434         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38435
38436 2012-02-07  Marek Polacek  <polacek@redhat.com>
38437
38438         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38439         * sysdeps/gnu/_G_config.h: Likewise.
38440         * sysdeps/mach/hurd/_G_config.h: Likewise.
38441
38442 2012-02-07  Marek Polacek  <polacek@redhat.com>
38443
38444         * math/Makefile (tests): Add tst-CMPLX2.
38445         * math/tst-CMPLX2.c: New file.
38446
38447 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38448
38449         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38450
38451         * math/libm-test.inc (jn_test): Add missing L suffix.
38452
38453 2012-02-06  Marek Polacek  <polacek@redhat.com>
38454
38455         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38456         * sysdeps/i386/fpu/e_powf.S: Likewise.
38457         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38458         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38459         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38460         * sysdeps/i386/fpu/e_pow.S: Likewise.
38461         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38462         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38463         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38464         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38465         * sysdeps/i386/fpu/e_log2.S: Likewise.
38466         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38467         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38468         * sysdeps/i386/fpu/e_powl.S: Likewise.
38469         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38470         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38471         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38472         * sysdeps/i386/fpu/e_logl.S: Likewise.
38473         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38474         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38475         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38476         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38477         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38478         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38479         * sysdeps/i386/fpu/e_log.S: Likewise.
38480         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38481         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38482         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38483         * sysdeps/i386/fpu/e_logf.S: Likewise.
38484         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38485         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38486         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38487         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38488         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38489         * sysdeps/i386/fpu/e_log10.S: Likewise.
38490         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38491         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38492         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38493         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38494         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38495         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38496         * sysdeps/i386/asm-syntax.h: Likewise.
38497         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38498         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38499         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38500         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38501         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38502         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38503         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38504         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38505         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38506         * sysdeps/powerpc/sysdep.h: Likewise.
38507         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38508         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38509
38510 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38511
38512         [BZ #411]
38513         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38514
38515 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
38516
38517         * sysdeps/i386/sysdep.h: Include <features.h>.
38518         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38519         version.
38520
38521 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
38522
38523         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38524         Define.
38525         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38526         LOAD_PIC_REG_STR.
38527
38528 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38529
38530         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38531         (SETUP_PIC_REG): Use GET_PC_THUNK.
38532         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38533         macro.
38534
38535 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38536
38537         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38538         for non-PIC compilation.
38539         (SETUP_PIC_REG): Add .p2align directive.
38540         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38541         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38542         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38543         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38544         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38545         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38546         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38547         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38548         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38549         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38550         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38551         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38552         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38553         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38554         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38555         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38556         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38557         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38558         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38559         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38560         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38561         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38562         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38563         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38564         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38565         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38566         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38567         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38568         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38569         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38570         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38571         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38572         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38573         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38574         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38575         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38576         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38577         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38578         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38579         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38580         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38581
38582 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
38583
38584         * math/tst-CMPLX.c: Include <stdio.h>.
38585
38586 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
38587
38588         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38589         float.
38590         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38591         * sysdeps/sparc/bits/mathdef.h: Likewise.
38592
38593 2012-01-31  Marek Polacek  <polacek@redhat.com>
38594
38595         * libio/libio.h: Don't define _PARAMS.
38596         * locale/programs/config.h: Don't define PARAMS.
38597         * stdlib/strtol_l.c: Likewise.
38598         (__strtol_l): Remove PARAMS from the prototype.
38599
38600 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
38601
38602         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
38603         names.  Just use the correct names.  Remove unnecessary wrapper
38604         functions.
38605         * malloc/arena.c: Likewise.
38606         * malloc/hooks.c: Likewise.
38607
38608         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38609         ARENA_TEST says not to.  Simplify test for creation of a new arena.
38610         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38611
38612 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
38613
38614         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38615         into tail calls.
38616         (update_get_addr): New function.
38617         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38618         GET_ADDR_MODULE parameter.
38619
38620 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38621
38622         * crypt/cert.c: Remove __STDC__ conditionals.
38623         * crypt/crypt-entry.c: Likewise.
38624         * crypt/crypt_util.c: Likewise.
38625         * libio/filedoalloc.c: Likewise.
38626         * libio/fileops.c: Likewise.
38627         * libio/genops.c: Likewise.
38628         * libio/iofclose.c: Likewise.
38629         * libio/iofdopen.c: Likewise.
38630         * libio/iofopen.c: Likewise.
38631         * libio/iofopen64.c: Likewise.
38632         * libio/iogetdelim.c: Likewise.
38633         * libio/iopopen.c: Likewise.
38634         * libio/obprintf.c: Likewise.
38635         * libio/oldfileops.c: Likewise.
38636         * libio/oldiofclose.c: Likewise.
38637         * libio/oldiofdopen.c: Likewise.
38638         * libio/oldiofopen.c: Likewise.
38639         * libio/oldiopopen.c: Likewise.
38640         * libio/wfiledoalloc.c: Likewise.
38641         * libio/wgenops.c: Likewise.
38642         * locale/programs/xmalloc.c: Likewise.
38643         * misc/syslog.c: Likewise.
38644         * stdio-common/xbug.c: Likewise.
38645         * string/memchr.c: Likewise.
38646         * string/memcmp.c: Likewise.
38647         * string/memrchr.c: Likewise.
38648         * string/rawmemchr.c: Likewise.
38649         * sysdeps/posix/getcwd.c: Likewise.
38650         * time/strftime_l.c: Likewise.
38651
38652 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
38653
38654         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38655         * config.make.in (config-cflags-sse2avx): Define.
38656         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38657         Fix typo.
38658
38659 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
38660
38661         * scripts/config.guess: Update from upstream config git repository.
38662         * scripts/config.sub: Likewise.
38663
38664 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
38665
38666         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38667         (EM_NUM): Update.
38668         (R_TILEPRO_*, R_TILEGX_*): New macros.
38669
38670         * scripts/firstversions.awk: Fix bug in version range handling.
38671
38672         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38673
38674         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38675
38676         * include/sys/epoll.h: New file.
38677         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38678         libc_hidden_def.
38679
38680 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
38681
38682         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38683         Avoid unnecessary __WORDSIZE == 64 test.
38684         (fmaxf): Use VEX format if possible.
38685         (fmax): Likewise.
38686         (fminf): Likewise.
38687         (fmin): Likewise.
38688
38689         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38690         * math/math_private.h: Remove libc_fegetround* and
38691         libc_fesetround*.
38692         * sysdeps/i386/configure.in: Check for -msse2avx.
38693         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38694         also if SSE2AVX is defined.
38695         Remove libc_fegetround* and libc_fesetround*.
38696         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38697         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
38698         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38699         of HAS_YMM_USABLE.
38700         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38701         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38702         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38703         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38704         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38705
38706         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38707
38708 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38709
38710         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38711         size is not set.
38712         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38713
38714 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
38715
38716         [BZ #13618]
38717         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38718         relocation.
38719         * Makeconfig (libm): Define.
38720         * elf/Makefile: Add rules to build and run tst-relsort1.
38721         * elf/tst-relsort1.c: New file.
38722         * elf/tst-relsort1mod1.c: New file.
38723         * elf/tst-relsort1mod2.c: New file.
38724
38725 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
38726
38727         * math/s_ldexp.c: Remove __STDC__ conditionals.
38728         * math/s_ldexpf.c: Likewise.
38729         * math/s_ldexpl.c: Likewise.
38730         * math/s_nextafter.c: Likewise.
38731         * math/s_nexttowardf.c: Likewise.
38732         * math/s_significand.c: Likewise.
38733         * math/s_significandf.c: Likewise.
38734         * math/s_significandl.c: Likewise.
38735         * math/w_jnl.c: Likewise.
38736         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38737         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38738         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38739         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38740         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38741         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38742         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38743         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38744         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38745         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38746         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38747         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38748         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38749         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38750         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38751         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38752         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38753         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38754         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38755         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38756         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38757         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38758         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38759         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38760         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38761         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38762         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38763         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38764         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38765         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38766         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38767         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38768         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38769         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38770         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38771         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38772         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38773         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38774         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38775         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38776         * sysdeps/ieee754/k_standard.c: Likewise.
38777         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38778         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38779         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38780         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38781         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38782         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38783         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38784         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38785         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38786         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38787         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38788         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38789         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38790         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38791         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38792         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38793         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38794         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38795         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38796         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38797         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38798         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38799         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38800         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38801         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38802         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38803         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38804         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38805         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38806         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38807         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38808         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38809         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38810         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38811         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38812         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38813         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38814         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38815         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38816         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38817         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38818         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38819         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38820         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38821         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38822         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38823         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38824         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38825         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38826         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38827         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38828         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38829         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38830         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38831         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38832         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38833         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38834         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38835         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38836         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38837         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38838         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38839         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38840         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38841         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38842         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38843         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38844         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38845         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38846         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38847         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38848         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38849         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38850         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38851         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38852         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38853         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38854         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38855         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38856         * sysdeps/ieee754/s_matherr.c: Likewise.
38857         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38858         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38859         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38860         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38861
38862 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38863
38864         * crypt/md5.h: Remove __STDC__ conditionals.
38865         * libio/libioP.h: Likewise.
38866         * locale/programs/config.h: Likewise.
38867         * sysdeps/generic/sysdep.h: Likewise.
38868         * sysdeps/i386/asm-syntax.h: Likewise.
38869         * sysdeps/s390/asm-syntax.h: Likewise.
38870         * sysdeps/unix/sysdep.h: Likewise.
38871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38873
38874 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
38875
38876         * libio/libio.h: Remove __STDC__ conditionals.
38877         * malloc/obstack.h: Likewise.
38878         * math/complex.h: Likewise.
38879         * math/math.h: Likewise.
38880         * sysdeps/generic/_G_config.h: Likewise.
38881         * sysdeps/gnu/_G_config.h: Likewise.
38882         * sysdeps/mach/hurd/_G_config.h: Likewise.
38883         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38884         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38885         * sysdeps/sparc/bits/mathdef.h: Likewise.
38886
38887 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
38888
38889         [BZ #13583]
38890         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38891         Clean up HAS_* macros.
38892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38893         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38894         possible.
38895         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38896         HAS_AVX.
38897         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38898         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38899         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38900         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38901         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38902
38903 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
38904
38905         * elf/tst-unique3.cc (gets): Remove declaration.
38906         * elf/tst-unique3lib.cc (gets): Likewise.
38907         * elf/tst-unique3lib2.cc (gets): Likewise.
38908         * elf/tst-unique4.cc (gets): Likewise.
38909
38910 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
38911
38912         * include/stdio.h: Add C++ protection.  Add gets declarations and
38913         definitions.
38914         * debug/tst-chk1.c: Don't declare gets here.
38915         * stdio-common/tst-gets.c: Likewise.
38916
38917 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38918
38919         * posix/glob: Remove directory.
38920
38921 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
38922
38923         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38924
38925 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
38926
38927         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38928         of the non-standard EPFNOSUPPORT.
38929
38930 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38931
38932         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38933         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38934         ANYWHERE set to 1 only on KERN_NO_SPACE error.
38935
38936 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
38937
38938         * wcsmbs/uchar.h: Test __STDC_VERSION__.
38939
38940 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
38941
38942         * nscd/aicache.c (addhstaiX): Do not cache negative results of
38943         transient errors.
38944         * nscd/grpcache.c (cache_addgr): Likewise.
38945         * nscd/hstcache.c (cache_addhst): Likewise.
38946         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38947         * nscd/pwdcache.c (cache_addpw): Likewise.
38948         * nscd/servicescache.c (cache_addserv): Likewise.
38949
38950 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
38951
38952         * malloc/malloc.c: Various cleanups.
38953         * malloc/hooks.c: Likewise.
38954
38955         * stdlib/Makefile (tests): Add bug-fmtmsg1.
38956         * stdlib/bug-fmtmsg1.c: New file.
38957
38958         * stdlib/fmtmsg.c (init): Add missing unlock.
38959         Patch by Peng Haitao <penght@cn.fujitsu.com>.
38960
38961 2012-01-12  Marek Polacek  <polacek@redhat.com>
38962
38963         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38964         and _GNU_SOURCE.
38965
38966 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38967
38968         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38969         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38970         macro to ensure uniqueness of label name.
38971         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38972         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38973
38974 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
38975
38976         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38977
38978         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38979         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38980         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38981         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38982
38983 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
38984
38985         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38986
38987         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38988         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38989         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38990
38991         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38992
38993         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38994         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38995         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38997
38998         * math/bits/math-finite.h: Add ldexp support.
38999
39000 2012-01-10  Marek Polacek  <polacek@redhat.com>
39001
39002         * locale/programs/localedef.h (show_archive_content): Add noreturn
39003         attribute.
39004
39005 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39006
39007         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39008
39009 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39010
39011         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39012
39013         * io/Makefile (headers): Add bits/poll2.h.
39014
39015 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39016
39017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39018         typo #include statement.
39019
39020 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39021
39022         * include/sys/cdefs.h: Define __attribute_alloc_size.
39023         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39024         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39025         * elf/pldd.c: Likewise.
39026         * iconv/iconv_charmap.c: Likewise.
39027         * iconv/iconvconfig.c: Likewise.
39028         * iconv/strtab.c: Likewise.
39029         * locale/programs/locale.c: Likewise.
39030         * locale/programs/localedef.h: Likewise.
39031         * locale/programs/simple-hash.c: Likewise.
39032         * nscd/nscd.h: Likewise.
39033         * nss/makedb.c: Likewise.
39034         * sysdeps/generic/ldconfig.h: Likewise.
39035         * locale/programs/localedef.c: Remove xmalloc prototype.
39036         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39037
39038 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39039
39040         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39041         appropriate.
39042
39043 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39044
39045         * math/Makefile (tests): Add tst-CMPLX.
39046         * math/tst-CMPLX.c: New file.
39047
39048         * math/complex.h (CMPLXL): Fix typo.
39049
39050         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39051         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39052         GLIBC_2.16.
39053         * debug/tst-chk1.c: Add poll and ppoll tests.
39054         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39055         * include/sys/poll.h: Add hidden proto for ppoll.
39056         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39057         * sysdeps/mach/hurd/ppoll.c: Likewise.
39058         * io/ppoll.c: Likewise.
39059         * debug/poll_chk.c: New file.
39060         * debug/ppoll_chk.c: New file.
39061         * include/bits/poll2.h: New file.
39062         * io/bits/poll2.h: New file.
39063
39064         [BZ #1350]
39065         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39066
39067         * configure.in: static is always set to yes.  Remove.
39068         * config.make.in: Don't set build-static.
39069         * Makeconfig: Remove use of build-static.
39070         * dlfcn/Makefile: Likewise.
39071         * elf/Makefile: Likewise.
39072         * math/Makefile: Likewise.
39073         * misc/Makefile: Likewise.
39074         * nptl/Makefile: Likewise.
39075         * sysdeps/mach/hurd/Makefile: Likewise.
39076
39077         * configure.in: PWD_P is not used anymore.
39078         * config.make.in: Remove PWD_P entry.
39079
39080         * configure.in: Remove last remnants of RANLIB.
39081         No need to check for signed size_t anymore.
39082         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39083         and IA-64.
39084         Remove __builtin_expect test because we require at least gcc 3.4.
39085         * aclocal.m4: Likewise.
39086
39087         * wcsmbs/mbrtoc16.c: Implement using towc function.
39088         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39089         * wcsmbs/wcsmbsload.c: Likewise.
39090         * iconv/gconv_simple.c: Likewise.
39091         * iconv/gconv_int.h: Likewise.
39092         * iconv/gconv_builtin.h: Likewise.
39093         * iconv/iconv_prog.c: Remove CHAR16 handling.
39094
39095         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39096
39097         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39098
39099         * configure.in: Remove --with-elf and --enable-bounded options.
39100         Dont set base_machine for ia64.  More non-ELF conditions removed.
39101         Remove testing and setting of leading underscore information.
39102         * config.make.in (build-bounded): Set to no.
39103         * config.h.in: Remove NO_UNDERSCORES entry.
39104         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39105         them.
39106         * csu/start.c: Remove !NO_UNDERSCORE code.
39107         * locale/localeinfo.h: Likewise.
39108         * sysdeps/generic/machine-gmon.h: Likewise.
39109         * sysdeps/generic/sysdep.h: Likewise.
39110         * sysdeps/i386/sysdep.h: Likewise.
39111         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39112         * sysdeps/mach/sysdep.h: Likewise.
39113         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39114         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39115         * sysdeps/sh/sysdep.h: Likewise.
39116         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39117         * sysdeps/unix/i386/sysdep.S: Likewise.
39118         * sysdeps/unix/sparc/start.c: Likewise.
39119         * sysdeps/unix/sparc/sysdep.S: Likewise.
39120         * sysdeps/unix/sparc/sysdep.h: Likewise.
39121         * sysdeps/unix/start.c: Likewise.
39122         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39123         * sysdeps/x86_64/sysdep.h: Likewise.
39124
39125 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39126
39127         [BZ #13553]
39128         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39129         for non-gcc.
39130         * argp/argp-fmtstream.h: Use const instead __const.
39131         * argp/argp.h: Likewise.
39132         * assert/assert.h: Likewise.
39133         * bits/fenv.h: Likewise.
39134         * bits/sched.h: Likewise.
39135         * bits/sigset.h: Likewise.
39136         * bits/sigthread.h: Likewise.
39137         * catgets/nl_types.h: Likewise.
39138         * conform/data/pthread.h-data: Likewise.
39139         * crypt/crypt-private.h: Likewise.
39140         * crypt/crypt.h: Likewise.
39141         * crypt/crypt_util.c: Likewise.
39142         * ctype/ctype.h: Likewise.
39143         * debug/execinfo.h: Likewise.
39144         * debug/mbsnrtowcs_chk.c: Likewise.
39145         * debug/mbsrtowcs_chk.c: Likewise.
39146         * debug/wcsnrtombs_chk.c: Likewise.
39147         * debug/wcsrtombs_chk.c: Likewise.
39148         * debug/wcstombs_chk.c: Likewise.
39149         * dirent/dirent.h: Likewise.
39150         * dlfcn/dlfcn.h: Likewise.
39151         * elf/neededtest4.c: Likewise.
39152         * grp/grp.h: Likewise.
39153         * gshadow/gshadow.h: Likewise.
39154         * iconv/gconv.h: Likewise.
39155         * iconv/gconv_int.h: Likewise.
39156         * iconv/gconv_simple.c: Likewise.
39157         * iconv/iconv.h: Likewise.
39158         * iconv/loop.c: Likewise.
39159         * iconv/skeleton.c: Likewise.
39160         * include/aio.h: Likewise.
39161         * include/aliases.h: Likewise.
39162         * include/argz.h: Likewise.
39163         * include/arpa/inet.h: Likewise.
39164         * include/assert.h: Likewise.
39165         * include/dirent.h: Likewise.
39166         * include/dlfcn.h: Likewise.
39167         * include/execinfo.h: Likewise.
39168         * include/fcntl.h: Likewise.
39169         * include/fenv.h: Likewise.
39170         * include/glob.h: Likewise.
39171         * include/grp.h: Likewise.
39172         * include/libintl.h: Likewise.
39173         * include/mntent.h: Likewise.
39174         * include/netdb.h: Likewise.
39175         * include/pwd.h: Likewise.
39176         * include/rpc/netdb.h: Likewise.
39177         * include/sched.h: Likewise.
39178         * include/search.h: Likewise.
39179         * include/shadow.h: Likewise.
39180         * include/signal.h: Likewise.
39181         * include/stdio.h: Likewise.
39182         * include/stdlib.h: Likewise.
39183         * include/string.h: Likewise.
39184         * include/sys/socket.h: Likewise.
39185         * include/sys/stat.h: Likewise.
39186         * include/sys/statfs.h: Likewise.
39187         * include/sys/statvfs.h: Likewise.
39188         * include/sys/syslog.h: Likewise.
39189         * include/sys/time.h: Likewise.
39190         * include/sys/uio.h: Likewise.
39191         * include/time.h: Likewise.
39192         * include/unistd.h: Likewise.
39193         * include/utmp.h: Likewise.
39194         * include/wchar.h: Likewise.
39195         * include/wctype.h: Likewise.
39196         * inet/aliases.h: Likewise.
39197         * inet/arpa/inet.h: Likewise.
39198         * inet/netinet/ether.h: Likewise.
39199         * inet/netinet/in.h: Likewise.
39200         * intl/libintl.h: Likewise.
39201         * io/bits/fcntl2.h: Likewise.
39202         * io/fcntl.h: Likewise.
39203         * io/ftw.h: Likewise.
39204         * io/sys/poll.h: Likewise.
39205         * io/sys/stat.h: Likewise.
39206         * io/sys/statfs.h: Likewise.
39207         * io/sys/statvfs.h: Likewise.
39208         * io/utime.h: Likewise.
39209         * libio/bits/stdio.h: Likewise.
39210         * libio/bits/stdio2.h: Likewise.
39211         * libio/libio.h: Likewise.
39212         * libio/libioP.h: Likewise.
39213         * libio/stdio.h: Likewise.
39214         * locale/lc-ctype.c: Likewise.
39215         * locale/locale.h: Likewise.
39216         * login/utmp.h: Likewise.
39217         * malloc/arena.c: Likewise.
39218         * malloc/malloc.c: Likewise.
39219         * malloc/malloc.h: Likewise.
39220         * malloc/mcheck.c: Likewise.
39221         * malloc/mtrace.c: Likewise.
39222         * math/bits/mathcalls.h: Likewise.
39223         * math/fenv.h: Likewise.
39224         * math/math_private.h: Likewise.
39225         * misc/bits/error.h: Likewise.
39226         * misc/bits/syslog.h: Likewise.
39227         * misc/err.h: Likewise.
39228         * misc/error.h: Likewise.
39229         * misc/fstab.h: Likewise.
39230         * misc/mntent.h: Likewise.
39231         * misc/regexp.h: Likewise.
39232         * misc/search.h: Likewise.
39233         * misc/sgtty.h: Likewise.
39234         * misc/sys/mman.h: Likewise.
39235         * misc/sys/syslog.h: Likewise.
39236         * misc/sys/uio.h: Likewise.
39237         * misc/sys/xattr.h: Likewise.
39238         * misc/ttyent.h: Likewise.
39239         * nis/rpcsvc/ypclnt.h: Likewise.
39240         * nss/nss.h: Likewise.
39241         * posix/bits/unistd.h: Likewise.
39242         * posix/fnmatch.h: Likewise.
39243         * posix/glob.h: Likewise.
39244         * posix/sched.h: Likewise.
39245         * posix/spawn.h: Likewise.
39246         * posix/sys/wait.h: Likewise.
39247         * posix/unistd.h: Likewise.
39248         * posix/wordexp.h: Likewise.
39249         * pwd/pwd.h: Likewise.
39250         * resolv/netdb.h: Likewise.
39251         * resource/sys/resource.h: Likewise.
39252         * rt/aio.h: Likewise.
39253         * rt/bits/mqueue2.h: Likewise.
39254         * rt/mqueue.h: Likewise.
39255         * shadow/shadow.h: Likewise.
39256         * signal/signal.h: Likewise.
39257         * socket/send.c: Likewise.
39258         * socket/sendto.c: Likewise.
39259         * socket/sys/socket.h: Likewise.
39260         * stdio-common/printf.h: Likewise.
39261         * stdlib/bits/stdlib.h: Likewise.
39262         * stdlib/fmtmsg.h: Likewise.
39263         * stdlib/monetary.h: Likewise.
39264         * stdlib/stdlib.h: Likewise.
39265         * stdlib/ucontext.h: Likewise.
39266         * streams/stropts.h: Likewise.
39267         * string/argz.h: Likewise.
39268         * string/bits/string2.h: Likewise.
39269         * string/string.h: Likewise.
39270         * string/strings.h: Likewise.
39271         * sunrpc/rpc/auth.h: Likewise.
39272         * sunrpc/rpc/auth_des.h: Likewise.
39273         * sunrpc/rpc/clnt.h: Likewise.
39274         * sunrpc/rpc/netdb.h: Likewise.
39275         * sunrpc/rpc/pmap_clnt.h: Likewise.
39276         * sunrpc/rpc/xdr.h: Likewise.
39277         * sysdeps/generic/inttypes.h: Likewise.
39278         * sysdeps/generic/net/if.h: Likewise.
39279         * sysdeps/generic/sys/swap.h: Likewise.
39280         * sysdeps/gnu/net/if.h: Likewise.
39281         * sysdeps/gnu/utmpx.h: Likewise.
39282         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39283         * sysdeps/i386/i486/bits/string.h: Likewise.
39284         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39285         * sysdeps/s390/bits/string.h: Likewise.
39286         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39287         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39288         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39289         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39290         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39291         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39292         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39293         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39294         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39295         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39296         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39297         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39298         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39299         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39300         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39301         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39302         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39303         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39304         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39305         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39306         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39307         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39308         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39309         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39310         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39311         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39312         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39313         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39314         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39315         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39316         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39317         * sysvipc/sys/ipc.h: Likewise.
39318         * sysvipc/sys/msg.h: Likewise.
39319         * sysvipc/sys/sem.h: Likewise.
39320         * sysvipc/sys/shm.h: Likewise.
39321         * termios/termios.h: Likewise.
39322         * time/sys/time.h: Likewise.
39323         * time/time.h: Likewise.
39324         * wcsmbs/bits/wchar2.h: Likewise.
39325         * wcsmbs/uchar.h: Likewise.
39326         * wcsmbs/wchar.h: Likewise.
39327         * wctype/wctype.h: Likewise.
39328
39329         [BZ #13551]
39330         * Makeconfig: Remove all but ELF support including AIX support.
39331         * Makerules: Likewise.
39332         * config.h.in: Likewise.
39333         * config.make.in: Likewise.
39334         * configure: Likewise.
39335         * configure.in: Likewise.
39336         * csu/Makefile: Likewise.
39337         * csu/version.c: Likewise.
39338         * debug/Makefile: Likewise.
39339         * dlfcn/Makefile: Likewise.
39340         * elf/Makefile: Likewise.
39341         * extra-lib.mk: Likewise.
39342         * iconv/Makefile: Likewise.
39343         * include/libc-symbols.h: Likewise.
39344         * include/shlib-compat.h: Likewise.
39345         * resolv/Makefile: Likewise.
39346         * resolv/res_libc.c: Likewise.
39347         * rt/Makefile: Likewise.
39348         * sysdeps/i386/asm-syntax.h: Likewise.
39349         * sysdeps/i386/sysdep.h: Likewise.
39350         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39351         * sysdeps/mach/sysdep.h: Likewise.
39352         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39353         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39354         * sysdeps/s390/asm-syntax.h: Likewise.
39355         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39356         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39357         * sysdeps/sh/sysdep.h: Likewise.
39358         * sysdeps/unix/sparc/sysdep.h: Likewise.
39359         * sysdeps/wordsize-32/divdi3.c: Likewise.
39360         * sysdeps/x86_64/sysdep.h: Likewise.
39361
39362         * argp/Versions: Remove _argp_unlock_xxx.
39363
39364         [BZ #13559]
39365         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39366         * abilist/libBrokenLocale.abilist: Likewise.
39367         * abilist/libanl.abilist: Likewise.
39368         * abilist/libc.abilist: Likewise.
39369         * abilist/libcrypt.abilist: Likewise.
39370         * abilist/libdl.abilist: Likewise.
39371         * abilist/libm.abilist: Likewise.
39372         * abilist/libnsl.abilist: Likewise.
39373         * abilist/libpthread.abilist: Likewise.
39374         * abilist/libresolv.abilist: Likewise.
39375         * abilist/librt.abilist: Likewise.
39376         * abilist/libthread_db.abilist: Likewise.
39377         * abilist/libutil.abilist: Likewise.
39378         * abilist/libnss_db.abilist: New file.
39379
39380         * scripts/abilist.awk: Add support for indirect functions.
39381
39382         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39383
39384         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39385
39386         * shlib-versions: Remove entries for ports architectures.
39387
39388         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39389         files in ports.
39390         * elf/stackguard-macros.h: Remove support for IA-64.
39391         * elf/tst-auditmod1.c: Likewise.
39392         * sysdeps/generic/ldsodefs.h: Likewise.
39393
39394         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39395         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39396         configure files.
39397
39398         [BZ #13552]
39399         * configure.in: Remove --enable-omitfp support.
39400         * FAQ.in: Adjust.
39401         * config.make.in: Likewise.
39402         * Makeconfig: Likewise.
39403         * manual/install.texi: Likewise.
39404
39405         In case anyone cares, the IA-64 architecture could move to ports.
39406         * sysdeps/ia64/*: Removed.
39407         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39408         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39409
39410         [BZ #13555]
39411         * configure.in: Remove entries for unsupported architectures.
39412
39413         [BZ #13533]
39414         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39415         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39416         routines.
39417         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39418         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39419         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39420         fall back to using wcrtomb.
39421         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39422         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39423         renaming.
39424         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39425         * wcsmbs/tst-c16c32-1.c: New file.
39426
39427         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39428         local variable.
39429
39430         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39431
39432         * elf/tst-unique3.cc: Add explicit declaration of gets.
39433         * elf/tst-unique3lib.cc: Likewise.
39434         * elf/tst-unique3lib2.cc: Likewise.
39435         * elf/tst-unique4.cc: Likewise.
39436
39437         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39438
39439 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39440
39441         [BZ #13566]
39442         * assert/assert.h (static_assert): Don't define for C++.
39443         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39444         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39445
39446 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39447
39448         * iconv/loop.c (single loop): Fix assertion in storing of
39449         remaining bytes.
39450
39451         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39452
39453 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39454
39455         * posix/getconf.c: Update copyright year.
39456         * nss/getent.c: Likewise.
39457         * nss/makedb.c: Likewise.
39458         * iconv/iconvconfig.c: Likewise.
39459         * iconv/iconv_prog.c: Likewise.
39460         * elf/ldconfig.c: Likewise.
39461         * elf/pldd.c: Likewise.
39462         * elf/sotruss.ksh: Likewise.
39463         * catgets/gencat.c: Likewise.
39464         * csu/version.c: Likewise.
39465         * elf/ldd.bash.in: Likewise.
39466         * elf/sprof.c (print_version): Likewise.
39467         * locale/programs/locale.c: Likewise.
39468         * locale/programs/localedef.c: Likewise.
39469         * login/programs/pt_chown.c: Likewise.
39470         * nscd/nscd.c (print_version): Likewise.
39471         * debug/xtrace.sh: Likewise.
39472         * malloc/memusage.sh: Likewise.
39473         * malloc/mtrace.pl: Likewise.
39474         * debug/catchsegv.sh: Likewise.
39475
39476 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39477
39478         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39479         pure attribute.
39480
39481 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39482
39483         [BZ #13533]
39484         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39485         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39486         transformations.
39487         * iconv/gconv_int.h: Likewise.
39488         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39489         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39490         from libc for GLIBC_2.16.
39491         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39492         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39493         * wcsmbs/uchar.h: Really define mbstate_t.
39494         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39495         * wcsmbs/c16rtomb.c: New file.
39496         * wcsmbs/mbrtoc16.c: New file.
39497         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39498         for C/POSIX locale.
39499         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39500         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39501
39502         * wcsmbs/wchar.h: Add missing __restrict.
39503
39504 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39505
39506         [BZ #13532]
39507         * time/Makefile (routines): Add timespec_get.
39508         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39509         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
39510         timespec for ISO C11.
39511         * time/timespec_get.c: New file.
39512         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39513         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39514
39515         [BZ #13531]
39516         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39517         * stdlib/stdlib.h: Declare aligned_alloc.
39518         * Versions.def: Add GLIBC_2.16 for libc.
39519         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39520
39521         [BZ 13527]
39522         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39523         ISO C11.
39524
39525         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39526         code.
39527
39528         [BZ #13528]
39529         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39530
39531         [BZ #13529]
39532         * assert/assert.h (static_assert): Define.
39533
39534         * version.h: Update for 2.16 development version.
39535
39536         [BZ #13526]
39537         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39538         _ISOC11_SOURCE.
39539
39540         * version.h (RELEASE): Bump for 2.15 release.
39541         * include/features.h (__GLIBC_MINOR__): Bump to 15.
39542
39543         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39544         Patch by Marek Polacek <mpolacek@redhat.com>.
39545
39546         * bits/byteswap.h: Protect long long constants with __extension__.
39547         * sysdeps/i386/bits/byteswap.h: Likewise.
39548         * sysdeps/ia64/bits/byteswap.h: Likewise.
39549         * sysdeps/s390/bits/byteswap.h: Likewise.
39550         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39551
39552 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39553
39554         [BZ #13540]
39555         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39556         destination buffer.
39557         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39558
39559 2011-12-23  Marek Polacek  <polacek@redhat.com>
39560
39561         * elf/dl-addr.c (determine_info): Add inline keyword.
39562         * elf/tst-auditmod4b.c (check_avx): Likewise.
39563         * elf/tst-auditmod6b.c (check_avx): Likewise.
39564         * elf/tst-auditmod6c.c (check_avx): Likewise.
39565         * elf/tst-auditmod7b.c (check_avx): Likewise.
39566
39567 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39568
39569         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39570         !__SSE_MATH__.
39571
39572 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39573
39574         [BZ #13540]
39575         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39576         processing for last bytes.
39577
39578 2011-08-06  Bruno Haible  <bruno@clisp.org>
39579
39580         [BZ #13061]
39581         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39582         U+0385, not to U+1FEE.
39583
39584         [BZ #13062]
39585         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39586         entry for U+00A5 U+0301.
39587
39588 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39589
39590         [BZ #13166]
39591         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39592         buffer for the output is too small.
39593
39594         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39595         optimization.
39596
39597         [BZ #13185]
39598         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39599         SSE flags if possible.
39600
39601 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39602
39603         [BZ #13540]
39604         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39605         processing for last bytes.
39606
39607 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
39608
39609         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39610         (syscall-list-default-options, syscall-list-default-condition)
39611         (syscall-list-includes): Define.
39612         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39613         list of ABIs and options and #if conditions for each ABI.  Do not
39614         handle common syscalls between ABIs specially.
39615         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39616         Remove.
39617         (syscall-list-variants, syscall-list-32bit-options)
39618         (syscall-list-32bit-condition, syscall-list-64bit-options)
39619         (syscall-list-64bit-condition): Define.
39620         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39621         (syscall-list-variants, syscall-list-32bit-options)
39622         (syscall-list-32bit-condition, syscall-list-64bit-options)
39623         (syscall-list-64bit-condition): Define.
39624         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39625         Remove.
39626         (syscall-list-variants, syscall-list-32bit-options)
39627         (syscall-list-32bit-condition, syscall-list-64bit-options)
39628         (syscall-list-64bit-condition): Define.
39629         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39630         Remove.
39631         (syscall-list-variants, syscall-list-32bit-options)
39632         (syscall-list-32bit-condition, syscall-list-64bit-options)
39633         (syscall-list-64bit-condition): Define.
39634
39635 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
39636
39637         * locale/iso-639.def: Add brx entry.
39638
39639         [BZ #13328]
39640         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39641         Proposed by Mariusz_Cukr <marcukr@op.pl>.
39642
39643         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39644         __feraiseexcept_renamed.
39645
39646 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39647
39648         [BZ #13538]
39649         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39650         EPOLLET with unsigned values.
39651         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39652         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39653
39654         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39655         to large cancellation.
39656         * math/s_cacoshf.c: Likewise.
39657         * math/s_cacoshl.c: Likewise.
39658
39659 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
39660
39661         [BZ #13305]
39662         [BZ #12786]
39663         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39664         * math/s_cacoshf.c: Likewise.
39665         * math/s_cacoshl.c: Likewise.
39666
39667 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
39668
39669         [BZ #13439]
39670         * iconv/gconv.h: Define __GCONV_SWAP.
39671         * iconvdata/unicode.c: The swap bit must be stored in __flags.
39672         * iconvdata/utf-16.c: Likewise.
39673         * iconvdata/utf-32.c: Likewise.
39674
39675 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39676
39677         [BZ #13524]
39678         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39679         numerator after shifting it by one limb.
39680
39681 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
39682
39683         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39684         under [__USE_EXTERN_INLINES].
39685
39686 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39687
39688         [BZ #13446]
39689         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39690
39691 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39692
39693         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39694         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39695         optimized code.
39696         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39697         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39698         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39699         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39700         for strncasecmp/strncasecmp_l compilation.
39701         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39702         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39703
39704 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
39705
39706         [BZ #13484]
39707         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39708         of __asm__.
39709
39710 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
39711
39712         [BZ #13506]
39713         * time/tzfile.c (__tzfile_read): Check values from file header.
39714
39715 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39716
39717         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39718         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39719         * powerpc/powerpc32/dl-start.S: Likewise.
39720         * powerpc/powerpc32/elf/start.S: Likewise.
39721         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39722         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39723         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39724         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39725         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39726         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39727         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39728         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39729         * powerpc/powerpc32/fpu/s_round.S: Likewise.
39730         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39731         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39732         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39733         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39734         * powerpc/powerpc32/memset.S: Likewise.
39735         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39736         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39737         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39738         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39739         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39740         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39741         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39742         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39743         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39744         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39745         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39746         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39747         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39748
39749 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39750
39751         * math/libm-test.inc: Added more nearbyint tests.
39752         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39753         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39754         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39755         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39756
39757 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
39758
39759         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39760         FD_CLOEXEC.
39761
39762 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39763
39764         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39765         Add wcscpy-ssse3 wcscpy-c.
39766         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39767         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39768         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39769         * sysdeps/x86_64/wcschr.S: New file.
39770         * sysdeps/x86_64/wcsrchr.S: New file.
39771         * string/test-strcmp.c: Remove checking of wcscmp function for
39772         wrong alignments.
39773         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39774         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39775         wcsrchr-sse2 wcsrchr-c.
39776         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39777         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39778         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39779         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39780         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39781         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39782         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39783         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39784         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39785         * wcsmbc/wcschr.c (WCSCHR): New macro.
39786
39787 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39788
39789         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39790         * wcsmbs/test-wcsrchr.c: New file.
39791         * string/test-strrchr.c: Add wcsrchr support.
39792         (WIDE): New macro.
39793         * wcsmbs/test-wcscpy.c: New file.
39794         * string/test-strcpy.c: Add wcscpy support.
39795         (WIDE): New macro.
39796
39797 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
39798
39799         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39800         the inner loop.
39801
39802 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
39803
39804         [BZ #13472]
39805         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39806
39807 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
39808
39809         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39810         Minor optimizations.
39811
39812         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39813         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39814         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39815
39816 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
39817
39818         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39819         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39820         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39821         for gcc to avoid warnings.
39822         * inet/Makefile (tests): Add tst-checks.
39823         * inet/tst-checks.c: New file.
39824
39825         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39826         warning.
39827
39828         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39829         __wmemcmp_sse2.
39830
39831         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39832         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39833
39834         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39835
39836 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
39837
39838         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39839         problem.
39840
39841         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39842
39843 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
39844
39845         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39846         conditional on GCC version.
39847         (__arch_compare_and_exchange_val_8_acq)
39848         (__arch_compare_and_exchange_val_16_acq)
39849         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39850         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39851         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39852
39853 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
39854
39855         * sysdeps/sh/backtrace.c: New file.
39856
39857 2011-12-02  Andreas Schwab  <schwab@redhat.com>
39858
39859         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
39860         parenthesis.
39861
39862 2011-12-01  Andreas Schwab  <schwab@redhat.com>
39863
39864         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39865         falling back to utime.
39866
39867 2011-11-30  Andreas Schwab  <schwab@redhat.com>
39868
39869         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39870         expectations for float.
39871
39872 2011-11-29  Andreas Schwab  <schwab@redhat.com>
39873
39874         * locale/weight.h (findidx): Add parameter len.
39875         * locale/weightwc.h (findidx): Likewise.
39876         * posix/fnmatch_loop.c (FCT): Adjust caller.
39877         * posix/regcomp.c (build_equiv_class): Likewise.
39878         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39879         * posix/regexec.c (check_node_accept_bytes): Likewise.
39880         * string/strcoll_l.c (STRCOLL): Likewise.
39881         * string/strxfrm_l.c (STRXFRM): Likewise.
39882
39883 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
39884
39885         * Makefile.in: Remove CVSOPT handling.
39886         * configure.in: Remove use of AC_REVISION.
39887         * iconvdata/Makefile (distribute): No need to filter out CVS.
39888         * scripts/list-sources.sh: Remove CVS, subversion and monotone
39889         handling.
39890
39891 2011-11-16  Andreas Schwab  <schwab@redhat.com>
39892
39893         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39894         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39895         [USE_AS_STRNCASECMP_L]: Likewise.
39896         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39897         NO_TLS_DIRECT_SEG_REFS.
39898         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39899         Fix argument offsets for non-PIC.
39900         [USE_AS_STRNCASECMP_L]: Likewise.
39901         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39902         NO_TLS_DIRECT_SEG_REFS.
39903
39904 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39905
39906         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39907         O_CLOEXEC.
39908         * locale/loadlocale.c (_nl_load_locale): Likewise.
39909
39910 2011-11-15  Andreas Schwab  <schwab@redhat.com>
39911
39912         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39913         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39914         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39915         (SYSCALL_GETTIME): Set errno on error.
39916
39917         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39918         count references to noai6ai_cached.
39919
39920 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
39921
39922         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39923
39924         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39925         FD_CLOEXEC for /proc/self/maps.
39926
39927         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39928         FD_CLOEXEC for /proc/meminfo.
39929
39930         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39931         gai.conf.
39932
39933         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
39934         FD_CLOEXEC for given file.
39935
39936         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39937
39938         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39939         FD_CLOEXEC for /etc/hosts.
39940         (_gethtent): Likewise.
39941
39942         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39943
39944         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39945         cancellation and set FD_CLOEXEC for /etc/netgroup.
39946
39947         * nss/nss_files/files-key.c (search): Don't allow cancellation when
39948         reading /etc/publickey.
39949
39950         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39951         allow cancellation when reading /etc/group.
39952
39953         * nss/nss_files/files-alias.c (internal_setent): Don't allow
39954         cancellation.
39955         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
39956
39957         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39958         when using data file.
39959
39960         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39961
39962         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39963         (write_nis_obj): Use "c" and "e" in fopen.
39964
39965         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39966
39967         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39968
39969         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39970
39971         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39972
39973         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39974         locale.alias.
39975
39976         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39977
39978         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39979
39980         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39981
39982         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39983         file parsing and set FD_CLOEXEC.
39984
39985 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39986
39987         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39988
39989 2011-11-14  Andreas Schwab  <schwab@redhat.com>
39990
39991         * malloc/arena.c (arena_get2): Don't call reused_arena when
39992         _int_new_arena failed.
39993
39994 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
39995
39996         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39997         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39998         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39999         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40000         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40001         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40002         to compile strcasecmp and strncasecmp.
40003         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40004         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40005
40006         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40007
40008 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40009
40010         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40011         locale-defines.sym to gen-as-const-headers.
40012         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40013         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40014         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40015         to compile strcasecmp and strncasecmp.
40016         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40017         strcasecmp_l and strncasecmp_l.
40018         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40019         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40020         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40021         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40022         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40023         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40024         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40025         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40026         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40027         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40028         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40029
40030 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40031
40032         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40033         result of SYSDEP_GETTIME_CPU to retval.
40034         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40035         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40036
40037         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40038         variable.
40039
40040         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40041         mantissa words.
40042         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40043
40044         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40045         from unused variable.
40046
40047         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40048         DWARF definitions.
40049         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40050         for assembling.
40051
40052         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40053         over namespaces.
40054
40055         * sunrpc/rpc_prot.c (rejected): Fix case value.
40056
40057         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40058         unsigned long long int to avoid warnings in shift.
40059
40060         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40061         of use of trans.
40062         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40063         variable tmp.
40064
40065         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40066         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40067         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40068
40069         * nis/nis_table.c (nis_list): Use variable of correct type for
40070         result of __follow_path call.
40071
40072 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40073
40074         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40075         of math functions ceil, trunc, floor, round, and sqrt, when
40076         avaliable on the platform.
40077         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40078         name clash.
40079         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40080         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40081         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40082
40083 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40084
40085         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40086         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40087
40088 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40089
40090         * include/unistd.h: Fix __readlink return type.
40091         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40092
40093 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40094
40095         * stdlib/ucontext.h: Undo last change for makecontext.
40096
40097 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40098
40099         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40100
40101         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40102         * setjmp/setjmp.h: Mark functions as non-leaf.
40103         * setjmp/bits/setjmp2.h: Likewise.
40104         * stdlib/ucontext.h: Likewise.
40105
40106 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40107
40108         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40109         (reused_arena): Don't check arena limit.
40110         (arena_get2): Atomically check arena limit.
40111
40112 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40113
40114         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40115         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40116
40117         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40118         instructions.
40119
40120 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40121
40122         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40123         handler when locking.
40124
40125         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40126         Fix size of allocated buffer.
40127
40128 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40129
40130         [BZ #10103]
40131         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40132         declarations for long double functions.
40133         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40134
40135         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40136
40137 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40138
40139         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40140         installed.
40141
40142         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40143         is disabled.
40144
40145 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40146
40147         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40148
40149 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40150
40151         * include/alloca.h (stackinfo_alloca_round): Define.
40152         (extend_alloca): Use it.
40153         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40154         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40155         here.
40156
40157         * scripts/check-local-headers.sh: Ignore libaudit.h.
40158
40159         * nscd/Makefile (extra-objs): Make recursively expanded.
40160
40161 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40162
40163         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40164         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40165
40166         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40167         * posix/tst-rfc3484-2.c: Likewise.
40168         * posix/tst-rfc3484-3.c: Likewise.
40169
40170         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40171         process_vm_writev.
40172         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40173         process_vm_writev.
40174         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40175         process_vm_writev from libc using GLIBC_2.15 version.
40176
40177         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40178
40179 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40180
40181         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40182         stack usage.
40183
40184 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40185
40186         [BZ #13367]
40187         * nss/getent.c (initgroups_keys): Show error message in case no group
40188         names are given.
40189
40190         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40191         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40192         __bump_nl_timestamp.
40193         * nscd/connections (nscd_init): When host database is served open
40194         netlink socket and request notification about configuration changes.
40195         (main_loop_poll): Track netlink file descriptor and bump timestamp
40196         in case data becomes available.
40197         (main_loop_epoll): Likewise.
40198         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40199         (database_pers_head): Add extra_data fileds.
40200         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40201         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40202         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40203         Adjust caller.
40204         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40205         in6ai data, call __free_in6ai.
40206         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40207         Add -DHAVE_NETLINK.
40208         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40209         interface information.  Reuse previous data if netlink timestamp
40210         is not changed.
40211         (__bump_nl_timestamp): New function.
40212         (__free_in6ai): New function.
40213
40214 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40215
40216         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40217         close_not_cancel_no_status here.
40218         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40219
40220 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40221
40222         [BZ #13276]
40223         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40224         return value.
40225
40226         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40227         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40228         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40229
40230 2011-07-03  Andreas Jaeger  <aj@suse.de>
40231
40232         [BZ #10709]
40233         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40234         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40235         * math/libm-test.inc (sin_test): Add test case.
40236
40237 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40238
40239         [BZ #13337]
40240         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40241         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40242
40243         * elf/chroot_canon.c (chroot_canon): Cleanups.
40244
40245         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40246
40247         [BZ #13335]
40248         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40249         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40250
40251         * string/test-strchr.c: Make usable for strchrnul testing.
40252         * string/test-strchrnul.c: New file.
40253         * string/Makefile (strop-tests): Add strchrnul.
40254
40255         * po/it.po: Update from translation team.
40256         * po/es.po: Likewise.
40257
40258 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40259
40260         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40261         the three constants needed as parameters.  Drop the others.
40262         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40263         __m128i_strloadu_tolower.
40264         Create and initialize variable zero and use it in all the places
40265         where _mm_setzero_si128 was used.
40266
40267         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40268         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40269         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40270         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40271         anymore.
40272         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40273         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40274         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40275         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40276         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40277         __mpranred, __mptan.
40278         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40279         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40280         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40281         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40282         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40283         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40284         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40285         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40286         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40287
40288 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40289
40290         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40291         redefine if SHARED.
40292         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40293
40294         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40295         wide char related routines to wcsmbs subdir.
40296
40297 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40298
40299         [BZ #13344]
40300         * misc/sys/cdefs.h (__THROWNL): Define.
40301         * posix/unistd.h: Use __THREADNL instead of __THREAD
40302         for memory synchronization functions.
40303
40304 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40305
40306         [BZ #13349]
40307         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40308         doesn't exist.
40309         * manual/stdio.texi (Obstack Streams): Node removed.
40310
40311 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40312
40313         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40314         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40315         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40316
40317         * math/math_private.h (math_force_eval): Allow non-addressable
40318         arguments.
40319         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40320
40321 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40322
40323         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40324         file is not needed.
40325
40326         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40327         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40328         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40329         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40330         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40331         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40332         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40333         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40334         Add AVX variants.
40335         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40336         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40337         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40338         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40339         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40340         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40341         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40342         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40343         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40344         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40345         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40346         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40347         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40348         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40349         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40350         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40351         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40352         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40353         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40354
40355         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40356         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40357
40358         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40359         place.  Use VEX encoding when compiling for AVX.
40360
40361 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40362
40363         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40364         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40365
40366         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40367
40368 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40369
40370         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40371         useless if() expression.
40372         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40373         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40374         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40375         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40376         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40377         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40378         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40379         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40381         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40382         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40383         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40384         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40385         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40386         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40387         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40388         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40389         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40390         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40391
40392         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40393
40394 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40395
40396         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40397         condition.
40398         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40399
40400 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40401
40402         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40403         .text section.  Avoid duplicate constants.
40404         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40406         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40407         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40408         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40409         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40410         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40411         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40412         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40413         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40414         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40415         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40416         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40417         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40418         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40419         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40420         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40421         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40422         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40423         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40424         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40425         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40426         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40427         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40428         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40429         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40430         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40431         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40432         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40433         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40434         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40435         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40436         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40437         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40438         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40439         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40440         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40441         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40442         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40443         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40444         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40445         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40446         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40447         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40448         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40449
40450 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40451
40452         * sysdeps/x86_64/dla.h: Move to ...
40453         * sysdeps/x86_64/fpu/dla.h: ...here.
40454         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40455         situations.  Use __builtin_fma only for gcc 4.6 and up.
40456
40457         * config.make.in: Add have-mfma4 entry.
40458         * configure.in: Substitute libc_cv_cc_fma4.
40459         * math/Makefile (dbl-only-routines): Add sincostab.
40460         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40461         Use __sincostab not sincos.
40462         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40463         name is a macro.
40464         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40468         using __copysign.
40469         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40470         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40471         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40472         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40473         and __inv.
40474         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40475         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40476         __copysign.
40477         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40478         define aliases when function name is a macro.
40479         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40480         sysdeps/ieee754/dbl-64/sincos.tbl.
40481         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40482         fma4-enabled routines.
40483         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40484         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40485         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40486         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40487         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40488         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40489         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40490         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40491         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40492         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40493         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40494         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40495         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40496         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40497         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40498         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40499         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40500         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40501         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40502         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40503         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40504         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40505         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40506         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40507         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40508         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40509         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40510         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40511         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40512         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40513
40514         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40515         rename.
40516         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40517         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40518         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40519         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40524
40525 2011-10-24  Andreas Schwab  <schwab@redhat.com>
40526
40527         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40528
40529 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40530
40531         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40532
40533         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40534         prediction.
40535         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40536
40537         * string/strnlen.c: Don't define STRNLEN, reverse logic.
40538         Remove unused variable magic_bits.
40539         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40540
40541         * string/strnlen.c: Define and use STRNLEN macro.
40542         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40543         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40544         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40545         * wcsmbs/wcslen.c: Define and use WCSLEN.
40546         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40547         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40548         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40549         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40550         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40551         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40552         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40553
40554 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40555
40556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40557         strnlen-sse2-no-bsf.
40558         Rename strlen-no-bsf to strlen-sse2-no-bsf.
40559         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40560         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40561         Add strnlen support.
40562         (USE_AS_STRNLEN): New macro.
40563         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40564         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40565         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40566         * sysdeps/x86_64/wcslen.S: New file.
40567
40568 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
40569
40570         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40571         XMM-moves are used for copying on small sizes.
40572
40573 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40574
40575         * wcsmbs/Makefile (strop-tests): Add wcschr.
40576         * wcsmbs/test-wcschr.c: New file.
40577         * string/test-strchr.c: Update.
40578         Add wcschr support.
40579         (WIDE): New macro.
40580
40581 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40582
40583         * wcsmbs/Makefile (strop-tests): Add wcslen.
40584         * wcsmbs/test-wcslen.c: New file.
40585         * string/test-strlen.c: Update.
40586         Add wcslen support.
40587         (WIDE): New macro.
40588
40589 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40590
40591         * po/it.po: Update from translation team.
40592
40593 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40594
40595         * sysdeps/x86_64/wcscmp.S: Update.
40596         Fix wrong comparison semantics.
40597         wcscmp shall use signed comparison not unsigned.
40598         Don't use substraction to avoid overflow bug.
40599         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40600         * wcsmbc/wcscmp.c: Likewise.
40601         * string/test-strcmp.c: Likewise.
40602         Add new tests to check cases with negative values.
40603
40604 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
40605
40606         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40607         * sysdeps/x86_64/dla.h: ...here.  New file.
40608         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40609         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40613         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40614         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40615         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40616         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40617
40618 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
40619
40620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40621         __ynl_finite aliases.
40622
40623 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40624
40625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40626
40627         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40628         define DLA_FMA.
40629         [DLA_FMA] (EMULV): Use DLA_FMA.
40630         [DLA_FMA] (MUL12): Use EMULV.
40631         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40632         that are not needed.
40633         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40634         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40636         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40637         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40638         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40639         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40640
40641 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
40642
40643         * math/s_nan.c: Undef __nan.
40644         * math/s_nanf.c: Undef __nanf.
40645         * math/s_nanl.c: Undef __nanl.
40646         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40647         "math_private.h".
40648
40649 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
40650
40651         * math/s_catan.c: Add branch predictions.
40652         * math/s_catanf.c: Likewise.
40653         * math/s_catanh.c: Likewise.
40654         * math/s_catanhf.c: Likewise.
40655         * math/s_catanhl.c: Likewise.
40656         * math/s_catanl.c: Likewise.
40657         * math/s_cexp.c: Likewise.
40658         * math/s_cexpf.c: Likewise.
40659         * math/s_cexpl.c: Likewise.
40660         * math/s_clog.c: Likewise.
40661         * math/s_clog10.c: Likewise.
40662         * math/s_clog10f.c: Likewise.
40663         * math/s_clog10l.c: Likewise.
40664         * math/s_clogf.c: Likewise.
40665         * math/s_clogl.c: Likewise.
40666         * math/s_csqrt.c: Likewise.
40667         * math/s_csqrtf.c: Likewise.
40668         * math/s_csqrtl.c: Likewise.
40669         * math/s_ctanf.c: Likewise.
40670         * math/s_ctanh.c: Likewise.
40671         * math/s_ctanhf.c: Likewise.
40672         * math/s_ctanhl.c: Likewise.
40673         * math/s_ctanl.c: Likewise.
40674
40675         * math/math_private.h: Define __nan, __nanf, __nanl.
40676         * math/s_cacosh.c: Include <math_private.h>.
40677         * math/s_cacoshl.c: Likewise.
40678         * math/s_casinh.c: Likewise.
40679         * math/s_casinhf.c: Likewise.
40680         * math/s_casinhl.c: Likewise.
40681         * math/s_ccos.c: Rely entire on ccosh.
40682         * math/s_ccosf.c: Rely entire on ccoshf.
40683         * math/s_ccosl.c: Rely entirely on ccoshl.
40684         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
40685         Remove tests for FE_INVALID.
40686         * math/s_ccoshf.c: Likewise.
40687         * math/s_ccoshl.c: Likewise.
40688         * math/s_csin.c: Likewise.
40689         * math/s_csinf.c: Likewise.
40690         * math/s_csinh.c Likewise.
40691         * math/s_csinhf.c: Likewise.
40692         * math/s_csinhl.c: Likewise.
40693         * math/s_csinl.c: Likewise.
40694         * math/s_ctan.c: Likewise.
40695         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40696         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40697         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40698
40699 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
40700
40701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40702         compilation problems.
40703
40704         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40705         __builtin_expect.
40706
40707 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
40708
40709         * sysdeps/i386/configure.in: Test for -mfma4 option.
40710         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40711         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40712         COMMON_CPUID_INDEX_80000001.
40713         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40714         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40715         use it if FMA3 is not supported.
40716         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40717
40718         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40719         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40720
40721 2011-10-20  Andreas Schwab  <schwab@redhat.com>
40722
40723         [BZ #12892]
40724         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40725         it would create a cycle with a link time dependency.
40726
40727 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
40728
40729         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40730         instruction.
40731         * string/Makefile (strop-tests): Add rawmemchr.
40732         * string/test-rawmemchr.c: New file.
40733
40734         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40735         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
40736         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
40737         when compiling str{,n}casecmp and when AVX is available.  Hook up
40738         new optimized code in initializers.
40739
40740 2011-10-19  Andreas Schwab  <schwab@redhat.com>
40741
40742         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40743         __feraiseexcept instead of feraiseexcept.
40744
40745 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
40746
40747         * math/math_private.h: Define defaults for libc_fetestexcept and
40748         libc_feupdateenv.
40749         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40750         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40751         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40752         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40753         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40754         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40755         libc_fetestexcept and libc_feupdateenv.
40756
40757         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40758         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40759         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40760         * sysdeps/x86_64/fpu/math_private.h: Define special version of
40761         libc_feholdexcept_setround.
40762
40763         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40764         Add s_nearbyint-c and s_nearbyintf-c.
40765         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40766         nearbyintf inlines.
40767         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40768         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40769         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40770         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40771
40772         * math/math_private.h: Define defaults for libc_fegetround,
40773         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40774         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40775         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40776         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40777         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40778         standard functions.
40779         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40780         Remove comments and hacks for old compiler versions.
40781         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40782         libc_fegetround, libc_fesetround, libc_feholdexcept, and
40783         libc_feholdexceptl.
40784
40785 2011-10-18  Andreas Schwab  <schwab@redhat.com>
40786
40787         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40788         (__feraiseexcept_renamed): Add __NTH.
40789         (feraiseexcept): Add __NTH.  Rename local variables to fix
40790         namespace violations.
40791
40792 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
40793
40794         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40795
40796         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40797
40798         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40799         recently added interfaces.
40800         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40801
40802         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40803         about macro parameter expansion.
40804
40805         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40806         __NO_MATH_INLINES is defined.  Cleanups.
40807
40808         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40809         and __floorf is target has SSE4.1.
40810         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40811         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40812         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40813         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40814
40815         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40816         name.
40817         (floorf): Likewise.
40818
40819         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40820
40821 2011-10-17  Andreas Schwab  <schwab@redhat.com>
40822
40823         * misc/sys/cdefs.h: Fix last change.
40824
40825         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40826         database lookup.
40827
40828 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
40829
40830         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40831
40832         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40833         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40834         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40835         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40836         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40837         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40838         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40839         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40840         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40841         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40842         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40843         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40844         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40845         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40846         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40847         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40848         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40849         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40850         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40851         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40852         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40853         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40854
40855         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40856         ceil, ceilf, floor, floorf.
40857
40858         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40859         Perform IRELATIVE relocations last.
40860
40861         * elf/do-rel.h: Add another parameter nrelative, replacing the
40862         local variable with the same name.  Change name of the function
40863         to end in Rel or Rela (uppercase).
40864         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40865         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
40866         elf_dynamic_do_##reloc function.
40867
40868 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40869
40870         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40871         is sufficient, at least on modern CPUs.
40872
40873         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40874
40875         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40876         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40877
40878         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40879         __expl_finite.
40880         * math/bits/math-finite.h: Add entries for exp.
40881         * math/e_expl.c: Add __*_finite alias.
40882         * sysdeps/i386/fpu/e_exp.S: Likewise.
40883         * sysdeps/i386/fpu/e_expf.S: Likewise.
40884         * sysdeps/i386/fpu/e_expl.c: Likewise.
40885         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40886         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40887         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40888         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40889         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40890         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40891         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40892
40893         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40894         is sufficient, at least on modern CPUs.
40895
40896         * ctype/ctype-info.c (__ctype_init): Define.
40897         * include/ctype.h (__ctype_init): Declare.
40898         (__ctype_b_loc): The variable is always initialized.
40899         (__ctype_toupper_loc): Likewise.
40900         (__ctype_tolower_loc): Likewise.
40901         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40902         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40903
40904 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
40905
40906         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40907
40908         * configure.in: Also look in $cxxmachine/include for C++ system
40909         headers.
40910
40911 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40912
40913         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40914         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40915         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40916         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
40917         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40918         (USE_AS_WMEMCMP): New macro.
40919         Fixing indents.
40920         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40921         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40922         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40923         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40924         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40925         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40926         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40927         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40928         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40929         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40930         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40931         (USE_AS_WMEMCMP): New macro.
40932         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40933         * sysdeps/string/test-memcmp.c: Update.
40934         Fix simple_wmemcmp.
40935         Add new tests.
40936         * wcsmbs/wmemcmp.c: Update.
40937         (WMEMCMP): New macro.
40938         Fix overflow bug.
40939
40940 2011-10-12  Andreas Jaeger  <aj@suse.de>
40941
40942         [BZ #13268]
40943         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40944
40945 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
40946
40947         * libio/iofwide.c (do_length): Avoid warning.
40948
40949         * ctype/ctype.h (__isctype_f): Add missing __THROW.
40950
40951 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
40952
40953         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40954
40955         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40956         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40957         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40958         * sysdeps/i386/i686/fpu/e_log.S: New file.
40959         * sysdeps/i386/i686/fpu/e_logf.S: New file.
40960         * sysdeps/i386/i686/fpu/e_logl.S: New file.
40961
40962         * ctype/ctype.h: Add support for inlined isXXX functions when
40963         compiling C++ code.
40964
40965 2011-10-14  Andreas Schwab  <schwab@redhat.com>
40966
40967         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40968
40969         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40970
40971 2011-10-13  Roland McGrath  <roland@hack.frob.com>
40972
40973         [BZ #13291]
40974         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40975
40976 2011-10-13  Andreas Schwab  <schwab@redhat.com>
40977
40978         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40979         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40980         feraiseexcept.
40981
40982         * sysdeps/x86_64/memrchr.S: Check for zero size.
40983
40984         * string/stratcliff.c: Add memrchr tests.
40985
40986 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40987
40988         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40989         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40990         rawmemchr-sse2 rawmemchr-sse2-bsf.
40991         * sysdeps/i386/i686/multiarch/memchr.S: New file.
40992         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40993         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40994         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40995         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40996         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40997         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40998         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40999         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41000         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41001         * string/memrchr.c (MEMRCHR): New macro.
41002
41003 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41004
41005         Add integration with gcc's -ffinite-math-only and optimize wrapper
41006         functions in libm.
41007         * Versions.def: Define GLIBC_2.15 version for libm.
41008         * math/Makefile (headers): Add bits/math-finite.h.
41009         * math/bits/math-finite.h: New file.
41010         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41011         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41012         * math/e_acoshl.c: Add __*_finite alias.
41013         * math/e_acosl.c: Likewise.
41014         * math/e_asinl.c: Likewise.
41015         * math/e_atan2l.c: Likewise.
41016         * math/e_atanhl.c: Likewise.
41017         * math/e_coshl.c: Likewise.
41018         * math/e_exp10.c: Likewise.
41019         * math/e_exp10f.c: Likewise.
41020         * math/e_exp10l.c: Likewise.
41021         * math/e_exp2l.c: Likewise.
41022         * math/e_fmodl.c: Likewise.
41023         * math/e_gammal_r.c: Likewise.
41024         * math/e_hypotl.c: Likewise.
41025         * math/e_j0l.c: Likewise.
41026         * math/e_j1l.c: Likewise.
41027         * math/e_jnl.c: Likewise.
41028         * math/e_lgammal_r.c: Likewise.
41029         * math/e_log10l.c: Likewise.
41030         * math/e_log2l.c: Likewise.
41031         * math/e_logl.c: Likewise.
41032         * math/e_powl.c: Likewise.
41033         * math/e_sinhl.c: Likewise.
41034         * math/e_sqrtl.c: Likewise.
41035         * math/e_scalb.c: Completely rewritten and optimized.
41036         * math/e_scalbf.c: Likewise.
41037         * math/e_scalbl.c: Likewise.
41038         * math/w_acos.c: Likewise.
41039         * math/w_acosf.c: Likewise.
41040         * math/w_acosl.c: Likewise.
41041         * math/w_acosh.c: Likewise.
41042         * math/w_acoshf.c: Likewise.
41043         * math/w_acoshl.c: Likewise.
41044         * math/w_asin.c: Likewise.
41045         * math/w_asinf.c: Likewise.
41046         * math/w_asinl.c: Likewise.
41047         * math/w_atan2.c: Likewise.
41048         * math/w_atan2f.c: Likewise.
41049         * math/w_atan2l.c: Likewise.
41050         * math/w_atanh.c: Likewise.
41051         * math/w_atanhf.c: Likewise.
41052         * math/w_atanhl.c: Likewise.
41053         * math/w_exp10.c: Likewise.
41054         * math/w_exp10f.c: Likewise.
41055         * math/w_exp10l.c: Likewise.
41056         * math/w_fmod.c: Likewise.
41057         * math/w_fmodf.c: Likewise.
41058         * math/w_fmodl.c: Likewise.
41059         * math/w_j0.c: Likewise.
41060         * math/w_j0f.c: Likewise.
41061         * math/w_j0l.c: Likewise.
41062         * math/w_j1.c: Likewise.
41063         * math/w_j1f.c: Likewise.
41064         * math/w_j1l.c: Likewise.
41065         * math/w_jn.c: Likewise.
41066         * math/w_jnf.c: Likewise.
41067         * math/w_log.c: Likewise.
41068         * math/w_logf.c: Likewise.
41069         * math/w_logl.c: Likewise.
41070         * math/w_log10.c: Likewise.
41071         * math/w_log10f.c: Likewise.
41072         * math/w_log10l.c: Likewise.
41073         * math/w_log2.c: Likewise.
41074         * math/w_log2f.c: Likewise.
41075         * math/w_log2l.c: Likewise.
41076         * math/w_pow.c: Likewise.
41077         * math/w_powf.c: Likewise.
41078         * math/w_powl.c: Likewise.
41079         * math/w_remainder.c: Likewise.
41080         * math/w_remainderf.c: Likewise.
41081         * math/w_remainderl.c: Likewise.
41082         * math/w_scalb.c: Likewise.
41083         * math/w_scalbf.c: Likewise.
41084         * math/w_scalbl.c: Likewise.
41085         * math/w_sqrt.c: Likewise.
41086         * math/w_sqrtf.c: Likewise.
41087         * math/w_sqrtl.c: Likewise.
41088         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41089         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41090         used.
41091         * math/math_private.h: Declare __kernel_standard_f.
41092         * math/w_cosh.c: Remove cruft and optimize a bit.
41093         * math/w_coshf.c: Likewise.
41094         * math/w_coshl.c: Likewise.
41095         * math/w_exp2.c: Likewise.
41096         * math/w_exp2f.c: Likewise.
41097         * math/w_exp2l.c: Likewise.
41098         * math/w_hypot.c: Likewise.
41099         * math/w_hypotf.c: Likewise.
41100         * math/w_hypotl.c: Likewise.
41101         * math/w_lgamma.c: Likewise.
41102         * math/w_lgamma_r.c: Likewise.
41103         * math/w_lgammaf.c: Likewise.
41104         * math/w_lgammaf_r.c: Likewise.
41105         * math/w_lgammal.c: Likewise.
41106         * math/w_lgammal_r.c: Likewise.
41107         * math/w_sinh.c: Likewise.
41108         * math/w_sinhf.c: Likewise.
41109         * math/w_sinhl.c: Likewise.
41110         * math/w_tgamma.c: Likewise.
41111         * math/w_tgammaf.c: Likewise.
41112         * math/w_tgammal.c: Likewise.
41113         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41114         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41115         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41116         Minor optimizations.  Pretty printing.  Remove cruft.
41117         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41118         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41119         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41120         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41121         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41122         * sysdeps/i386/fpu/e_asin.S: Likewise.
41123         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41124         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41125         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41126         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41127         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41128         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41129         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41130         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41131         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41132         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41133         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41134         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41135         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41136         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41137         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41138         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41139         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41140         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41141         * sysdeps/i386/fpu/e_log.S: Likewise.
41142         * sysdeps/i386/fpu/e_log10.S: Likewise.
41143         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41144         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41145         * sysdeps/i386/fpu/e_log2.S: Likewise.
41146         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41147         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41148         * sysdeps/i386/fpu/e_logf.S: Likewise.
41149         * sysdeps/i386/fpu/e_logl.S: Likewise.
41150         * sysdeps/i386/fpu/e_pow.S: Likewise.
41151         * sysdeps/i386/fpu/e_powf.S: Likewise.
41152         * sysdeps/i386/fpu/e_powl.S: Likewise.
41153         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41154         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41155         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41156         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41157         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41158         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41159         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41160         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41161         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41162         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41163         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41164         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41165         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41166         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41167         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41168         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41169         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41170         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41171         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41172         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41173         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41174         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41175         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41176         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41177         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41178         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41179         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41180         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41181         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41182         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41183         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41184         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41185         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41186         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41187         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41188         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41189         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41190         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41191         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41192         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41193         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41194         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41195         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41196         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41197         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41198         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41199         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41200         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41201         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41202         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41203         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41204         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41205         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41206         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41207         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41208         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41209         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41210         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41211         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41212         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41213         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41214         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41217         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41218         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41219         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41220         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41221         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41222         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41223         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41224         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41225         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41226         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41227         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41228         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41229         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41230         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41231         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41232         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41233         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41234         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41235         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41236         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41237         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41238         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41239         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41240         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41241         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41242         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41243         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41244         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41245         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41246         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41247         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41248         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41249         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41250         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41251         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41252         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41253         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41254         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41255         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41256         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41257         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41258         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41259         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41260         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41261         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41262         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41263         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41264         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41265         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41266         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41267         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41268         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41269         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41270         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41271         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41272         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41273         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41274         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41275         (__isnanf): Likewise.
41276         (__isinf_ns): Likewise.
41277         (__isinf_nsf): Likewise.
41278         (__finite): Likewise.
41279         (__finitef): Likewise.
41280         (__ieee754_sqrt): Define as macro.
41281         (__ieee754_sqrtf): Define as macro.
41282         (__ieee754_sqrtl): Define as macro.
41283         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41284         inlined copy.
41285         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41286         __FINITE_MATH_ONLY__ consistent.
41287         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41288
41289 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41290
41291         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41292         of rawmemchr.
41293
41294         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41295
41296 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41297
41298         * po/ja.po: Update from translation team.
41299
41300 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41301
41302         * locale/programs/locarchive.c (prepare_address_space): New function.
41303         (create_archive, enlarge_archive, open_archive): Use it.
41304
41305         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41306         inside [SHARED], where it is used.
41307
41308         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41309
41310         * nss/getent.c (netgroup_keys): Remove unused variable.
41311         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41312
41313 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41314
41315         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41316         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41317         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41318         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41319         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41320         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41321         * math/Makefile (libm-calls): Add s_isinf_ns.
41322         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41323         * math/multc3.c: Likewise.
41324         * math/s_casin.c: Likewise.
41325         * math/s_casinf.c: Likewise.
41326         * math/s_casinl.c: Likewise.
41327         * math/s_ccos.c: Likewise.
41328         * math/s_ccosf.c: Likewise.
41329         * math/s_ccosl.c: Likewise.
41330         * math/s_ctan.c: Likewise.
41331         * math/s_ctanf.c: Likewise.
41332         * math/s_ctanh.c: Likewise.
41333         * math/s_ctanhf.c: Likewise.
41334         * math/s_ctanhl.c: Likewise.
41335         * math/s_ctanl.c: Likewise.
41336         * math/w_fmod.c: Likewise.
41337         * math/w_fmodf.c: Likewise.
41338         * math/w_fmodl.c: Likewise.
41339         * math/w_remainder.c: Likewise.
41340         * math/w_remainderf.c: Likewise.
41341         * math/w_remainderl.c: Likewise.
41342         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41343         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41344         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41345         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41346         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41347         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41348         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41349         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41350
41351         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41352         of the number.
41353         * stdio-common/printf_fphex.c: Likewise.
41354         * stdio-common/printf_size.c: Likewise.
41355
41356         * math/e_exp10.c: Include math_private.h using <...> not "...".
41357         * math/e_exp10f.c: Likewise.
41358         * math/e_exp10l.c: Likewise.
41359         * math/e_exp2l.c: Likewise.
41360         * math/e_j0l.c: Likewise.
41361         * math/e_j1l.c: Likewise.
41362         * math/e_jnl.c: Likewise.
41363         * math/e_lgammal_r.c: Likewise.
41364         * math/e_rem_pio2l.c: Likewise.
41365         * math/e_scalb.c: Likewise.
41366         * math/e_scalbf.c: Likewise.
41367         * math/e_scalbl.c: Likewise.
41368         * math/k_cosl.c: Likewise.
41369         * math/k_sinl.c: Likewise.
41370         * math/k_tanl.c: Likewise.
41371         * math/s_cacoshf.c: Likewise.
41372         * math/s_catan.c: Likewise.
41373         * math/s_catanf.c: Likewise.
41374         * math/s_catanh.c: Likewise.
41375         * math/s_catanhf.c: Likewise.
41376         * math/s_catanhl.c: Likewise.
41377         * math/s_catanl.c: Likewise.
41378         * math/s_ccosh.c: Likewise.
41379         * math/s_ccoshf.c: Likewise.
41380         * math/s_ccoshl.c: Likewise.
41381         * math/s_cexp.c: Likewise.
41382         * math/s_cexpf.c: Likewise.
41383         * math/s_cexpl.c: Likewise.
41384         * math/s_clog.c: Likewise.
41385         * math/s_clog10.c: Likewise.
41386         * math/s_clog10f.c: Likewise.
41387         * math/s_clog10l.c: Likewise.
41388         * math/s_clogf.c: Likewise.
41389         * math/s_clogl.c: Likewise.
41390         * math/s_csin.c: Likewise.
41391         * math/s_csinf.c: Likewise.
41392         * math/s_csinh.c: Likewise.
41393         * math/s_csinhf.c: Likewise.
41394         * math/s_csinhl.c: Likewise.
41395         * math/s_csinl.c: Likewise.
41396         * math/s_csqrt.c: Likewise.
41397         * math/s_csqrtf.c: Likewise.
41398         * math/s_csqrtl.c: Likewise.
41399         * math/s_ctan.c: Likewise.
41400         * math/s_ctanf.c: Likewise.
41401         * math/s_ctanh.c: Likewise.
41402         * math/s_ctanhf.c: Likewise.
41403         * math/s_ctanhl.c: Likewise.
41404         * math/s_ctanl.c: Likewise.
41405         * math/s_ldexp.c: Likewise.
41406         * math/s_ldexpf.c: Likewise.
41407         * math/s_ldexpl.c: Likewise.
41408         * math/s_significand.c: Likewise.
41409         * math/s_significandf.c: Likewise.
41410         * math/s_significandl.c: Likewise.
41411         * math/w_acos.c: Likewise.
41412         * math/w_acosf.c: Likewise.
41413         * math/w_acosh.c: Likewise.
41414         * math/w_acoshf.c: Likewise.
41415         * math/w_acoshl.c: Likewise.
41416         * math/w_acosl.c: Likewise.
41417         * math/w_asin.c: Likewise.
41418         * math/w_asinf.c: Likewise.
41419         * math/w_asinl.c: Likewise.
41420         * math/w_atan2.c: Likewise.
41421         * math/w_atan2f.c: Likewise.
41422         * math/w_atan2l.c: Likewise.
41423         * math/w_atanh.c: Likewise.
41424         * math/w_atanhf.c: Likewise.
41425         * math/w_atanhl.c: Likewise.
41426         * math/w_cosh.c: Likewise.
41427         * math/w_coshf.c: Likewise.
41428         * math/w_coshl.c: Likewise.
41429         * math/w_dremf.c: Likewise.
41430         * math/w_exp10.c: Likewise.
41431         * math/w_exp10f.c: Likewise.
41432         * math/w_exp10l.c: Likewise.
41433         * math/w_exp2.c: Likewise.
41434         * math/w_exp2f.c: Likewise.
41435         * math/w_fmod.c: Likewise.
41436         * math/w_fmodf.c: Likewise.
41437         * math/w_fmodl.c: Likewise.
41438         * math/w_hypot.c: Likewise.
41439         * math/w_hypotf.c: Likewise.
41440         * math/w_hypotl.c: Likewise.
41441         * math/w_j0.c: Likewise.
41442         * math/w_j0f.c: Likewise.
41443         * math/w_j0l.c: Likewise.
41444         * math/w_j1.c: Likewise.
41445         * math/w_j1f.c: Likewise.
41446         * math/w_j1l.c: Likewise.
41447         * math/w_jn.c: Likewise.
41448         * math/w_jnf.c: Likewise.
41449         * math/w_jnl.c: Likewise.
41450         * math/w_lgamma.c: Likewise.
41451         * math/w_lgamma_r.c: Likewise.
41452         * math/w_lgammaf.c: Likewise.
41453         * math/w_lgammaf_r.c: Likewise.
41454         * math/w_lgammal.c: Likewise.
41455         * math/w_lgammal_r.c: Likewise.
41456         * math/w_log.c: Likewise.
41457         * math/w_log10.c: Likewise.
41458         * math/w_log10f.c: Likewise.
41459         * math/w_log10l.c: Likewise.
41460         * math/w_log2.c: Likewise.
41461         * math/w_log2f.c: Likewise.
41462         * math/w_log2l.c: Likewise.
41463         * math/w_logf.c: Likewise.
41464         * math/w_logl.c: Likewise.
41465         * math/w_pow.c: Likewise.
41466         * math/w_powf.c: Likewise.
41467         * math/w_powl.c: Likewise.
41468         * math/w_remainder.c: Likewise.
41469         * math/w_remainderf.c: Likewise.
41470         * math/w_remainderl.c: Likewise.
41471         * math/w_scalb.c: Likewise.
41472         * math/w_scalbf.c: Likewise.
41473         * math/w_scalbl.c: Likewise.
41474         * math/w_sinh.c: Likewise.
41475         * math/w_sinhf.c: Likewise.
41476         * math/w_sinhl.c: Likewise.
41477         * math/w_sqrt.c: Likewise.
41478         * math/w_sqrtf.c: Likewise.
41479         * math/w_sqrtl.c: Likewise.
41480         * math/w_tgamma.c: Likewise.
41481         * math/w_tgammaf.c: Likewise.
41482         * math/w_tgammal.c: Likewise.
41483
41484         * po/ja.po: Update from translation team.
41485
41486 2011-09-29  Andreas Jaeger  <aj@suse.de>
41487
41488         [BZ #13179]
41489         * sunrpc/netname.c (netname2host): Fix logic.
41490
41491         [BZ #6779]
41492         [BZ #6783]
41493         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41494         correctly.
41495         * math/w_remainder.c (__remainder): Likewise.
41496         * math/w_remainderf.c (__remainderf): Likewise.
41497         * math/libm-test.inc (remainder_test): Add test cases.
41498
41499 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41500
41501         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41502         sdiv_qrnnd.
41503
41504 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41505
41506         * string/test-memcmp.c: Avoid unncessary #defines.
41507         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41508
41509 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41510
41511         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41512         Use new sse2 version for core i3 - i7 as it's faster
41513         than sse42 version.
41514         (bit_Prefer_PMINUB_for_stringop): New.
41515         * sysdeps/x86_64/rawmemchr.S: Update.
41516         Replace with faster SSE2 version.
41517         * sysdeps/x86_64/memrchr.S: New file.
41518         * sysdeps/x86_64/memchr.S: Update.
41519         Replace with faster SSE2 version.
41520
41521 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
41522
41523         * elf/dl-load.c (lose): Add cast to avoid warning.
41524
41525 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41526
41527         * po/ca.po: Update from translation team.
41528
41529         * inet/getnetgrent_r.c: Hook up nscd.
41530         * nscd/Makefile (routines): Add nscd_netgroup.
41531         (nscd-modules): Add netgroupcache.
41532         (CFLAGS-netgroupcache.c): Define.
41533         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41534         (cache_search): Add const to second parameter.
41535         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41536         INNETGR.
41537         (dbs): Add netgrdb entry.
41538         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41539         (verify_persistent_db): Handle netgrdb.
41540         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41541         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41542         GETFDNETGR.
41543         (netgroup_response_header): Define.
41544         (innetgroup_response_header): Define.
41545         (datahead): Add netgroup_response_header and innetgroup_response_header
41546         elements.
41547         * nscd/nscd.conf: Add entries for netgroup cache.
41548         * nscd/nscd.h (dbtype): Add netgrdb.
41549         (_PATH_NSCD_NETGROUP_DB): Define.
41550         (netgroup_iov_disabled): Declare.
41551         (xmalloc, xcalloc, xrealloc): Move declarations here.
41552         (cache_search): Adjust prototype.
41553         Add netgroup-related prototypes.
41554         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41555         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41556         (__nscd_innetgr): Declare.
41557         * nscd/selinux.c (perms): Use access_vector_t as element type and
41558         add netgroup-related initializers.
41559         * nscd/netgroupcache.c: New file.
41560         * nscd/nscd_netgroup.c: New file.
41561         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41562         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41563         For four parameters use innetgr.
41564         * nss/nss_files/files-init.c: Add definition and callback for netgr.
41565         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41566         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41567         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41568
41569         * nscd/connections.c (register_traced_file): Don't register file
41570         for disabled databases.
41571
41572 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
41573
41574         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41575
41576         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41577         from tree and freeing node.
41578
41579 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
41580
41581         * nss/nsswitch.c (__nss_database_lookup): Handle
41582         nss_parse_service_list out of memory case.
41583
41584 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
41585
41586         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41587         out of memory case.
41588
41589 2011-10-04  Andreas Schwab  <schwab@redhat.com>
41590
41591         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41592         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41593         pass it down.
41594         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41595         elf_machine_rela, elf_machine_lazy_rel.
41596         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41597         (ELF_DYNAMIC_DO_REL): Likewise.
41598         (ELF_DYNAMIC_DO_RELA): Likewise.
41599         (ELF_DYNAMIC_RELOCATE): Likewise.
41600         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41601         to ELF_DYNAMIC_DO_REL.
41602         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41603         (dl_main): In trace mode always set __RTLD_NOIFUNC.
41604         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41605         elf_machine_rela.
41606         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41607         skip_ifunc, don't call ifunc function if non-zero.
41608         (elf_machine_rela): Likewise.
41609         (elf_machine_lazy_rel): Likewise.
41610         (elf_machine_lazy_rela): Likewise.
41611         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41612         (elf_machine_lazy_rel): Likewise.
41613         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41614         Likewise.
41615         (elf_machine_lazy_rel): Likewise.
41616         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41617         Likewise.
41618         (elf_machine_lazy_rel): Likewise.
41619         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41620         (elf_machine_lazy_rel): Likewise.
41621         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41622         (elf_machine_lazy_rel): Likewise.
41623         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41624         (elf_machine_lazy_rel): Likewise.
41625         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41626         (elf_machine_lazy_rel): Likewise.
41627         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41628         (elf_machine_lazy_rel): Likewise.
41629         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41630         (elf_machine_lazy_rel): Likewise.
41631
41632 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
41633
41634         * nss/nss_files/files-init.c (_nss_files_init): Use static
41635         initialization for all the *_traced_file variables.
41636
41637 2011-09-28  Andreas Schwab  <schwab@redhat.com>
41638
41639         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41640
41641 2011-09-27  Roland McGrath  <roland@hack.frob.com>
41642
41643         [BZ #13226]
41644         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41645
41646 2011-09-27  Andreas Schwab  <schwab@redhat.com>
41647
41648         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41649         Reread the line before reparsing it.
41650
41651 2011-09-26  Andreas Schwab  <schwab@redhat.com>
41652
41653         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41654
41655 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
41656             Maxim Kuvyrkov  <maxim@codesourcery.com>
41657             Joseph Myers  <joseph@codesourcery.com>
41658
41659         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41660         if needed for __stack_chk_guard.
41661
41662 2011-09-19  Roland McGrath  <roland@hack.frob.com>
41663
41664         * sysdeps/posix/spawni.c (script_execute): Always define it.
41665         It will be optimized away if unused.
41666         (maybe_script_execute): New function.
41667         (__spawni): Call it.
41668
41669         * Makerules: Don't include tls.make.
41670         (config-tls): Always set to thread.
41671         * tls.make.c: File removed.
41672
41673 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
41674
41675         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41676         * config.make.in (CPPFLAGS-config): New substituted variable.
41677
41678 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41679
41680         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41681
41682         [BZ #13192]
41683         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41684         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41685
41686 2011-09-15  Roland McGrath  <roland@hack.frob.com>
41687
41688         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41689         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41691         (CALL_FAIL): Likewise.
41692         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41693         (CALL_FAIL): Macro removed.
41694         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41695
41696 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
41697
41698         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41699         for __FINITE_MATH_ONLY__ == 1.
41700
41701 2011-09-15  Andreas Schwab  <schwab@redhat.com>
41702
41703         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41704         __ieee754_sqrt instead of sqrt.
41705         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41706         __ieee754_sqrtf instead of sqrtf.
41707         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41708         __floorf instead of floorf.
41709         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41710         __floorf, __truncf instead of floorf, truncf.
41711
41712 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
41713
41714         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41715
41716         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41717         __extern_always_inline.
41718         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41719         32-bit.
41720
41721 2011-09-14  Andreas Schwab  <schwab@redhat.com>
41722
41723         * elf/rtld.c (dl_main): Also relocate in dependency order when
41724         doing symbol dependency testing.
41725
41726 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
41727
41728         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41729         Always define `refsym'.
41730
41731 2011-09-13  Andreas Schwab  <schwab@redhat.com>
41732
41733         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41734         (__FD_ELT): Renamed from __FDELT.
41735         * misc/bits/select2.h (__FD_ELT): Likewise.
41736         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41737         __FD_MASK instead of __FDELT, __FDMASK.
41738         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41739         Likewise.
41740         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41741         Likewise.
41742
41743         * elf/Makefile (gen-ldd): Fix pattern.
41744
41745         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41746         (init_tls): Likewise.
41747
41748 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
41749
41750         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41751
41752 2011-09-12  Andreas Schwab  <schwab@redhat.com>
41753
41754         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41755         `struct cmsghdr *' instead of `void *'.
41756         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41757         Likewise.
41758
41759 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
41760
41761         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41762         if non-absolute.
41763         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41764         ldd_rewrite_script.
41765
41766 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
41767
41768         * configure.in: Remove --with-tls option.
41769         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41770         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41771         out in case it is missing.
41772         * sysdeps/ia64/elf/configure.in: Likewise.
41773         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41774         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41775         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41776         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41777         * sysdeps/sh/elf/configure.in: Likewise.
41778         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41779         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41780         * sysdeps/x86_64/elf/configure.in: Likewise.
41781         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41782         * sysdeps/mach/hurd/tls.h: Likewise.
41783
41784         [BZ #13067]
41785         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41786
41787         [BZ #13090]
41788         * configure.in: Fix use of AC_INIT.
41789
41790         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41791
41792 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
41793
41794         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41795         __set_errno.
41796         * malloc/hooks.c: Likewise.
41797
41798         [BZ #11929]
41799         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
41800         variables statically.
41801         (narenas): Initialize.
41802         (list_lock): Initialize.
41803         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
41804         initializtion of main_arena and list_lock.  Small cleanups.
41805         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41806         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
41807         Add initializers to main_arena and mp_.
41808         (malloc_state): Remove pagesize member.  Change all users to use
41809         GLRO(dl_pagesize).
41810
41811         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41812         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
41813         is always initialized.
41814
41815         * malloc/malloc.c: Removed unused configurations and dead code.
41816         * malloc/arena.c: Likewise.
41817         * malloc/hooks.c: Likewise.
41818         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41819
41820         * include/tls.h: Removed.  USE___THREAD must always be defined.
41821         * bits/libc-tsd.h: Don't handle !USE___THREAD.
41822         * elf/dl-libc.c: Likewise.
41823         * elf/dl-tsd.c: Likewise.
41824         * include/errno.h: Likewise.
41825         * include/netdb.h: Likewise.
41826         * include/resolv.h: Likewise.
41827         * inet/herrno-loc.c: Likewise.
41828         * inet/herrno.c: Likewise.
41829         * malloc/arena.c: Likewise.
41830         * malloc/hooks.c: Likewise.
41831         * malloc/malloc.c: Likewise.
41832         * resolv/res-state.c: Likewise.
41833         * resolv/res_libc.c: Likewise.
41834         * sysdeps/i386/dl-machine.h: Likewise.
41835         * sysdeps/ia64/dl-machine.h: Likewise.
41836         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41837         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41838         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41839         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41840         * sysdeps/sh/dl-machine.h: Likewise.
41841         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41842         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41843         * sysdeps/unix/i386/sysdep.S: Likewise.
41844         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41845         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41848         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41849         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41850         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41851         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41852         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41853         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41854         * sysdeps/unix/x86_64/sysdep.S: Likewise.
41855         * sysdeps/x86_64/dl-machine.h: Likewise.
41856         * tls.make.c: Likewise.
41857
41858         * configure.in: Remove --with-__thread option.  Make tests for
41859         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41860         tls_model attribute fail if no support is available.  Remove
41861         USE_IN_LIBIO.
41862         * Makeconfig: Adjust for dropped configure option.  All features are
41863         now mandatory.
41864         * Makerules: Likewise.
41865         * Versions.def: Likewise.
41866         * argp/argp-fmtstream.c: Likewise.
41867         * argp/argp-fmtstream.h: Likewise.
41868         * argp/argp-help.c: Likewise.
41869         * assert/assert.c: Likewise.
41870         * config.h.in: Likewise.
41871         * config.make.in: Likewise.
41872         * configure: Likewise.
41873         * configure.in: Likewise.
41874         * csu/Versions: Likewise.
41875         * csu/init.c: Likewise.
41876         * elf/tst-audit2.c: Likewise.
41877         * elf/tst-tls10.c: Likewise.
41878         * elf/tst-tls10.h: Likewise.
41879         * elf/tst-tls11.c: Likewise.
41880         * elf/tst-tls12.c: Likewise.
41881         * elf/tst-tls14.c: Likewise.
41882         * elf/tst-tlsmod11.c: Likewise.
41883         * elf/tst-tlsmod12.c: Likewise.
41884         * elf/tst-tlsmod13.c: Likewise.
41885         * elf/tst-tlsmod13a.c: Likewise.
41886         * elf/tst-tlsmod14a.c: Likewise.
41887         * elf/tst-tlsmod15b.c: Likewise.
41888         * elf/tst-tlsmod16a.c: Likewise.
41889         * elf/tst-tlsmod16b.c: Likewise.
41890         * elf/tst-tlsmod7.c: Likewise.
41891         * elf/tst-tlsmod8.c: Likewise.
41892         * elf/tst-tlsmod9.c: Likewise.
41893         * gmon/gmon.c: Likewise.
41894         * grp/fgetgrent_r.c: Likewise.
41895         * grp/putgrent.c: Likewise.
41896         * hurd/fopenport.c: Likewise.
41897         * include/libc-symbols.h: Likewise.
41898         * include/tls.h: Likewise.
41899         * intl/gettextP.h: Likewise.
41900         * intl/loadinfo.h: Likewise.
41901         * locale/global-locale.c: Likewise.
41902         * locale/localeinfo.h: Likewise.
41903         * mach/devstream.c: Likewise.
41904         * malloc/arena.c: Likewise.
41905         * malloc/set-freeres.c: Likewise.
41906         * misc/err.c: Likewise.
41907         * misc/getttyent.c: Likewise.
41908         * misc/mntent_r.c: Likewise.
41909         * posix/getopt.c: Likewise.
41910         * posix/wordexp.c: Likewise.
41911         * pwd/fgetpwent_r.c: Likewise.
41912         * resolv/Versions: Likewise.
41913         * resolv/res_hconf.c: Likewise.
41914         * shadow/fgetspent_r.c: Likewise.
41915         * shadow/putspent.c: Likewise.
41916         * stdio-common/printf_fphex.c: Likewise.
41917         * stdio-common/tmpfile.c: Likewise.
41918         * stdlib/abort.c: Likewise.
41919         * stdlib/fmtmsg.c: Likewise.
41920         * sunrpc/auth_unix.c: Likewise.
41921         * sunrpc/clnt_perr.c: Likewise.
41922         * sunrpc/clnt_tcp.c: Likewise.
41923         * sunrpc/clnt_udp.c: Likewise.
41924         * sunrpc/clnt_unix.c: Likewise.
41925         * sunrpc/openchild.c: Likewise.
41926         * sunrpc/svc_simple.c: Likewise.
41927         * sunrpc/svc_tcp.c: Likewise.
41928         * sunrpc/svc_udp.c: Likewise.
41929         * sunrpc/svc_unix.c: Likewise.
41930         * sunrpc/xdr.c: Likewise.
41931         * sunrpc/xdr_array.c: Likewise.
41932         * sunrpc/xdr_rec.c: Likewise.
41933         * sunrpc/xdr_ref.c: Likewise.
41934         * sunrpc/xdr_stdio.c: Likewise.
41935
41936 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41937
41938         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41939
41940 2011-07-03  Andreas Jaeger  <aj@suse.de>
41941
41942         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41943         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41944         regenerate with gen-libm-tests.pl.
41945
41946 2010-05-12  Petr Baudis  <pasky@suse.cz>
41947
41948         [BZ #11589]
41949         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41950         around j0() zero points by switching to j1().
41951         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41952         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41954         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41955
41956 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41957
41958         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41959         instead of 0.
41960         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41961         instead of 0.
41962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41963         Patch in part by Pavel Roskin <proski@gnu.org>.
41964
41965         [BZ #13138]
41966         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41967         realloc.
41968         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
41969         Free memory block if necessary.
41970
41971         [BZ #12847]
41972         * libio/genops.c (INTDEF): For string streams the _lock pointer can
41973         be NULL.  Don't lock in this case.
41974
41975 2011-09-09  Roland McGrath  <roland@hack.frob.com>
41976
41977         * elf/elf.h (ELFOSABI_GNU): New macro.
41978         (ELFOSABI_LINUX): Define to that.
41979
41980 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
41981
41982         * string/strncat.c (strncat): Undef the symbol in case it has been
41983         defined in bits/string.h.
41984
41985 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
41986
41987         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41988
41989         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41990         link map.
41991
41992 2011-08-17  Andreas Jaeger  <aj@suse.de>
41993
41994         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41995
41996 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
41997             Ian Lance Taylor  <iant@google.com>
41998
41999         * math/libm-test.inc (lround_test): New testcase.
42000         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42001
42002 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42003
42004         * Makefile: Remove support for automatic cvs check-ins.
42005         * Makerules: Likewise.
42006         * config.make.in: Likewise.
42007         * configure.in: Likewise.
42008         * intl/Makefile: Likewise.
42009         * locale/Makefile: Likewise.
42010         * po/Makefile: Likewise.
42011         * posix/Makefile: Likewise.
42012         * sysdeps/gnu/Makefile: Likewise.
42013         * sysdeps/mach/hurd/Makefile: Likewise.
42014         * sysdeps/sparc/sparc32/Makefile: Likewise.
42015
42016         [BZ #13118]
42017         * posix/Makefile (bug-regex32-ENV): Define.
42018         Patch by John Stanley <jpsinthemix@verizon.net>.
42019
42020         * misc/Makefile (headers): Add bits/select2.h.
42021         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42022         * misc/bits/select2.h: New file.
42023         * include/bits/select2.h: New file.
42024         * debug/Makefile (routines): Add fdelt_chk.
42025         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42026         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42027         FD_ISSET.
42028         * debug/fdelt_chk.c: New file.
42029
42030         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42031         * wcsmbs/test-wmemcmp.c: Likewise.
42032         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42033         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42034
42035 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42036
42037         * string/Makefile (strop-tests): Add memcmp.
42038         * string/test-wmemcmp.c: New file.
42039         * string/test-memcmp.c: Add wmemcmp support.
42040
42041 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42042
42043         [BZ #13153]
42044         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42045         2011-07-19 change.
42046
42047         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42048         garbage value in a __mach_port_mod_refs call in the cases of the
42049         task-self and thread-self ports.
42050
42051 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42052
42053         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42054
42055 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42056
42057         * elf/dl-load.c (lose): Check for non-null L.
42058
42059 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42060
42061         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42062
42063         * elf/dl-libc.c (dlerror_run): Pass back error code from
42064         dl_catch_error.
42065
42066         [BZ #13123]
42067         * elf/dl-load.c (lose): Free l_origin if it is valid.
42068
42069         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42070         names.
42071         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42072         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42073         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42074         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42075         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42076         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42077
42078 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42079
42080         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42081         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42082         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42083         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42084         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42085         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42086         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42087         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42088         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42089         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42090
42091 2011-08-15  Alan Modra  <amodra@gmail.com>
42092
42093         [BZ #13092]
42094         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42095         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42096         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42097         ppc_mcount to static-only-routines.
42098         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42099         __mcount_internal.
42100         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42101         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42102
42103 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42104
42105         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42106         for finite and infinity parameters.
42107
42108 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42109
42110         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42111         and add nop instructions for throughput optimization.
42112         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42113
42114 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42115
42116         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42117         aligned copy for power7 with vector-scalar instructions.
42118         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42119
42120 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42121
42122         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42123         AVX check.
42124
42125 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42126
42127         [BZ #13144]
42128         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42129         last change.
42130
42131 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42132
42133         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42134         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42135         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42136         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42137         clock_gettime.
42138
42139 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42140
42141         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42142         Forgot to demangle the pointer.
42143
42144         * sysdeps/i386/sysdep.h: Define atom_text_section.
42145         * sysdeps/x86_64/sysdep.h: Likewise.
42146         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42147         section with atom_text_section.
42148         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42149         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42150         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42151         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42152         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42153
42154         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42155         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42156         already be defined.  Change to take two parameters and don't assign
42157         result to variable.  Adjust all users.
42158         Define INTERNAL_GETTIME if not already defined.
42159         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42160         call.
42161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42162         HAVE_CLOCK_GETTIME_VSYSCALL.
42163         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42164
42165         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42166         gettimeofday vsyscall, just use time.
42167
42168 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42169
42170         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42171         <errno.h>.
42172
42173 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42174
42175         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42176         syscall on x86-64.
42177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42178         syscall.
42179         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42180         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42181         syscall if possible.
42182
42183 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42184
42185         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42186         e_ident.  Don't pass to find_mapsXX.
42187         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42188
42189 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42190
42191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42192         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42193         * sysdeps/x86_64/multiarch/strchr.S: Update.
42194         Check bit_slow_BSF bit.
42195         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42196         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42197         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42198
42199 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42200
42201         [BZ #13134]
42202         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42203         before glibc 2.15.
42204         (tryshell): Define.
42205         (__spawni): Change last parameter to be flag.  Test
42206         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42207         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42208         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42209         * posix/spawni.c: Likewise.
42210         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42211         * posix/spawnp.c: Likewise.  Change normal version to use
42212         SPAWN_XFLAGS_USE_PATH.
42213         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42214         SPAWN_XFLAGS_TRY_SHELL.
42215
42216         [BZ #13150]
42217         * posix/glob.h: Remove gcc 1.x support.
42218
42219         [BZ #13068]
42220         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42221
42222 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42223
42224         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42225         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42226         strrchr-sse2-bsf
42227         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42228         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42229         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42230         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42231         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42232         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42233
42234 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42235
42236         * sysdeps/x86_64/wcscmp.S: New file.
42237
42238         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42239         wcscmp-c wcscmp-sse2
42240         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42241         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42242         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42243         * wcsmbs/wcscmp.c: Allow renaming.
42244
42245 2011-09-05  David S. Miller  <davem@davemloft.net>
42246
42247         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42248         stack slot, rather than the struct return pointer slot.
42249         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42250         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42252         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42253
42254 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42255
42256         * po/ja.po: Update from translation team.
42257
42258         [BZ #13144]
42259         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42260         kernel in 64-bit binaries.
42261
42262 2011-09-01  David S. Miller  <davem@davemloft.net>
42263
42264         * elf/elf.h (HWCAP_SPARC_*): Move to..
42265         * sysdeps/sparc/sysdep.h: this new file and add new values.
42266         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42267         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42268         _DL_HWCAP_COUNT to 24.
42269         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42270         entries.
42271         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42272         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42273         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42274         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42275         instead of magic constants.
42276         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42277
42278 2011-08-31  David S. Miller  <davem@davemloft.net>
42279
42280         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42282         Reimplement to do errno handling inline.
42283         (SYSCALL_ERROR_HANDLER): New macro.
42284         (__SYSCALL_STRING): Do not do errno handling in asm.
42285         (__CLONE_SYSCALL_STRING): Delete.
42286         (__INTERNAL_SYSCALL_STRING): Delete.
42287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42288         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42289         (PSEUDO): Reimplement to do errno handling inline.
42290         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42291         (SYSCALL_ERROR_HANDLER): New macro.
42292         (__SYSCALL_STRING): Do not do errno handling in asm.
42293         (__CLONE_SYSCALL_STRING): Delete.
42294         (__INTERNAL_SYSCALL_STRING): Delete.
42295         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42296         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42297         i386.
42298         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42299         (inline_syscall*): Add 'err' argument.
42300         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42301         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42302         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42303         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42304
42305         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42306         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42307
42308 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42309
42310         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42311
42312 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42313
42314         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42315         directive.
42316
42317 2011-08-24  David S. Miller  <davem@davemloft.net>
42318
42319         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42320
42321 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42322
42323         * elf/Makefile: Add rules to build and run unload8 test.
42324         * elf/unload8.c: New file.
42325         * elf/unload8mod1.c: New file.
42326         * elf/unload8mod1x.c: New file.
42327         * elf/unload8mod2.c: New file.
42328         * elf/unload8mod3.c: New file.
42329
42330         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42331         it wasn't used.
42332
42333 2011-08-23  David S. Miller  <davem@davemloft.net>
42334
42335         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42336         subtract stack bias.
42337         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42338         %sp not %fp in calculations.
42339         (_JMPBUF_UNWINDS_ADJ): Likewise.
42340
42341         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42342         (aio_suspend): Call it to force an exception region around the
42343         AIO_MISC_WAIT() invocation.
42344
42345 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42346
42347         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42348         backslash.
42349
42350 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42351
42352         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42353         protection macro.
42354         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42355         and <dl-machine.h>.
42356         (Elf64_FuncDesc): Remove.
42357
42358 2011-08-22  David S. Miller  <davem@davemloft.net>
42359
42360         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42361         sigaltstack check, add missing cfi directives.
42362         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42363         missing cfi directives, and sigaltstack handling.
42364
42365 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42366
42367         [BZ #11724]
42368         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42369         object is seen twice.
42370         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42371
42372         * elf/Makefile (distribute): Add tst-initorder2.c.
42373         (tests): Add tst-initorder2.
42374         (modules-names): Add tst-initorder2a tst-initorder2b
42375         tst-initorder2c tst-initorder2d.  Add rules to build them.
42376         ($(objpfx)tst-initorder2.out): New rule.
42377         * elf/tst-initorder2.c: New file.
42378         * elf/tst-initorder2.exp: New file.
42379
42380 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42381
42382         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42383
42384         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42385         dependencies back to end of function.
42386
42387         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42388         $(elfobjdir)/ld.so.
42389
42390 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42391
42392         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42393         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42394         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42395         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42396         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42397         of __vdso_gettimeofday.
42398         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42399         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42400         attribute_hidden.
42401         (_libc_vdso_platform_setup): Remove initialization of
42402         __vdso_gettimeofday and __vdso_time.
42403
42404 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42405
42406         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42407         and fgetc_unlocked.
42408         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42409         getc_unlocked.
42410
42411         * elf/dl-open.c (add_to_global): Report additions to the global scope
42412         for LD_DEBUG=scopes.
42413         (dl_open_worker): Also print scope of newly loaded dependencies.
42414         (_dl_show_scope): Indicate if there is no scope.
42415
42416         [BZ #13114]
42417         * stdio-common/Makefile (tests): Add bug24.
42418         * stdio-common/bug24.c: New file.
42419
42420 2011-08-19  Andreas Jaeger  <aj@suse.de>
42421
42422         [BZ #13114]
42423         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42424         non-existant file when using close-on-exec mode.
42425
42426 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42427
42428         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42429         the very first instruction.
42430
42431         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42432         the CFI state in the end.
42433         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42434         inclusion of dl-trampoline.h.
42435         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42436
42437 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42438
42439         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42440         expectations for long double.
42441
42442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42443         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42444
42445 2011-08-14  David S. Miller  <davem@davemloft.net>
42446
42447         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42448         artificual limit depends upon the system page size.
42449
42450 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42451
42452         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42453         * resolv/Makefile: Define CFLAGS-libresolv.
42454
42455 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42456
42457         * nss/makedb.c (compute_tables): Make variables used in nested
42458         function static.
42459
42460 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42461
42462         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42463         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42464         if buffer was too small.
42465
42466         * elf/pldd.c (main): Attach to all threads in the process.
42467         Rewrite /proc handling to use *at functions.
42468
42469 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42470
42471         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42472         specifies first scope to show.
42473         (dl_open_worker): Update callers.  Move printing scope of new
42474         object to before the relocation.
42475         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42476         * sysdeps/generic/ldsodefs.h: Update declaration.
42477
42478         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42479         string for the scope number.
42480
42481 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42482
42483         * nscd/servicescache.c (cache_addserv): Make sure written is always
42484         initialized.
42485
42486 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42487
42488         * sysdeps/i386/i486/bits/atomic.h
42489         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42490         statement expression, so as to suppress "set but not used" warning.
42491         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42492
42493         * string/strncat.c (STRNCAT): Use prototype definition.
42494
42495         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42496         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42497         -Iprograms here.
42498         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42499         (localedef-modules): Add localedef.
42500         (locale-modules): Add locale.
42501
42502         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42503         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42504         to avoid a warning.
42505
42506 2011-08-14  David S. Miller  <davem@davemloft.net>
42507
42508         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42509         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42510
42511 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
42512
42513         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42514         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42515         * elf/rtld.c (dl_main): Set l_name of vDSO.
42516         Call _dl_show_scope when DL_DEBUG_SCOPES.
42517         (process_dl_debug): Recognize scopes flag and also set it for all.
42518         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42519         Declare _dl_show_scope.
42520
42521         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42522         (do_dlopen): Pass caller_dlopen to dl_open.
42523         (__libc_dlopen_mode): Initialize caller_dlopen.
42524
42525         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42526         of libc.  Make tolower call locale-independent.  Optimize a bit by
42527         using isdigit instead of isalnum.
42528         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42529
42530 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
42531
42532         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42533         was a dependency or dynamically loaded.
42534
42535 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
42536
42537         * intl/l10nflist.c: Allow architecture-specific pop function.
42538         * sysdeps/x86_64/l10nflist.c: New file.
42539
42540         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42541         classification.
42542
42543 2011-08-10  Andreas Schwab  <schwab@redhat.com>
42544
42545         * include/dirent.h: Add libc_hidden_proto for scandirat and
42546         scandirat64.  Don't declare __scandirat64.
42547         * dirent/scandirat.c: Add libc_hidden_def.
42548         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42549         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42550
42551 2011-08-10  David S. Miller  <davem@davemloft.net>
42552
42553         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42554         enum.
42555         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42556         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42557         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42558
42559 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
42560
42561         * Versions.def [libc]: Add GLIBC_2.15.
42562         * dirent/Makefile (routines): Add scandirat and scandirat64.
42563         * dirent/Versions [libc]: Export scandirat and scandirat64 for
42564         GLIBC_2.15.
42565         * dirent/dirent.h: Declare scandirat and scandirat64.
42566         * dirent/scandirat.c: New file.
42567         * dirent/scandirat64.c: New file.
42568         * sysdeps/wordsize-64/scandirat.c: New file.
42569         * sysdeps/wordsize-64/scandirat64.c: New file.
42570         * dirent/opendir.c: Define opendirat.
42571         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
42572         using scandirat.
42573         * dirent/scandir64.c: Adjust for scandir.c change.
42574         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
42575         __scandirat64, and __scandir_cancel_handler.
42576         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
42577         additional parameter and use openat instead of open (outside of ld.so).
42578         Add new __opendir as wrapper around __opendirat.
42579         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42580         here without requiring old scandirat implementation.
42581
42582 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
42583
42584         * dirent/scandir.c (cancel_handler): Renamed to
42585         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
42586         defined.  Adjust users.
42587         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42588         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42589
42590 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
42591
42592         * string/test-string.h (IMPL): Use __STRING to expand name and then
42593         stringify it.
42594
42595         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
42596         of cleanups.
42597
42598 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42599
42600         * string/Makefile: Update.
42601         (strop-tests): Append strncat.
42602         * string/test-wcscmp.c: New file.
42603         New comprehensive test for wcscmp.
42604         * string/test-strcmp.c: Update.
42605         (WIDE): New define.
42606
42607 2011-07-22  Andreas Schwab  <schwab@redhat.com>
42608
42609         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42610         line.
42611
42612 2011-07-26  Andreas Schwab  <schwab@redhat.com>
42613
42614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42615         encoding to ACE if AI_IDN.
42616
42617 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
42618
42619         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42620         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42621
42622 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42623
42624         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42625         Fix overflow bug in strncat.
42626         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42627
42628         * string/test-strncat.c: Update.
42629         Add new tests for checking overflow bugs.
42630
42631 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42632
42633         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42634         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42635         * sysdeps/i386/i686/multiarch/strcat.S: New file.
42636         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42637         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42638         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42639         * sysdeps/i386/i686/multiarch/strncat.S: New file.
42640         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42641         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42642
42643         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42644         (USE_AS_STRCAT): Define.
42645         Add strcat and strncat support.
42646         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42647
42648 2011-07-25  Andreas Schwab  <schwab@redhat.com>
42649
42650         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42651         __n bigger than INT_MAX+1.
42652         (__strncmp_g): Likewise.
42653
42654 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
42655
42656         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42657         * libio/stido.h: Likewise.
42658
42659         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42660         (AF_NFC): Define.
42661         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42662         (AF_NFC): Define.
42663
42664         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42665         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42666         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42667         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42668         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42669
42670         [BZ #13021]
42671         * scripts/test-installation.pl: Don't expect libnss_test1 to be
42672         installed.
42673
42674         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42675         typo.
42676         (_dl_x86_64_save_sse): Likewise.
42677
42678 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
42679
42680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42681         OSXSAVE.
42682         (_dl_x86_64_save_sse): Likewise.
42683
42684         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42685
42686         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42687
42688 2011-07-21  Andreas Schwab  <schwab@redhat.com>
42689
42690         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42691         change.
42692         (_dl_x86_64_save_sse): Use correct AVX check.
42693
42694 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42695
42696         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42697         bug in strncpy/strncat.
42698         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42699
42700 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
42701
42702         * string/tester.c (test_strcat): Add tests for different alignments
42703         of source and destination.
42704         (test_strncat): Likewise.
42705
42706 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42707
42708         [BZ #12852]
42709         * posix/glob.c (glob): Check passed in values before using them in
42710         expressions to avoid some overflows.
42711         (glob_in_dir): Likewise.
42712
42713         [BZ #13007]
42714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42715         check for AVX enablement so that we don't crash with old kernels and
42716         new hardware.
42717         * elf/tst-audit4.c: Add same checks here.
42718         * elf/tst-audit6.c: Likewise.
42719
42720         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42721
42722 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
42723
42724         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42725
42726 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
42727
42728         * po/cs.po: Update from translation team.
42729         * po/bg.po: Likewise.
42730
42731 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
42732
42733         * misc/sys/cdefs.h: Add support for const attribute.
42734         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42735         to gnu_dev_{major,minor,makedev} functions.
42736
42737 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
42738
42739         * intl/dcigettext.c (get_output_charset): Add missing bracket.
42740
42741 2011-07-20  Andreas Schwab  <schwab@redhat.com>
42742
42743         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42744         strlen results.
42745
42746 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42747
42748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42749         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42750         register in order to avoid conflicts with the soft frame pointer
42751         being held in r11 when necessary.
42752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42753         (INTERNAL_VSYSCALL_NCS): Likewise.
42754
42755 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
42756
42757         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42758         * elf/dl-fini.c (_dl_fini): Adjust caller.
42759         * elf/dl-close.c (_dl_close_worker): Likewise.
42760         * sysdeps/generic/ldsodefs.h: Adjust declaration.
42761
42762 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42763
42764         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42765         "aux_cache->nlibs < 0".
42766
42767         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42768         in the reload-count case.
42769
42770 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42771
42772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42773         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42774         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42775         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42776         * sysdeps/x86_64/multiarch/strcat.S: New file.
42777         * sysdeps/x86_64/multiarch/strncat.S: New file.
42778         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42779         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42780         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42781         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42782         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42783         (USE_AS_STRCAT): Define.
42784         Add strcat and strncat support.
42785         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42786         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42787         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42788         * string/strncat.c: Update.
42789         (USE_AS_STRNCAT): Define.
42790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42791         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42792         and i7.
42793         * sysdeps/x86_64/multiarch/init-arch.h
42794         (bit_Prefer_PMINUB_for_stringop): New.
42795         (index_Prefer_PMINUB_for_stringop): Likewise.
42796         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42797         bit_Prefer_PMINUB_for_stringop.
42798
42799 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42800
42801         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42802         buffer64.
42803         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42804         of casting of buffer.
42805         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42806         buffer32 and buffer64.
42807         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42808         writes instead of casting of buffer.
42809         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42810         buffer32.
42811         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42812         casting of buffer.
42813
42814 2011-07-19  Andreas Schwab  <schwab@redhat.com>
42815
42816         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42817
42818 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
42819
42820         * nscd/nscd.c (termination_handler): Don't do anything for a database
42821         if it has not yet been initialized.
42822
42823 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42824
42825         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42826
42827 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
42828
42829         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42830
42831 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
42832
42833         * po/nl.po: Update from translation team.
42834         * po/sv.po: Likewise.
42835
42836 2011-07-16  Roland McGrath  <roland@hack.frob.com>
42837
42838         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42839         now disallowed by GCC.
42840
42841         * configure.in (use-default-link): Default to yes if a test -shared
42842         link meets our qualifications.
42843         * configure: Regenerated.
42844
42845         * config.make.in (output-format): New variable.
42846         * configure.in: Check for ld --print-output-format support.
42847         * configure: Regenerated.
42848         * Makerules ($(common-objpfx)format.lds)
42849         [$(output-format) != unknown]: Just use $(output-format),
42850         instead of the linker-script munging.
42851
42852 2011-07-14  Roland McGrath  <roland@hack.frob.com>
42853
42854         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42855         of $(common-objpfx)shlib.lds.
42856         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42857
42858         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42859         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42860
42861         * configure.in (-z relro check): Adjust test code to add a large
42862         writable data section after it.
42863         * configure: Regenerated.
42864
42865 2011-07-11  Roland McGrath  <roland@hack.frob.com>
42866
42867         * configure.in (-z relro check): Fix test code to make the variable
42868         truly const.
42869         * configure: Regenerated.
42870
42871 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
42872
42873         * nscd/nscd.h (struct traced_file): Define.
42874         (struct database_dyn): Remove inotify_descr, reset_res, and filename
42875         elements.  Add traced_files.
42876         (inotify_fd): Declare.
42877         (register_traced_file): Declare.
42878         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42879         (inotify_fd): Export.
42880         (resolv_conf_descr): Remove.
42881         (nscd_init): Move inotify descriptor creation to main.
42882         Don't register files for notification here.
42883         (register_traced_file): New function.
42884         (invalidate_cache): Don't use reset_res to determine whether to call
42885         res_init, go through the list of registered files.
42886         (main_loop_poll): The inotify descriptors are now stored in the
42887         structures for the traced files.
42888         (main_loop_epoll): Likewise
42889         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
42890         to __nss_disable_nscd.
42891         * nscd/cache.c (prune_cache): There is no single inotify descriptor
42892         for a database anymore.  Check the records for all the registered
42893         files instead.
42894         * nss/Makefile (libnss_files-routines): Add files-init.
42895         (libnss_db-routines): Add db-init.
42896         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42897         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42898         * nss/nss_db/db-init.c: New file.
42899         * nss/nss_files/files-init.c: New file.
42900         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
42901         __nss_lookup_function.
42902         (__nss_lookup_function): Call nss_load_library.
42903         (nss_load_all_libraries): New function.
42904         (__nss_disable_nscd): Take parameter with callback function for files
42905         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
42906         used for the cached services.
42907         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42908         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42909         options for features to all the files in nscd.
42910
42911         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42912
42913 2011-07-10  Roland McGrath  <roland@hack.frob.com>
42914
42915         * csu/elf-init.c (__libc_csu_init): Comment typo.
42916
42917 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
42918
42919         * po/pl.po: Update from translation team.
42920         * po/ja.po: Likewise.
42921         * po/ru.po: Likewise.
42922         * po/ko.po: Likewise.
42923         * po/fr.po: Likewise.
42924
42925 2011-07-09  Roland McGrath  <roland@hack.frob.com>
42926
42927         * configure.in (.ctors/.dtors header and trailer check):
42928         Use an empirical test on a built program.
42929         * configure: Regenerated.
42930
42931         * configure.in (-z relro check): Use an empirical test on a built DSO.
42932         Detect, but do not require, on ia64.
42933         * configure: Regenerated.
42934
42935         * configure.in (READELF): Find it with AC_CHECK_TOOL.
42936         Update tests that use readelf to use $READELF instead.
42937         * configure: Regenerated.
42938
42939 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
42940
42941         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42942         if the result is not used.
42943
42944 2011-07-05  Andreas Jaeger  <aj@suse.de>
42945
42946         [BZ#9696]
42947         * stdlib/tst-strtod.c: Add testcase.
42948
42949 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
42950
42951         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42952         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42953         The latter has a higher limit.  Take additional parameter to pass to
42954         the new function.
42955         (__pathconf): Pass file to __statfs_link_max.
42956         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42957         __statfs_link_max.
42958         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42959         __statfs_link_max.
42960
42961         [BZ #12868]
42962         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42963         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42964         Handle Lustre.
42965         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42966         (__statfs_filesize_max): Likewise.
42967         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42968
42969 2011-07-05  Andreas Jaeger  <aj@suse.de>
42970
42971         * resolv/res_comp.c (dn_skipname): Remove unused variable.
42972
42973 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
42974
42975         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42976         `status' variable.
42977         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42978         Likewise.
42979
42980 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
42981
42982         * Makefile (strop-tests): Add strncat.
42983         * string/test-strncat.c: New file.
42984
42985 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
42986
42987         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42988
42989 2011-06-21  Andreas Jaeger  <aj@suse.de>
42990
42991         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42992         Copy rule from iconvdata/Makefile.
42993
42994 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
42995
42996         [BZ #12922]
42997         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42998         but no long options are defined, just return 'W'.
42999
43000 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43001
43002         [BZ #9696]
43003         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43004
43005 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43006
43007         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43008         netgroups to read.
43009         (innetgr): Likewise.
43010
43011 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43012
43013         * config.make.in (install_root): Default to $(DESTDIR).
43014
43015 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43016
43017         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43018
43019 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43020
43021         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43022
43023         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43024         containing directory rather than embedding absolute directory names.
43025
43026         * scripts/check-local-headers.sh: Rewritten using awk.
43027         Match by word, not by line.  Print error messages for matches.
43028         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43029
43030         * Makerules [shlib-lds-flags empty]:
43031         ($(common-objpfx)libc_pic.opts): New target.
43032         ($(common-objpfx)libc_pic.os.clean): New target.
43033         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43034
43035         * config.make.in (OBJCOPY): New variable.
43036         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43037         * configure: Regenerated.
43038
43039         * config.make.in (use-default-link): New variable.
43040         * configure.in (use_default_link): Grok --with-default-link to set it.
43041         * configure: Regenerated.
43042         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43043         (shlib-lds, shlib-lds-flags): Define to empty.
43044
43045         * Makerules (shlib-lds): New variable.
43046         (shlib-lds-flags): New variable.
43047         (build-shlib, build-moduile, build-module-asneeded): Use it.
43048         ($(common-objpfx)libc.so): Use $(shlib-lds).
43049         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43050         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43051
43052         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43053         DT_FLAGS/DT_FLAGS_1 with zero flags.
43054
43055         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43056         linker script munging.
43057
43058 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43059
43060         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43061         as 128-bit value.
43062         * crypt/sha512.c (sha512_process_block): Perform total addition using
43063         128-bit if possible.
43064         (__sha512_finish_ctx): Likewise.
43065         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43066         as 64-bit value.
43067         * crypt/sha256.c (SWAP64): Define.
43068         (sha256_process_block): Perform total addition using 64-bit if
43069         possible.
43070         (__sha256_finish_ctx): Likewise.
43071
43072 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43073
43074         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43075         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43076         * nscd/hstcache.c (cache_addhst): Likewise.
43077         * nscd/grpcache.c (cache_addgr): Likewise.
43078         * nscd/aicache.c (addhstaiX): Likewise
43079         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43080
43081 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43082
43083         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43084         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43085         * nscd/hstcache.c (cache_addhst): Likewise.
43086         * nscd/grpcache.c (cache_addgr): Likewise.
43087         * nscd/aicache.c (addhstaiX): Likewise
43088
43089 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43090
43091         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43092         domain only when needed.
43093
43094 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43095
43096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43097         is always restored.
43098
43099 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43100
43101         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43102         are re-adding the entry.
43103         * nscd/servicescache.c (cache_addserv): Likewise.
43104
43105 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43106
43107         * sysdeps/generic/dl-irel.h: fix protection against multiple
43108         inclusions.
43109         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43110
43111 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43112
43113         [BZ #12935]
43114         * malloc/memusage.sh: Fix quoting in message.
43115         * debug/xtrace.sh: Likewise.
43116
43117         * configure.in: Remove support for --experimental-malloc option, make
43118         it the default.
43119         * config.make.in: Likewise.
43120         * malloc/Makefile: Likewise.
43121
43122 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43123
43124         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43125         two-byte characters.
43126
43127 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43128
43129         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43130         AC_CACHE_CHECK invocation.
43131         * configure: Regenerated.
43132
43133         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43134
43135 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43136
43137         [BZ #12350]
43138         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43139         bit from old_res_options.
43140
43141         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43142
43143         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43144         value type for setfct.
43145
43146 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43147
43148         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43149         __gettimeofday instead of gettimeofday.
43150
43151 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43152
43153         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43154
43155 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43156
43157         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43158
43159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43160         info.
43161
43162 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43163
43164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43165         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43166         strcpy-sse2-unaligned strncpy-sse2-unaligned
43167         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43168         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43169         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43170         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43171         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43172         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43173         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43174         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43175         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43176         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43177         (STRCPY): Support SSE2 and SSSE3 versions.
43178
43179 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43180
43181         [BZ #12874]
43182         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43183         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43184         kernels which artificially limit size of requests.
43185
43186 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43187
43188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43189         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43190         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43191         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43192         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43193         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43194         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43195         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43196         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43197         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43198         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43199         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43200         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43201         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43202         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43204         Enable unaligned load optimization for Intel Core i3, i5 and i7
43205         processors.
43206         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43207         Define.
43208         (index_Fast_Unaligned_Load): Define.
43209         (HAS_FAST_UNALIGNED_LOAD): Define.
43210
43211 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43212
43213         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43214
43215 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43216
43217         [BZ #12907]
43218         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43219         until it is clear that the information is realy needed.
43220         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43221
43222 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43223
43224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43225
43226 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43227
43228         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43229         /sys/devices/system/cpu/online if it is usable.
43230
43231         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43232         reading the information from the /proc filesystem to once a second.
43233
43234 2011-06-21  Andreas Jaeger  <aj@suse.de>
43235
43236         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43237         NULL after inclusion of kernel headers.
43238
43239 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43240
43241         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43242         calls to internal_setent.
43243
43244         [BZ #12885]
43245         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43246         addresses using gethostbyname4_r ignore IPv4 addresses.
43247
43248         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43249         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43250
43251         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43252
43253 2011-06-20  David S. Miller  <davem@davemloft.net>
43254
43255         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43256         inclusions.
43257         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43258
43259         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43260         (elf_irel): Use it.
43261         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43262         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43263         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43264         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43265         * sysdeps/x86_64/dl-irel.h: Likewise.
43266
43267         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43268         * elf/dl-sym.c: Likewise.
43269
43270 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43271
43272         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43273         need to dereference resplen2.
43274
43275 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43276
43277         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43278
43279 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43280
43281         * Makeconfig: Define vardbdir and inst_vardbdir.
43282         * nss/Makefile: Add rules to install db-Makefile.
43283
43284         * nss/nss_db/db-XXX.c: Cleanup.
43285
43286         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43287         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43288         GLIBC_PRIVATE.
43289         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43290         * nss/makedb.c: Implement -g option to specify that value strings
43291         are generated and should not be added to table iterated over for
43292         get*ent calls.
43293         * nss/nss_db/db-initgroups.c: New file.
43294
43295         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43296         interface.
43297
43298         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43299         (internal_getgrouplist): Adjust to name change.
43300         Update use_initgroups_entry if this is not the first call.
43301         * nss/databases.def: Add initgroups entry.
43302
43303         * nss/makedb.c (compute_tables): Check result of multiple hash table
43304         sizes to minimize maximum chain length.
43305
43306 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43307
43308         * Versions.def: Add entry for libnss_db.
43309         * shlib-versions: Likewise.
43310         * nss/Makefile: Add rules to build libnss_db.
43311         * nss/Versions: Add libnss_db information.  Organize libnss_files
43312         entries better.
43313         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43314         makedb progra.  Some minor improvements to generate smaller files.
43315         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43316         here from...
43317         * nss/makedb.c: ...here.
43318         Improve database format to be smaller and require less memory at
43319         runtime.
43320         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43321         db anymore.
43322         * nss/nss_db/db-netgrp.c: Likewise.
43323         * nss/nss_db/db-open.c: Likewise.
43324         * nss/nss_files/flies-XXX.x: Adjust comments.
43325         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43326         * nss/nss_files/files-grp.c: Likewise.
43327         * nss/nss_files/files-hosts.c: Likewise.
43328         * nss/nss_files/files-network.c: Likewise.
43329         * nss/nss_files/files-proto.c: Likewise.
43330         * nss/nss_files/files-pwd.c: Likewise.
43331         * nss/nss_files/files-rpc.c: Likewise.
43332         * nss/nss_files/files-service.c: Likewise.
43333         * nss/nss_files/files-sgrp.c: Likewise.
43334         * nss/nss_files/files-spwd.c: Likewise.
43335         * nss/nss_db/db-alias.c: Removed.
43336         * nss/nss_db/dummy-db.h: Removed.
43337
43338 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43339
43340         * nss/makedb.c: Rewritten to not use database library.
43341         * nss/Makefile: Update to build new makedb program.
43342
43343 2011-06-14  Andreas Jaeger  <aj@suse.de>
43344
43345         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43346         memset declaration.
43347
43348 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43349
43350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43351         tmpbuf.
43352
43353 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43354
43355         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43356         * elf/Makefile ($(objpfx)ld.so): Likewise.
43357
43358         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43359         Don't list ld.so twice in dependencies.
43360
43361         * posix/bug-regex31.c: Include <stdlib.h>.
43362
43363         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43364
43365         * nis/nss_compat/compat-spwd.c
43366         (getspent_next_nss_netgr): Remove unused variable.
43367         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43368
43369         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43370         nonmembers" output to use the right array.
43371
43372         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43373
43374         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43375
43376         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43377         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43378         * catgets/gencat.c (read_input_file): Likewise.
43379         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43380
43381         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43382         variable definition inside #if's controlling its use.
43383
43384         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43385
43386         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43387
43388         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43389
43390         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43391         unreachable code.
43392
43393         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43394
43395         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43396         * configure: Regenerated.
43397
43398         * Makerules: Revert last change.
43399         * elf/Makefile: Likewise.
43400
43401 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43402
43403         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43404         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43405         (reloc-link): Likewise.
43406
43407 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43408
43409         * elf/Makefile: Add rules to build pldd.
43410         * elf/pldd.c: New file.
43411         * elf/pldd-xx.c: New file.
43412
43413 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43414
43415         * version.h: Update for 2.15 development version.
43416
43417 2011-06-07  David S. Miller  <davem@davemloft.net>
43418
43419         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43420         ifuncs.
43421         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43422         elf_machine_lazy_rel): Likewise.
43423         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43424         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43425         elf_machine_lazy_rel): Likewise.
43426         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43427         dl_hwcap via passed in argument.
43428         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43429         Likewise.
43430
43431 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43432
43433         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43434
43435 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43436
43437         [BZ #12849]
43438         * manual/fdl-1.1.texi: New file, verbatim from:
43439         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43440         * manual/lgpl-2.1.texi: New file, verbatim from:
43441         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43442         * manual/Makefile (licenses): New variable, list those new file names.
43443         (texis): Use it.
43444         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43445
43446         * manual/fdl.texi: File removed.
43447         * manual/lesser.texi: File removed.
43448         * manual/libc.texinfo (Copying, Documentation License):
43449         Use new @include file names, put @appendix directive before @include.
43450
43451 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43452
43453         [BZ #12841]
43454         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43455         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43456         (mq_open): Add __NTH.
43457
43458 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43459
43460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43461         Assume Intel Core i3/i5/i7 processor if AVX is available.
43462
43463 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43464
43465         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43466         typo.
43467
43468 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43469
43470         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43471         memory.  Use alloca_account.  Fix memory leak when retrying.
43472
43473 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43474
43475         * version.h (RELEASE): Bump for 2.14 release.
43476         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43477
43478         * config.make.in (RANLIB): Remove entry.
43479
43480 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43481
43482         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43483         (libc.pot): Work around missing support for .ksh extension in xgettext.
43484
43485         [BZ #12684]
43486         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43487         if both request failed.
43488         (send_dg): In case of server errors clear resplen or *resplen2.
43489
43490         [BZ #12454]
43491         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43492         when there are multiple maps.
43493         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43494         (_dl_fini): Remove test here.
43495
43496         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43497
43498 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43499
43500         [BZ #12350]
43501         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43502         bit from old_res_options.
43503         (gaih_inet): Likewise.
43504
43505         [BZ #11099]
43506         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43507         as signed.
43508
43509         * resolv/res_init.c (res_setoptions): Make the code more compact.
43510
43511         [BZ #11558]
43512         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43513         set RES_USEVC.
43514
43515         [BZ #11634]
43516         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43517
43518         * malloc/malloc.h: Mark malloc hook variables as deprecated.
43519
43520         [BZ #11781]
43521         * malloc/malloc.h: Declare malloc hook variables as volatile.
43522
43523         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43524         in last patch.
43525
43526         [BZ #11799]
43527         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43528         raise in the comment.
43529         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43530         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43531         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43532
43533 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
43534
43535         [BZ #12811]
43536         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43537         grow the buffers more if it already has to be sufficient.
43538         (build_wcs_upper_buffer): Likewise.
43539         * posix/regexec.c (check_matching): Likewise.
43540         (clean_state_log_if_needed): Likewise.
43541         (extend_buffers): Don't enlarge buffers beyond size of the input
43542         buffer.
43543         Patches mostly by Emil Wojak <emil@wojak.eu>.
43544         * posix/bug-regex32.c: New file.
43545         * posix/Makefile (tests): Add bug-regex32.
43546
43547         * locale/findlocale.c (_nl_find_locale): Return right away if
43548         _nl_explode_name failed.
43549         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43550
43551         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43552
43553         * debug/xtrace.sh: Unify messages.
43554         * malloc/memusage.sh: Likewise.
43555
43556         [BZ #12813]
43557         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43558         time symbol from vDSO.  Substitute with vsyscall if not available.
43559         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43560         __vdso_time.
43561
43562         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43563         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43564         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43565         Add sendmmsg and internal_sendmmsg.
43566         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43567         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43568         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43569
43570         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43571         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43572         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43573
43574 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
43575
43576         [BZ #12813]
43577         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43578         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
43579         available.
43580         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43581         __vdso_getcpu.
43582
43583         [BZ #12814]
43584         * iconvdata/Makefile (tests): Add bug-iconv9.
43585         * iconvdata/bug-iconv9.c: New file.
43586
43587 2011-05-27  Andreas Schwab  <schwab@redhat.com>
43588
43589         [BZ #12814]
43590         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43591
43592 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
43593
43594         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43595         (struct user_regs_struct): Change intcs field back to cs.
43596
43597 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
43598
43599         * po/ja.po: Update from translation team.
43600
43601 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
43602
43603         [BZ #12795]
43604         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43605         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43606
43607 2011-05-20  Andreas Schwab  <schwab@redhat.com>
43608
43609         * stdlib/longlong.h: Update from GCC.
43610
43611 2011-05-23  Andreas Schwab  <schwab@redhat.com>
43612
43613         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43614         parameter name.
43615         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43616         Add parameter name.
43617         (__sysconf): Pass it down.
43618
43619 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
43620
43621         [BZ #12671]
43622         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43623         some situations.
43624         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43625         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43626         add in in __libc_use_alloca calls.  Adjust callers.
43627         (glob): Use malloc in some situations.
43628
43629         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43630         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43631         pltexit.
43632
43633 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
43634
43635         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43636         and CLOCK_BOOTTIME_ALARM.
43637
43638         [BZ #12782]
43639         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43640         is returned.
43641
43642         * string/_strerror.c (__strerror_r): Print negative errors as signed
43643         numbers.
43644
43645         [BZ #12777]
43646         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43647         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43648         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43649
43650         * configure.in: Fix typo in redirection and correct removal of test
43651         files in two cases.
43652
43653         [BZ #12788]
43654         * locale/setlocale.c (new_composite_name): Fix test to check for
43655         identical name of all categories.
43656
43657         [BZ #12792]
43658         * libio/filedoalloc.c (local_isatty): New function.
43659         (_IO_file_doallocate): Use local_isatty.
43660         * stdio-common/perror.c (perror): In case a new stream is used
43661         forward the stream error.
43662         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43663         error flag.
43664
43665 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
43666
43667         [BZ #11869]
43668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43669         alloca.
43670         * include/alloca.h (extend_alloca_account): Define.
43671
43672         [BZ #11857]
43673         * posix/regex.h: Fix comments with documentation of user-accessible
43674         fields after compilation and describe correct free'ing of pattern
43675         after re_compile_pattern.
43676         Patch by Reuben Thomas <rrt@sc3d.org>.
43677
43678 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
43679
43680         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43681         and -mno-altivec to prevent the compiler from using Altivec and/or
43682         VSX instructions when the corresponding registers are not available.
43683
43684 2011-05-19  Andreas Schwab  <schwab@redhat.com>
43685
43686         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43687
43688 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
43689
43690         * libio/freopen.c (freopen): Use __dup2, not dup2.
43691         * libio/freopen64.c (freopen64): Likewise.
43692
43693 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43694
43695         [BZ #12775]
43696         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43697         * math/Makefile (tests): Add test-powl.
43698         (CFLAGS-test-powl.c): Define.
43699         * math/test-powl.c: New file.
43700
43701 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43702
43703         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43704
43705 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
43706
43707         [BZ #11837]
43708         * iconvdata/gb18030.c: Update to GB18020-2005.
43709
43710 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
43711
43712         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43713         RE_SYNTAX_POSIX_AWK): Update to match recent development.
43714         Patch by Aharon Robbins <arnold@skeeve.com>.
43715
43716         [BZ #11892]
43717         * stdlib/putenv.c (putenv): Don't always create copy of the variable
43718         on the stack.
43719
43720         [BZ #11895]
43721         * misc/pselect.c (__pselect): Handle timeout value errors hidden
43722         through underflows.
43723
43724         [BZ #12766]
43725         * misc/error.c (error_at_line): Ensure file_name and old_file_name
43726         point to strings before performing equality test for error_one_per_line
43727         mode.
43728
43729         [BZ #11697]
43730         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43731
43732         [BZ #11820]
43733         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43734         (struct user_fpregs_struct): Avoid __uint*_t types.
43735
43736         [BZ #6420]
43737         * malloc/mtrace.c (tr_where): Add additional parameter to point to
43738         symbol info.  Use it instead of calling _dl_addr locally.
43739         (lock_and_info): New function.
43740         (tr_freehook): Call lock_and_info and pass symbol info as additional
43741         parameter to tr_where.
43742         (tr_mallochook): Likewise.
43743         (tr_reallochook): Likewise.
43744         (tr_memalignhook): Likewise.
43745
43746         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
43747         used and couldn't be at all thread-safe.
43748
43749 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
43750
43751         * libio/freopen.c (freopen): Don't close old file descriptor
43752         before the new one is opened.  Instead dup the new file descriptor
43753         to the old one after the new stream is created.
43754         * libio/freopen64.c (freopen64): Likewise.
43755         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43756         * libio/fileops.c (_IO_new_file_close_it): Handle new
43757         _IO_FLAGS2_NOCLOSE flag.
43758         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43759         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43760         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43761         _IO_FLAGS2_NOCLOSE flag.
43762         * include/unistd.h: Add hidden_proto for dup3.
43763         Define __have_dup3.
43764         * io/dup3.c: Define hidden symbol.
43765         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43766
43767         [BZ #7101]
43768         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43769         when an incomplete long option is used.
43770         * posix/tst-getopt_long1.c: New file.
43771         * posix/Makefile (tests): Add tst-getopt_long1.
43772
43773         [BZ #10138]
43774         * scripts/config.guess: Update from autoconf-2.68.
43775         * scripts/config.sub: Likewise.
43776
43777         [BZ #10157]
43778         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43779         tests into ...
43780         (has_cpuclock): ...this.  New function.
43781         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43782         macro here based on has_cpuclock code.
43783
43784         [BZ #10149]
43785         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43786         First byte (not low byte) is now always NUL.
43787         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43788
43789         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43790         Use non-cancelable interfaces.
43791
43792         [BZ #9809]
43793         * locale/iso-639.def: Add entry for Sorani.
43794
43795         [BZ #11901]
43796         * include/stdlib.h: Move include protection to the right place.
43797         Define abort_msg_s.  Declare __abort_msg with it.
43798         * stdlib/abort.c (__abort_msg): Adjust type.
43799         * assert/assert.c (__assert_fail_base): New function.  Majority
43800         of code from __assert_fail.  Allocate memory for __abort_msg with
43801         mmap.
43802         (__assert_fail): Now call __assert_fail_base.
43803         * assert/assert-perr.c: Remove bulk of implementation.  Use
43804         __assert_fail_base.
43805         * include/assert.hL Declare __assert_fail_base.
43806         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43807         mmap.
43808         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43809
43810 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
43811
43812         [BZ #11952]
43813         [BZ #12453]
43814         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43815         until all modules are registered in the DTV.
43816         * elf/Makefile: Add rules to build and run tst-tls19.
43817         * elf/tst-tls19.c: New file.
43818         * elf/tst-tls19mod1.c: New file.
43819         * elf/tst-tls19mod2.c: New file.
43820         * elf/tst-tls19mod3.c: New file.
43821         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43822
43823         [BZ #12083]
43824         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43825         correctly.
43826
43827         [BZ #12601]
43828         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43829         two-byte sequence errors.
43830         * iconvdata/Makefile (tests): Add bug-iconv8.
43831         * iconvdata/bug-iconv8.c: New file.
43832
43833         [BZ #12626]
43834         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43835         buf2 definition.
43836
43837         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43838
43839         [BZ #12432]
43840         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43841         (dummy_getcfa): New function.
43842         (init): Get _Unwind_GetCFA address, use dummy if not found.
43843         (backtrace_helper): In recursion check, also check whether CFA changes.
43844         (__backtrace): Completely initialize arg.
43845
43846         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43847         storing incomplete byte sequence in state object.  Avoid testing for
43848         guaranteed too small input if we know there is enough data available.
43849
43850 2011-05-11  Andreas Schwab  <schwab@redhat.com>
43851
43852         * Makeconfig (+link-pie): Indent.
43853         * Rules (binaries-pie): Define if $(have-fpie) and
43854         $(build-shared).
43855         (binaries-shared): Also filter out $(binaries-pie).
43856         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43857         * nscd/Makefile (others-pie): Add nscd.
43858         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43859         ($(objpfx)nscd): Remove command override.
43860         * login/Makefile (others-pie): Add pt_chown.
43861         ($(objpfx)pt_chown): Remove command override.
43862         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43863         remove command overrides.
43864
43865 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
43866
43867         * libio/tst_putwc.c: Fix error messages.
43868
43869         [BZ #12724]
43870         * libio/fileops.c (_IO_new_file_close_it): Always flush when
43871         currently writing and seek to current position when not.
43872         * libio/Makefile (tests): Add bug-fclose1.
43873         * libio/bug-fclose1.c: New file.
43874
43875 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
43876
43877         [BZ #12511]
43878         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43879         don't set DF_1_NODELETE here.
43880         (do_lookup_x): When entering new entry test for copy relocation
43881         and if necessary set DF_1_NODELETE flag.
43882         * elf/tst-unique4.cc: New file.
43883         * elf/tst-unique4.h: New file.
43884         * elf/tst-unique4lib.cc: New file.
43885         * elf/Makefile: Add rules to build and run tst-unique4.
43886         Patch by Piotr Bury <pbury@goahead.com>.
43887
43888 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
43889
43890         [BZ #12052]
43891         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43892
43893         [BZ #12625]
43894         * misc/mntent_r.c (addmntent): Flush the stream after the output
43895
43896         [BZ #12393]
43897         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43898         (is_trusted_path_normalize): Skip initial colon.  Append slash
43899         to empty buffer.  Duplicate is_trusted_path code but allow
43900         constructed patch to be prefix.
43901         (is_dst): Allow $ORIGIN followed by /.
43902         (_dl_dst_substitute): Correct clearing of check_for_trusted.
43903         Correct testing of result of is_trusted_path_normalize
43904         (decompose_rpath): Fix warning.
43905
43906 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
43907
43908         [BZ #11257]
43909         * grp/initgroups.c (internal_getgrouplist): When we found the service
43910         list through the initgroups entry in nsswitch.conf do not always
43911         continue on a successful lookup.  Don't always use the
43912         __nss_group_database value if it is set.
43913         * nss/nsswitch.conf (initgroups): Change action for successful db
43914         lookup to continue for compatibility.
43915
43916 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
43917
43918         [BZ #11532]
43919         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43920         and CP774 modules.
43921         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43922         and CP774 modules.
43923         * iconvdata/tst-tables.sh: Likewise.
43924         * iconvdata/cp770.c: New file.
43925         * iconvdata/cp771.c: New file.
43926         * iconvdata/cp772.c: New file.
43927         * iconvdata/cp773.c: New file.
43928         * iconvdata/cp774.c: New file.
43929         * iconvdata/testdata/CP770: New file.
43930         * iconvdata/testdata/CP770..UTF8: New file.
43931         * iconvdata/testdata/CP771: New file.
43932         * iconvdata/testdata/CP771..UTF8: New file.
43933         * iconvdata/testdata/CP772: New file.
43934         * iconvdata/testdata/CP772..UTF8: New file.
43935         * iconvdata/testdata/CP773: New file.
43936         * iconvdata/testdata/CP773..UTF8: New file.
43937         * iconvdata/testdata/CP774: New file.
43938         * iconvdata/testdata/CP774..UTF8: New file.
43939
43940         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43941         END CHARMAP line.
43942         * iconvdata/gen-8bit-gap.sh: Likewise.
43943         * iconvdata/gen-8bit.sh: Likewise.
43944
43945         * locale/iso-639.def: Add ary entry.
43946
43947         [BZ #11258]
43948         * locale/C-translit.h.in: Add U20A1 transliteration.
43949
43950         [BZ #12178]
43951         * locale/iso-639.def: Add wae entry.
43952         Patch by Kevin Bortis <bortis@translate-wae.ch>.
43953
43954         [BZ #12545]
43955         * locale/programs/localedef.c (construct_output_path): Use ssize_t
43956         for n.
43957
43958         [BZ #12711]
43959         * locale/C-translit.h.in: Add entry for U20B9.
43960         Patch by pravin.d.s@gmail.com.
43961
43962 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
43963
43964         [BZ #12713]
43965         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43966         ENAMETOOLONG use generic getcwd.
43967         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
43968         in rtld.  Use *stat64.
43969         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43970         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43971         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43972         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43973         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43974         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43975         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43976         __fstatat64 macros.
43977         * include/dirent.h: Add libc_hidden_proto for rewinddir.
43978         * dirent/rewinddir.c: Add libc_hidden_def.
43979         * sysdeps/mach/hurd/rewinddir.c: Likewise.
43980         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
43981
43982         * include/dirent.h (__alloc_dir): Add flags parameter.
43983         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43984         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43985         __alloc_dir.
43986         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
43987         from fdopendir if O_CLOEXEC is already set.
43988
43989 2011-03-15  Alan Modra  <amodra@gmail.com>
43990
43991         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43992         l_tls_firstbyte_offset non-zero.  Save padding offset in
43993         l_tls_firstbyte_offset for later use.
43994         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43995         freeing static tls block.
43996
43997 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
43998
43999         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44000         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44001         being defined by the kernel headers.
44002
44003 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44004
44005         [BZ #12734]
44006         * resolv/resolv.h: Define RES_NOTLDQUERY.
44007         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44008         no-tld-query and set RES_NOTLDQUERY.
44009         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44010         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44011         modern BIND to search name as TLD unless forbidden.
44012
44013 2011-05-07  Petr Baudis  <pasky@suse.cz>
44014             Ulrich Drepper  <drepper@gmail.com>
44015
44016         [BZ #12393]
44017         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44018         (is_trusted_path): ...to here.
44019         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44020         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44021         using is_trusted_path_normalize() in setuid scripts.
44022
44023 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44024
44025         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44026         __BEGIN/__END_DECLS.
44027
44028 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44029
44030         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44031         NSS_STATUS_NOTFOUND if no record was found.
44032
44033 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44034
44035         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44036         (headers-not-in-tirpc): Remove rpc/netdb.h
44037         * resolv/netdb.h: Revert last change.
44038
44039 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44040
44041         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44042         circular dependency between libgcc.a and libc.a.
44043
44044 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44045
44046         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44047         * nis/Makefile: Don't install rpcsvc/*.
44048         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44049         instead of <rpc/types.h>.
44050         (MAXHOSTNAMELEN): Define.
44051
44052 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44053
44054         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44055
44056 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44057
44058         [BZ #12714]
44059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44060         gethostbyname4_r when IPv6 results are possible.
44061
44062 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44063
44064         [BZ #12723]
44065         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44066         _PC_PIPE_BUF handling.
44067
44068 2011-04-30  Bruno Haible  <bruno@clisp.org>
44069
44070         [BZ #12717]
44071         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44072         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44073         to 'int'.
44074         * inet/getnameinfo.c (getnameinfo): Likewise.
44075
44076 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44077
44078         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44079         to groups setting in database lookup.
44080         * nss/nsswitch.conf: Add initgroups entry.
44081
44082 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44083
44084         [BZ #12685]
44085         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44086         mode string.
44087         Patch by Eric Blake <eblake@redhat.com>.
44088
44089 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44090
44091         * sunrpc/Makefile (need-export-routines): Add svc_run.
44092         (routines): Remove svc_run.
44093         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44094         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44095         * sunrpc/svc_run.c (svc_run): Likewise.
44096         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44097
44098 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44099
44100         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44101         problem in reallocation in last patch.
44102
44103 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44104
44105         * sunrpc/Makefile: Move inclusion of Rules.
44106
44107 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44108
44109         * nss/nss_files/files-initgroups.c: New file.
44110         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44111         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44112         _nss_files_initgroups_dyn.
44113
44114 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44115
44116         * elf/elf.h (R_ARM_IRELATIVE): Define.
44117
44118 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44119
44120         * po/ru.po: Update from translation team.
44121
44122 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44123
44124         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44125         dependencies.
44126
44127 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44128
44129         [BZ #12653]
44130         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44131         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44132         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44133         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44134         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44135
44136 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44137
44138         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44139         differing bytes.
44140         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44141         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44142         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44143
44144 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44145
44146         [BZ #12420]
44147         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44148         storing it.
44149         * stdlib/bug-getcontext.c: New file.
44150         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44151
44152 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44153
44154         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44155         instructions into .machine "z9-109".
44156         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44157         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44158
44159 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44160
44161         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44162         between environment variables and auxiliary vector.
44163
44164 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44165
44166         * Makefile: Add rules to build linkobj/libc.so.
44167         * include/libc-symbols.h: Define libc_hidden_nolink.
44168         * include/rpc/auth.h: Mark functions which are to be hidden.
44169         * include/rpc/auth_des.h: Likewise.
44170         * include/rpc/auth_unix.h: Likewise.
44171         * include/rpc/clnt.h: Likewise.
44172         * include/rpc/des_crypt.h: Likewise.
44173         * include/rpc/key_prot.h: Likewise.
44174         * include/rpc/pmap_clnt.h: Likewise.
44175         * include/rpc/pmap_prot.h: Likewise.
44176         * include/rpc/pmap_rmt.h: Likewise.
44177         * include/rpc/rpc_msg.h: Likewise.
44178         * include/rpc/svc.h: Likewise.
44179         * include/rpc/svc_auth.h: Likewise.
44180         * include/rpc/xdr.h: Likewise.
44181         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44182         * nss/Makefile: Likewise.
44183         * sunrpc/Makefile: Don't install headers.  Build library with normal
44184         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44185         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44186         for the compat linking library.  Remove use of INTDEF/INTUSE.
44187         * sunrpc/auth_none.c: Likewise.
44188         * sunrpc/auth_unix.c: Likewise.
44189         * sunrpc/authdes_prot.c: Likewise.
44190         * sunrpc/authuxprot.c: Likewise.
44191         * sunrpc/clnt_gen.c: Likewise.
44192         * sunrpc/clnt_perr.c: Likewise.
44193         * sunrpc/clnt_raw.c: Likewise.
44194         * sunrpc/clnt_simp.c: Likewise.
44195         * sunrpc/clnt_tcp.c: Likewise.
44196         * sunrpc/clnt_udp.c: Likewise.
44197         * sunrpc/clnt_unix.c: Likewise.
44198         * sunrpc/des_crypt.c: Likewise.
44199         * sunrpc/des_soft.c: Likewise.
44200         * sunrpc/get_myaddr.c: Likewise.
44201         * sunrpc/key_call.c: Likewise.
44202         * sunrpc/key_prot.c: Likewise.
44203         * sunrpc/netname.c: Likewise.
44204         * sunrpc/pm_getmaps.c: Likewise.
44205         * sunrpc/pm_getport.c: Likewise.
44206         * sunrpc/pmap_clnt.c: Likewise.
44207         * sunrpc/pmap_prot.c: Likewise.
44208         * sunrpc/pmap_prot2.c: Likewise.
44209         * sunrpc/pmap_rmt.c: Likewise.
44210         * sunrpc/publickey.c: Likewise.
44211         * sunrpc/rpc_cmsg.c: Likewise.
44212         * sunrpc/rpc_common.c: Likewise.
44213         * sunrpc/rpc_dtable.c: Likewise.
44214         * sunrpc/rpc_prot.c: Likewise.
44215         * sunrpc/rpc_thread.c: Likewise.
44216         * sunrpc/rtime.c: Likewise.
44217         * sunrpc/svc.c: Likewise.
44218         * sunrpc/svc_auth.c: Likewise.
44219         * sunrpc/svc_authux.c: Likewise.
44220         * sunrpc/svc_raw.c: Likewise.
44221         * sunrpc/svc_run.c: Likewise.
44222         * sunrpc/svc_simple.c: Likewise.
44223         * sunrpc/svc_tcp.c: Likewise.
44224         * sunrpc/svc_udp.c: Likewise.
44225         * sunrpc/svc_unix.c: Likewise.
44226         * sunrpc/svcauth_des.c: Likewise.
44227         * sunrpc/xcrypt.c: Likewise.
44228         * sunrpc/xdr.c: Likewise.
44229         * sunrpc/xdr_array.c: Likewise.
44230         * sunrpc/xdr_float.c: Likewise.
44231         * sunrpc/xdr_intXX_t.c: Likewise.
44232         * sunrpc/xdr_mem.c: Likewise.
44233         * sunrpc/xdr_rec.c: Likewise.
44234         * sunrpc/xdr_ref.c: Likewise.
44235         * sunrpc/xdr_sizeof.c: Likewise.
44236         * sunrpc/xdr_stdio.c: Likewise.
44237
44238 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44239
44240         [BZ #12650]
44241         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44242         * sysdeps/ia64/dl-tls.h: Likewise.
44243         * sysdeps/powerpc/dl-tls.h: Likewise.
44244         * sysdeps/s390/dl-tls.h: Likewise.
44245         * sysdeps/sh/dl-tls.h: Likewise.
44246         * sysdeps/sparc/dl-tls.h: Likewise.
44247         * sysdeps/x86_64/dl-tls.h: Likewise.
44248         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44249
44250 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44251
44252         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44253         rpath element also skip the following colon.
44254         (expand_dynamic_string_token): Add is_path parameter and pass
44255         down to DL_DST_REQUIRED and _dl_dst_substitute.
44256         (decompose_rpath): Call expand_dynamic_string_token with
44257         non-zero is_path.  Ignore empty rpaths.
44258         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44259         with zero is_path.
44260
44261 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44262
44263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44264         Make cancelable.
44265
44266 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44267
44268         [BZ #12655]
44269         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44270         Patch by Filipe David Manana <fdmanana@apache.org>.
44271
44272 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44273
44274         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44275         Maintain aligned stack.
44276         (CHECK_RSP): Remove unused macro.
44277
44278 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44279
44280         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44281         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44282
44283 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44284
44285         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44286
44287         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44288
44289 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44290
44291         [BZ #12518]
44292         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44293         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44294         * sysdeps/x86_64/memmove.c: New file.
44295         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44296         (memcpy): Renamed to ...
44297         (__new_memcpy): This.
44298         (memcpy): Provide GLIBC_2_14 memcpy.
44299         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44300         (memcpy): Provide GLIBC_2_2_5 memcpy.
44301
44302 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44303
44304         [BZ #12631]
44305         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44306
44307 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44308
44309         * misc/syncfs.c: New file.
44310         * misc/Makefile (routines): Add syncfs.
44311         * posix/unistd.h: Declare syncfs.
44312         * sysdeps/unix/syscalls.list: Add syncfs.
44313
44314 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44315
44316         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44317         open_by_handle_at.
44318         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44319         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44321         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44323         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44324         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44325
44326 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44327
44328         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44329         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44330         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44331         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44332         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44334         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44335
44336         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44337         sync_file_range.c with -fexceptions.
44338         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44339         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44340         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44341         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44342         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44343         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44344         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44345         sync_file_range as cancellation point
44346         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44347         now a wrapper around __call_sync_file_range with cancellation handling.
44348         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44349         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44350         function name to __call_sync_file_range.
44351         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44352         Add call_sync_file_range.
44353
44354 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44355
44356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44357         bits/timex.h.
44358
44359 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44360
44361         * iconv/iconv.h: Fix typo in comment.
44362         * io/fcntl.h: Likewise.
44363         * libio/stdio.h: Likewise.
44364         * posix/spawn.h: Likewise.
44365         * posix/unistd.h: Likewise.
44366         * stdlib/stdlib.h: Likewise.
44367         * time/time.h: Likewise.
44368         * wcsmbs/wchar.h: Likewise.
44369
44370         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44371         open_by_handle): Add.
44372         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44373         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44374         Augment a few comments.
44375         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44377         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44378         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44380         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44381         open_by_handle.
44382
44383         * io/fcntl.h (AT_EMPTY_PATH): Define.
44384
44385 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44386
44387         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44388         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44389         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44390         to...
44391         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44392         * Versions.def: Add GLIBC_2.14.
44393         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44394         Export.
44395
44396 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44397
44398         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44399         round counter.
44400         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44401
44402 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44403
44404         [BZ #12597]
44405         * string/test-strncmp.c (do_page_test): New function.
44406         (check2): Likewise.
44407         (test_main): Call check2.
44408         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44409
44410 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44411
44412         [BZ #12587]
44413         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44414         Handle cache information in CPU leaf 4.
44415         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44416
44417 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44418
44419         [BZ #12583]
44420         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44421         character representation.
44422         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44423
44424 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44425
44426         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44427         END(__isnan) to END(__isnanf) to match function entry point/label
44428         EALIGN(__isnanf,...).
44429
44430 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44431
44432         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44433
44434 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44435
44436         [BZ #12510]
44437         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44438         copy from the symbol referenced in the relocation to initialize the
44439         used variable.
44440         Patch by Piotr Bury <pbury@goahead.com>.
44441         * elf/Makefile: Add rules to build and tst-unique3.
44442         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44443         * elf/tst-unique3.cc: New file.
44444         * elf/tst-unique3.h: New file.
44445         * elf/tst-unique3lib.cc: New file.
44446         * elf/tst-unique3lib2.cc: New file.
44447
44448         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44449
44450 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44451
44452         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44453         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44454         to _start.
44455
44456 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44457
44458         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44459         to-be-loaded object along a path to loader is ld.so.
44460
44461 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44462             Ulrich Drepper  <drepper@gmail.com>
44463
44464         * sysdeps/x86_64/memset.S: After aligning destination, code
44465         branches to different locations depending on the value of
44466         misalignment, when multiarch is enabled. Fix this.
44467
44468 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44469
44470         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44471         Set _x86_64_preferred_memory_instruction for AMD processsors.
44472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44473         Set bit_Prefer_SSE_for_memop for AMD processors.
44474
44475 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44476
44477         * libio/fmemopen.c (fmemopen): Optimize a bit.
44478
44479 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44480
44481         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44482
44483 2011-03-03  Roland McGrath  <roland@redhat.com>
44484
44485         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44486
44487 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44488
44489         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44490         __bzero_ultra1 instead of __memset_ultra1.
44491
44492 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44493             Ulrich Drepper  <drepper@gmail.com>
44494
44495         [BZ #12509]
44496         * include/link.h (struct link_map): Add l_orig_initfini.
44497         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44498         returning unsuccessfully.
44499         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44500         close of a file loaded at startup, restore the original l_initfini
44501         list.
44502         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44503         list, store the pointer.
44504         * elf/Makefile ($(objpfx)noload-mem): New rule.
44505         (noload-ENV): Define.
44506         (tests): Add $(objpfx)noload-mem.
44507         * elf/noload.c: Include <memcheck.h>.
44508         (main): Call mtrace.  Close all opened handles.
44509
44510 2011-02-17  Andreas Schwab  <schwab@redhat.com>
44511
44512         [BZ #12454]
44513         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44514         dependencies are missing.
44515
44516 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44517
44518         Fix __if_freereq crash: Unlike the generic version which uses free,
44519         Hurd needs munmap.
44520         * sysdeps/mach/hurd/ifreq.h: New file.
44521
44522 2011-01-27  Petr Baudis  <pasky@suse.cz>
44523             Ulrich Drepper  <drepper@gmail.com>
44524
44525         [BZ 12445]#
44526         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44527         to extend_alloca().
44528         * stdio-common/bug23.c: New file.
44529         * stdio-common/Makefile (tests): Add bug23.
44530
44531 2010-09-28  Andreas Schwab  <schwab@redhat.com>
44532             Ulrich Drepper  <drepper@gmail.com>
44533
44534         [BZ #12489]
44535         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44536         before performing relro protection.  At old place add assertion
44537         to make sure nothing changed.
44538
44539 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
44540             Glauber de Oliveira Costa  <glommer@gmail.com>
44541
44542         * elf/elf.h: Add new ARM TLS relocs.
44543
44544 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
44545
44546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44547         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44548         cast from r3.
44549         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
44550         'tests' variable.
44551         * sysdeps/wordsize-64/tst-writev.c: New file.
44552
44553 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
44554
44555         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44556         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44557         insns in _dl_start to prevent a TOC reference before relocs are
44558         resolved.
44559
44560 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
44561
44562         [BZ #12469]
44563         * Makeconfig: Remove RANLIB definition.
44564         * Makerules: Don't use RANLIB.
44565         * aclocal.m4: Remove ranlib test.
44566         * configure.in: No need to check for ranlib.
44567         * elf/rtld-Rules: Don't use RANLIB.
44568
44569 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44570
44571         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44572         protection macro.
44573         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44574         inclusion protection macro.
44575
44576         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44577         SIGRTMIN and SIGRTMAX and print information in that case only when
44578         SIGRTMIN is defined.
44579
44580 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
44581
44582         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44583         arginfo fn returning -1.
44584
44585         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44586         and thousands string is zero terminated.
44587
44588 2011-02-03  Andreas Schwab  <schwab@redhat.com>
44589
44590         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44591         sysdeps/unix/sysv/linux/bits/socket.h.
44592
44593 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44594
44595         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44596         (__CPU_COUNT): Remove old macros.
44597         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44598         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44599         (__CPU_ALLOC, __CPU_FREE): Add macros.
44600         (__sched_cpualloc, __sched_cpufree): Add declarations.
44601
44602 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
44603
44604         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44605         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44606         * nscd/aicache.c (addhstaiX): Return timeout of added value.
44607         (readdhstai): Return value of addhstaiX call.
44608         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44609         (addgrbyX): Return value returned by cache_addgr.
44610         (readdgrbyname): Return value returned by addgrbyX.
44611         (readdgrbygid): Likewise.
44612         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44613         (addpwbyX): Return value returned by cache_addpw.
44614         (readdpwbyname): Return value returned by addhstbyX.
44615         (readdpwbyuid): Likewise.
44616         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44617         (addservbyX): Return value returned by cache_addserv.
44618         (readdservbyname): Return value returned by addservbyX:
44619         (readdservbyport): Likewise.
44620         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44621         (addhstbyX): Return value returned by cache_addhst.
44622         (readdhstbyname): Return value returned by addhstbyX.
44623         (readdhstbyaddr): Likewise.
44624         (readdhstbynamev6): Likewise.
44625         (readdhstbyaddrv6): Likewise.
44626         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44627         (readdinitgroups): Return value returned by addinitgroupsX.
44628         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44629         (prune_cache): Keep track of timeout value of re-added entries.
44630         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44631         * nscd/nscd.h: Adjust prototypes of readd* functions.
44632
44633 2011-02-04  Roland McGrath  <roland@redhat.com>
44634
44635         * nis/nis_server.c (nis_servstate): Use the right name for 0.
44636         (nis_stats): Likewise.
44637         * nis/nis_modify.c (nis_modify): Likewise.
44638         * nis/nis_remove.c (nis_remove): Likewise.
44639         * nis/nis_add.c (nis_add): Likewise.
44640
44641         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44642
44643         * posix/fnmatch_loop.c: Add some consts.
44644
44645         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44646
44647 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
44648
44649         [BZ #12460]
44650         * config.make.in (config-cflags-novzeroupper): Define.
44651         * configure.in: Substitute libc_cv_cc_novzeroupper.
44652         * elf/Makefile (AVX-CFLAGS): Define.
44653         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44654         (CFLAGS-tst-auditmod4a.c): Likewise.
44655         (CFLAGS-tst-auditmod4b.c): Likewise.
44656         (CFLAGS-tst-auditmod6b.c): Likewise.
44657         (CFLAGS-tst-auditmod6c.c): Likewise.
44658         (CFLAGS-tst-auditmod7b.c): Likewise.
44659         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44660
44661 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
44662
44663         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44664         function to the callback.
44665         Patch partly by Jiri Olsa <jolsa@redhat.com>.
44666
44667 2011-02-02  Andreas Schwab  <schwab@redhat.com>
44668
44669         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44670         of errno.
44671
44672 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
44673
44674         [BZ #11724]
44675         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44676         of constructors.
44677         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44678         of destructors.
44679         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44680
44681         [BZ #11724]
44682         * elf/Makefile: Add rules to build and run new test.
44683         * elf/tst-initorder.c: New file.
44684         * elf/tst-initorder.exp: New file.
44685         * elf/tst-initordera1.c: New file.
44686         * elf/tst-initordera2.c: New file.
44687         * elf/tst-initordera3.c: New file.
44688         * elf/tst-initordera4.c: New file.
44689         * elf/tst-initorderb1.c: New file.
44690         * elf/tst-initorderb2.c: New file.
44691         * elf/tst-order-a1.c: New file.
44692         * elf/tst-order-a2.c: New file.
44693         * elf/tst-order-a3.c: New file.
44694         * elf/tst-order-a4.c: New file.
44695         * elf/tst-order-b1.c: New file.
44696         * elf/tst-order-b2.c: New file.
44697         * elf/tst-order-main.c: New file.
44698         New test case by George Gensure <werkt0@gmail.com>.
44699
44700 2010-10-01  Andreas Schwab  <schwab@redhat.com>
44701
44702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44703         decoding ACE if AI_CANONIDN.
44704
44705 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
44706
44707         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44708
44709 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
44710
44711         * version.h (RELEASE): Bump for 2.13 release.
44712         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44713
44714         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44715
44716         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44717         MADV_NOHUGEPAGE.
44718         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44719         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44720         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44721         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44722         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44723         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44724
44725         * posix/getconf.c: Update copyright year.
44726         * catgets/gencat.c: Likewise.
44727         * csu/version.c: Likewise.
44728         * debug/catchsegv.sh: Likewise.
44729         * debug/xtrace.sh: Likewise.
44730         * elf/ldconfig.c: Likewise.
44731         * elf/ldd.bash.in: Likewise.
44732         * elf/sprof.c (print_version): Likewise.
44733         * iconv/iconv_prog.c: Likewise.
44734         * iconv/iconvconfig.c: Likewise.
44735         * locale/programs/locale.c: Likewise.
44736         * locale/programs/localedef.c: Likewise.
44737         * malloc/memusage.sh: Likewise.
44738         * malloc/mtrace.pl: Likewise.
44739         * nscd/nscd.c (print_version): Likewise.
44740         * nss/getent.c: Likewise.
44741
44742         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44743         PF_CAIF, and PF_ALG.
44744         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44745
44746 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
44747
44748         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44749         (modules-names): Use them.
44750         (ifunc-test-modules, ifunc-pie-tests): Define.
44751         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44752         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44753         (test-extras): Likewise.
44754         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44755         $(compile-command.c).
44756         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44757         (all-built-dso): Define.
44758         (check-textrel.out, check-execstack.out): Depend on it.
44759
44760         * configure.in: Don't override --enable-multi-arch.
44761
44762 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
44763
44764         [BZ #6812]
44765         * nscd/hstcache.c (tryagain): Define.
44766         (cache_addhst): Return tryagain not notfound for temporary errors.
44767         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44768         failed.
44769
44770 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
44771
44772         [BZ #10563]
44773         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44774         to make the syscall.
44775         * sysdeps/unix/sysv/linux/setgroups.c: New file.
44776
44777         [BZ #12378]
44778         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44779         and fall back to matching as normal character if the string ends before
44780         the matching ']' is found.  This is what POSIX requires.
44781         * posix/testfnm.c: Adjust test result.
44782         * posix/globtest.sh: Adjust test result.  Add new test.
44783         * posix/tst-fnmatch.input: Likewise.
44784         * posix/tst-fnmatch2.c: Add new test.
44785
44786 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
44787
44788         * elf/Makefile (check-execstack): Revert last change.  Depend on
44789         check-execstack.h.
44790         (check-execstack.h): New target.
44791         (generated): Add check-execstack.h.
44792         * elf/check-execstack.c: Include "check-execstack.h".
44793         (main): Revert last change.
44794         (handle_file): Return zero if GNU_STACK is absent and
44795         DEFAULT_STACK_PERMS doesn't include PF_X.
44796
44797 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
44798
44799         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44800         in child fails because the descriptor is already closed.
44801         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44802         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44803         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44804
44805         [BZ #12397]
44806         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44807         syscall.
44808
44809         [BZ #10484]
44810         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44811         temporary buffer used to handle multi lookups locally.
44812         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44813
44814 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44815
44816         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44817         loader is ld.so.
44818
44819 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
44820
44821         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44822         alignment for SSE2.
44823
44824 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
44825
44826         [BZ #12394]
44827         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44828         characters.  When rounding increased number of integer digits recompute
44829         number of groups.
44830         * stdio-common/tst-grouping.c: New file.
44831         * stdio-common/Makefile: Add rules to build and run tst-grouping.
44832
44833 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
44834
44835         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44836         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
44837
44838         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44839         void.
44840         * bits/select.h: Likewise.
44841
44842 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
44843
44844         * po/ja.po: Update from translation team.
44845
44846 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
44847
44848         [BZ #11155]
44849         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44850         implementation just like for lxstat, fxstatat, et al.
44851
44852 2010-12-27  Jim Meyering  <meyering@redhat.com>
44853
44854         [BZ #12348]
44855         * posix/regexec.c (build_trtable): Return failure indication upon
44856         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
44857
44858 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
44859
44860         [BZ #12201]
44861         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44862         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44863         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44864         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44865
44866         [BZ #12207]
44867         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44868
44869         [BZ #12204]
44870         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44871         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44872
44873 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
44874
44875         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44876         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44877         script has SORT_BY_INIT_PRIORITY.
44878         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44879         NO_CTORS_DTORS_SECTIONS is defined.
44880         * elf/soinit.c: Likewise.
44881         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44882         NO_CTORS_DTORS_SECTIONS is defined.
44883         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44884         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44885         * sysdeps/sh/init-first.c: Likewise.
44886         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44887
44888 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
44889
44890         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44891         always use the slow path.
44892
44893 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
44894
44895         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44896         similar rule which adds the sysdep directories to the header search in
44897         order to pick up the correct platform stackinfo.h.
44898         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44899         perform test if it is, otherwise return successfully without testing.
44900         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44901         DEFAULT_STACK_PERMS define in stackinfo.h.
44902         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44903         defined in stackinfo.h.
44904         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44905         DEFAULT_STACK_PERMS defined in stackinfo.h.
44906         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44907         * sysdeps/ia64/stackinfo.h: Likewise.
44908         * sysdeps/s390/stackinfo.h: Likewise.
44909         * sysdeps/sh/stackinfo.h: Likewise.
44910         * sysdeps/sparc/stackinfo.h: Likewise.
44911         * sysdeps/x86_64/stackinfo.h: Likewise.
44912         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44913         PF_X for powerpc64.  Retain PF_X for powerpc32.
44914
44915 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
44916
44917         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44918         accurately.
44919         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44920         GETDENTS_64BIT_ALIGNED.
44921
44922 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
44923
44924         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44925
44926 2010-12-10  Andreas Schwab  <schwab@redhat.com>
44927
44928         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44929         _GNU_SOURCE.
44930
44931         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44932         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44933         Remove __restrict.
44934         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44935         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44936
44937 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
44938
44939         [BZ #11655]
44940         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44941         are initialized.
44942
44943 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
44944
44945         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44946
44947 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
44948
44949         * po/it.po: Update from translation team.
44950
44951 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
44952
44953         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44954         unused codes.
44955
44956 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
44957
44958         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44959
44960 2010-11-24  Andreas Schwab  <schwab@redhat.com>
44961
44962         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44963         specially.
44964         (gaih_getanswer_slice): Likewise.
44965
44966 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
44967
44968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44969
44970 2010-05-31  Petr Baudis  <pasky@suse.cz>
44971
44972         [BZ #11149]
44973         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44974         silently even in the chroot mode.
44975
44976 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
44977
44978         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44979         last patch a bit.  Pretty printing
44980
44981 2010-05-31  Petr Baudis <pasky@suse.cz>
44982
44983         [BZ #10085]
44984         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44985         initialization of skip_initgroups_dyn.
44986
44987 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
44988
44989         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44990         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44991
44992 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
44993
44994         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44995
44996 2010-11-11  Andreas Schwab  <schwab@redhat.com>
44997
44998         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44999         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45000         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45001         ($(objpfx)tst-fnmatch-mem): New rule.
45002         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45003         * posix/tst-fnmatch.c (main): Call mtrace.
45004
45005 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45006
45007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45008         Support Intel processor model 6 and model 0x2c.
45009
45010 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45011
45012         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45013           signed comparison.
45014
45015 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45016
45017         [BZ #12205]
45018         * string/test-strncasecmp.c (check_result): New function.
45019         (do_one_test): Use it.
45020         (check1): New function.
45021         (test_main): Use it.
45022         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45023         Support strcasecmp and strncasecmp.
45024
45025 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45026
45027         [BZ #12194]
45028         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45029         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45030
45031 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45032
45033         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45034         IFUNC support.
45035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45036         memset-x86-64.
45037         * sysdeps/x86_64/multiarch/bzero.S: New file.
45038         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45039         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45040         * sysdeps/x86_64/multiarch/memset.S: New file.
45041         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45043         Set bit_Prefer_SSE_for_memop for Intel processors.
45044         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45045         Define.
45046         (index_Prefer_SSE_for_memop): Define.
45047         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45048
45049 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45050
45051         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45052         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45053
45054 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45055
45056         [BZ #12191]
45057         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45058         (__x86_64_raw_data_cache_size_half): Likewise.
45059         (__x86_64_raw_shared_cache_size): Likewise.
45060         (__x86_64_raw_shared_cache_size_half): Likewise.
45061
45062         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45063         (__x86_64_raw_data_cache_size_half): Likewise.
45064         (__x86_64_raw_shared_cache_size): Likewise.
45065         (__x86_64_raw_shared_cache_size_half): Likewise.
45066         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45067         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45068         and __x86_64_raw_shared_cache_size_half.  Round
45069         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45070         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45071         to multiple of 256 bytes.
45072
45073 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45074
45075         [BZ #12167]
45076         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45077         of inacessible symlinks.  Verify result of symlink before returning it.
45078         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45079         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45080
45081 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45082
45083         * math/math.h (isinf): Fix typo in comment.
45084
45085 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45086
45087         * po/da.po: Update from translation team.
45088
45089 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45090
45091         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45092         is added to the list.
45093
45094 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45095             Ulrich Drepper  <drepper@gmail.com>
45096
45097         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45098         the global list here.  Move code to...
45099         (_dl_add_to_namespace_list): ...here.  New function.
45100         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45101         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45102         * elf/dl-load.c (lose): Don't remove the element from the list.
45103         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45104         (_dl_map_object): Likewise.
45105
45106 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45107
45108         [BZ #12159]
45109         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45110         into all bytes of SSE register.
45111         Patch by Richard Li <richardpku@gmail.com>.
45112
45113 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45114
45115         [BZ #12140]
45116         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45117         perturbing.
45118
45119 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45120
45121         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45122         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45123         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45124         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45126         submachine.
45127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45128
45129 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45130
45131         * include/dlfcn.h (__RTLD_SECURE): Define.
45132         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45133         mode & __RTLD_SECURE instead.
45134         (open_path): Rename preloaded parameter to secure.
45135         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45136         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45137         * elf/dl-deps.c (openaux): Likewise.
45138         * elf/rtld.c (struct map_args): Remove is_preloaded.
45139         (map_doit): Don't use it.
45140         (dl_main): Likewise.
45141         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45142         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45143
45144 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45145
45146         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45147         (sysd-rules-targets): Remove duplicates.
45148         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45149         rtld-%.$o dependency.
45150
45151 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45152
45153         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45154         _dl_map_object do it.
45155
45156 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45157
45158         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45159         fast fma builtins, define the macros in the C99 standard.
45160         (FP_FAST_FMAF): Likewise.
45161         (FP_FAST_FMAL): Likewise.
45162         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45163
45164         * bits/mathdef.h: Update copyright year.
45165         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45166
45167 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45168
45169         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45170         builtins, define the macros in the C99 standard.
45171         (FP_FAST_FMAF): Likewise.
45172         (FP_FAST_FMAL): Likewise.
45173         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45174         multiply/add.
45175         (FP_FAST_FMAF): Likewise.
45176
45177 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45178
45179         [BZ #3268]
45180         * math/libm-test.inc (fma_test): Some new testcases.
45181         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45182         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45183         y and infinite z.  Do multiplication by C already in long double.
45184         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45186         y and infinite z.  Do bitwise or of inexact bit into u.d.
45187         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45188         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45189         * sysdeps/i386/fpu/s_fma.S: Removed.
45190         * sysdeps/i386/fpu/s_fmal.S: Removed.
45191
45192 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45193
45194         [BZ #3268]
45195         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45197         computation is not scheduled after fetestexcept.  Fix value
45198         of minimum denormal long double.
45199
45200 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45201
45202         [BZ #3268]
45203         * math/libm-test.inc (fma_test): Add some more tests.
45204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45205         correctly.
45206
45207 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45208
45209         * scripts/data/localplt-s390-linux-gnu.data: New file.
45210         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45211
45212 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45213
45214         [BZ #3268]
45215         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45216         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45217         instead of dbl-64.
45218         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45219         inlines.
45220         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45221         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45222         if one of x and y is very large and the other is subnormal.
45223         * sysdeps/s390/fpu/s_fmaf.c: New file.
45224         * sysdeps/s390/fpu/s_fma.c: New file.
45225         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45226         * sysdeps/powerpc/fpu/s_fma.S: New file.
45227         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45228         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45229         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45230
45231 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45232
45233         [BZ #3268]
45234         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45235         fma tests.
45236         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45237         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45238         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45239         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45240         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45241         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45242         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45243
45244 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45245
45246         [BZ #12078]
45247         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45248         * posix/bug-regex31.input: Add test case.
45249
45250 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45251
45252         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45253         * posix/bug-regex31.input: New file.
45254
45255         [BZ #12078]
45256         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45257         (parse_sub_exp): Fix last change, use postorder.
45258
45259         * posix/bug-regex31.c: New file.
45260         * posix/Makefile: Add rules to build and run bug-regex31.
45261
45262         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45263
45264         [BZ #12078]
45265         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45266
45267         [BZ #12108]
45268         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45269         to have entries in sys_siglist.
45270
45271         [BZ #12093]
45272         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45273         be NULL.
45274
45275 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45276
45277         [BZ #3268]
45278         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45279         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45280         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45281         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45282         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45283         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45284         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45285         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45286         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45287         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45288         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45289         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45290         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45291         * math/ftestexcept.c (fetestexcept): Likewise.
45292         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45293         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45294         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45295         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45296         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45297         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45298         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45299
45300 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45301
45302         [BZ #12107]
45303         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45304         newline.
45305
45306 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45307
45308         * string/bug-strstr1.c: New file.
45309         * string/Makefile: Add rules to build and run bug-strstr1.
45310
45311 2010-10-05  Eric Blake  <eblake@redhat.com>
45312
45313         [BZ #12092]
45314         * string/str-two-way.h (two_way_long_needle): Always clear memory
45315         when skipping input due to the shift table.
45316
45317 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45318
45319         [BZ #12005]
45320         * malloc/mcheck.c: Handle large requests.
45321
45322         [BZ #12077]
45323         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45324         for strncmp and strncasecmp.
45325         * string/stratcliff.c: Add tests for strcmp and strncmp.
45326         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45327
45328 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45329
45330         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45331         __set_fpscr.
45332
45333 2010-09-30  Andreas Jaeger  <aj@suse.de>
45334
45335         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45336         (CGROUP_SUPER_MAGIC): Define.
45337         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45338         Handle btrfs and cgroup file systems.
45339         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45340         Likewise.
45341
45342 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45343
45344         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45345         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45346
45347 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45348
45349         [BZ #12067]
45350         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45351         trying to locate the ELF header.
45352
45353 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45354
45355         [BZ #11611]
45356         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45357         Mask out sign-bit copies when constructing f_fsid.
45358
45359 2010-09-24  Petr Baudis <pasky@suse.cz>
45360
45361         * debug/stack_chk_fail_local.c: Add missing licence exception.
45362         * debug/warning-nop.c: Likewise.
45363
45364 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45365
45366         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45367         implementing getdents64 using getdents syscall, set d_type if
45368         __ASSUME_GETDENTS32_D_TYPE.
45369
45370 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45371
45372         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45373         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45374
45375 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45376
45377         [BZ #12037]
45378         * posix/unistd.h: Undo change of feature selection for ftruncate from
45379         2010-01-11.
45380
45381 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45382
45383         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45384         detection.
45385
45386 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45387
45388         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45389         fanotify_mark.
45390         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45391
45392 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45393
45394         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45395         variables after CHECK_SP call.
45396         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45397
45398 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45399             Ulrich Drepper  <drepper@redhat.com>
45400
45401         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45402         re-relocationg ld.so.
45403         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45404         _dl_init_paths call.
45405         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45406         here anymore.
45407
45408 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45409
45410         * resolv/res_init.c (__res_vinit): Count the default server we added.
45411
45412 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45413             Ulrich Drepper  <drepper@redhat.com>
45414
45415         [BZ #11968]
45416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45417         (____longjmp_chk): Use %ebx for saving value across system call.
45418         Add unwind info.
45419
45420 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45421
45422         * manual/Makefile: Don't mix pattern rules with normal rules.
45423
45424 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45425
45426         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45427         operation.
45428         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45429         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45430         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45431         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45432         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45433         Likewise.
45434
45435 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45436
45437         [BZ #11979]
45438         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45439         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45440
45441 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45442
45443         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45444         * sysdeps/x86_64/addmul_1.S: Likewise.
45445         * sysdeps/x86_64/lshift.S: Likewise.
45446         * sysdeps/x86_64/mul_1.S: Likewise.
45447         * sysdeps/x86_64/rshift.S: Likewise.
45448         * sysdeps/x86_64/sub_n.S: Likewise.
45449         * sysdeps/x86_64/submul_1.S: Likewise.
45450
45451 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45452
45453         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45454         Define __sched_param instead of SCHED_* and sched_param when
45455         <bits/sched.h> is included with __need_schedparam defined.
45456         * bits/sched.h [__need_schedparam]
45457         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45458         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45459         (__defined_schedparam): Define to 1.
45460         (__sched_param): New structure, identical to sched_param.
45461         (__need_schedparam): Undefine.
45462
45463 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45464
45465         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45466         (epoll_create1): Declare.
45467
45468         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45469
45470 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45471
45472         [BZ #7066]
45473         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45474         shifting retval into place.
45475
45476 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45477
45478         * nis/rpcsvc/nis.h: Update copyright notice.
45479         * nis/rpcsvc/nis.x: Likewise.
45480         * nis/rpcsvc/nis_callback.h: Likewise.
45481         * nis/rpcsvc/nis_callback.x: Likewise.
45482         * nis/rpcsvc/nis_object.x: Likewise.
45483         * nis/rpcsvc/nis_tags.h: Likewise.
45484         * nis/rpcsvc/yp.h: Likewise.
45485         * nis/rpcsvc/yp.x: Likewise.
45486         * nis/rpcsvc/ypupd.h: Likewise.
45487         * nis/yp_xdr.c: Likewise.
45488         * nis/ypupdate_xdr.c: Likewise.
45489
45490         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45491         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45492         (pmap_getport): Use __libc_rpc_getport.
45493         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45494         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45495         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45496
45497 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45498
45499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45500         fanotify_mark.
45501
45502 2010-08-27  Roland McGrath  <roland@redhat.com>
45503
45504         * sysdeps/i386/i686/multiarch/Makefile
45505         (CFLAGS-varshift.c): New variable.
45506
45507 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
45508
45509         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45510         * sysdeps/i386/i686/multiarch/varshift.c: New file.
45511
45512         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45513
45514         * sysdeps/x86_64/strlen.S: Minimal code improvement.
45515
45516 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
45517
45518         * sysdeps/x86_64/strlen.S: Unroll the loop.
45519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45520         strlen-sse2 strlen-sse2-bsf.
45521         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45522         __strlen_no_bsf if bit_Slow_BSF is set.
45523         (__strlen_sse42): Removed.
45524         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45525         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45526
45527 2010-08-25  Roland McGrath  <roland@redhat.com>
45528
45529         * sysdeps/x86_64/multiarch/varshift.S: File removed.
45530         * sysdeps/x86_64/multiarch/varshift.c: New file.
45531         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45532         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45533         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45534         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45535
45536 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
45537
45538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45539         strlen-sse2 strlen-sse2-bsf.
45540         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45541         __strlen_sse2_bsf if bit_Slow_BSF is unset.
45542         (__strlen_sse2): Removed.
45543         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45544         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45545         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45546         bit_Slow_BSF for Atom.
45547         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45548         (index_Slow_BSF): Define.
45549         (HAS_SLOW_BSF): Define.
45550
45551 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
45552
45553         [BZ #10851]
45554         * resolv/res_init.c (__res_vinit): When no server address at all
45555         is given default to loopback.
45556
45557 2010-08-24  Roland McGrath  <roland@redhat.com>
45558
45559         * configure.in: Remove config-name.h generation.
45560         * configure: Regenerated.
45561         * config-name.in: File removed.
45562         * scripts/config-uname.sh: New file.
45563         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45564         ($(objdir)config-name.h): New target.
45565
45566         * sunrpc/rpc_parse.h: Avoid nested comment.
45567
45568 2010-08-24  Richard Henderson  <rth@redhat.com>
45569             Ulrich Drepper  <drepper@redhat.com>
45570             H.J. Lu  <hongjiu.lu@intel.com>
45571
45572         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45574         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45575         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
45576         _mm_alignr_epi8 with _mm_loadu_si128.
45577         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45578         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45579         (__m128i_shift_right): Removed.
45580         * sysdeps/i386/i686/multiarch/varshift.h: New file.
45581         * sysdeps/i386/i686/multiarch/varshift.S: New file.
45582         * sysdeps/x86_64/multiarch/varshift.h: New file.
45583         * sysdeps/x86_64/multiarch/varshift.S: New file.
45584
45585 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
45586
45587         * configure.in: Move assembler checks to before sysdep dir checking.
45588
45589 2010-08-20  Petr Baudis  <pasky@suse.cz>
45590
45591         * LICENSES: Sync the sunrpc license.
45592
45593 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
45594
45595         * sunrpc/auth_des.c: Update copyright notice once again.
45596         * sunrpc/auth_none.c: Likewise.
45597         * sunrpc/auth_unix.c: Likewise.
45598         * sunrpc/authdes_prot.c: Likewise.
45599         * sunrpc/authuxprot.c: Likewise.
45600         * sunrpc/bindrsvprt.c: Likewise.
45601         * sunrpc/clnt_gen.c: Likewise.
45602         * sunrpc/clnt_perr.c: Likewise.
45603         * sunrpc/clnt_raw.c: Likewise.
45604         * sunrpc/clnt_simp.c: Likewise.
45605         * sunrpc/clnt_tcp.c: Likewise.
45606         * sunrpc/clnt_udp.c: Likewise.
45607         * sunrpc/clnt_unix.c: Likewise.
45608         * sunrpc/des_crypt.c: Likewise.
45609         * sunrpc/des_soft.c: Likewise.
45610         * sunrpc/get_myaddr.c: Likewise.
45611         * sunrpc/getrpcport.c: Likewise.
45612         * sunrpc/key_call.c: Likewise.
45613         * sunrpc/key_prot.c: Likewise.
45614         * sunrpc/openchild.c: Likewise.
45615         * sunrpc/pm_getmaps.c: Likewise.
45616         * sunrpc/pm_getport.c: Likewise.
45617         * sunrpc/pmap_clnt.c: Likewise.
45618         * sunrpc/pmap_prot.c: Likewise.
45619         * sunrpc/pmap_prot2.c: Likewise.
45620         * sunrpc/pmap_rmt.c: Likewise.
45621         * sunrpc/rpc/auth.h: Likewise.
45622         * sunrpc/rpc/auth_unix.h: Likewise.
45623         * sunrpc/rpc/clnt.h: Likewise.
45624         * sunrpc/rpc/des_crypt.h: Likewise.
45625         * sunrpc/rpc/key_prot.h: Likewise.
45626         * sunrpc/rpc/netdb.h: Likewise.
45627         * sunrpc/rpc/pmap_clnt.h: Likewise.
45628         * sunrpc/rpc/pmap_prot.h: Likewise.
45629         * sunrpc/rpc/pmap_rmt.h: Likewise.
45630         * sunrpc/rpc/rpc.h: Likewise.
45631         * sunrpc/rpc/rpc_des.h: Likewise.
45632         * sunrpc/rpc/rpc_msg.h: Likewise.
45633         * sunrpc/rpc/svc.h: Likewise.
45634         * sunrpc/rpc/svc_auth.h: Likewise.
45635         * sunrpc/rpc/types.h: Likewise.
45636         * sunrpc/rpc/xdr.h: Likewise.
45637         * sunrpc/rpc_clntout.c: Likewise.
45638         * sunrpc/rpc_cmsg.c: Likewise.
45639         * sunrpc/rpc_common.c: Likewise.
45640         * sunrpc/rpc_cout.c: Likewise.
45641         * sunrpc/rpc_dtable.c: Likewise.
45642         * sunrpc/rpc_hout.c: Likewise.
45643         * sunrpc/rpc_main.c: Likewise.
45644         * sunrpc/rpc_parse.c: Likewise.
45645         * sunrpc/rpc_parse.h: Likewise.
45646         * sunrpc/rpc_prot.c: Likewise.
45647         * sunrpc/rpc_sample.c: Likewise.
45648         * sunrpc/rpc_scan.c: Likewise.
45649         * sunrpc/rpc_scan.h: Likewise.
45650         * sunrpc/rpc_svcout.c: Likewise.
45651         * sunrpc/rpc_tblout.c: Likewise.
45652         * sunrpc/rpc_util.c: Likewise.
45653         * sunrpc/rpc_util.h: Likewise.
45654         * sunrpc/rpcinfo.c: Likewise.
45655         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45656         * sunrpc/rpcsvc/key_prot.x: Likewise.
45657         * sunrpc/rpcsvc/klm_prot.x: Likewise.
45658         * sunrpc/rpcsvc/mount.x: Likewise.
45659         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45660         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45661         * sunrpc/rpcsvc/rex.x: Likewise.
45662         * sunrpc/rpcsvc/rstat.x: Likewise.
45663         * sunrpc/rpcsvc/rusers.x: Likewise.
45664         * sunrpc/rpcsvc/sm_inter.x: Likewise.
45665         * sunrpc/rpcsvc/spray.x: Likewise.
45666         * sunrpc/rpcsvc/yppasswd.x: Likewise.
45667         * sunrpc/rtime.c: Likewise.
45668         * sunrpc/svc.c: Likewise.
45669         * sunrpc/svc_auth.c: Likewise.
45670         * sunrpc/svc_authux.c: Likewise.
45671         * sunrpc/svc_raw.c: Likewise.
45672         * sunrpc/svc_run.c: Likewise.
45673         * sunrpc/svc_simple.c: Likewise.
45674         * sunrpc/svc_tcp.c: Likewise.
45675         * sunrpc/svc_udp.c: Likewise.
45676         * sunrpc/svc_unix.c: Likewise.
45677         * sunrpc/svcauth_des.c: Likewise.
45678         * sunrpc/xcrypt.c: Likewise.
45679         * sunrpc/xdr.c: Likewise.
45680         * sunrpc/xdr_array.c: Likewise.
45681         * sunrpc/xdr_float.c: Likewise.
45682         * sunrpc/xdr_mem.c: Likewise.
45683         * sunrpc/xdr_rec.c: Likewise.
45684         * sunrpc/xdr_ref.c: Likewise.
45685         * sunrpc/xdr_sizeof.c: Likewise.
45686         * sunrpc/xdr_stdio.c: Likewise.
45687
45688         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45689         handling.
45690
45691 2010-08-19  Andreas Schwab  <schwab@redhat.com>
45692
45693         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45694
45695 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
45696
45697         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45698         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45699         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45700         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45701         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45702         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45703         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45704         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45705         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45706         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45707         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45708         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45709         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45710         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45711
45712 2010-07-26  Anton Blanchard  <anton@samba.org>
45713
45714         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45715         * malloc/arena.c (heap_trim): Likewise.
45716
45717 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
45718
45719         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45720         here.  Not...
45721         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45722         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45723
45724 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45725
45726         * sysdeps/i386/elf/Makefile: New file.
45727
45728 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45729
45730         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45731         from fanotify_init.
45732         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45734
45735 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
45736
45737         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45738         of strncasecmp_l.
45739         * sysdeps/multiarch/strcmp.S: Likewise.
45740
45741 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
45742
45743         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45744         strncase_l-nonascii.
45745         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45746         Add strncase_l-ssse3.
45747         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45748         * sysdeps/x86_64/strcmp.S: Likewise.
45749         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45750         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45751         * sysdeps/x86_64/strncase.S: New file.
45752         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45753         * sysdeps/x86_64/strncase_l.S: New file.
45754         * string/Makefile (strop-tests): Add strncasecmp.
45755         * string/test-strncasecmp.c: New file.
45756
45757         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45758         warning.
45759
45760         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45761         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45762
45763 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
45764
45765         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45766
45767 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
45768
45769         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45770         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45771         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45772
45773 2010-05-01  Alan Modra  <amodra@gmail.com>
45774
45775         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45776         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45777         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45778         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45779         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45780         tidying.  Don't tail-call __sigjmp_save for static lib.
45781         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45782         save location.
45783         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45784         (CALL_MCOUNT): Add eh info, and nop after bl.
45785         (TAIL_CALL_SYSCALL_ERROR): New macro.
45786         (PSEUDO_RET): Use it.
45787         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45788         Correct save location of integer regs and cr.
45789         (_dl_profile_resolve): Correct cr save location.  Delete nops
45790         after bl when SHARED.  Reduce cfi size a little by better
45791         placement of cfi directives.
45792         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45793         make a stack frame.  Instead use parm save area as a temp.
45794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45795         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
45796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45797         Don't make a stack frame for parent, use parm save area.
45798         Increase child stack frame to 112 bytes.  Don't save unused reg,
45799         and adjust reg usage.  Set up cfi on error recovery and
45800         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45802         (__makecontext): Add dummy nop after jump to exit.
45803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45804         Use correct parm save area and cr save, reduce stack frame.
45805         Correct cfi for possible PSEUDO_RET frame setup.
45806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45807         Branch to local label emitted by PSEUDO_RET rather than
45808         __syscall_error.
45809
45810 2010-08-12  Andreas Schwab  <schwab@redhat.com>
45811
45812         [BZ #11904]
45813         * locale/programs/locale.c (print_assignment): New function.
45814         (show_locale_vars): Use it.
45815
45816 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
45817
45818         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45819         field.
45820         (struct statfs64): Likewise.
45821         (_STATFS_F_FLAGS): Define.
45822         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45823         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45824         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45825         (ST_VALID): Define locally.
45826         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45827         __statvfs_getflags, use the provided value.
45828         * sysdeps/unix/sysv/linux/kernel-features.h: Define
45829         __ASSUME_STATFS_F_FLAGS.
45830
45831         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45832
45833         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45834         Add sys/fanotify.h.
45835         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45836         fanotify_mask for GLIBC_2.13.
45837         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45838         fanotify_init and fanotify_mark.
45839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45840         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45841
45842         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45843         Add prlimit.
45844         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45845         prlimit64 for GLIBC_2.13.
45846         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45847         prlimit64.
45848         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45849         syscall.
45850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45852         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45853         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
45855         add prlimit alias.
45856         * sysdeps/unix/sysv/linux/prlimit.c: New file.
45857
45858         [BZ #11903]
45859         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45860         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45861
45862         * nss/Makefile: Add rules to build and run tst-nss-test1.
45863         * shlib-versions: Add entry for libnss_test1.
45864         * nss/nss_test1.c: New file.
45865         * nss/tst-nss-test1.c: New file.
45866
45867         * nss/nsswitch.c (__nss_database_custom): Define new variable.
45868         (__nss_configure_lookup): Set appropriate entry in
45869         __nss_configure_lookup to true.
45870         * nss/nsswitch.h: Define enum with indeces of databases in
45871         databases and __nss_database_custom arrays.  Declare
45872         __nss_database_custom.
45873         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45874         to avoid using nscd when custom rules are installed.
45875         * nss/getXXbyYY_r.c: Likewise.
45876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45877
45878         * nss/nss_files/files-parse.c: Whitespace fixes.
45879
45880 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
45881
45882         [BZ #11883]
45883         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45884         * posix/fnmatch_loop.c: Likewise.
45885
45886 2010-07-17  Andi Kleen  <ak@linux.intel.com>
45887
45888         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45889         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45890         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45891         * Versions.def [GLIBC_2.13]: Add.
45892
45893 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
45894
45895         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45896         Also fail if tpwd after pwuid call is NULL.
45897
45898 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45899
45900         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45901         when converting to ms.
45902
45903 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45904
45905         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45906         EOPNOTSUPP errors with ENOTTY.
45907         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45908         EOPNOTSUPP errors with ENOTTY.
45909
45910 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
45911
45912         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45913         Add strcasecmp_l-ssse3.
45914         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45915         strcasecmp.
45916         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45917         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45918         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45919
45920 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
45921
45922         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45923
45924         * string/Makefile (strop-tests): Add strcasecmp.
45925         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45926         strcasecmp_l-nonascii.
45927         (gen-as-const-headers): Add locale-defines.sym.
45928         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45929         * sysdeps/x86_64/strcasecmp.S: New file.
45930         * sysdeps/x86_64/strcasecmp_l.S: New file.
45931         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45932         * sysdeps/x86_64/locale-defines.sym: New file.
45933         * string/test-strcasecmp.c: New file.
45934
45935         * string/test-strcasestr.c: Test both ends of the range of characters.
45936         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45937
45938 2010-07-29  Roland McGrath  <roland@redhat.com>
45939
45940         [BZ #11856]
45941         * manual/locale.texi (Yes-or-No Questions): Fix example code.
45942
45943 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
45944
45945         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45946         for ld.so.
45947
45948 2010-07-27  Andreas Schwab  <schwab@redhat.com>
45949
45950         * manual/memory.texi (Malloc Tunable Parameters): Document
45951         M_PERTURB.
45952
45953 2010-07-26  Roland McGrath  <roland@redhat.com>
45954
45955         [BZ #11840]
45956         * configure.in (-fgnu89-inline check): Set and substitute
45957         gnu89_inline, not libc_cv_gnu89_inline.
45958         * configure: Regenerated.
45959         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45960
45961 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
45962
45963         * string/test-strnlen.c: New file.
45964         * string/Makefile (strop-tests): Add strnlen.
45965         * string/tester.c (test_strnlen): Add a few more test cases.
45966         * string/tst-strlen.c: Better error reporting.
45967
45968         * sysdeps/x86_64/strnlen.S: New file.
45969
45970 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
45971
45972         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45973         lower-latency instructions.
45974
45975 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
45976
45977         * string/test-strcasestr.c: New file.
45978         * string/test-strstr.c: New file.
45979         * string/Makefile (strop-tests): Add strstr and strcasestr.
45980         * string/str-two-way.h: Don't undefine MAX.
45981         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45982
45983 2010-07-21  Andreas Schwab  <schwab@redhat.com>
45984
45985         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45986         strcasestr-nonascii.
45987         (CFLAGS-strcasestr-nonascii.c): Define.
45988         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45989         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45990         Remove unused attribute.
45991
45992 2010-07-20  Roland McGrath  <roland@redhat.com>
45993
45994         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45995         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
45996         ld.so.cache was broken.  With it, there is no way to disable dsocaps
45997         like LD_HWCAP_MASK can disable hwcaps.
45998
45999 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46000
46001         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46002
46003 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46004
46005         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46006         call in strcasestr.
46007         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46008         __strcasestr_sse42_nonascii.
46009         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46010         strcasestr-nonascii.c.
46011         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46012
46013 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46014
46015         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46016         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46017         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46018         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46019
46020 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46021
46022         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46023         fcntl.
46024
46025 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46026
46027         [BZ #11577]
46028         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46029         dl_signal_cerror.
46030
46031 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46032
46033         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46034         _PC_PIPE_BUF using F_GETPIPE_SZ.
46035
46036 2010-07-05  Roland McGrath  <roland@redhat.com>
46037
46038         * manual/arith.texi (Rounding Functions): Fix rint description
46039         implicit in round description.
46040
46041 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46042
46043         * elf/Makefile: Fix linking for a few tests to make recent linker
46044         happy.
46045
46046 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46047
46048         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46049         $(common-objpfx)libc_nonshared.a.
46050
46051 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46052
46053         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46054         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46055         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46056         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46057         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46058         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46059         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46060         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46075         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46076         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46077         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46078         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46079         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46080         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46081         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46082         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46083         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46084         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46085         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46086         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46101
46102 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46103
46104         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46105         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46106         * string/memmove.c (memmove): Renamed to ...
46107         (MEMMOVE): ...this.  Default to memmove.
46108         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46109         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46110         (END_CHK): Define.
46111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46112         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46113         mempcpy-ssse3-back memmove-ssse3-back.
46114         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46115         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46116         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46117         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46118         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46119         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46120         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46121         * sysdeps/x86_64/multiarch/memmove.c: New file.
46122         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46123         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46124         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46125         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46126         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46127         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46128         Define.
46129         (index_Fast_Copy_Backward): Define.
46130         (HAS_ARCH_FEATURE): Define.
46131         (HAS_FAST_REP_STRING): Define.
46132         (HAS_FAST_COPY_BACKWARD): Define.
46133
46134 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46135
46136         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46137         Restore proper fallback handling.
46138
46139 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46140
46141         [BZ #11701]
46142         * posix/group_member.c (__group_member): Correct checking loop.
46143
46144         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46145         OOM in getpwuid_r correctly.  Return error number when the caller
46146         should return, otherwise -1.
46147         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46148         call returning > 0 value.
46149         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46150
46151 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46152
46153         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46154         libc_nonshared.a from targets in modules-names.
46155
46156 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46157
46158         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46159         requires it.
46160
46161 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46162
46163         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46164         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46165         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46166         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46167
46168 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46169
46170         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46171
46172 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46173
46174         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46175         and F_GETPIPE_SZ.
46176         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46177         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46178         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46179         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46180         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46181         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46182
46183 2010-06-14  Roland McGrath  <roland@redhat.com>
46184
46185         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46186
46187 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46188
46189         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46190         __REDIRECT followed by __THROW.
46191         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46192         * posix/getopt.h (getopt): Likewise.
46193
46194 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46195
46196         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46197         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46198         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46199         in AT_FLAGS.
46200         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46201         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46202
46203 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46204
46205         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46206
46207 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46208
46209         [BZ #11640]
46210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46211         Properly check family and model.
46212
46213 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46214
46215         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46216
46217 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46218
46219         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46220
46221 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46222
46223         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46224         symbol reference.
46225
46226 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46227
46228         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46229         symbol reference.
46230
46231 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46232
46233         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46234         and internal_recvmmsg.
46235         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46236         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46237         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46238         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46239
46240         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46241         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46242         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46243
46244 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46245
46246         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46247
46248 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46249
46250         POWER7 optimizations.
46251         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46252         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46253
46254 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46255
46256         * version.h: Update for 2.13 development version.
46257
46258 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46259
46260         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46261         exceptions.  Return 0.
46262
46263 2010-05-07  Roland McGrath  <roland@redhat.com>
46264
46265         * elf/ldconfig.c (main): Add a const.
46266
46267 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46268
46269         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46270         (args_options): Add no-idn option.
46271         (ahosts_keys_int): Add idn_flags to ai_flags.
46272         (parse_option): Handle 'i' option to clear idn_flags.
46273
46274         * malloc/malloc.c (_int_free): Possible race in the most recently
46275         added check.  Only act on the data if no current modification
46276         happened.
46277
46278 See ChangeLog.17 for earlier changes.